Skip to main content
Pre-release

This release is a pre-release and may not be stable for production use.

ProkoptonML

CI PyPI

ProkoptonML is an end-to-end MLOps platform: a Python package and command-line tool for turning data into evaluated, documented and deployable models, used by separate products that pin it from PyPI.

It covers the lifecycle:

  1. Data ingestion, with checksums and validation
  2. Splitting and leakage checks
  3. Feature engineering
  4. Training and experiment tracking (MLflow), with a model registry
  5. Calibration and evaluation, with thresholds chosen by the evaluation
  6. Model cards
  7. Serving bundles (models, reference data, config, pinned versions, checksums) and a FastAPI service that serves them

Each product is defined by a configuration file and runs the platform's stages on it; the product owns its data, decisions, website and deployment.

Package

Published as prokopton-ml and imported as prokopton.ml, part of the prokopton namespace; it builds on the prokopton core package (prokopton.core).

pip install "prokopton-ml[serve,bio]==0.2.0a2"
prokopton-ml stages                  # an app's pipeline, and when each stage ran
prokopton-ml run router-train        # run stages (or --all, or --from STAGE)
prokopton-ml identify --input x.fa   # identify one sequence

An app is described by prokopton.toml (found in the current folder or a parent folder): its models, and its pipeline as named stages, each with a kind such as bio.ingest or core.bundle. A package can add stage kinds with an entry point in the prokopton.ml.stages group: a function that returns a list of prokopton.ml.stages.StageKind.

import prokopton.ml

Releases are made with scripts/release.sh vVERSION, which checks that the version matches pyproject.toml and that the commit is new work on main, then tags it. The Release workflow checks the same, publishes to TestPyPI and then, after approval, to PyPI, with Trusted Publishing.

Products built with ProkoptonML

Product Domain Repository Status
DNAbarcode.org Identifying animals from COI DNA barcodes; species-level for mosquitoes leehart3000/dnabarcode Live
pepbarcode.org Peptide barcoding Planned

Each product has its own repository and its own cloud project, and pins an exact platform version.

Repository layout

Path Contents
src/prokopton/ml/ The generic platform: pipeline stages, training, evaluation, model cards, bundles, serving, command-line tool
src/prokopton/ml/bio/ Sequence-specific code: MIDORI2 and RefSeq sources, FASTA, k-mer features, specialists, sequence input checks (the bio extra)
tests/ Tests (100% coverage), with frozen fixtures in tests/fixtures/
.github/workflows/ CI, secret scanning, lockfile updates and releases to PyPI

Working on it

pixi install
pixi run check    # format, lint, type-check, test

What's next: ROADMAP.md.

Licence

Copyright (C) 2026 Lee Hart

This program is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, version 3 only.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the LICENSE file for details.

SPDX-License-Identifier: AGPL-3.0-only

Data and trained models built with the platform belong to each product and are licensed there.

Metadata

Release files for prokopton-ml 0.2.0a2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for prokopton-ml 0.2.0a2
File Size Uploaded Provenance Actions
prokopton_ml-0.2.0a2.tar.gz 117.8 kB With provenance Details for prokopton_ml-0.2.0a2.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for prokopton-ml 0.2.0a2
File Interpreter ABI Platform Actions
prokopton_ml-0.2.0a2-py3-none-any.whl Python 3 none any Details for prokopton_ml-0.2.0a2-py3-none-any.whl

Total release size: 264.7 kB

Release files / prokopton_ml-0.2.0a2.tar.gz

Download URL prokopton_ml-0.2.0a2.tar.gz
Size 117.8 kB
Tags Source
SHA-256 checksum
How to use checksums
296cf6a36bbd3da0388832d03117835c84792c82624fe8a1f8de42e2f8a1a21d
BLAKE2b-256 checksum
How to use checksums
a9d62b3e95c5b4ae79467de35ddbc83b766a451f11639225282316319612e7da
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 16, 2026.

Transparency log

Release files / prokopton_ml-0.2.0a2-py3-none-any.whl

Download URL prokopton_ml-0.2.0a2-py3-none-any.whl
Size 146.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
380f8c90d6f05f2382a07078f35a52e1878a72c16ead3078cb4874026dc57390
BLAKE2b-256 checksum
How to use checksums
8f7dbbceed59abc1196eaf6ad2836e01094137e14b41c227b907aa7ca281ca67
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 16, 2026.

Transparency log

Security for prokopton-ml 0.2.0a2

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.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for prokopton_ml-0.2.0a2.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 16, 2026.

Transparency log

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.

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