Shared scaffolding for PICO dev tools (runners, ports, console helpers)
Project description
tools/common — pico_tool_common
Shared Python scaffolding for the PICO dev tools under tools/*.
Why
Every tool used to duplicate the same boilerplate: console helpers, default ports, repo-root discovery, uvicorn runners, Vite/npm orchestration, etc. This package consolidates that logic so bug fixes and UX improvements propagate to all tools.
What lives here
| Module | Purpose |
|---|---|
pico_tool_common.console |
Shared rich console instance |
pico_tool_common.ports |
Canonical default ports for every tool |
pico_tool_common.fs |
find_repo_root, normalize_path |
pico_tool_common.web.runner |
run_app() for FastAPI/uvicorn tools |
pico_tool_common.vite |
run_vite() for Vite-based WASM tools |
Development
Each tool consumes this package as an editable path dependency:
[project]
dependencies = ["pico-tool-common", ...]
[tool.uv.sources]
pico-tool-common = { path = "../common", editable = true }
Release
pico tool release <tool> builds the common wheel alongside the tool wheel and
embeds both URLs in the generated install script, so standalone installs keep
working without publishing to PyPI.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file pico_tool_common-0.1.1.tar.gz.
File metadata
- Download URL: pico_tool_common-0.1.1.tar.gz
- Upload date:
- Size: 60.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.14.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
dfa3f2db899924d7b7840d9d336cdd4d17160ecd85207a031ebd93a4e97572b6
|
|
| MD5 |
16de1e3e05d3952c5b83e4272655e81e
|
|
| BLAKE2b-256 |
1582396e5d256e39098fcff2cf1d25a0afbe1f8c149c262719544e83aa54fd23
|
File details
Details for the file pico_tool_common-0.1.1-py3-none-any.whl.
File metadata
- Download URL: pico_tool_common-0.1.1-py3-none-any.whl
- Upload date:
- Size: 9.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.14.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6ea57d8ae002c16fd61b992cd3afdfb02934be88575d53f30625172292249bbb
|
|
| MD5 |
ddb5e9a97f6813c68c25584806456f98
|
|
| BLAKE2b-256 |
5db6ecbefafe5699a4732a701d3b46656cd0f19d51c4b36cc3edbc2f7133dc05
|