This is a python client to interface with the dkan_dataset_rest_api web service.
# To install the latest of the latest
$ pip install git+git://github.com/NuCivic/pydkan.git@master#egg=pydkan
# To install a release
$ pip install git+git://github.com/NuCivic/pydkan.git@0.3#egg=pydkan
- Install docker
- Install ahoy (See https://github.com/devinci-code/ahoy#installation)
- Run the following:
$ ahoy docker build
That's it.
Check the examples folder, there are snippets for pretty much everything you can do with this library.
ahoy api prompt
ahoy api python
ahoy api python examples/list_nodes.py
ahoy api tests
From time to time you'll need to rebuild the docker image. For instance, if you add a requirement to the requirements.txt file and you'll need it installed. Yoy can do that by:
ahoy docker build --no-cache