A generic Python interface for dataset services such as CKAN and HydroShare
Project description
Tethys datasets provides Python programming interface for dataset services such as CKAN and HydroShare.
Installation
Tethys Datasets Services can be installed via pip or downloading the source. To install via pip:
pip install tethys_dataset_services
To install via download:
git clone https://github.com/CI-WATER/django-tethys_dataset_services.git cd tethys_dataset_services python setup.py install
Tests
To run the tests you will need to edit the test_config.py file located at tethys_dataset_services.tests.test_config.py with an appropriate CKAN endpoint and API key.
Usage
from tethys_dataset_services.engines import CkanDatasetEngine engine = CkanDatasetEngine(endpoint='http://<ckan_host>/api/3/action', apikey='G3taN@p|k3Y') result = engine.list_datasets()
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 Distribution
File details
Details for the file tethys_dataset_services-1.6.1.tar.gz
.
File metadata
- Download URL: tethys_dataset_services-1.6.1.tar.gz
- Upload date:
- Size: 30.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 82ddc0123e600cfc343febac29a6509b68e762a539332cf34c7df429a125c506 |
|
MD5 | 10154cc87e7b95845086bfacdd6ba1ad |
|
BLAKE2b-256 | 2b26be602c2b2f7994bcc92c1008cbd72fab4d06267bd6e28f3021878c874d52 |