DEPRECATED
This extension has been replaced by the
envidat-converters-api <https://gitlabext.wsl.ch/EnviDat/envidat-converters-api>_
microservice.
ckanext-package_converter
This extension allows the export (and soon import) of CKAN package metadata to multiple formats.
It allows the user to easily define custom converters and reuse existing ones.
Formats supported: DataCite, OAI_DC.
Requirements
It is compatible with ckanext-scheming, ckanext-repeating, ckanext-composite and ckanext-spatial.
This extension has been developed for CKAN 2.5.2.
Installation
.. Add any additional install steps to the list below.
For example installing any non-Python dependencies or adding any required
config settings.
To install ckanext-package_converter:
Activate your CKAN virtual environment, for example::
. /usr/lib/ckan/default/bin/activate
Install the ckanext-package_converter Python package into your virtual environment::
pip install ckanext-package_converter
Add package_converter to the ckan.plugins setting in your CKAN
config file (by default the config file is located at
/etc/ckan/default/production.ini).
Restart CKAN. For example if you’ve deployed CKAN with Apache on Ubuntu::
sudo service apache2 reload
Config Settings
You can define custom converters by adding them to the Converters() object directly or
via the configuration file. For example::
# full path to converters (optional)
package_converter.converters = ckanext.package_converter.model.scheming_converter.Datacite31SchemingConverter
Development Installation
To install ckanext-package_converter for development, activate your CKAN virtualenv and
do::
git clone https://github.com/espona/ckanext-package_converter.git
cd ckanext-package_converter
python setup.py