Skip to main content

tinydb-dict

Simple dict-like class for TinyDB

Usage

from tinydb import TinyDB
from tinydb.storages import MemoryStorage
from tinydb_dict import TinyDBDict

# Pass any TinyDB argument to TinyDBDict
db_dict = TinyDBDict('db.json')
db_dict = TinyDBDict(storage=MemoryStorage)

# Then use it as a dictionary
db_dict['key'] = 1
db_dict['key']  # 1
db_dict['key'] = 2
db_dict['key']  # 2
db_dict['unknown_key']  # KeyError: 'unknown_key'

# You can also pass a TinyDB instance
db = TinyDB('db.json')
db_dict = TinyDBDict(tinydb=db)

Metadata

Release files for tinydb-dict 0.1.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for tinydb-dict 0.1.2
File Size Uploaded Provenance Actions
tinydb-dict-0.1.2.tar.gz 2.0 kB Without provenance Details for tinydb-dict-0.1.2.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for tinydb-dict 0.1.2
File Interpreter ABI Platform Actions
tinydb_dict-0.1.2-py3-none-any.whl Python 3 none any Details for tinydb_dict-0.1.2-py3-none-any.whl

Total release size: 4.2 kB

Release files / tinydb-dict-0.1.2.tar.gz

Download URL tinydb-dict-0.1.2.tar.gz
Size 2.0 kB
Tags Source
SHA-256 checksum
How to use checksums
209caab60d76de297caea7895d83fe453611914c004505150642077acfa10770
BLAKE2b-256 checksum
How to use checksums
c65c2e055332daffe8f506826f33e4bdb54fce44c144e63b78776c31a4cdf9bb
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/0.12.17 CPython/3.7.3 Darwin/18.7.0

Release files / tinydb_dict-0.1.2-py3-none-any.whl

Download URL tinydb_dict-0.1.2-py3-none-any.whl
Size 2.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
04383b94ab7d133e511ae60cbf9972168e1ab19d0bc0bcf038c5944da8a81dd8
BLAKE2b-256 checksum
How to use checksums
8676bfa6bc12e30ad5a3da9b036ce9a3b0b8c27a3d44f23edb2a8fd9f6eb5d93
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/0.12.17 CPython/3.7.3 Darwin/18.7.0

Security for tinydb-dict 0.1.2

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.

No provenance found

None of the files in this release were uploaded with provenance metadata.

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.

Release history Release notifications | RSS feed

This release

0.1.2 This release

2 release files No provenance

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