Skip to main content

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

Project description

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:

nosetests

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 bdist_wheel
    pip install --upgrade twine
    twine upload dist/*
    

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

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

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

ckanserviceprovider-0.0.11.tar.gz (17.6 kB view details)

Uploaded Source

File details

Details for the file ckanserviceprovider-0.0.11.tar.gz.

File metadata

  • Download URL: ckanserviceprovider-0.0.11.tar.gz
  • Upload date:
  • Size: 17.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/44.0.0 requests-toolbelt/0.9.1 tqdm/4.50.0 CPython/3.8.5

File hashes

Hashes for ckanserviceprovider-0.0.11.tar.gz
Algorithm Hash digest
SHA256 83d72e2a24cfed0adccf6d3a9fc0dd3f7b986c14e7f2911d8313e60c9687a2af
MD5 e522a3a0a077adb67aea086783f1dbd0
BLAKE2b-256 7ed9a86d81bdde6506b4596b2e8fd218be49fafc77611056fd6895b58a2283cf

See more details on using hashes here.

Provenance

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