Python library to access kraken-db via api
How to use:
import kraken_db_api as db
db.set_db_url('url of the db server')
Post db.post(observation)
Get observations = db.get(record_type, record_id, key, value)
Get schemas schemas = db.get_schemas()
Search search_params = { 'record_type': 'person', 'record_id': 'id', 'order_by': 'created_date', 'order_direction': 'desc', 'limit': 20, 'offset': 20 } observations = db.search(search_params)
Metadata
Release files for kraken-db-api 0.0.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| kraken-db-api-0.0.2.tar.gz | 2.9 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| kraken_db_api-0.0.2-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 6.4 kB
Release files / kraken-db-api-0.0.2.tar.gz
| Download URL | kraken-db-api-0.0.2.tar.gz |
|---|---|
| Size | 2.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
370ef72ffc38c9b666deab6c1e3a09fe4bbd2399392907a14f3a19859e4c4cc5
|
|
BLAKE2b-256 checksum How to use checksums |
e8c2f791de628d0e85f586aea0780ff7ad87f97dedbc9d937536420d835f3d96
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.7.1 importlib_metadata/4.10.0 pkginfo/1.8.2 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.9
|
Release files / kraken_db_api-0.0.2-py3-none-any.whl
| Download URL | kraken_db_api-0.0.2-py3-none-any.whl |
|---|---|
| Size | 3.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
14f0730260dc2caf7fa9a4f2f43eb96fba177b2f87cc72cce2dc0a8d6df90bb3
|
|
BLAKE2b-256 checksum How to use checksums |
3277ed15dedc03029de19f7c67c53ddc5e188161516c5940fdc5e40518de4081
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.7.1 importlib_metadata/4.10.0 pkginfo/1.8.2 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.9
|