- Install:
pip install kiwilite
- Usage:
import kiwilite
with kiwilite.Open(‘<path-to-db-file>’) as storage:
# Set map data of key and value and save storage file. storage.Set({‘<key>’: ‘<value>’})
# Get value bytes of key. <value> = storage.Get(‘<key>’)
# Log: a list of timestones. [<list>, <of>, <timestones>] = storage.Log(<start-timestamp>, <end-timestamp>)
# Rollback to the last timestone before timestamp, # and clear all data after timestamp. storage.Rollback(<timestamp>)
# Lighten to the first timestone after timestamp, # and clear all invalid data before timestamp. # Data will not lose, but cannot rollback before timestamp. storage.Lighten(<timestamp>)
Metadata
Release files for kiwilite 0.0.1
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 | |
|---|---|---|---|---|
| kiwilite-0.0.1.tar.gz | 21.1 kB | Without provenance | Details |
Release files / kiwilite-0.0.1.tar.gz
| Download URL | kiwilite-0.0.1.tar.gz |
|---|---|
| Size | 21.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
66194df234176906c77fb758bc0b0113b0c35f7b76cce1ae9bd5db98237d4a9d
|
|
BLAKE2b-256 checksum How to use checksums |
7c3a2931972ab90975d76fecef0b1193972794adfef5e22b5d60f45e02a70a98
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for kiwilite 0.0.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.
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.