This release is a pre-release and may not be stable for production use.
Indicium Git Store
A Git-based key-value store backend for Indicium.
Usage
# Instantiate and write some data.
from indicium.git import GitStore
store = GitStore("./data", autocommit=False)
store.put("/the-answer", b"10")
# Not needed with autocommit=True
store.commit("Note down the answer to everything")
# Create a new commit with the correct answer.
store.put("/the-answer", b"42")
store.commit("Fix the answer to everything")
The ./data directory will contain a Git repository which can be inspected with git. Every call to .commit() adds a commit to it or, with the auto-commit mode enabled, every call to .put() and .delete() will implicitly add a commit.
Installation
All stable releases are uploaded to PyPI, so you can install them and upgrade using pip:
pip install indicium-git
Alternatively, you can install the latest development code —at your own risk— directly from the Git repository:
pip install git://github.com/aperezdc/indicium-git
Development
If you want to contribute, please use the usual GitHub workflow:
Clone the repository.
Hack on your clone.
Send a pull request for review.
If you do not have programming skills, you can still contribute by reporting issues that you may encounter. Contributions to the documentation are very welcome, too!
Metadata
Release files for indicium-git 0.1.0a0
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 | Actions |
|---|---|---|---|---|
| indicium-git-0.1.0a0.tar.gz | 3.0 kB | Without provenance | Details for indicium-git-0.1.0a0.tar.gz |
Release files / indicium-git-0.1.0a0.tar.gz
| Download URL | indicium-git-0.1.0a0.tar.gz |
|---|---|
| Size | 3.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
5bb1362564308b91e800bac58c46a40d88e3dfb1f98f8c14c1d5800d2fc4681a
|
|
BLAKE2b-256 checksum How to use checksums |
8d0c31c5d2920c9843a9501b8694417c3ef29a0a1941d8d7f3596921b40a7d88
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for indicium-git 0.1.0a0
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.