{ "info": { "author": "Paul Heasley", "author_email": "paul@phdesign.com.au", "bugtrack_url": null, "classifiers": [], "description": "# comic2pdf\nA script to convert comic files (cbr, cbz) to pdf, in python3.\n\n## Getting Started\n\n### Installing\n\nInstall the package using [setuptools](https://github.com/pypa/setuptools).\n\n```\n$ python setup.py install\n```\n\n### Running\n\nThe `comic2pdf` command should be globally available, pass as arguments the path(s) to the cbr / cbz files and optionally specify an output folder. The output files will be named the same as the input files but with a .pdf extension.\n\n```\nusage: comic2pdf [-h] [-o OUTDIR] [--version] path [path ...]\n\nConverts .cbr and .cbz files to .pdf\n\npositional arguments:\n path paths to process\n\noptional arguments:\n -h, --help show this help message and exit\n -o OUTDIR, --outdir OUTDIR\n directory to place generated files\n -a, --allow-overwrite\n allow overwriting existing files\n --version show program's version number and exit\n```\n\ne.g. to process all files in a folder (will ignore any file extensions except .cbr, .cbz, .rar or .zip).\n\n```\n$ comic2pdf *\n```\n\n### Prerequisites\n\nRequires Python 3.6+.\n\nProduction dependencies are listed in `setup.py`. Development dependencies are listed in `requirements.txt`.\n\n### No install\n\nYou can use the package without installing it, simply install dependencies and run the `comic2pdf.py` script. E.g.\n\n```\n$ pip install -r requirements.txt\n$ python comic2pdf.py -o /dest/folder file.cbr\n```\n\n## Development\n\n### Installing \n\nDevelopment is aided by a Makefile which uses a virtual environment. To setup the virtual environment and install dependencies:\n\n```\n$ make init\n```\n\n### Running\n\nTo test changes to your script, you can install a development version which links to your source code:\n\n```\n$ python setup.py develop\n```\n\nAnd this can be uninstalled with \n\n```\n$ python setup.py develop --uninstall\n```\n\nYou may also run the script directly, but note that the dependencies are installed into the virtual environment. To enter the virtual environment:\n\n```\n# Windows\n$ source .venv/Scripts/activate\n# Mac\n$ source .venv/bin/activate\n```\n\nThen run the script directly.\n\n```\n(.venv) $ python comic2pdf.py -h\n```\n\n### Linting & formatting\n\nThis project makes use of the [Black](https://github.com/psf/black) python code formatter which automatically reformats code. To run Black and lint the code, use:\n\n```\n$ make lint\n```\n\n### Publishing\n\n1. Update `setup.py` with the new version number (e.g. 1.1.1)\n2. Create a new GitHub release (e.g. `git tag -a v1.1.1 -m \"Version v1.1.1\" && git push --tags`)\n3. Push to PyPI\n```\n$ make deploy\n```\n## Authors and Acknowledgments\n\n* **phdesign**\n* **MComas1** (https://github.com/MComas1/comics2pdf)\n* **bransorem** (https://github.com/bransorem/comic2pdf)", "description_content_type": "text/markdown", "docs_url": null, "download_url": "https://github.com/phdesign/comic2pdf/archive/v3.1.0.tar.gz", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "http://www.phdesign.com.au/comic2pdf", "keywords": "comic,pdf,cbr,cbz,convert", "license": "WTFPL", "maintainer": "", "maintainer_email": "", "name": "comic2pdf", "package_url": "https://pypi.org/project/comic2pdf/", "platform": "", "project_url": "https://pypi.org/project/comic2pdf/", "project_urls": { "Download": "https://github.com/phdesign/comic2pdf/archive/v3.1.0.tar.gz", "Homepage": "http://www.phdesign.com.au/comic2pdf" }, "release_url": "https://pypi.org/project/comic2pdf/3.1.0/", "requires_dist": null, "requires_python": "", "summary": "Converts .cbr and .cbz files to .pdf", "version": "3.1.0" }, "last_serial": 5660270, "releases": { "3.0.1": [ { "comment_text": "", "digests": { "md5": "ab231058fca4afa323f990e75c1a3507", "sha256": "f862572af84a31d14310a60b0559762f4346eac2ea30678dfd6004b66d6ff91e" }, "downloads": -1, "filename": "comic2pdf-3.0.1.tar.gz", "has_sig": false, "md5_digest": "ab231058fca4afa323f990e75c1a3507", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3583, "upload_time": "2019-08-03T00:57:22", "url": "https://files.pythonhosted.org/packages/a9/9e/88b451d2afe6fd2739fc6bbf92c4a838829ac9dea15be903bd4988ea2fb4/comic2pdf-3.0.1.tar.gz" } ], "3.1.0": [ { "comment_text": "", "digests": { "md5": "82171d5c5a83494d20024c363b37cf1a", "sha256": "c4193c7481207a46992e84658584423156fb497d7fa6f25422967d890ae93a09" }, "downloads": -1, "filename": "comic2pdf-3.1.0.tar.gz", "has_sig": false, "md5_digest": "82171d5c5a83494d20024c363b37cf1a", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3796, "upload_time": "2019-08-10T20:44:45", "url": "https://files.pythonhosted.org/packages/cb/f4/2fa4e002af269189abe386ff523bb9dcad8623e0f498bda3cc1cd5ce5dd8/comic2pdf-3.1.0.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "82171d5c5a83494d20024c363b37cf1a", "sha256": "c4193c7481207a46992e84658584423156fb497d7fa6f25422967d890ae93a09" }, "downloads": -1, "filename": "comic2pdf-3.1.0.tar.gz", "has_sig": false, "md5_digest": "82171d5c5a83494d20024c363b37cf1a", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3796, "upload_time": "2019-08-10T20:44:45", "url": "https://files.pythonhosted.org/packages/cb/f4/2fa4e002af269189abe386ff523bb9dcad8623e0f498bda3cc1cd5ce5dd8/comic2pdf-3.1.0.tar.gz" } ] }