Humus.py
(A python client for) a composting database.
Simple python client for Humus, the forgetful database.
Installation:
pip install humus.py # Not pip install humus, that's someone else's project that ironically does the complete opposite
Usage:
First, make sure the Humus server is running somewhere you can access it.
Then you can create a client object:
import humus
# Create a client.
# Looks for HUMUS_PROTOCOL, HUMUS_HOST and HUMUS_PORT environment variables,
# or by default connects to humus on http://localhost:3030
client = humus.Client()
# Otherwise you can provide protocol, host and port as arguments:
client = humus.Client(host="somehost", port=1234, protocol="https")
Once you have your client, you can start storing and retrieving objects:
# Put (any json-serializable) dict at a path:
client.insert("path/to/the_object", { "hello": "world"})
# Get objects at a path:
client.get("path/to/the_object")
# => [{ "hello": "world"}]
Further information on the humus, its data model, and our innovative and forward-thinking strong guarantee of transience™ can be found in the main humus repository.
Metadata
Release files for humus.py 0.1.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 | Actions |
|---|---|---|---|---|
| humus_py-0.1.0.tar.gz | 13.8 kB | Without provenance | Details for humus_py-0.1.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| humus_py-0.1.0-py3-none-any.whl | Python 3 | none | any | Details for humus_py-0.1.0-py3-none-any.whl |
Total release size: 28.0 kB
Release files / humus_py-0.1.0.tar.gz
| Download URL | humus_py-0.1.0.tar.gz |
|---|---|
| Size | 13.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
0affbf80ad53bdbf1131c5424cf68aa6e1f3f58d9b5014c50f4164e9fc25504c
|
|
BLAKE2b-256 checksum How to use checksums |
ac93727cd5bb415230c5743341465c4e132decdbda5e766a191e54f7293aaf1d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.8.3 CPython/3.11.9 Linux/6.6.43
|
Release files / humus_py-0.1.0-py3-none-any.whl
| Download URL | humus_py-0.1.0-py3-none-any.whl |
|---|---|
| Size | 14.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
2faadc6211dfc4111425327654efd2b36bcf082f1b57d46aff48f5e0b36d5642
|
|
BLAKE2b-256 checksum How to use checksums |
b8273cc879af3081e08915c937b7710f2b254c0bdc5726803575a2fb79b1dc2b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.8.3 CPython/3.11.9 Linux/6.6.43
|
Security for humus.py 0.1.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.
To learn more about protecting yourself from malicious actors, visit our package security documentation.