Skip to main content
Pre-release

This release is a pre-release and may not be stable for production use.

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

Release files for pycontrol-init 0.1.0a3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for pycontrol-init 0.1.0a3
File Size Uploaded
pycontrol_init-0.1.0a3.tar.gz 14.3 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for pycontrol-init 0.1.0a3
File Interpreter ABI Platform
pycontrol_init-0.1.0a3-py3-none-any.whl Python 3 none any Details

Total release size: 23.6 kB

Release files / pycontrol_init-0.1.0a3.tar.gz

Download URL pycontrol_init-0.1.0a3.tar.gz
Size 14.3 kB
Tags Source
SHA-256 checksum
How to use checksums
b47332052984659509f3ada618913a2b37d367f0afa1776615b926d14278f301
BLAKE2b-256 checksum
How to use checksums
3b742f9fb8b40f882ad7564b7c595feadaaccdc9725a0f52d285a2d871c6ab7c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.14.0

Release files / pycontrol_init-0.1.0a3-py3-none-any.whl

Download URL pycontrol_init-0.1.0a3-py3-none-any.whl
Size 9.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
aea45a08c203abe3afaaf669efbc93a81dfa936327178488a10c2dbe280edb22
BLAKE2b-256 checksum
How to use checksums
2d0ff733208fc32b00ed565c3261e4b6b97512e1a95daa09c9c780f41a220777
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.14.0
Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page