{ "info": { "author": "Nahid Akbar", "author_email": "nahid.akbar@data61.csiro.au", "bugtrack_url": null, "classifiers": [ "Development Status :: 4 - Beta", "License :: OSI Approved :: GNU Affero General Public License v3 or later (AGPLv3+)", "Programming Language :: Python :: 2.7" ], "description": ".. You should enable this project on travis-ci.org and coveralls.io to make\n these badges work. The necessary Travis and Coverage config files have been\n generated for you.\n\n.. image:: https://travis-ci.org/terriajs/ckanext-terria_view.svg?branch=master\n :target: https://travis-ci.org/terriajs/ckanext-terria_view\n\n.. image:: https://coveralls.io/repos/terriajs/ckanext-terria_view/badge.svg\n :target: https://coveralls.io/r/terriajs/ckanext-terria_view\n\n.. image:: https://pypip.in/download/ckanext-terria_view/badge.svg\n :target: https://pypi.python.org/pypi//ckanext-terria_view/\n :alt: Downloads\n\n.. image:: https://pypip.in/version/ckanext-terria_view/badge.svg\n :target: https://pypi.python.org/pypi/ckanext-terria_view/\n :alt: Latest Version\n\n.. image:: https://pypip.in/py_versions/ckanext-terria_view/badge.svg\n :target: https://pypi.python.org/pypi/ckanext-terria_view/\n :alt: Supported Python versions\n\n.. image:: https://pypip.in/status/ckanext-terria_view/badge.svg\n :target: https://pypi.python.org/pypi/ckanext-terria_view/\n :alt: Development Status\n\n.. image:: https://pypip.in/license/ckanext-terria_view/badge.svg\n :target: https://pypi.python.org/pypi/ckanext-terria_view/\n :alt: License\n\n=============\nckanext-terria_view\n=============\n\nPreview CKAN data on an instance of TerriaJS. Adds itself automatically\nto supported resources. Also able to configure as custom views.\n\n------------\nRequirements\n------------\n\nBuilt with CKAN 2.7.\n\n------------\nInstallation\n------------\n\n.. Add any additional install steps to the list below.\n For example installing any non-Python dependencies or adding any required\n config settings.\n\nTo install ckanext-terria_view:\n\n1. Activate your CKAN virtual environment, for example::\n\n . /usr/lib/ckan/default/bin/activate\n\n2. Install the ckanext-terria_view Python package into your virtual environment::\n\n pip install ckanext-terria_view\n\n3. Add ``terria_view`` to the ``ckan.plugins``\n settings in your CKAN config file (by default the config file is located at\n ``/etc/ckan/default/production.ini``).\n\n4. Restart CKAN. For example if you've deployed CKAN with Apache on Ubuntu::\n\n sudo service apache2 reload\n\n\n---------------\nConfig Settings\n---------------\n\nDocument any optional config settings here. For example::\n\n # Default Instance Title (optional, default: National Map).\n ckanext.terria_view.default_title = National Map\n\n # Default Instance Url (optional, default: //nationalmap.gov.au).\n # Use protocol independent url to not encounter security issues\n ckanext.terria_view.default_instance_url = //nationalmap.gov.au\n\nEnable CORS in ckan unless instance is on the same origin.\n\nCan also add ``terria_view`` to ``ckan.views.default_views`` if you want this\nview to be added to all new resources of supported formats.\n\n------------------------\nDevelopment Installation\n------------------------\n\nTo install ckanext-terria_view for development, activate your CKAN virtualenv and\ndo::\n\n git clone https://github.com/terriajs/ckanext-terria_view.git\n cd ckanext-terria_view\n python setup.py develop\n pip install -r dev-requirements.txt\n\n\n-----------------\nRunning the Tests\n-----------------\n\nTo run the tests, do::\n\n nosetests --nologcapture --with-pylons=test.ini\n\nTo run the tests and produce a coverage report, first make sure you have\ncoverage installed in your virtualenv (``pip install coverage``) then run::\n\n nosetests --nologcapture --with-pylons=test.ini --with-coverage --cover-package=ckanext.terria_view --cover-inclusive --cover-erase --cover-tests\n\n\n---------------------------------\nRegistering ckanext-terria_view on PyPI\n---------------------------------\n\nTODO: this does not work in ubuntu any more\n\nckanext-terria_view should be availabe on PyPI as\nhttps://pypi.python.org/pypi/ckanext-terria_view. If that link doesn't work, then\nyou can register the project on PyPI for the first time by following these\nsteps:\n\n1. Create a source distribution of the project::\n\n python setup.py sdist\n\n2. Register the project::\n\n python setup.py register\n\n3. Upload the source distribution to PyPI::\n\n python setup.py sdist upload\n\n4. Tag the first release of the project on GitHub with the version number from\n the ``setup.py`` file. For example if the version number in ``setup.py`` is\n 0.0.2 then do::\n\n git tag 0.0.2\n git push --tags\n\n\n----------------------------------------\nReleasing a New Version of ckanext-terria_view\n----------------------------------------\n\nckanext-terria_view is availabe on PyPI as https://pypi.python.org/pypi/ckanext-terria_view.\nTo publish a new version to PyPI follow these steps:\n\n1. Update the version number in the ``setup.py`` file.\n See `PEP 440 `_\n for how to choose version numbers.\n\n2. Create a source distribution of the new version::\n\n python setup.py sdist\n\n3. Upload the source distribution to PyPI::\n\n python setup.py sdist upload\n\n4. Tag the new release of the project on GitHub with the version number from\n the ``setup.py`` file. For example if the version number in ``setup.py`` is\n 0.0.2 then do::\n\n git tag 0.0.2\n git push --tags", "description_content_type": null, "docs_url": null, "download_url": null, "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/terriajs/ckanext-terria_view", "keywords": "CKAN terriajs", "license": "AGPL", "maintainer": null, "maintainer_email": null, "name": "ckanext-terria-view", "package_url": "https://pypi.org/project/ckanext-terria-view/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/ckanext-terria-view/", "project_urls": { "Homepage": "https://github.com/terriajs/ckanext-terria_view" }, "release_url": "https://pypi.org/project/ckanext-terria-view/0.0.4/", "requires_dist": null, "requires_python": null, "summary": "Preview TerriaJS Supported data in a TerriaJS instance.", "version": "0.0.4" }, "last_serial": 2372331, "releases": { "0.0.1": [ { "comment_text": "", "digests": { "md5": "024ce1f72d7e5092c00571ef07a7cfaa", "sha256": "bde559284b8d6013d11335fd81cd6902f76ac7beb63987c03428974a318dbf67" }, "downloads": -1, "filename": "ckanext-terria_view-0.0.1.tar.gz", "has_sig": false, "md5_digest": "024ce1f72d7e5092c00571ef07a7cfaa", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 19866, "upload_time": "2016-09-22T04:42:55", "url": "https://files.pythonhosted.org/packages/b2/39/8ff5efc9b1dc146d3888f0add5d60f7658b799959811f3b7d09d7ba232bb/ckanext-terria_view-0.0.1.tar.gz" } ], "0.0.2": [ { "comment_text": "", "digests": { "md5": "7ff5694a38f018c3c1af7174081b72c3", "sha256": "53bc74e77fcc13e60757220b4ae832d165d824a0432b2dac3810cfe1405fddf3" }, "downloads": -1, "filename": "ckanext-terria_view-0.0.2.tar.gz", "has_sig": false, "md5_digest": "7ff5694a38f018c3c1af7174081b72c3", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 21327, "upload_time": "2016-09-28T04:38:44", "url": "https://files.pythonhosted.org/packages/e7/cf/0e63bbac5e557d0a7625755a2ed3b28f6ca545426e80be173a5455b85a3f/ckanext-terria_view-0.0.2.tar.gz" } ], "0.0.3": [ { "comment_text": "", "digests": { "md5": "ac16d029ceb24dfb3f2f6d57a5072e75", "sha256": "46da84dbd9e1123f905db3fb9efbee5316d1a5915906b4519ba46a5b47c284cc" }, "downloads": -1, "filename": "ckanext-terria_view-0.0.3.tar.gz", "has_sig": false, "md5_digest": "ac16d029ceb24dfb3f2f6d57a5072e75", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 21346, "upload_time": "2016-09-28T06:17:10", "url": "https://files.pythonhosted.org/packages/d5/f4/7dacbb491b555c96ba9bb0616b9e0753bcaaa4661aff7b5fe0edd4249304/ckanext-terria_view-0.0.3.tar.gz" } ], "0.0.4": [ { "comment_text": "", "digests": { "md5": "0570968e53b85c0a15b366facbce5835", "sha256": "6e211eba00b3ccbbc0f4bd4991684c93f02e5eee4f2aa5af5e7abe568ba8f736" }, "downloads": -1, "filename": "ckanext-terria_view-0.0.4.tar.gz", "has_sig": false, "md5_digest": "0570968e53b85c0a15b366facbce5835", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 19499, "upload_time": "2016-09-30T01:37:15", "url": "https://files.pythonhosted.org/packages/37/17/6f5518ead13e6e5f479dfd9068dd0aeeea24a82573f848a4671f6cf03a5b/ckanext-terria_view-0.0.4.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "0570968e53b85c0a15b366facbce5835", "sha256": "6e211eba00b3ccbbc0f4bd4991684c93f02e5eee4f2aa5af5e7abe568ba8f736" }, "downloads": -1, "filename": "ckanext-terria_view-0.0.4.tar.gz", "has_sig": false, "md5_digest": "0570968e53b85c0a15b366facbce5835", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 19499, "upload_time": "2016-09-30T01:37:15", "url": "https://files.pythonhosted.org/packages/37/17/6f5518ead13e6e5f479dfd9068dd0aeeea24a82573f848a4671f6cf03a5b/ckanext-terria_view-0.0.4.tar.gz" } ] }