{ "info": { "author": "Andreas Motl", "author_email": "andreas@hiveeyes.org", "bugtrack_url": null, "classifiers": [ "Development Status :: 3 - Alpha", "Environment :: Console", "Environment :: Web Environment", "Intended Audience :: Developers", "Intended Audience :: Education", "Intended Audience :: End Users/Desktop", "Intended Audience :: Information Technology", "Intended Audience :: Science/Research", "Intended Audience :: System Administrators", "License :: OSI Approved :: European Union Public Licence 1.2 (EUPL 1.2)", "License :: OSI Approved :: GNU Affero General Public License v3", "Operating System :: MacOS", "Operating System :: POSIX", "Operating System :: Unix", "Programming Language :: Python", "Topic :: Communications", "Topic :: Database", "Topic :: Internet", "Topic :: Internet :: WWW/HTTP", "Topic :: Internet :: WWW/HTTP :: Indexing/Search", "Topic :: Scientific/Engineering :: Human Machine Interfaces", "Topic :: Scientific/Engineering :: Information Analysis", "Topic :: Scientific/Engineering :: Interface Engine/Protocol Translator", "Topic :: System :: Archiving", "Topic :: Text Processing", "Topic :: Utilities" ], "description": ".. image:: https://img.shields.io/badge/Python-3-green.svg\n :target: https://github.com/hiveeyes/discodoc\n\n.. image:: https://img.shields.io/pypi/v/discodoc.svg\n :target: https://pypi.org/project/discodoc/\n\n.. image:: https://img.shields.io/github/tag/hiveeyes/discodoc.svg\n :target: https://github.com/hiveeyes/discodoc\n\n|\n\n.. discodoc-readme:\n\n########\ndiscodoc\n########\n\n\n*****\nAbout\n*****\n`discodoc` - create `hard copy`_-like documents from Discourse content easily.\n\nIt aims to make documentation generation effortless.\n\nThere might still be dragons.\n\n.. _hard copy: https://en.wikipedia.org/wiki/Hard_copy\n\n\n********\nSynopsis\n********\n::\n\n # Generate PDF document from all posts of given topic.\n discodoc https://community.hiveeyes.org/t/anleitung-aufbau-und-installation-des-sensor-kits-grune-platine/2443 --format=pdf\n\nFor more information and further examples, please invoke ``discodoc --help``.\n\n\n********\nFeatures\n********\nAll output formats are provided by pandoc fame. These have been tested:\npdf, docx, odt, pptx, epub2, epub3, fb2, latex, texinfo, txt, text, html, html5, json, plain, rtf, revealjs, s5.\n\n\n************\nInstallation\n************\n\nPrerequisites\n=============\n::\n\n # Debian\n apt install texlive-latex-base pandoc\n\n # macOS / Homebrew\n brew install pandoc python3-requests\n brew cask install basictex\n\nOptional::\n\n brew cask install wkhtmltopdf\n\nFor HTML slideshow rendering::\n\n yarn install\n\n\n wget https://meyerweb.com/eric/tools/s5/v/1.1/s5-11.zip\n cp -r ~/Downloads/s5-11/ui node_modules/s5\n\nSetup\n=====\n::\n\n pip install discodoc\n\n\n*******\nCaveats\n*******\nIf you are hitting one of the `global rate limits and throttling in Discourse`_ indicated like::\n\n {\"errors\":[\"You\u2019ve performed this action too many times, please try again later.\"]}\n\nYou might want to authenticate using an appropriate API key like::\n\n export DISCOURSE_API_KEY=5c58bf5e4027622543f5179938182099c8b97188d00a9dc9f184cd3ca66db5ea\n\n.. _global rate limits and throttling in Discourse: https://meta.discourse.org/t/global-rate-limits-and-throttling-in-discourse/78612\n\n*******\nCredits\n*******\n- `Donald Knuth`_ and the `LaTeX Team`_ for conceiving and maintaining TeX and LaTeX.\n- `John MacFarlane`_ and all contributors for creating and curating pandoc_.\n- The amazing `Discourse Team`_ and all contributors for creating Discourse and its spirit.\n\nYou know how you are. Thanks!\n\n\n**************\nOther programs\n**************\n- https://github.com/pfaffman/discourse-downloader\n - via: https://meta.discourse.org/t/struggling-with-pagination-within-search-query-json/59558/3\n\n\n.. _Donald Knuth: https://www-cs-faculty.stanford.edu/~knuth/\n.. _LaTeX Team: https://www.latex-project.org/about/team/\n.. _pandoc: https://pandoc.org/\n.. _John MacFarlane: https://johnmacfarlane.net/\n.. _Discourse Team: https://blog.discourse.org/2013/02/the-discourse-team/", "description_content_type": "", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/hiveeyes/discodoc", "keywords": "discourse pandoc document hardcopy export pdf epub docx pptx odt html s5 reveal.js", "license": "AGPL 3, EUPL 1.2", "maintainer": "", "maintainer_email": "", "name": "discodoc", "package_url": "https://pypi.org/project/discodoc/", "platform": "", "project_url": "https://pypi.org/project/discodoc/", "project_urls": { "Homepage": "https://github.com/hiveeyes/discodoc" }, "release_url": "https://pypi.org/project/discodoc/0.3.0/", "requires_dist": null, "requires_python": "", "summary": "discodoc - create documents from Discourse content easily", "version": "0.3.0" }, "last_serial": 5669618, "releases": { "0.1.0": [ { "comment_text": "", "digests": { "md5": "6dfbf4f9747765cbaf85fd2232e73bbc", "sha256": "e8fac508d921443174bb15fe74f3d8e1e72e12dc3b1b6d343d2513293f6db37d" }, "downloads": -1, "filename": "discodoc-0.1.0.tar.gz", "has_sig": false, "md5_digest": "6dfbf4f9747765cbaf85fd2232e73bbc", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 16204, "upload_time": "2019-08-11T22:22:31", "url": "https://files.pythonhosted.org/packages/89/90/aaa758ea7ad15a7fde4bbee8619d1a6d43ddc4f63948c3a58d745afc444b/discodoc-0.1.0.tar.gz" } ], "0.2.0": [ { "comment_text": "", "digests": { "md5": "59eec6f3412d1f2344d20cf4425cb3dd", "sha256": "3ff648a6f2b241d55823dd87cefdcb8b8633989adab73ed86f98a429296b881c" }, "downloads": -1, "filename": "discodoc-0.2.0.tar.gz", "has_sig": false, "md5_digest": "59eec6f3412d1f2344d20cf4425cb3dd", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 17703, "upload_time": "2019-08-12T01:34:14", "url": "https://files.pythonhosted.org/packages/f1/5b/ad26c4fb37fc9903db7f7f295fa21e99f748341800c154ea3618a4b1c888/discodoc-0.2.0.tar.gz" } ], "0.3.0": [ { "comment_text": "", "digests": { "md5": "b5b1499e1b292b33cb2453416f1092d5", "sha256": "66cd37b67544f8cfedfc0c96c662476d6e6e208782d31ff7e2bade5aefac04e5" }, "downloads": -1, "filename": "discodoc-0.3.0.tar.gz", "has_sig": false, "md5_digest": "b5b1499e1b292b33cb2453416f1092d5", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 19112, "upload_time": "2019-08-13T02:30:27", "url": "https://files.pythonhosted.org/packages/86/aa/5e74fe8666e287f1d282a12e343b9d22e4caa38ed44c8bcf41407b4a047a/discodoc-0.3.0.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "b5b1499e1b292b33cb2453416f1092d5", "sha256": "66cd37b67544f8cfedfc0c96c662476d6e6e208782d31ff7e2bade5aefac04e5" }, "downloads": -1, "filename": "discodoc-0.3.0.tar.gz", "has_sig": false, "md5_digest": "b5b1499e1b292b33cb2453416f1092d5", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 19112, "upload_time": "2019-08-13T02:30:27", "url": "https://files.pythonhosted.org/packages/86/aa/5e74fe8666e287f1d282a12e343b9d22e4caa38ed44c8bcf41407b4a047a/discodoc-0.3.0.tar.gz" } ] }