{
"info": {
"author": "Open Knowledge",
"author_email": "info@ckan.org",
"bugtrack_url": null,
"classifiers": [
"Development Status :: 4 - Beta",
"License :: OSI Approved :: GNU Affero General Public License v3 or later (AGPLv3+)",
"Programming Language :: Python :: 2.6",
"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/ckan/ckanext-pdfview.svg?branch=master\n :target: https://travis-ci.org/ckan/ckanext-pdfview\n\n.. image:: https://pypip.in/download/ckanext-pdfview/badge.svg\n :target: https://pypi.python.org/pypi//ckanext-pdfview/\n :alt: Downloads\n\n.. image:: https://pypip.in/version/ckanext-pdfview/badge.svg\n :target: https://pypi.python.org/pypi/ckanext-pdfview/\n :alt: Latest Version\n\n.. image:: https://pypip.in/py_versions/ckanext-pdfview/badge.svg\n :target: https://pypi.python.org/pypi/ckanext-pdfview/\n :alt: Supported Python versions\n\n.. image:: https://pypip.in/status/ckanext-pdfview/badge.svg\n :target: https://pypi.python.org/pypi/ckanext-pdfview/\n :alt: Development Status\n\n.. image:: https://pypip.in/license/ckanext-pdfview/badge.svg\n :target: https://pypi.python.org/pypi/ckanext-pdfview/\n :alt: License\n\n===============\nckanext-pdfview\n===============\n\nThis extension provides a view plugin for PDF files using `PDF.js `_. \n\nBeyond viewing PDFs, this version takes advantage of the latest PDF.js features that were not available in the bundled pre 2.3 viewer, namely:\n\n* Localization. Uses CKAN's language settings when possible.\n* Tools Menu. Go to first/last page. Rotate clockwise/counter-clockwise. Hand tool. Document Properties.\n* Fullscreen support.\n* PDF attachment support.\n* Performance. Renders PDFs much faster in browsers with `WebGL `_ and `Web Worker `_ support.\n* Implements `hundreds of PDF.js bug fixes `_\n\n------------\nRequirements\n------------\n\nThis extension only works with CKAN >= 2.3. On previous CKAN versions the PDF\nviewer is included in the main CKAN repository.\n\n------------\nInstallation\n------------\n\nTo install ckanext-pdfview:\n\n1. Activate your CKAN virtual environment, for example::\n\n source /usr/lib/ckan/default/bin/activate\n\n2. Install the ckanext-pdfview Python package into your virtual environment::\n\n pip install ckanext-pdfview\n\n3. Add ``pdf_view`` to the ``ckan.plugins`` setting in your CKAN\n config file (by default the config file is located at\n ``/etc/ckan/default/production.ini``).\n\n4. If you want to render PDF files which are not located in the same server as\n CKAN you also need to enable the ``resource_proxy`` plugin.\n\n4. Restart CKAN. For example if you've deployed CKAN with Apache on Ubuntu::\n\n sudo service apache2 reload\n\n\n------------------------\nDevelopment Installation\n------------------------\n\nTo install ckanext-pdfview for development, activate your CKAN virtualenv and\ndo::\n\n git clone https://github.com/ckan/ckanext-pdfview.git\n cd ckanext-pdfview\n python setup.py develop\n\n\n-----------------\nRunning the Tests\n-----------------\n\nTo run the tests, do::\n\n nosetests --nologcapture --ckan --with-pylons=test.ini\n\n\n-----------------------------------\nRegistering ckanext-pdfview on PyPI\n-----------------------------------\n\nckanext-pdfview should be availabe on PyPI as\nhttps://pypi.python.org/pypi/ckanext-pdfview. 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.1 then do::\n\n git tag 0.0.1\n git push --tags\n\n\n------------------------------------------\nReleasing a New Version of ckanext-pdfview\n------------------------------------------\n\nckanext-pdfview is availabe on PyPI as https://pypi.python.org/pypi/ckanext-pdfview.\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\n\n\n------------------------------\nSource Install Troubleshooting\n------------------------------\n\n**AttributeError: 'module' object has no attribute 'ckanext-pdfview/main'**\n\nWhen upgrading a CKAN source install to 2.3+, be sure to remove the old bundled pdfview.\n\n rm -rf /usr/lib/ckan/default/src/ckan/ckanext/pdfview\n\npdfview used to be part of CKAN core, and `has been made a separate extension `_ to make it easier to iterate on pdf viewer enhancements.\n\nAlso, be sure be sure to register any new or updated plugins::\n\n . /usr/lib/ckan/default/bin/activate\n cd /usr/lib/ckan/default/src/ckan\n python setup.py develop",
"description_content_type": null,
"docs_url": null,
"download_url": "UNKNOWN",
"downloads": {
"last_day": -1,
"last_month": -1,
"last_week": -1
},
"home_page": "https://github.com/ckan/ckanext-pdfview",
"keywords": "CKAN PDF",
"license": "AGPL",
"maintainer": null,
"maintainer_email": null,
"name": "ckanext-pdfview",
"package_url": "https://pypi.org/project/ckanext-pdfview/",
"platform": "UNKNOWN",
"project_url": "https://pypi.org/project/ckanext-pdfview/",
"project_urls": {
"Download": "UNKNOWN",
"Homepage": "https://github.com/ckan/ckanext-pdfview"
},
"release_url": "https://pypi.org/project/ckanext-pdfview/0.0.5/",
"requires_dist": null,
"requires_python": null,
"summary": "View plugin for rendering PDFs on the browser",
"version": "0.0.5"
},
"last_serial": 1844061,
"releases": {
"0.0.1": [
{
"comment_text": "",
"digests": {
"md5": "260f7189729fab68719a894532b3c7bc",
"sha256": "8a1d8c847ff8d5cd63e20b7f41390aafb01f8adbb4958b92ef187fc0fa002e5d"
},
"downloads": -1,
"filename": "ckanext-pdfview-0.0.1.tar.gz",
"has_sig": false,
"md5_digest": "260f7189729fab68719a894532b3c7bc",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 834123,
"upload_time": "2015-02-06T15:30:11",
"url": "https://files.pythonhosted.org/packages/1a/62/5ab7cf5b7d14401514a28e9063ee59cb1deb983abc29dec2c15297614714/ckanext-pdfview-0.0.1.tar.gz"
}
],
"0.0.2": [
{
"comment_text": "",
"digests": {
"md5": "88b2947fdb6ffbac784b4c0ffb91819a",
"sha256": "bdae93503cdcf056cfabf663aa70e5f03085e4c20df563273b8b53e710eefa37"
},
"downloads": -1,
"filename": "ckanext-pdfview-0.0.2.tar.gz",
"has_sig": false,
"md5_digest": "88b2947fdb6ffbac784b4c0ffb91819a",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 421207,
"upload_time": "2015-04-17T12:59:37",
"url": "https://files.pythonhosted.org/packages/92/fe/b71126976b3f9cdb90349df7b8b9e3482d03ba3eaf89e96bd049d17ac8b4/ckanext-pdfview-0.0.2.tar.gz"
}
],
"0.0.3": [
{
"comment_text": "",
"digests": {
"md5": "c45a51fe13da271c3c2c3c5ed5609168",
"sha256": "824bc1f4c4ecf53c77452775861ba7353168e83da362c204728f17dadfa147f1"
},
"downloads": -1,
"filename": "ckanext-pdfview-0.0.3.tar.gz",
"has_sig": false,
"md5_digest": "c45a51fe13da271c3c2c3c5ed5609168",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 421214,
"upload_time": "2015-04-17T13:01:40",
"url": "https://files.pythonhosted.org/packages/ca/7f/4347662f44377c729815b9c3b4003e6dd98f05fbe314175a9e07c481f97c/ckanext-pdfview-0.0.3.tar.gz"
}
],
"0.0.4": [
{
"comment_text": "",
"digests": {
"md5": "e39323f1696e478df1ccbf2153e9a137",
"sha256": "9c15e82070ba876e3c0882f18a76004841f9772390f5c10fae0d4ce0c6200acd"
},
"downloads": -1,
"filename": "ckanext-pdfview-0.0.4.tar.gz",
"has_sig": false,
"md5_digest": "e39323f1696e478df1ccbf2153e9a137",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 1492459,
"upload_time": "2015-05-22T16:06:41",
"url": "https://files.pythonhosted.org/packages/aa/61/ea958fcbefdf644e41e944967461e26d9cf37c9e1ab637b7064bda85eaf4/ckanext-pdfview-0.0.4.tar.gz"
}
],
"0.0.5": [
{
"comment_text": "",
"digests": {
"md5": "fb7ff76dfcde0f2131b683be22242890",
"sha256": "5bf44e1fab4f4a416e5a7adc031cdcc0d3acbea71a63c493644243a8d98a23ed"
},
"downloads": -1,
"filename": "ckanext-pdfview-0.0.5.tar.gz",
"has_sig": false,
"md5_digest": "fb7ff76dfcde0f2131b683be22242890",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 1492527,
"upload_time": "2015-12-02T21:56:07",
"url": "https://files.pythonhosted.org/packages/48/bc/3cabcb0f5103fb40c9aa006fbc0ca49bfd7a1b556cb93b02d970d149ee8d/ckanext-pdfview-0.0.5.tar.gz"
}
]
},
"urls": [
{
"comment_text": "",
"digests": {
"md5": "fb7ff76dfcde0f2131b683be22242890",
"sha256": "5bf44e1fab4f4a416e5a7adc031cdcc0d3acbea71a63c493644243a8d98a23ed"
},
"downloads": -1,
"filename": "ckanext-pdfview-0.0.5.tar.gz",
"has_sig": false,
"md5_digest": "fb7ff76dfcde0f2131b683be22242890",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 1492527,
"upload_time": "2015-12-02T21:56:07",
"url": "https://files.pythonhosted.org/packages/48/bc/3cabcb0f5103fb40c9aa006fbc0ca49bfd7a1b556cb93b02d970d149ee8d/ckanext-pdfview-0.0.5.tar.gz"
}
]
}