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.20.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8edae370e1ab4305c4945b86f7c00a90ecdac276f64b020b644863ec1f56ab52 |
|
MD5 | 89f38ef7ac5f449df36c21d2e57c983b |
|
BLAKE2b-256 | e2e5d9b4c581881812fd40cac440a6824816be5f7f31947d59cf7b25ca624be5 |
Close
Hashes for ckanext_datapackage_creator-0.0.20-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 15d41153ef43f207255e38f30b91a8d3216bc8300d7ca16ec31e08f7df359767 |
|
MD5 | c3dc763c0d5604071ecee00037bfa4ea |
|
BLAKE2b-256 | 888b8981e88ac056a78dfed2485f8ec1fd47cf631d87744d8f8cd18ba275f9c3 |