Skip to main content

pyserq

serQ in Python. serQ is a language in which an LLM serving deployment is a program; pyserq compiles a program to its IR and runs it, in process, and gives what the serq CLI gives. A program is the deployment; the workload it serves is a file of its own, given when it runs (workload= a path, or workload_source= its text), as serq run mg1.sq --workload workloads/mg1.sq.

import pyserq
p = pyserq.compile("mg1.sq", workload="workloads/mg1.sq",
                   sets={"lam": 0.8}, seed=10, horizon=250000, warmup=25000)
r = pyserq.run(p)            # the GIL is released while it runs
r.json()                     # what `serq run --json` prints
o = r.client["response"]      # o.mean, o.ci, o.samples, o.times
pyserq.draw("mg1.sq", workload="workloads/mg1.sq", format="svg")  # what `serq draw --format svg` prints
pip install pyserq           # a release
pip install --pre pyserq     # the latest commit on main (X.Y.Z.devN)

Wheels: linux x86_64 (manylinux), macOS arm64; Python 3.9 and later (abi3). The version is serq's: pyserq.__version__ is the crate it was built from.

Metadata

Release files for pyserq 0.1.6

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

Built distributions (wheels)

Table of built distributions (wheels) for pyserq 0.1.6
File Interpreter ABI Platform
pyserq-0.1.6-cp39-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl CPython 3.9 abi3 Linux glibc 2.17+ x86-64 Details
pyserq-0.1.6-cp39-abi3-macosx_11_0_arm64.whl CPython 3.9 abi3 macOS 11.0+ ARM64 Details

Total release size: 3.3 MB

Release files / pyserq-0.1.6-cp39-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl

Download URL pyserq-0.1.6-cp39-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Size 1.7 MB
Tags CPython 3.9 Linux glibc 2.17+ x86-64 abi3
SHA-256 checksum
How to use checksums
b46bb8e34d58b142f5131007360593dac10db314f49bdcacb46b8c93052e7ac5
BLAKE2b-256 checksum
How to use checksums
2122bedad2b499d440095ca68fbc6cc8b74bc9120d473655049cb6d9378c2195
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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 Oct 15, 2026.

Transparency log

Release files / pyserq-0.1.6-cp39-abi3-macosx_11_0_arm64.whl

Download URL pyserq-0.1.6-cp39-abi3-macosx_11_0_arm64.whl
Size 1.5 MB
Tags CPython 3.9 abi3 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
e7da56d8c24a199eae28dc2b20cdcb93405cd57f286b7f6c59325b9955194858
BLAKE2b-256 checksum
How to use checksums
4efe4836a133a3b3f387440bc7c7b0839775631f1b05791feea29e10f481109c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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 Oct 15, 2026.

Transparency log

Release history Release notifications | RSS feed

This release

0.1.6 This release

2 release files

0.1.5

2 release files

0.1.4

2 release files

0.1.3

2 release files

0.1.2

2 release files

0.1.1

2 release files

0.1.0

2 release 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