Skip to main content

TinyStore for Python

A small storage runtime for applications. SQL, key-value state, durable jobs, files, search, logs and metrics in one directory, with one lifecycle, one memory budget and one backup.

Version 0.3. Until 1.0, a minor release may still change the API, and its notes say what changed.

The SDK starts a small tinystore server next to your program, called the sidecar, and talks to it over a local connection, so that several processes share one store. With embedded=True the core runs inside your process instead. The server and the core come with the wheel, so there is nothing else to install. It runs on Python 3.12 or later, on asyncio.

async with await tinystore.open("data") as store:
    db = await store.database("app", migrations="migrations")
    await db.exec("insert into users (id, name) values (?, ?)", 42, "Ada")

    sessions = store.bucket("sessions", Session, idle="30d")
    await sessions.set(digest(token), Session(user_id=42))

    emails = store.queue("emails", Email)
    await emails.add(Email(to="ada@example.com"))

    avatars = store.files("avatars")
    await avatars.put("42.png", Path("avatar.png").read_bytes())

    store.logger("api").info("user created", user_id=42)
    store.metrics.counter("signups_total").inc()
pip install tinyshed-tinystore

Engines

SQL Relational state Your own SQLite databases: checked migrations, a query builder.
KV Application state Values with expiry and versions; counters, rate limits, quotas, once.
Jobs Background work Work that runs at its time: retries, steps, schedules, limits.
Blobs Files Files by path, written whole or not at all, checked when read.
Search Words and vectors Indexes of documents or of your tables, by words, by meaning, or both.
Channels Messages Messages to whoever listens now, sent from a transaction at its commit.
Locks Coordination Locks and semaphores with fences, across processes and connections.
Config Settings Files and the environment in layers; secrets; settings changed live.
Records Logs and events Read back by time, level, fields and text; followed as they arrive.
Metrics Time series Samples kept bit for bit, answered exactly.
Backup The whole store One checked zip of every engine, taken while it runs.

Documentation

License

Apache-2.0.

Metadata

Release files for tinyshed-tinystore 0.4.1

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 tinyshed-tinystore 0.4.1
File Actions
tinyshed_tinystore-0.4.1-cp312-abi3-win_amd64.whl CPython 3.12 abi3 Windows x86-64 Details for tinyshed_tinystore-0.4.1-cp312-abi3-win_amd64.whl
tinyshed_tinystore-0.4.1-cp312-abi3-musllinux_1_2_x86_64.whl CPython 3.12 abi3 Linux musl 1.2+ x86-64 Details for tinyshed_tinystore-0.4.1-cp312-abi3-musllinux_1_2_x86_64.whl
tinyshed_tinystore-0.4.1-cp312-abi3-musllinux_1_2_aarch64.whl CPython 3.12 abi3 Linux musl 1.2+ ARM64 Details for tinyshed_tinystore-0.4.1-cp312-abi3-musllinux_1_2_aarch64.whl
tinyshed_tinystore-0.4.1-cp312-abi3-manylinux_2_28_x86_64.whl CPython 3.12 abi3 Linux glibc 2.28+ x86-64 Details for tinyshed_tinystore-0.4.1-cp312-abi3-manylinux_2_28_x86_64.whl
tinyshed_tinystore-0.4.1-cp312-abi3-manylinux_2_28_aarch64.whl CPython 3.12 abi3 Linux glibc 2.28+ ARM64 Details for tinyshed_tinystore-0.4.1-cp312-abi3-manylinux_2_28_aarch64.whl
tinyshed_tinystore-0.4.1-cp312-abi3-macosx_11_0_arm64.whl CPython 3.12 abi3 macOS 11.0+ ARM64 Details for tinyshed_tinystore-0.4.1-cp312-abi3-macosx_11_0_arm64.whl
tinyshed_tinystore-0.4.1-cp312-abi3-macosx_10_13_x86_64.whl CPython 3.12 abi3 macOS 10.13+ x86-64 Details for tinyshed_tinystore-0.4.1-cp312-abi3-macosx_10_13_x86_64.whl

Total release size: 98.1 MB

Release files / tinyshed_tinystore-0.4.1-cp312-abi3-win_amd64.whl

Download URL tinyshed_tinystore-0.4.1-cp312-abi3-win_amd64.whl
Size 13.0 MB
Tags CPython 3.12 Windows x86-64 abi3
SHA-256 checksum
How to use checksums
52210aa63e5c408ffef58f7d5b7a8d0981eb68f4b0977ceebcacfc87f3370ed5
BLAKE2b-256 checksum
How to use checksums
2abe5cf3a060ccbe704bbf742fb37dcb383335335fd275b87d3156b88a4f0556
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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 31, 2026.

