Skip to main content

Primate Python Package

Python integration for the Primate web framework.

Installation

pip install primate-run

Development

This package is maintained in backends/python of the Primate monorepo. Run its focused checks from this directory:

uv build
uvx ruff@0.17.3 format --check primate tests
uvx ruff@0.17.3 check primate tests
python3 -m unittest discover -s tests

The apps/python fixture builds this directory as a wheel, installs it into its local virtual environment, and embeds it for installation in Pyodide. Monorepo builds and backend tests therefore exercise the in-tree source in both the host version check and the application runtime.

Releases

The primate-run package follows semantic versions. Build and publish releases from this directory at an exact reviewed Primate revision. Moving its canonical source into the monorepo does not change its PyPI name or primate import path.

Quickstart

from primate import Route

   @Route.get
   def hello(request):
       return "Hello World!"

Metadata

Release files for primate-run 0.7.0

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

Source distribution (sdist)

Source distribution for primate-run 0.7.0
File Size Uploaded Provenance Actions
primate_run-0.7.0.tar.gz 6.3 kB Without provenance Details for primate_run-0.7.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for primate-run 0.7.0
File Interpreter ABI Platform Actions
primate_run-0.7.0-py3-none-any.whl Python 3 none any Details for primate_run-0.7.0-py3-none-any.whl

Total release size: 15.1 kB

Release files / primate_run-0.7.0.tar.gz

Download URL primate_run-0.7.0.tar.gz
Size 6.3 kB
Tags Source
SHA-256 checksum
How to use checksums
dc5a7fb8354c9512a39a6a052684c31bf07fc0bebedc29f28313ed6e829f7b13
BLAKE2b-256 checksum
How to use checksums
bd2aacbc2da1d48f268c6bc2e327519cd2c359e1243a1b71c0d5724b4e63d46e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.14.10

Release files / primate_run-0.7.0-py3-none-any.whl

Download URL primate_run-0.7.0-py3-none-any.whl
Size 8.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
75fd2dcdd7933502872017ec3780b5cfdfc8669c347ebe84d036e48deb9fc264
BLAKE2b-256 checksum
How to use checksums
6b198e0b76674ca74bda4bed29f63fea6df719ec0297cff75833b18b9cfea5b0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.14.10

Security for primate-run 0.7.0

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.

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