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": []
}
}
Mandatory possible package fields:
- title
- notes
- source
- version
Possible read-only package fields:
Nothing
Mandatory possible resource fields:
- title
- description
- format
- type
- encoding
- field.name (Column field)
- field.title (Column field)
- field.description (Column field)
- field.format (Column field)
Possible read-only package fields:
- format
- type
- encoding
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
Hashes for ckanext-datapackage-creator-0.0.26.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | be78300c31d6ee80e7700491e4fdc16ea7cb1cb92e5f56718cd9f2d912a91e8a |
|
MD5 | 66bc5db5ce006f7c4ee455a4fdd847bc |
|
BLAKE2b-256 | cbec18a2cba41ae3456ba4b437e856a43b94a10941a1f2640f77d76ed03500dd |
Hashes for ckanext_datapackage_creator-0.0.26-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e22e877acd8f028ebd2a5790a68259b4be8306f9206fdadeec52863514ebacb3 |
|
MD5 | d46231d415465c19da8f37b7b957b42c |
|
BLAKE2b-256 | d4116659f24eabe1332021c3cf4337f0f01b87b4c4fc09effa39939ddb374c7a |