Skip to main content

uvx installer for the global pyControl GUI and its workspaces.

Project description

pycontrol-init

pycontrol-init is a small uvx installer for pyControl. It installs pycontrol-gui (and the pycontrol CLI) once per machine with uv tool install, scaffolds plain-data workspace folders, and remembers the workspace so the global pycontrol-gui command opens it on the next launch.

Install uv, then install pyControl and create a workspace:

uvx pycontrol-init my-workspace --launch

This:

  1. runs uv tool install pycontrol-gui into a self-contained, uv-managed environment, putting pycontrol-gui and pycontrol on your PATH,
  2. scaffolds the my-workspace data folder (no pyproject.toml, .venv, or lockfile — workspaces are pure data),
  3. remembers it as the GUI's current workspace,
  4. offers to create an OS shortcut (macOS ~/Applications, Windows Start menu, Linux application menu), and
  5. launches the GUI (--launch).

After setup, launch the GUI from anywhere with pycontrol-gui.

To initialize the current directory instead:

uvx pycontrol-init . --launch

This package intentionally uses uv. Users who prefer pip can still install and run pyControl manually from a Python 3.11+ virtual environment; see the pycontrol-core getting-started guide for the pip/venv workflow.

Usage

pycontrol-init [path] [--launch] [--force] [--shortcut | --no-shortcut] [--update-gui]

path defaults to the current directory. Relative paths are resolved from the directory where the command is run. Re-running pycontrol-init is safe: the global install is refreshed (--reinstall) and workspace scaffolding is a safe merge.

Examples:

pycontrol-init
pycontrol-init my-workspace --launch
pycontrol-init ~/pycontrol-workspaces/ws1 --with-slack
pycontrol-init my-workspace --no-shortcut

Updating the GUI

uvx pycontrol-init --update-gui

Reinstalls the newest pycontrol-gui against a freshly refreshed package index, preserving integration extras recorded in the uv tool receipt. (uv tool upgrade pycontrol-gui also works; --update-gui additionally guarantees the index is revalidated and the pyControl resolution strategy is applied.)

Integration helpers

Optional integration dependencies are installed into the global tool environment:

pycontrol-init my-workspace --with-slack
pycontrol-init my-workspace --with-notion
pycontrol-init my-workspace --with-s3
pycontrol-init my-workspace --with-integrations

To add an integration to an existing install without touching any workspace, combine it with --update-gui:

uvx pycontrol-init --update-gui --with-slack

Release smoke tests

Package indexes can be overridden:

pycontrol-init test-workspace \
  --index-url https://test.pypi.org/simple/ \
  --extra-index-url https://pypi.org/simple/

Development

uv sync --group dev
uv run pytest
uv run ruff check src tests

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pycontrol_init-0.1.0a3.tar.gz (14.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pycontrol_init-0.1.0a3-py3-none-any.whl (9.2 kB view details)

Uploaded Python 3

File details

Details for the file pycontrol_init-0.1.0a3.tar.gz.

File metadata

  • Download URL: pycontrol_init-0.1.0a3.tar.gz
  • Upload date:
  • Size: 14.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.0

File hashes

Hashes for pycontrol_init-0.1.0a3.tar.gz
Algorithm Hash digest
SHA256 b47332052984659509f3ada618913a2b37d367f0afa1776615b926d14278f301
MD5 2d2d9d2e537ba7ce5402838455f67984
BLAKE2b-256 3b742f9fb8b40f882ad7564b7c595feadaaccdc9725a0f52d285a2d871c6ab7c

See more details on using hashes here.

File details

Details for the file pycontrol_init-0.1.0a3-py3-none-any.whl.

File metadata

File hashes

Hashes for pycontrol_init-0.1.0a3-py3-none-any.whl
Algorithm Hash digest
SHA256 aea45a08c203abe3afaaf669efbc93a81dfa936327178488a10c2dbe280edb22
MD5 d5491cfa4c6b231d8164e3d8236f74eb
BLAKE2b-256 2d0ff733208fc32b00ed565c3261e4b6b97512e1a95daa09c9c780f41a220777

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page