tinydantic
tinydantic is a simple Python object-document mapper (ODM) for the TinyDB document database. It uses Pydantic—the most widely used data validation library—for document model definition and validation.
Full documentation — including a quickstart that walks through a complete create-read-update-delete example — is available at tinydantic.dev.
Table of Contents
Introduction
tinydantic is a wrapper library around TinyDB that enables using Pydantic models to manage documents stored in a TinyDB database. By specifying Python type annotations for each field in a document model, data validation is handled automatically by Pydantic when instantiating a model from the database.
Installation
tinydantic is available on PyPI and can be installed with pip. Easy peasy lemon squeezy 🍋
pip install tinydantic
License
See the LICENSE file for copyright & license information.
Metadata
Release files for tinydantic 0.3.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| tinydantic-0.3.0.tar.gz | 25.2 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| tinydantic-0.3.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 53.2 kB
Release files / tinydantic-0.3.0.tar.gz
| Download URL | tinydantic-0.3.0.tar.gz |
|---|---|
| Size | 25.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
5506b15ae11ef9d9eec5121eb156b7d0786bf316a50ce9c0c2d49ce794dd05b2
|
|
BLAKE2b-256 checksum How to use checksums |
bbe3efe9a311c504e2a4b52edac848e7a56eb74c531941abd865d78df853a6f3
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
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 Jul 9, 2026.
Transparency logRelease files / tinydantic-0.3.0-py3-none-any.whl
| Download URL | tinydantic-0.3.0-py3-none-any.whl |
|---|---|
| Size | 28.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
e1d8382e646424267c8fbd4172ba5fd45661bd8e6f8a098b7705b70799ee98c9
|
|
BLAKE2b-256 checksum How to use checksums |
3d34ede39116d98ff72c7e6cf56b75c26ac693ff9f5d52c920ccc56793209c4c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
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 Jul 9, 2026.
Transparency log