A Python client for ODMF's REST-API
Project description
API client for ODMF
This package allows programatic access to ODMF databases with Python. It is based on requests. Data analyses in R use the httr module
Installation
Missing setup.py, installation not yet working
pip install https://github.com/jlu-ilr-hydro/odmfclient/archive/main.zip
Usage
from odmfclient import login
with login('https://path/to/odmf', 'user', 'password') as api:
print(api)
# Get all datasets at site #1 with valuetype 1
datasets = api.dataset.list(site=1, valuetype=1)
# Get values for the first dataset found as pandas.DataFrame
df = api.dataset.values_parquet(dsid=datasets[0])
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
No source distribution files available for this release.See tutorial on generating distribution archives.
Built Distribution
Close
Hashes for odmfclient-0.1.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 58891fd25acc45b7e8d8a2c45d855a0a6b60e12b3fdd716ee0b6f4dbbb397b1b |
|
MD5 | d685c66ee65597e92971595405e22d53 |
|
BLAKE2b-256 | 6e640de51fe54464be5670ff4ed118b56a69ce905bd7fd6d1a8484690f64a4b3 |