GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — socket-python-cli/docs/development.md at main · SocketDev/socket-python-cli

Expand file tree

/

development.md

Copy path
More file actions
More file actions

Latest commit

 

History

History
History
95 lines (65 loc) · 1.46 KB
/

development.md

Copy path

File metadata and controls

95 lines (65 loc) · 1.46 KB
Raw
Copy raw file
Download raw file
Outline
Edit and raw actions

Development guide

Local setup

This project uses pyproject.toml and uv.lock for dependency management.

Standard setup (PyPI dependencies)

pyenv local 3.11
make first-time-setup

Local SDK development setup

pyenv local 3.11
SOCKET_SDK_PATH=~/path/to/socketdev make first-time-local-setup

Default local SDK path is ../socketdev when SOCKET_SDK_PATH is not set.

Ongoing workflows

After dependency changes:

make update-deps

After pulling latest changes:

make sync-all

Run tests:

make test

Run lint/format checks:

make lint

Make targets

High-level:

  • make first-time-setup
  • make first-time-local-setup
  • make update-lock
  • make sync-all
  • make dev-setup

Implementation:

  • make local-dev
  • make setup
  • make sync
  • make clean
  • make test
  • make lint

Environment variables

Core:

  • SOCKET_SECURITY_API_TOKEN (also supports SOCKET_SECURITY_API_KEY, SOCKET_API_KEY, SOCKET_API_TOKEN)
  • SOCKET_SDK_PATH (default ../socketdev)

GitLab:

  • GITLAB_TOKEN
  • CI_JOB_TOKEN

Manual setup (without make)

python -m venv .venv
source .venv/bin/activate
uv sync
uv add --dev pre-commit
pre-commit install

Related docs

  • CLI quick start: ../README.md
  • CI/CD usage: ci-cd.md
  • Full CLI reference: cli-reference.md
  • Troubleshooting: troubleshooting.md
You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.