This release is a pre-release and may not be stable for production use.
opspec
Describe image-processing ops so plugins, runners and hosts can share them.
opspec is a small Python package with no dependencies beyond the standard library. It defines two things:
- Ops: how a plugin author declares what an op takes and returns (for example "a 2D image, numpy only").
- Runners: the interface a runner implements to run those ops, whether in the same process, in another environment, or on a GPU.
Hosts (napari, CellProfiler, a notebook) read the op declarations and hand ops to a runner.
Install
opspec lives in the scikit-ops repository. Not on PyPI yet:
pip install "opspec @ git+https://github.com/apposed/scikit-ops#subdirectory=opspec"
Docs
- 0001 — what an
OpSpecis:@op, roles,ImageOf,Axes - 0002 — what a runner does: the
RunnerandBuilderprotocols - 0003 — where opspec and scikit-ops' spec code differed, and which way each went
AI use
Developed with AI assistance (Claude). A human reviews, understands and tests every change.
License
BSD-3-Clause
Metadata
Release files for opspec 0.1.0.dev0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| opspec-0.1.0.dev0.tar.gz | 1.7 MB | Without provenance | Details for opspec-0.1.0.dev0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| opspec-0.1.0.dev0-py3-none-any.whl | Python 3 | none | any | Details for opspec-0.1.0.dev0-py3-none-any.whl |
Total release size: 1.8 MB
Release files / opspec-0.1.0.dev0.tar.gz
| Download URL | opspec-0.1.0.dev0.tar.gz |
|---|---|
| Size | 1.7 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
ec110bcd21679624f2209cf32f4294002d995808d74b84d14189d83ad0c8e746
|
|
BLAKE2b-256 checksum How to use checksums |
119495492ccd0292d006018f7cc7c82817c17ca7dcdc5b39ce98612ebc623fe7
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.11.26 {"installer":{"name":"uv","version":"0.11.26","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"22.04","id":"jammy","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
|
Release files / opspec-0.1.0.dev0-py3-none-any.whl
| Download URL | opspec-0.1.0.dev0-py3-none-any.whl |
|---|---|
| Size | 32.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
5d3a6b0cd13e7b5f96476e10d558d906d6e11b3cb961f64262e9dcaf620486c7
|
|
BLAKE2b-256 checksum How to use checksums |
c41825f6657ba1064926261cd29246391602b0a3f448e0c2d4790e937b296493
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.11.26 {"installer":{"name":"uv","version":"0.11.26","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"22.04","id":"jammy","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
|
Security for opspec 0.1.0.dev0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.