SightingDB Python Client Library
SightingDB is a fast database to perform Sightings. It allows to count how many time someone has seen something, when was the first time, when was the last time etc.
This client library is an abstraction from the REST API.
Examples
To write 3 values:
import sightingdb
con = sightingdb.connection(host="localhost", apikey="changeme")
writer = sightingdb.writer(con)
writer.add("/key/namespace1", "pypi.org")
writer.add("/key/namespace1", "pypi.org")
writer.add("/key/namespace2", "example.com")
writer.commit()
We are counting, so pypi.org will have a count of 2.
To read 2 values, it is almost like writing but writer became reader and we fetch data to iterate on:
import sightingdb
con = sightingdb.connection(host="localhost", apikey="changeme")
reader = sightingdb.reader(con)
reader.add("/key/namespace1", "pypi.org")
reader.add("/key/namespace2", "example.com")
for i in reader.fetch():
print(str(i))
And you will be all set to read all the values.
Metadata
Release files for sightingdb 0.0.6
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 |
|---|---|---|---|---|
| sightingdb-0.0.6.tar.gz | 3.7 kB | Without provenance | Details for sightingdb-0.0.6.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| sightingdb-0.0.6-py3-none-any.whl | Python 3 | none | any | Details for sightingdb-0.0.6-py3-none-any.whl |
Total release size: 9.8 kB
Release files / sightingdb-0.0.6.tar.gz
| Download URL | sightingdb-0.0.6.tar.gz |
|---|---|
| Size | 3.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
481290f8cefcc778a0e3da9be1f0048d85fb5ffad0d783d5a9c1fd824e6c26b5
|
|
BLAKE2b-256 checksum How to use checksums |
b3e516881a010e31a591680e3ad63f960937173c361e013017aba8374d829dd3
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/45.2.0 requests-toolbelt/0.9.1 tqdm/4.42.1 CPython/3.7.6
|
Release files / sightingdb-0.0.6-py3-none-any.whl
| Download URL | sightingdb-0.0.6-py3-none-any.whl |
|---|---|
| Size | 6.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
7ced1e9bd34eece9861bc9361e2ca59853c5b24427b173e2a0cff4b78b487a36
|
|
BLAKE2b-256 checksum How to use checksums |
20c99794c4dcaed7a177dabef134c72a4bc00a5f902bf55ebc09f1ffbf67fb49
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/45.2.0 requests-toolbelt/0.9.1 tqdm/4.42.1 CPython/3.7.6
|
Security for sightingdb 0.0.6
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.