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

Total release size: 103.3 MB

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

Download URL tinyshed_tinystore-0.7.0-cp312-abi3-win_amd64.whl
Size 13.7 MB
Tags CPython 3.12 Windows x86-64 abi3
SHA-256 checksum
How to use checksums
b0a1843a0ae6716e5d03be0a8801922496f16119e5dbf0619b251c804aca65d4
BLAKE2b-256 checksum
How to use checksums
d84f11dd1df766f1421099c013ce001a0b01aef6d1f4031da2961b79e629aeb7
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 3, 2026.

Transparency log

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

Download URL tinyshed_tinystore-0.7.0-cp312-abi3-musllinux_1_2_x86_64.whl
Size 15.8 MB
Tags CPython 3.12 Linux musl 1.2+ x86-64 abi3
SHA-256 checksum
How to use checksums
54415bcda701da40bee7c3de55c61f61d6eafdb932562c4073ca2cbcb0ca36c2
BLAKE2b-256 checksum
How to use checksums
7e9d65fbb3bdc5e70efd07038afbcb68cea8a3d6cfdc22f01984314e10083df4
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 3, 2026.

Transparency log

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

Download URL tinyshed_tinystore-0.7.0-cp312-abi3-musllinux_1_2_aarch64.whl
Size 15.1 MB
Tags CPython 3.12 Linux musl 1.2+ ARM64 abi3
SHA-256 checksum
How to use checksums
f7b92606de343c04e44f24db9ba36a03e46dae9e584041c1eb64048c0e578190
BLAKE2b-256 checksum
How to use checksums
96be39f3c85a07e49b58008a297231b8130c7eb14a58f0a978143f7d8eebf940
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 3, 2026.

Transparency log

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

Download URL tinyshed_tinystore-0.7.0-cp312-abi3-manylinux_2_28_x86_64.whl
Size 15.4 MB
Tags CPython 3.12 Linux glibc 2.28+ x86-64 abi3
SHA-256 checksum
How to use checksums
7b92356661fa8952031ec739309d779a6ddb88b3f3d15c36ba9c8cb5305a8469
BLAKE2b-256 checksum
How to use checksums
ef6496996e359020f0aba8252878eb04e67f700449bb8e180d6e0f988f8a5e04
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 3, 2026.

Transparency log

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

Download URL tinyshed_tinystore-0.7.0-cp312-abi3-manylinux_2_28_aarch64.whl
Size 15.0 MB
Tags CPython 3.12 Linux glibc 2.28+ ARM64 abi3
SHA-256 checksum
How to use checksums
b4e2dc9efc6a5720679af696d9cdf309e52b65426c24aa9c90786f6767c5d50e
BLAKE2b-256 checksum
How to use checksums
7d902e12281593848ffc1bedcb8ffde52cd60877b24eadb382c1ba1cf3f67864
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 3, 2026.

Transparency log

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

Download URL tinyshed_tinystore-0.7.0-cp312-abi3-macosx_11_0_arm64.whl
Size 13.6 MB
Tags CPython 3.12 abi3 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
5b2aea0d3f475a90a76bdc51addc61e72b83502ae7f8a9c62a986e8a2ca9204c
BLAKE2b-256 checksum
How to use checksums
5fc8b8b4b47eef718747d45d604ef29f8690b9618c9266ff19645b11723627a3
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 3, 2026.

Transparency log

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

Download URL tinyshed_tinystore-0.7.0-cp312-abi3-macosx_10_13_x86_64.whl
Size 14.7 MB
Tags CPython 3.12 abi3 macOS 10.13+ x86-64
SHA-256 checksum
How to use checksums
e185e520cf6bc837d36ea376c79ffef3d3d40a8e3fb3a6da3d7fc97a8fd28e61
BLAKE2b-256 checksum
How to use checksums
90d9130590fa3cf1a76e621d29ec286ea40f301781f95b987b9cdfd435e03aac
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 3, 2026.

Transparency log

Security for tinyshed-tinystore 0.7.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.7.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 3, 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