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:
pytest
Building the Documentation
To build the ckanserviceprovider docs:
python setup.py build_sphinx
Releasing a New Version
To release a new version of ckanserviceprovider:
-
Increment the version number in setup.py
-
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.
-
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
Metadata
Release files for ckanserviceprovider 1.2.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| ckanserviceprovider-1.2.0.tar.gz | 29.4 kB | Without provenance | Details for ckanserviceprovider-1.2.0.tar.gz |
Release files / ckanserviceprovider-1.2.0.tar.gz
| Download URL | ckanserviceprovider-1.2.0.tar.gz |
|---|---|
| Size | 29.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
b86486df8dcdb86e02a0ae19b16f446ae132290bb6e8f00789b9842fec2422f1
|
|
BLAKE2b-256 checksum How to use checksums |
6ff615ba8953f6ea22049b516d2d8412c396cbb7293e4629b712dd63da698472
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.8.16
|
Security for ckanserviceprovider 1.2.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.