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.

import pyserq
p = pyserq.compile("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.observe("response")     # o.mean, o.ci, o.samples, o.times
pyserq.draw("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.4

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.4
File Interpreter ABI Platform
pyserq-0.1.4-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.4-cp39-abi3-macosx_11_0_arm64.whl CPython 3.9 abi3 macOS 11.0+ ARM64 Details

Total release size: 2.5 MB

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

Download URL pyserq-0.1.4-cp39-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Size 1.3 MB
Tags CPython 3.9 Linux glibc 2.17+ x86-64 abi3
SHA-256 checksum
How to use checksums
bdf62984e9febfc7a703e03d73d5319fab6c05adc6871fc42129e177abcacdfe
BLAKE2b-256 checksum
How to use checksums
3b15148efedde8037f789ebe4a4f781534a2b2d90b2bc0c24509ebdfd5b65bb9
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 6, 2026.

Transparency log

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

Download URL pyserq-0.1.4-cp39-abi3-macosx_11_0_arm64.whl
Size 1.2 MB
Tags CPython 3.9 abi3 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
ddd1d0720bd8db1b9785ecef208cdafbeff9d562bb6e424da8fc9ddb55d97eee
BLAKE2b-256 checksum
How to use checksums
1f9323dcf9c978a308483dbd88cd725f764b2206af8093f1b488484c8c92361e
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 6, 2026.

Transparency log

Release history Release notifications | RSS feed

This release

0.1.4 This release

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