A generic Python interface for dataset services such as CKAN and HydroShare.
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
tethys_dataset_services
travis
.appveyor.yml
.gitignore
.stickler.yml
.travis.yml
LICENSE
MANIFEST.in
README.md
coverage.ini
requirements-py2.txt
requirements-py3.txt
setup.py
test.sh
tox.ini

README.md

Build Status Build status Coverage Status

Tethys Dataset Services

Tethys datasets provides Python programming interface for dataset services such as CKAN and HydroShare.

Installation

Tethys Datasets Services can be installed via conda or downloading the source. To install via pip::

conda install tethys_dataset_services

To install via download::

git clone https://github.com/CI-WATER/django-tethys_dataset_services.git
cd tethys_dataset_services
pip install -r requirements-py<version>.txt
conda install -c tethysplatform gsconfig
python setup.py install

Tests

To run tests execute:

. test.sh

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()