Skip to main content
Pre-release

This release is a pre-release and may not be stable for production use.

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.1, the first release. 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.2.0rc1

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

Total release size: 93.4 MB

Release files / tinyshed_tinystore-0.2.0rc1-cp312-abi3-win_amd64.whl

Download URL tinyshed_tinystore-0.2.0rc1-cp312-abi3-win_amd64.whl
Size 12.3 MB
Tags CPython 3.12 Windows x86-64 abi3
SHA-256 checksum
How to use checksums
a0ac6f9d523442b34425ba8245ae8532e94275d211195240f91d8f434748418c
BLAKE2b-256 checksum
How to use checksums
1051e459bc28965ddd78eb7f3a3479189156499d9b784402e5899036429679d6
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 25, 2026.

Transparency log

Release files / tinyshed_tinystore-0.2.0rc1-cp312-abi3-musllinux_1_2_x86_64.whl

Download URL tinyshed_tinystore-0.2.0rc1-cp312-abi3-musllinux_1_2_x86_64.whl
Size 14.3 MB
Tags CPython 3.12 Linux musl 1.2+ x86-64 abi3
SHA-256 checksum
How to use checksums
dc68f992f832a4638fd7e0e9ce6ab7057d9073c45a21d099427df3b872b28ce0
BLAKE2b-256 checksum
How to use checksums
ce4481a6314f8aee9a99d143de14dc39fd3759332c165cf66086694b7de01a6b
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 25, 2026.

Transparency log

Release files / tinyshed_tinystore-0.2.0rc1-cp312-abi3-musllinux_1_2_aarch64.whl

Download URL tinyshed_tinystore-0.2.0rc1-cp312-abi3-musllinux_1_2_aarch64.whl
Size 13.6 MB
Tags CPython 3.12 Linux musl 1.2+ ARM64 abi3
SHA-256 checksum
How to use checksums
6e1972058a4d9af5fc0330e42674ae56b4d97e7bccac37ea3c83eed9382065cf
BLAKE2b-256 checksum
How to use checksums
9b4b8f0e8adb56639ea98824250f04a19e96a898ac6f029d2d0447dacfe1a541
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 25, 2026.

Transparency log

Release files / tinyshed_tinystore-0.2.0rc1-cp312-abi3-manylinux_2_28_x86_64.whl

Download URL tinyshed_tinystore-0.2.0rc1-cp312-abi3-manylinux_2_28_x86_64.whl
Size 13.9 MB
Tags CPython 3.12 Linux glibc 2.28+ x86-64 abi3
SHA-256 checksum
How to use checksums
64ca966caa2e7c1e9d82d79e358bcac2bb03a33700120cd1ee605352f0f9c65d
BLAKE2b-256 checksum
How to use checksums
86a10446384e917cc06982fd7e8dddded530c9b4e4dd1827ae1e323913f652f0
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 25, 2026.

Transparency log

Release files / tinyshed_tinystore-0.2.0rc1-cp312-abi3-manylinux_2_28_aarch64.whl

Download URL tinyshed_tinystore-0.2.0rc1-cp312-abi3-manylinux_2_28_aarch64.whl
Size 13.6 MB
Tags CPython 3.12 Linux glibc 2.28+ ARM64 abi3
SHA-256 checksum
How to use checksums
b8916c0ffcc8f35ec12edee95891ec3c438c2fb31ee759945de61f8f1b34de4d
BLAKE2b-256 checksum
How to use checksums
b56fe386f7ca9b130cadf0559c97fe844483e5552c3d7240357124b3b0ceb4a9
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 25, 2026.

Transparency log

Release files / tinyshed_tinystore-0.2.0rc1-cp312-abi3-macosx_11_0_arm64.whl

Download URL tinyshed_tinystore-0.2.0rc1-cp312-abi3-macosx_11_0_arm64.whl
Size 12.3 MB
Tags CPython 3.12 abi3 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
58da34e743570edeabede966c825676ecee7aee71f3bd51ab4434b58758e7071
BLAKE2b-256 checksum
How to use checksums
81365903cc7113e748dc3cb5948b2017e6fa9317f5730dc320cfd1349159f217
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 25, 2026.

Transparency log

Release files / tinyshed_tinystore-0.2.0rc1-cp312-abi3-macosx_10_13_x86_64.whl

Download URL tinyshed_tinystore-0.2.0rc1-cp312-abi3-macosx_10_13_x86_64.whl
Size 13.3 MB
Tags CPython 3.12 abi3 macOS 10.13+ x86-64
SHA-256 checksum
How to use checksums
32d1efa01e85976266b6ab15abe6c762b1b8686c4eb31ad0e69217747a6ef71e
BLAKE2b-256 checksum
How to use checksums
9078df6caad776472cb9bde303899aa38df15e3fc0b7bf38f58eb539109a9577
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 25, 2026.

Transparency log

Security for tinyshed-tinystore 0.2.0rc1

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.2.0rc1-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 25, 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