Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (pypi.python.org).
Help us improve Python packaging - Donate today!

A library for making web services that make functions available as synchronous or asynchronous jobs

Project Description

[![Build Status](https://travis-ci.org/ckan/ckan-service-provider.png?branch=master)](https://travis-ci.org/ckan/ckan-service-provider) [![Coverage Status](https://coveralls.io/repos/ckan/ckan-service-provider/badge.png?branch=master)](https://coveralls.io/r/ckan/ckan-service-provider?branch=master) [![Latest Version](https://pypip.in/version/ckanserviceprovider/badge.svg)](https://pypi.python.org/pypi/ckanserviceprovider/) [![Downloads](https://pypip.in/download/ckanserviceprovider/badge.svg)](https://pypi.python.org/pypi/ckanserviceprovider/) [![Supported Python versions](https://pypip.in/py_versions/ckanserviceprovider/badge.svg)](https://pypi.python.org/pypi/ckanserviceprovider/) [![Development Status](https://pypip.in/status/ckanserviceprovider/badge.svg)](https://pypi.python.org/pypi/ckanserviceprovider/) [![License](https://pypip.in/license/ckanserviceprovider/badge.svg)](https://pypi.python.org/pypi/ckanserviceprovider/)

[DataPusher]: https://github.com/okfn/datapusher [PyPI]: https://pypi.python.org/pypi/ckanserviceprovider

# 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:

`bash 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](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:

`bash nosetests `

## Building the Documentation

To build the ckanserviceprovider docs:

`bash python setup.py build_sphinx `

## Releasing a New Version

To release a new version of ckanserviceprovider:

  1. Increment the version number in [setup.py](setup.py)

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

    `bash 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:

    `bash 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.)

## Authors

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](https://github.com/ckan/ckan-service-provider/contributors)

Release History

Release History

This version
History Node

0.0.6

History Node

0.0.5

History Node

0.0.4

History Node

0.0.3

History Node

0.0.1.post3

Download Files

Download Files

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

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
ckanserviceprovider-0.0.6.tar.gz (16.0 kB) Copy SHA256 Checksum SHA256 Source Jul 19, 2017

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting