Skip to main content

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

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

linkinpy-0.0.2.tar.gz (22.1 kB view details)

Uploaded Source

Built Distribution

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

linkinpy-0.0.2-py3-none-any.whl (22.7 kB view details)

Uploaded Python 3

File details

Details for the file linkinpy-0.0.2.tar.gz.

File metadata

  • Download URL: linkinpy-0.0.2.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

Hashes for linkinpy-0.0.2.tar.gz
Algorithm Hash digest
SHA256 beda0d8f93fd1f09b20f9cd2c6f3ab8ee16442140a547192069e3807b58a9cf7
MD5 75ec31703d553e1f71578fe460533352
BLAKE2b-256 037687f95cbd023bcb9309b9a63f6ad290e63fdae831dae2fe80ac1a0afaeb7f

See more details on using hashes here.

File details

Details for the file linkinpy-0.0.2-py3-none-any.whl.

File metadata

  • Download URL: linkinpy-0.0.2-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

Hashes for linkinpy-0.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 774002eff6284f45803dc9bf90aa2de03849dcfe7bca901bcee6588772d530ee
MD5 e9e6abe7217419a1f127446615e165ea
BLAKE2b-256 7aeebbd4315b7b6d06558bee1c65a5f4bfdb0891c02548155f5dc6e6e50987cb

See more details on using hashes here.

Release history Release notifications | RSS feed

0.0.4

2 files

This release

0.0.2 This release

2 files

0.0.1

2 files

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