Skip to main content

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

tethys_dataset_services-1.1.0.tar.gz (25.8 kB view details)

Uploaded Source

File details

Details for the file tethys_dataset_services-1.1.0.tar.gz.

File metadata

File hashes

Hashes for tethys_dataset_services-1.1.0.tar.gz
Algorithm Hash digest
SHA256 c0db6cb26b9468f1d77166e8af2d3ab7c386e5054db0c68ea41737cf2c9bcb35
MD5 3551858c33e5071d8b083a359d348e36
BLAKE2b-256 1091d54f8f5a4739c5cfca9daeec414b425c92626fba84da83ab89e215b920d2

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page