{ "info": { "author": "Daniel Kaufhold", "author_email": "daniel.kaufhold@bitmazk.com", "bugtrack_url": null, "classifiers": [], "description": "CMSplugin PDF\n=============\n\nA reusable Django app to add PDFs to Django-CMS.\n\n\nInstallation\n------------\n\nYou need to install the following prerequisites in order to use this app::\n\n pip install Django\n pip install django-cms\n pip install django-filer\n pip install Pillow\n\nIf you want to install the latest stable release from PyPi::\n\n $ pip install cmsplugin-pdf\n\nIf you feel adventurous and want to install the latest commit from GitHub::\n\n $ pip install -e git://github.com/bitmazk/cmsplugin-pdf.git#egg=cmsplugin_pdf\n\nAdd ``cmsplugin_pdf`` to your ``INSTALLED_APPS``::\n\n INSTALLED_APPS = (\n ...,\n 'cmsplugin_pdf',\n )\n\n\nUsage\n-----\n\nCreate a CMS page with a placeholder, upload a pdf file using filer and simply\ninsert the plugin ``PDF File``.\n\n\nNote that currently the thumbnail size is adjusted only in the template at\n``cmsplugin_pdf/partials/pdf.html``.\n\n\nTemplatetags\n------------\n\nget_page_count\n++++++++++++++\n\nUse this template filter if you would like to display the page count for a pdf\nfile::\n\n {% load cmsplugin_pdf_tags %}\n Pages: {{ pdf_plugin.file.path|get_page_count }}\n\n\nSettings\n--------\n\nCMSPLUGIN_PDF_DISPLAY_TYPE_CHOICES\n++++++++++++++++++++++++++++++++++\n\nDefault::\n\n [\n ('standard', _('standard')),\n ('small', _('small')),\n ('highlight', _('highlight')),\n ]\n\nWhen using the ``PDF File`` plugin in your django-cms placeholders you will\nnotice that you have three choices for the ``Display type``. This field\ncan be helpful when you want to render a file differently in different parts\nof your site. If you need even more display types, just set this setting to\na different list of tuples.\n\n\nContribute\n----------\n\nIf you want to contribute to this project, please perform the following steps::\n\n # Fork this repository\n # Clone your fork\n $ mkvirtualenv -p python2.7 cmsplugin-pdf\n $ pip install -r test_requirements.txt\n $ ./logger/tests/runtests.sh\n # You should get no failing tests\n\n $ git co -b feature_branch master\n # Implement your feature and tests\n # Describe your change in the CHANGELOG.txt\n $ git add . && git commit\n $ git push origin feature_branch\n # Send us a pull request for your feature branch\n\nWhenever you run the tests a coverage output will be generated in\n``tests/coverage/index.html``. When adding new features, please make sure that\nyou keep the coverage at 100%.\n\n\nRoadmap\n-------\n\nCheck the issue tracker on github for milestones and features to come.", "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/bitmazk/cmsplugin-pdf", "keywords": "django,pdf,cms,plugin,placeholder", "license": "The MIT License", "maintainer": null, "maintainer_email": null, "name": "cmsplugin-pdf", "package_url": "https://pypi.org/project/cmsplugin-pdf/", "platform": "OS Independent", "project_url": "https://pypi.org/project/cmsplugin-pdf/", "project_urls": { "Download": "UNKNOWN", "Homepage": "https://github.com/bitmazk/cmsplugin-pdf" }, "release_url": "https://pypi.org/project/cmsplugin-pdf/0.5.1/", "requires_dist": null, "requires_python": null, "summary": "A reusable Django app to add PDFs to Django-CMS.", "version": "0.5.1" }, "last_serial": 869464, "releases": { "0.2": [ { "comment_text": "", "digests": { "md5": "24321d4d5e571830a8bd20ed774e305a", "sha256": "08ab51d5fcd49bda8f466c75a334d52d9d0bda9698e2228735c0ce3fc7de2670" }, "downloads": -1, "filename": "cmsplugin-pdf-0.2.tar.gz", "has_sig": false, "md5_digest": "24321d4d5e571830a8bd20ed774e305a", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 9504, "upload_time": "2013-07-02T18:42:05", "url": "https://files.pythonhosted.org/packages/67/0f/2f191d15958d38174720b5f90bf038e4f27efac7761df4d56e0496d10485/cmsplugin-pdf-0.2.tar.gz" } ], "0.3": [ { "comment_text": "", "digests": { "md5": "40a811c9cc110f119166805a3806f642", "sha256": "51923c92298bd8f87c898106c0d0f54fc51d2a0a785e2a1382b789dfb74b20ad" }, "downloads": -1, "filename": "cmsplugin-pdf-0.3.tar.gz", "has_sig": false, "md5_digest": "40a811c9cc110f119166805a3806f642", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 23980, "upload_time": "2013-07-07T18:49:12", "url": "https://files.pythonhosted.org/packages/85/e4/d37edf8fc5f6476d87721a45360a2fc8446f51724aa0bfcecdad2ae0a838/cmsplugin-pdf-0.3.tar.gz" } ], "0.3.1": [ { "comment_text": "", "digests": { "md5": "5118f3b483f6daa7c8c86f0e96732550", "sha256": "f863dc695b43dc20fffed052358e2fcf14603d1d9d1a6af627327351abc0855e" }, "downloads": -1, "filename": "cmsplugin-pdf-0.3.1.tar.gz", "has_sig": false, "md5_digest": "5118f3b483f6daa7c8c86f0e96732550", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 24150, "upload_time": "2013-07-27T11:22:56", "url": "https://files.pythonhosted.org/packages/2c/35/721d4871d8850b77b44905b0fd4c13324102b026dc0740384ff85aa66019/cmsplugin-pdf-0.3.1.tar.gz" } ], "0.4": [ { "comment_text": "", "digests": { "md5": "d60c901ffa1bb8ba1a2e5cf9bf789df8", "sha256": "b6fcc9fe2479269b836e2c9c206163d3c20fab6f92f367407bb28dc1cd1e5850" }, "downloads": -1, "filename": "cmsplugin-pdf-0.4.tar.gz", "has_sig": false, "md5_digest": "d60c901ffa1bb8ba1a2e5cf9bf789df8", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 25070, "upload_time": "2013-08-12T10:22:00", "url": "https://files.pythonhosted.org/packages/fc/82/c6f01f221663b834c4155f4e53646c8428718eb1fc1e12bf50cddb6294ae/cmsplugin-pdf-0.4.tar.gz" } ], "0.5.1": [ { "comment_text": "", "digests": { "md5": "e330d64f1f1a273d2c5bc60e549dc8bc", "sha256": "7ba0e72d916c6220772435211e57861654ec404d73603a7cf95e32baae94900a" }, "downloads": -1, "filename": "cmsplugin-pdf-0.5.1.tar.gz", "has_sig": false, "md5_digest": "e330d64f1f1a273d2c5bc60e549dc8bc", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 26052, "upload_time": "2013-09-19T18:58:58", "url": "https://files.pythonhosted.org/packages/53/cd/ad9d108e5bbc7e5b165aaa2f29032463cd813e02299ebb13b6d5acaa2207/cmsplugin-pdf-0.5.1.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "e330d64f1f1a273d2c5bc60e549dc8bc", "sha256": "7ba0e72d916c6220772435211e57861654ec404d73603a7cf95e32baae94900a" }, "downloads": -1, "filename": "cmsplugin-pdf-0.5.1.tar.gz", "has_sig": false, "md5_digest": "e330d64f1f1a273d2c5bc60e549dc8bc", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 26052, "upload_time": "2013-09-19T18:58:58", "url": "https://files.pythonhosted.org/packages/53/cd/ad9d108e5bbc7e5b165aaa2f29032463cd813e02299ebb13b6d5acaa2207/cmsplugin-pdf-0.5.1.tar.gz" } ] }