Skip to main content

priml✴️

PyPI version CI Python 3.12+ License: Apache-2.0 Discord

ML building blocks for training experiments.

Quick Start

# Mac:
#   # Required for quick install.
#   brew install uv

# Ubuntu/Debian:
#   # Required for quick install.
#   sudo apt-get install -y curl
#   curl -LsSf https://astral.sh/uv/install.sh | sh

uv add priml

# Alternatively: python -m pip install priml

What's inside

  • model -- composable model definitions and building blocks.
  • optimizers -- optimizer implementations for training.
  • loss -- loss functions.
  • metrics -- evaluation metrics.
  • math -- numerical and math utilities.
  • train -- the training loop and experiment scaffolding.
  • data -- the data pipeline and dataset utilities.
  • inference -- inference helpers.

Development

See CONTRIBUTING.md for local validation and the public contribution flow.

See also

Sibling projects in the rekursiv-ai family:

  • sagent — The self-mutating multi-provider coding-agent CLI and typed Python library.
  • trackinizer — Centralized agent database for tracking inquiries, work, and the evidence behind conclusions.
  • wesearch — Web search, resilient page fetch, and scholarly-paper lookup without a browser stack.
  • madcatter — Rich-based Markdown renderer for the terminal; ships the mdcat CLI.
  • configgle — Hierarchical experiment configuration in typed pure-Python dataclasses instead of YAML.
  • copybarista — Bidirectional source sync for publishing OSS-ready trees from a monorepo.
  • sudoku — Sudoku-Extreme solved end to end with a 7M-parameter recursive transformer.

Citing

If you find our work useful, please consider citing:

@misc{rekursivai2026priml,
      title={Priml - ML building blocks for training experiments.},
      author={Joshua V. Dillon and Dan Kondratyuk},
      year={2026},
      howpublished={Github},
      url={https://github.com/rekursiv-ai/priml},
}

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

priml-0.1.4.tar.gz (3.9 MB view details)

Uploaded Source

Built Distribution

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

priml-0.1.4-py3-none-any.whl (1.9 MB view details)

Uploaded Python 3

File details

Details for the file priml-0.1.4.tar.gz.

File metadata

  • Download URL: priml-0.1.4.tar.gz
  • Upload date:
  • Size: 3.9 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for priml-0.1.4.tar.gz
Algorithm Hash digest
SHA256 ce122489d9adf8c3d90107960491973e1292fe75779939aa0947dd4fbab7e291
MD5 ba3862527eddb0d9a155c8f641edb72b
BLAKE2b-256 02f5560c40b27808feba559ea057882a30ad96f29a4727f9c94cae23b0d0f141

See more details on using hashes here.

Provenance

The following attestation bundles were made for priml-0.1.4.tar.gz:

Publisher: publish-pypi.yml on rekursiv-ai/priml

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file priml-0.1.4-py3-none-any.whl.

File metadata

  • Download URL: priml-0.1.4-py3-none-any.whl
  • Upload date:
  • Size: 1.9 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for priml-0.1.4-py3-none-any.whl
Algorithm Hash digest
SHA256 df5c69c25a1b84f478484d4d1029ca8741cd3631fddb2495df4dcf440f5369a3
MD5 59c1ca04fe4ef316518ef0bd56d43cec
BLAKE2b-256 01f3416cd604b0502ee18ab01a2dc78905578db44e7e05b196d5db2ef35a6f76

See more details on using hashes here.

Provenance

The following attestation bundles were made for priml-0.1.4-py3-none-any.whl:

Publisher: publish-pypi.yml on rekursiv-ai/priml

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Release history Release notifications | RSS feed

This release

0.1.4 This release

2 files

0.1.3

2 files

0.1.2

2 files

0.1.1

2 files

0.1.0

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