varcache
A simple library that provides a way to store and synchronize Python objects on a disk. It can be a good alternative towards SQLite or other solutions that seem to be too complicated in your project. Inside varcache uses pickle.
Installation
pip install varcache
Basic example
from varcache import Varcache
# Configure the drectory to save
vcache = Varcache(dirpath='./storage')
# Load and save example
obj1 = vcache.load(name='obj1', default=dict)
obj1['x'] = 25
vcache.save(obj1)
# Binding example
obj2 = []
vcache.bind(obj2, name='obj2')
obj2.append(36)
vcache.save(obj2)
# Plain save
obj3 = {2, 3, 5, 7}
vcache.save(obj3, name='obj3')
Metadata
Release files for varcache 0.2.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 | Provenance | |
|---|---|---|---|---|
| varcache-0.2.0.tar.gz | 3.1 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| varcache-0.2.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 6.3 kB
Release files / varcache-0.2.0.tar.gz
| Download URL | varcache-0.2.0.tar.gz |
|---|---|
| Size | 3.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
6c4c90ef20117beae92ce186c4fe881c2f03fc52b012c750bb01d3a841d67977
|
|
BLAKE2b-256 checksum How to use checksums |
568997fd52101e3bf7d9319bad349f13bb6e30631abfe7240c143b35eb0ac11c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.12.9
|
Release files / varcache-0.2.0-py3-none-any.whl
| Download URL | varcache-0.2.0-py3-none-any.whl |
|---|---|
| Size | 3.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
00fb96080484444beb577d62477c9f65ab196d7d8651b8f9f29c40cd38033bf0
|
|
BLAKE2b-256 checksum How to use checksums |
27644458664641704632b1798ccbe2cd529e99576542a1eead225a1b78ce1394
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.12.9
|
Security for varcache 0.2.0
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.