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.1.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.1-py3-none-any.whl (22.7 kB view details)

Uploaded Python 3

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

Hashes for linkinpy-0.0.1.tar.gz
Algorithm Hash digest
SHA256 efdad0321a1d7beafd976da73a12c28ae578302a4fa9841c8f66e5705b2499a0
MD5 b90634c29b82b896b4340be5b5cd92e5
BLAKE2b-256 8b38ec5fd2f6cbdf4998432e225468ccc695cfb2ab579b720d95d4c2b46e3097

See more details on using hashes here.

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

Hashes for linkinpy-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 8a2eaa228182fd7691c708ba7fefde2582af280bd51937256ee1b49dffeb2e54
MD5 82f2d16dde0452f57c564e120f542092
BLAKE2b-256 f15432d3dbf8f77944ae3219d6c2ca93f6ccce088cbd376bb8769cb88b7ae81f

See more details on using hashes here.

Release history Release notifications | RSS feed

0.0.4

2 files

0.0.2

2 files

This release

0.0.1 This release

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