linkinpy
A Python package to bring uv-managed workflows to common image analysis tools.
Quick Start
uv sync
uv run pytest
Run these commands from the LinkinPy/ folder.
This package pins its local development interpreter in .python-version and keeps package metadata in pyproject.toml.
Common Commands
uv sync # create/update the local environment
uv run pytest # run the test suite
uv run ruff check . # lint the codebase
uv run ruff format . # format the codebase
uv run python -m build # build the source and wheel distributions
uv run pre-commit install
If you prefer shorter aliases, the same workflow is available through make:
make sync
make test
make lint
make format
make build
LinkinPy Spec Workflow
LinkinPy reads YAML spec files such as ../Library/nanopyx.yaml. Each spec file owns exactly one isolated uv virtual environment at ~/.linkinpy/<spec-file-name>/, and all runs for that spec execute inside that environment. LinkinPy checks whether uv is installed, bootstraps it when missing, and installs the core package into every spec-owned environment automatically.
uv run linkinpy list ../Library/nanopyx.yaml
uv run linkinpy install ../Library/nanopyx.yaml --interface cli
uv run linkinpy run ../Library/nanopyx.yaml eSRRF image=input.tif --output result.tif
The run command accepts callable arguments as name=value. Image arguments declared as np.ndarray can be passed as image file paths for the CLI path. The core also exposes Python APIs for spec parsing, environment management, image transport, direct callable execution, and magicgui widget construction.
Project Layout
src/linkinpy/
tests/
pyproject.toml
.python-version
GETTING_STARTED.md
CONTRIBUTING.md
Documentation
- Start with GETTING_STARTED.md for first-time setup
- See CONTRIBUTING.md for the contributor workflow
- Track user-facing changes in CHANGELOG.md
For the multi-project repository overview, see the repository root README.
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 linkinpy-0.0.1.tar.gz.
File metadata
- Download URL: linkinpy-0.0.1.tar.gz
- Upload date:
- Size: 22.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/6.1.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
efdad0321a1d7beafd976da73a12c28ae578302a4fa9841c8f66e5705b2499a0
|
|
| MD5 |
b90634c29b82b896b4340be5b5cd92e5
|
|
| BLAKE2b-256 |
8b38ec5fd2f6cbdf4998432e225468ccc695cfb2ab579b720d95d4c2b46e3097
|
File details
Details for the file linkinpy-0.0.1-py3-none-any.whl.
File metadata
- Download URL: linkinpy-0.0.1-py3-none-any.whl
- Upload date:
- Size: 22.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/6.1.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8a2eaa228182fd7691c708ba7fefde2582af280bd51937256ee1b49dffeb2e54
|
|
| MD5 |
82f2d16dde0452f57c564e120f542092
|
|
| BLAKE2b-256 |
f15432d3dbf8f77944ae3219d6c2ca93f6ccce088cbd376bb8769cb88b7ae81f
|