Transparency log

Release files / tinyshed_tinystore-0.4.1-cp312-abi3-musllinux_1_2_x86_64.whl

Download URL tinyshed_tinystore-0.4.1-cp312-abi3-musllinux_1_2_x86_64.whl
Size 15.0 MB
Tags CPython 3.12 Linux musl 1.2+ x86-64 abi3
SHA-256 checksum
How to use checksums
8516dbd6106f9498dfec467881d9313e75d7e6287d39638ef32179172a5c9b54
BLAKE2b-256 checksum
How to use checksums
50c8c5a11cc845fb115634dc84546194ca8e65b2cd65beb48abfdcc38beaf9bf
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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 31, 2026.

Transparency log

Release files / tinyshed_tinystore-0.4.1-cp312-abi3-musllinux_1_2_aarch64.whl

Download URL tinyshed_tinystore-0.4.1-cp312-abi3-musllinux_1_2_aarch64.whl
Size 14.3 MB
Tags CPython 3.12 Linux musl 1.2+ ARM64 abi3
SHA-256 checksum
How to use checksums
b5bcdb11bc07da83e0fd7c1c03d405794d8d774ca7fd569b45f874ea732b14b2
BLAKE2b-256 checksum
How to use checksums
95d9cba3bc4d34212b7dc08342fc19f51e82ea963281157d8ce2262ecc245ef4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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 31, 2026.

Transparency log

Release files / tinyshed_tinystore-0.4.1-cp312-abi3-manylinux_2_28_x86_64.whl

Download URL tinyshed_tinystore-0.4.1-cp312-abi3-manylinux_2_28_x86_64.whl
Size 14.6 MB
Tags CPython 3.12 Linux glibc 2.28+ x86-64 abi3
SHA-256 checksum
How to use checksums
bf18054f263ee7bbb1ec482ed4078c1813314e8d1094152f6e9eb9462f8b90c7
BLAKE2b-256 checksum
How to use checksums
b1104e6ab506ebb530a8ae7525b5a42e6d56ce5ad3244b0efe9947b250aa3132
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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 31, 2026.

Transparency log

Release files / tinyshed_tinystore-0.4.1-cp312-abi3-manylinux_2_28_aarch64.whl

Download URL tinyshed_tinystore-0.4.1-cp312-abi3-manylinux_2_28_aarch64.whl
Size 14.3 MB
Tags CPython 3.12 Linux glibc 2.28+ ARM64 abi3
SHA-256 checksum
How to use checksums
ab8aa65615b5216771c46ad298da95c55f49a23973b9c3a3e5b07952ca679cb3
BLAKE2b-256 checksum
How to use checksums
6db1521b30bd903406375b1d4fd2264d86190cf645d493d95072fded95863ece
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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 31, 2026.

Transparency log

Release files / tinyshed_tinystore-0.4.1-cp312-abi3-macosx_11_0_arm64.whl

Download URL tinyshed_tinystore-0.4.1-cp312-abi3-macosx_11_0_arm64.whl
Size 12.9 MB
Tags CPython 3.12 abi3 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
96f9c5d9045d1c39ad3e4381577f6b248224bacc1f0d5be2795e0951137e5e71
BLAKE2b-256 checksum
How to use checksums
ac336cd43ebd5be032ccc11732b1e6792bdc1ccf7a95dbf4e5f6485b94410ce9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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 31, 2026.

Transparency log

Release files / tinyshed_tinystore-0.4.1-cp312-abi3-macosx_10_13_x86_64.whl

Download URL tinyshed_tinystore-0.4.1-cp312-abi3-macosx_10_13_x86_64.whl
Size 14.0 MB
Tags CPython 3.12 abi3 macOS 10.13+ x86-64
SHA-256 checksum
How to use checksums
e17716ead225520afdced393cf2a1f4b96fa2f7280d2e554e73b6594300a8b1d
BLAKE2b-256 checksum
How to use checksums
1eee45c3eae5e5df9b770b7d15d1d83e56c7e2e2d6db444ed828dfec33b684a5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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 31, 2026.

Transparency log

Security for tinyshed-tinystore 0.4.1

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.

Full provenance

All 7 files in this release have been uploaded with provenance metadata.

Select from 7 files

Attestation for tinyshed_tinystore-0.4.1-cp312-abi3-win_amd64.whl

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 31, 2026.

Transparency log

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