Data Package Creator.
Project description
CKNEXT Data Package Creator
CKAN extension to use the fritioncless library
Table of Contents
Publish or Update Package to Pypi
- Check the last version published on Pypi.
- Update
CHANGELOG.md
file with a short review of what had been done. - Update
setup.py
file with the new version number. - Commit all the above changes with the new version number (one above that publish on Pypi). Example:
git commit -am 'v0.1.1'
. - Push the created commit to the online repository: Example:
git push origin master
. - Create a new tag with the new version number (same as used to commit last changes). Example:
git tag v0.1.1 HEAD
. - Push the new created tag to the online repository: Example:
git push origin v0.1.1
. - Publish on Pypi with
make update-package
.
Instalation
pip install ckanext-datapackage-creator
Configuration
Once installed, add the datapackage_creator
plugin to the ckan.plugins
configuration option in your INI file.
ckan.plugins = ... datapackage_creator
Datapackage Creator Configuration
The plugin allows you to configure which fields of the resource and package are mandatory and/or 'readonly', for this you just need to add a configuration in your INI file.
datapackage_creator = /path/to/datapackage_creator.json
We suggest that the file path would be /etc/ckan/default/datapackage_creator.json
or in the same folder as ckan.ini
file.
Configuration example file:
{
"package": {
"required": [],
"readonly": []
},
"resource": {
"required": [],
"readonly": []
}
}
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Close
Hashes for ckanext-datapackage-creator-0.0.23.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | b5b8420204c2c745fdc94e0f732d2791945188cd46cf72a4bcad46e8eba47465 |
|
MD5 | 303ff843a94b3d9a29fc87e146cded6a |
|
BLAKE2b-256 | 448bdde231efde6eafdc576753a30e28252343a5e769e1795e639f24847fa55e |
Close
Hashes for ckanext_datapackage_creator-0.0.23-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6eea1e481ebcf5782f45b49f4bd1feb961ca9c7ec7df20700d708aa110eb9045 |
|
MD5 | a61faa0e229135e397a736d3d442162c |
|
BLAKE2b-256 | 19f41ff3d1c001abedc685d87ba1e77a9a889880d52ca00deacf3ce61212afe5 |