Skip to main content

slab-schemas

The pydantic wire contract for the slab trading-card API: the request and response models (DTOs) and enums that the API serves and its clients consume.

pip install slab-schemas

Depends on pydantic only — no server, database, or ORM code — so a CLI or third-party client can import it to build typed requests and parse responses without pulling in the API.

from slab_schemas.cards import CardSearchQuery
from slab_schemas.collection import CollectionSearchQuery

query = CardSearchQuery(subject="Connor Bedard", year=2023)
# ... POST query.model_dump() to /cards/search, parse the JSON back into the typed result model

This is the single source of truth for the API's over-the-wire shape: the API produces these models and clients (e.g. slab-cli) consume them, so the two can never drift. Every entity identifier on the wire is a UUID; integer database keys are never exposed here.

Requires Python 3.13+.

Metadata

Release files for slab-schemas 0.94.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 slab-schemas 0.94.0
File Size Uploaded
slab_schemas-0.94.0.tar.gz 93.9 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for slab-schemas 0.94.0
File Interpreter ABI Platform
slab_schemas-0.94.0-py3-none-any.whl Python 3 none any Details

Total release size: 205.4 kB

Release files / slab_schemas-0.94.0.tar.gz

Download URL slab_schemas-0.94.0.tar.gz
Size 93.9 kB
Tags Source
SHA-256 checksum
How to use checksums
a6b8823c3ce8fe2ac17f4f4e20d3218c05584a1adcb467f78795b9392aaa3764
BLAKE2b-256 checksum
How to use checksums
15d912bb879888fdc697c4138adbd4b987db9874586f726e93e3b2639dfc2946
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 12, 2026.

Transparency log

Release files / slab_schemas-0.94.0-py3-none-any.whl

Download URL slab_schemas-0.94.0-py3-none-any.whl
Size 111.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
c9b53bb5e385ee0a80c075aca1b1ff81d7ab57962f2d08eedd8f6275cc242806
BLAKE2b-256 checksum
How to use checksums
e673f36204686a11a5849e3c6dddfc2559615acb5c6d69e0971a754823619e5c
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 12, 2026.

Transparency log

Release history Release notifications | RSS feed

0.97.0

2 release files

0.96.1

2 release files

0.96.0

2 release files

0.95.0

2 release files

This release

0.94.0 This release

2 release files

0.93.0

2 release files

0.92.0

2 release files

0.91.1

2 release files

0.91.0

2 release files

0.90.0

2 release files

0.89.0

2 release files

0.88.0

2 release files

0.87.0

2 release files

0.86.0

2 release files

0.85.0

2 release files

0.83.0

2 release files

0.82.0

2 release files

0.81.0

2 release files

0.80.0

2 release files

0.79.0

2 release files

0.78.0

2 release files

0.77.0

2 release files

0.76.0

2 release files

0.75.0

2 release files

0.74.0

2 release files

0.73.0

2 release files

0.72.0

2 release files

0.71.0

2 release files

0.70.1

2 release files

0.70.0

2 release files

0.69.0

2 release files

0.68.0

2 release files

0.67.0

2 release files

0.66.0

2 release files

0.43.0

2 release files

0.42.0

2 release files

0.41.0

2 release files

0.40.0

2 release files

0.39.1

2 release files

0.39.0

2 release files

0.38.0

2 release files

0.37.0

2 release files

0.36.0

2 release files

0.35.0

2 release files

0.34.0

2 release files

0.33.0

2 release files

0.32.0

2 release files

0.31.0

2 release files

0.30.0

2 release files

0.29.0

2 release files

0.28.0

2 release files

0.27.0

2 release files

0.24.0

2 release files

0.23.0

2 release files

0.22.0

2 release files

0.21.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