Package: ckanext-dictionary
=============ckanext-dictionary=============.. The extension adds the ability to include a data dictionary (metadata) for each dataset.Admins can create the data dictionary when adding the dataset, or create/modify it any other time.Users see the data dictionary as another tab for each dataset.Since this dictionary extension utilizes the DataStore extension, Data Dictionary information canbe accessed via API.The extension adds the ability to include a data dictionary (metadata) for each dataset.Admins can create the data dictionary when adding the dataset, or create/modify it any other time.Users see the data dictionary as another tab for each dataset.Since this dictionary extension utilizes the DataStore extension, Data Dictionary information canbe accessed via API... image:: https://github.com/cmuphillycapstone/ckanext-dictionary/blob/master/screenshots/admin-setup.png:alt: Additional stage added to dataset setup:height: 245px:width: 449px.. class:: center*Additional stage added to dataset setup*.. image:: https://github.com/cmuphillycapstone/ckanext-dictionary/blob/master/screenshots/admin-edit.png:alt: Editing data dictionary for a dataset:height: 280px:width: 450px.. class:: center*Editing data dictionary for a dataset*.. image:: https://github.com/cmuphillycapstone/ckanext-dictionary/blob/master/screenshots/user-view.png:alt: User view of the data dictionary:height: 197px:width: 450px.. class:: center*User view of the data dictionary*------------Requirements------------The extension requires the DataStore extension to also be installed.Additionally, it only works on CKAN versions that have two current stages in the 'add dataset' dialog.------------Installation------------.. Add any additional install steps to the list below.For example installing any non-Python dependencies or adding any requiredconfig settings.To install ckanext-dictionary:1. Activate your CKAN virtual environment, for example::. /usr/lib/ckan/default/bin/activate2. Install the ckanext-dictionary Python package into your virtual environment::pip install ckanext-dictionary3. Add ``dictionary`` to the ``ckan.plugins`` setting in your CKANconfig file (by default the config file is located at``/etc/ckan/default/production.ini``).4. Restart CKAN. For example if you've deployed CKAN with Apache on Ubuntu::sudo service apache2 reload---------------Config Settings---------------This version includes no user config settings.------------------------Development Installation------------------------To install ckanext-dictionary for development, activate your CKAN virtualenv anddo::git clone https://github.com/cmuphillycapstone/ckanext-dictionary.gitcd ckanext-dictionarypython setup.py developpip install -r dev-requirements.txt-----------------Running the Tests-----------------There are presently no tests included with the extension.----------------------------------------Releasing a New Version of ckanext-dictionary----------------------------------------ckanext-dictionary is availabe on PyPI as https://pypi.python.org/pypi/ckanext-dictionary.To publish a new version to PyPI follow these steps:1. Update the version number in the ``setup.py`` file.See `PEP 440 <http://legacy.python.org/dev/peps/pep-0440/#public-version-identifiers>`_for how to choose version numbers.2. Create a source distribution of the new version::python setup.py sdist3. Upload the source distribution to PyPI::python setup.py sdist upload4. Tag the new release of the project on GitHub with the version number fromthe ``setup.py`` file. For example if the version number in ``setup.py`` is0.0.2 then do::git tag 0.0.2git push --tags