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

Total release size: 92.8 MB

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

Download URL tinyshed_tinystore-0.1.1-cp312-abi3-win_amd64.whl
Size 12.3 MB
Tags CPython 3.12 Windows x86-64 abi3
SHA-256 checksum
How to use checksums
fbae83c9cd9d1c6ea4780da5e41d713112bf32f411a8e5c799f0c840e971f20b
BLAKE2b-256 checksum
How to use checksums
dd725ed8df1156db6c00906a9e3611f0ba13a1c79aef1d80e5726b8908982976
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 24, 2026.

Transparency log

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

Download URL tinyshed_tinystore-0.1.1-cp312-abi3-musllinux_1_2_x86_64.whl
Size 14.2 MB
Tags CPython 3.12 Linux musl 1.2+ x86-64 abi3
SHA-256 checksum
How to use checksums
28a42e9700891d270529a635481e62463a54ab9bb676aeb2030c44b8b5c23931
BLAKE2b-256 checksum
How to use checksums
1c0ec5e772c02258e6f007a103cf10d86ead40be3b01f6389ff906239dea5a14
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 24, 2026.

Transparency log

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

Download URL tinyshed_tinystore-0.1.1-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
bc1e8289b7ab9a48ad41574d3c1b4b00099a56623e3b933f87fda8a553faeeaf
BLAKE2b-256 checksum
How to use checksums
9f4097ce13bd5cf8e7e48f2e833160c7832c45c7c95100890fdc511d1e8a3c4e
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 24, 2026.

Transparency log

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

Download URL tinyshed_tinystore-0.1.1-cp312-abi3-manylinux_2_28_x86_64.whl
Size 13.8 MB
Tags CPython 3.12 Linux glibc 2.28+ x86-64 abi3
SHA-256 checksum
How to use checksums
d1d429456cd4f226a2d0f368da04c6430f429b5a52642cb847998d780fd0409a
BLAKE2b-256 checksum
How to use checksums
d83da9430a6abd69a601a0c672db99fa388fb9c18e80041b0ac9dbb4a1d23e7d
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 24, 2026.

Transparency log

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

Download URL tinyshed_tinystore-0.1.1-cp312-abi3-manylinux_2_28_aarch64.whl
Size 13.5 MB
Tags CPython 3.12 Linux glibc 2.28+ ARM64 abi3
SHA-256 checksum
How to use checksums
ed57b2d83b9dd74d14817d35af5f503379b7b3a2ff0e3d959464785bb74de0f8
BLAKE2b-256 checksum
How to use checksums
0340a0498064aa7f25fdbf7251e564162faccf722b351332b7c51a639b73519a
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 24, 2026.

Transparency log

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

Download URL tinyshed_tinystore-0.1.1-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
b08287f30a777548111a307863c86412b7d0f2e5da4327f95b6354ec65d34603
BLAKE2b-256 checksum
How to use checksums
136d3355bb40fc993c7f41e3ca801e774d84b76d5facdd6a31320355dfc02da7
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 24, 2026.

Transparency log

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

Download URL tinyshed_tinystore-0.1.1-cp312-abi3-macosx_10_13_x86_64.whl
Size 13.2 MB
Tags CPython 3.12 abi3 macOS 10.13+ x86-64
SHA-256 checksum
How to use checksums
973e4f2e98b91f88be72339b70dbecde24dd55ff6b12a831f58e03c6be031b56
BLAKE2b-256 checksum
How to use checksums
369c339a227ad3cdff350986158db8cbe56e5ef0d127750943580813deb1307f
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 24, 2026.

Transparency log

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