A library for making web services that make functions available as synchronous or asynchronous jobs
Latest commit 490aa1c Oct 8, 2015 @amercader amercader Bump version
Failed to load latest commit information.
example Rewrite logging to store the data directly and not by queueing them Jun 7, 2013
.coveragerc Limit coverage report Jul 6, 2013
LICENSE Add license file Nov 19, 2014
setup.cfg Prepare PyPI packaging Nov 20, 2014
setup.py Bump version Oct 8, 2015


Build Status Coverage Status Latest Version Downloads Supported Python versions Development Status License

CKAN Service Provider

A library for making web services that make functions available as synchronous or asynchronous jobs. Used by DataPusher.

Getting Started

To install ckanserviceprovider for development:

git clone https://github.com/ckan/ckan-service-provider.git
cd ckan-service-provider
pip install -r requirements-dev.txt

To get started making a web service with ckanserviceprovider have a look at /example. You can run the example server with python example/main.py example/settings_local.py.

For a real-world example have a look at DataPusher.

Running the Tests

To run the ckanserviceprovider tests:


Building the Documentation

To build the ckanserviceprovider docs:

python setup.py build_sphinx

Releasing a New Version

To release a new version of ckanserviceprovider:

  1. Increment the version number in setup.py

  2. Build a source distribution of the new version and publish it to PyPI:

    python setup.py sdist
    python setup.py sdist upload

    You may want to test installing and running the new version from PyPI in a clean virtualenv before continuing to the next step.

  3. Commit your setup.py changes to git, tag the release, and push the changes and the tag to GitHub:

    git commit setup.py -m "Bump version number"
    git tag 0.0.1
    git push
    git push origin 0.0.1

    (Replace both instances of 0.0.1 with the number of the version you're releasing.)


The original authors of ckanserviceprovider were David Raznick david.raznick@okfn.org and Dominik Moritz dominik.moritz@okfn.org. For the current list of contributors see github.com/ckan/ckan-service-provider/contributors