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.12. 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.12.0

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

Total release size: 112.6 MB

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

Download URL tinyshed_tinystore-0.12.0-cp312-abi3-win_amd64.whl
Size 15.0 MB
Tags CPython 3.12 Windows x86-64 abi3
SHA-256 checksum
How to use checksums
5e31eca8d027730638ebe0aa052d927e2d0044304d6a63e40651720a3e24af33
BLAKE2b-256 checksum
How to use checksums
73b2c842877af47132dda6d117ca7f95bf569f0603025d927c191aaa79b6b5c3
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 Nov 24, 2026.

Transparency log

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

Download URL tinyshed_tinystore-0.12.0-cp312-abi3-musllinux_1_2_x86_64.whl
Size 17.2 MB
Tags CPython 3.12 Linux musl 1.2+ x86-64 abi3
SHA-256 checksum
How to use checksums
39fd0ca53cb3494c0a89591ba7da63ce904457703a4336c1ccb0be65d5d59b74
BLAKE2b-256 checksum
How to use checksums
a8aeda29c0efac035581bb2ab2063ac89a1154f0b1ba70c1fd5176073e1867f4
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 Nov 24, 2026.

Transparency log

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

Download URL tinyshed_tinystore-0.12.0-cp312-abi3-musllinux_1_2_aarch64.whl
Size 16.4 MB
Tags CPython 3.12 Linux musl 1.2+ ARM64 abi3
SHA-256 checksum
How to use checksums
1228fa383fa8af52cb033b422bc074e9248fc8fab218fe7dd10c7a810b60ce41
BLAKE2b-256 checksum
How to use checksums
bce8e76f27e8793869b0c6e82e6b064fba91331f42c8051a82d28ff6b97f4122
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 Nov 24, 2026.

Transparency log

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

Download URL tinyshed_tinystore-0.12.0-cp312-abi3-manylinux_2_28_x86_64.whl
Size 16.7 MB
Tags CPython 3.12 Linux glibc 2.28+ x86-64 abi3
SHA-256 checksum
How to use checksums
d28e37eb9b73e9cbffacae407eca987ef8e9b3b6ebd8d442e01380a75a796479
BLAKE2b-256 checksum
How to use checksums
769ea5e14ef2121fea44f2362ea9c0a6830e39ab05483588972f0d1e10f23998
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 Nov 24, 2026.

Transparency log

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

Download URL tinyshed_tinystore-0.12.0-cp312-abi3-manylinux_2_28_aarch64.whl
Size 16.3 MB
Tags CPython 3.12 Linux glibc 2.28+ ARM64 abi3
SHA-256 checksum
How to use checksums
1bce02c69200644f8c75fb262af87d7fbbca79d19c45e7a36f2f2b34d9d12f2b
BLAKE2b-256 checksum
How to use checksums
f9a5444ff347ded6a678acca47af1340fec3f072daa31b90f2292208047dd535
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 Nov 24, 2026.

Transparency log

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

Download URL tinyshed_tinystore-0.12.0-cp312-abi3-macosx_11_0_arm64.whl
Size 14.9 MB
Tags CPython 3.12 abi3 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
c8bfb8b8d7611d80b74bfcae6f6d6d23dd8ea54eb0626c649d04e8d4d16a4fe3
BLAKE2b-256 checksum
How to use checksums
6042ebc1f3f36dfa30e537a2868aa77a3bc836c1de149c20b1001f5fff9f184c
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 Nov 24, 2026.

Transparency log

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

Download URL tinyshed_tinystore-0.12.0-cp312-abi3-macosx_10_13_x86_64.whl
Size 16.1 MB
Tags CPython 3.12 abi3 macOS 10.13+ x86-64
SHA-256 checksum
How to use checksums
d9ae54fe06dea621ade7651edbcdfa7ac9837e1e63825a922b9f2ac63ddd74d3
BLAKE2b-256 checksum
How to use checksums
814d206fa726b481b2c23eb576c94facdf48b3f0069b884082f79ee31f1f199c
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 Nov 24, 2026.

Transparency log

Security for tinyshed-tinystore 0.12.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.

Full provenance

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

Select from 7 files

Attestation for tinyshed_tinystore-0.12.0-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 Nov 24, 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