Skip to main content
Pre-release

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

Omnidict

Opinionated interface for many key/value repositories:

I am kind of tired of having to do small changes when I move from Dictionary, to Redis, to Shelve or whatever key/value storage I am using. This is an interface heavily inspired by builtin shelve module to make all those mapping repositories behave the same way:

  • Get item: storage['key'] returns the value associated to 'key' and raises a KeyError if 'key' is not defined. storage.get('key') behaves the same way but returns default() when 'key' is not defined.

  • Set item: storage['key'] = val associates val to 'key' and raises a KeyError if 'key' already has a value associated. storage.set('key', val) behaves the same way but overwrites association if it already exists.

  • Delete item: del storage['key'] deletes 'key' and raises a KeyError if 'key' is not defined. storage.delete('key') behaves the same way but does nothing when 'key' is not defined.

  • Expiration: You can define expire_seconds parameter to make your associations expire. Expiration time is refreshed every time you access a key.

  • Encryption: You can define a passphrase parameter to encrypt your values using symmetric encryption.

Release files for omnidict 1.0.0a8

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

Source distribution (sdist)

Source distribution for omnidict 1.0.0a8
File Size Uploaded
omnidict-1.0.0a8.tar.gz 47.1 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for omnidict 1.0.0a8
File Interpreter ABI Platform
omnidict-1.0.0a8-py3-none-any.whl Python 3 none any Details

Total release size: 79.4 kB

Release files / omnidict-1.0.0a8.tar.gz

Download URL omnidict-1.0.0a8.tar.gz
Size 47.1 kB
Tags Source
SHA-256 checksum
How to use checksums
ddb5f0670c953007bf9d2ae595e0fad08b7f0f4e94dd726570fa6f2087c9d807
BLAKE2b-256 checksum
How to use checksums
d14e4c5f8cd55e96c54b51f7d9fc96995424cc090d885dd33cd3ade7d5ad2a54
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.12.9

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 May 21, 2025.

Transparency log

Release files / omnidict-1.0.0a8-py3-none-any.whl

Download URL omnidict-1.0.0a8-py3-none-any.whl
Size 32.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
b087f16ea751bfdf601b4a4327210a8032b7764da4af4a1fcaadcfb0fd9111bf
BLAKE2b-256 checksum
How to use checksums
54df85ba1e78cf0b033d5b1eff568fcf6e4fd3a438ab44d06692f54732f9d91c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.12.9

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 May 21, 2025.

Transparency log
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