{ "info": { "author": "Andy Hayden", "author_email": "andyhayden1@gmail.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 4 - Beta", "Environment :: Console", "Intended Audience :: Developers", "License :: OSI Approved :: MIT License", "Operating System :: OS Independent", "Programming Language :: Python", "Programming Language :: Python :: 2", "Programming Language :: Python :: 2.6", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.2", "Programming Language :: Python :: 3.3", "Programming Language :: Python :: 3.4", "Topic :: Software Development :: Libraries :: Python Modules" ], "description": "# leanpub cli\n\nBuild leanpub books locally from the command line.\n\n> Note/Disclaimer: This is not an official Leanpub product, it simply uses\n> pandoc to build a pdf from markdown in a similar way to Leanpub. Currently\n> the output from leanpub *is different* in style (and this will probably\n> always be the case), however I find that it massively speeds up the iteration\n> process to be able to build a pdf which looks \"similar enough\" to Leanpub.\n\nThis implements a simple cli for building ebooks locally. Rather than having\nupload your new change-set to Dropbox and then trigger leanpub build on\ntheir site - do it all locally.\n\n## Usage\n\nTo build the Book (this requires a `Book.txt`):\n\n```sh\n$ leanpub book\n```\n\nTo build the Sample (this requires a `Sample.txt`):\n\n```sh\n$ leanpub sample\n```\n\nTo build both:\n\n```sh\n$ leanpub all\n```\n\nYou can also \"watch\" for changes in any of the markdown files you are using to\nbuild the book i.e. when a markdown file is saved:\n\n```sh\n$ leanpub watch\n```\n\nYou can get help via the command line with:\n\n```sh\n$ leanpub --help\n```\n\n## Installation\n\nInstall via [pip](https://pip.pypa.io/en/latest/installing.html):\n\n```sh\n$ pip install leanpub\n```\n\n*Note: if you don't have python installed I recommend\n[miniconda](http://conda.pydata.org/miniconda.html); no-admin access required.*\n\nThis requires that pandoc is installed, if it's not install it\n[here](http://pandoc.org/installing.html).\n\n## Issues / troubleshooting / requests\n\nPlease post an [issue on github](https://github.com/hayd/leanpub).\n\n### Going forward\n\nI would like to improve the output to better match leanpub.\nAny help it that direction (e.g. css, or prepending the title page) would be\ngreat!\n\n\n\n", "description_content_type": "", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/hayd/leanpub", "keywords": "automation,pdf,format", "license": "MIT License", "maintainer": "", "maintainer_email": "", "name": "leanpub", "package_url": "https://pypi.org/project/leanpub/", "platform": "", "project_url": "https://pypi.org/project/leanpub/", "project_urls": { "Homepage": "https://github.com/hayd/leanpub" }, "release_url": "https://pypi.org/project/leanpub/0.2.0/", "requires_dist": [ "argh", "watchdog" ], "requires_python": "", "summary": "Build leanpub books locally. Watch files and build a new pdf each time they change.", "version": "0.2.0" }, "last_serial": 4356720, "releases": { "0.1": [ { "comment_text": "", "digests": { "md5": "b1077a05cfb343ab2cc0ae3f778901a0", "sha256": "9fc0ce761d1a7b3c619422066cc141b7d2d3a1fe0fdacdb47ae5db8a5b38aced" }, "downloads": -1, "filename": "leanpub-0.1-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "b1077a05cfb343ab2cc0ae3f778901a0", "packagetype": "bdist_wheel", "python_version": "2.7", "requires_python": null, "size": 6772, "upload_time": "2015-06-02T09:12:14", "url": "https://files.pythonhosted.org/packages/1c/77/8c73e2a2f417911aad47c0844f75906dcac271319a0af24478edd1b46467/leanpub-0.1-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "15996e3efdee1c4be06124f73d2c16bb", "sha256": "dcaca74a63870cd68305cc793237977285a33d284e793ead35aad3958bbed746" }, "downloads": -1, "filename": "leanpub-0.1.tar.gz", "has_sig": false, "md5_digest": "15996e3efdee1c4be06124f73d2c16bb", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5077, "upload_time": "2015-06-02T09:12:11", "url": "https://files.pythonhosted.org/packages/ad/10/b8c4f12f006b962e0d1219798b7e962e416645640f4338f23d7a8b6e4cd7/leanpub-0.1.tar.gz" } ], "0.1.1": [ { "comment_text": "", "digests": { "md5": "ce425eb53a62c0fc8b9890aa29a3784c", "sha256": "0e3ff4e4776b481c9fe9f526975468d3103baa29443c04de66f973128fa59b5c" }, "downloads": -1, "filename": "leanpub-0.1.1-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "ce425eb53a62c0fc8b9890aa29a3784c", "packagetype": "bdist_wheel", "python_version": "2.7", "requires_python": null, "size": 7042, "upload_time": "2015-06-02T10:19:47", "url": "https://files.pythonhosted.org/packages/7b/f4/b14fd381a019c49fd79d0d8d6c91472913088e8b26691818575fe84f7d7e/leanpub-0.1.1-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "2e2780b0f4831e0894f6e6ef82c59b3a", "sha256": "dd5a3bb73f0dccd5e52f32c378805c6f90b4d71896623cb3832f5102d2a3e8c1" }, "downloads": -1, "filename": "leanpub-0.1.1.tar.gz", "has_sig": false, "md5_digest": "2e2780b0f4831e0894f6e6ef82c59b3a", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5153, "upload_time": "2015-06-02T10:19:43", "url": "https://files.pythonhosted.org/packages/9f/6b/cbe5054f5b431866deacc7facba568332398cc660b9753d3a99391363090/leanpub-0.1.1.tar.gz" } ], "0.1.2": [ { "comment_text": "", "digests": { "md5": "6981d1de73fe319aef9fcb411df85e94", "sha256": "dcbe42cb1e10870c40855901314976a6173c217a06eea29890f8118b5df6dd66" }, "downloads": -1, "filename": "leanpub-0.1.2-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "6981d1de73fe319aef9fcb411df85e94", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 6808, "upload_time": "2018-06-22T01:18:04", "url": "https://files.pythonhosted.org/packages/63/c1/175991752399907382bf2f247ba8e12d8834524b800df9b1969435731304/leanpub-0.1.2-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "b16a2757a529b1efa37194ec5c76abf3", "sha256": "0c74f0b58b310e97cb2922f6414a7f3b995c9ab094b1db4cc90c7b0ef69b3907" }, "downloads": -1, "filename": "leanpub-0.1.2.tar.gz", "has_sig": false, "md5_digest": "b16a2757a529b1efa37194ec5c76abf3", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4962, "upload_time": "2018-06-22T01:18:05", "url": "https://files.pythonhosted.org/packages/da/d0/002504f5cb83f1afa681be9dd2cd0b6300aec39d2fb22b6b635b4ea53c50/leanpub-0.1.2.tar.gz" } ], "0.2.0": [ { "comment_text": "", "digests": { "md5": "5642fdfe860c252575b600bca57e4137", "sha256": "c2b831b4bf602c0db859b099b6bfdf725eb7e8fdf801d259eeb0a902833ec4de" }, "downloads": -1, "filename": "leanpub-0.2.0-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "5642fdfe860c252575b600bca57e4137", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 4944, "upload_time": "2018-10-09T17:10:10", "url": "https://files.pythonhosted.org/packages/64/5e/a1d438adb2ca36b18a66454cfe730f4e94acd747e4fa8f8793b58414cdce/leanpub-0.2.0-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "430be52cc56e61a88912f6c7323d7568", "sha256": "c20dbe46db31d28fd45b511f57748af4c0a35fa7f16a8873ddaf7056389d9f57" }, "downloads": -1, "filename": "leanpub-0.2.0.tar.gz", "has_sig": false, "md5_digest": "430be52cc56e61a88912f6c7323d7568", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4958, "upload_time": "2018-10-09T17:10:12", "url": "https://files.pythonhosted.org/packages/cb/2f/65d6b6bce2bb8e50e49a98289d59a4ae7d2facde7242294d0c139efe20f5/leanpub-0.2.0.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "5642fdfe860c252575b600bca57e4137", "sha256": "c2b831b4bf602c0db859b099b6bfdf725eb7e8fdf801d259eeb0a902833ec4de" }, "downloads": -1, "filename": "leanpub-0.2.0-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "5642fdfe860c252575b600bca57e4137", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 4944, "upload_time": "2018-10-09T17:10:10", "url": "https://files.pythonhosted.org/packages/64/5e/a1d438adb2ca36b18a66454cfe730f4e94acd747e4fa8f8793b58414cdce/leanpub-0.2.0-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "430be52cc56e61a88912f6c7323d7568", "sha256": "c20dbe46db31d28fd45b511f57748af4c0a35fa7f16a8873ddaf7056389d9f57" }, "downloads": -1, "filename": "leanpub-0.2.0.tar.gz", "has_sig": false, "md5_digest": "430be52cc56e61a88912f6c7323d7568", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4958, "upload_time": "2018-10-09T17:10:12", "url": "https://files.pythonhosted.org/packages/cb/2f/65d6b6bce2bb8e50e49a98289d59a4ae7d2facde7242294d0c139efe20f5/leanpub-0.2.0.tar.gz" } ] }