{ "info": { "author": "dazzler", "author_email": "dazzler@riseup.net", "bugtrack_url": null, "classifiers": [ "License :: OSI Approved :: Apache Software License", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.7" ], "description": "# pixi\n\n[![Build Status](https://travis-ci.org/dazuling/pixi.svg?branch=master)](https://travis-ci.org/dazuling/pixi)\n[![Coverage Status](https://coveralls.io/repos/github/dazuling/pixi/badge.svg?branch=master)](https://coveralls.io/github/dazuling/pixi?branch=master)\n[![Pypi](https://img.shields.io/pypi/v/pixi.svg)](https://pypi.python.org/pypi/pixi)\n[![Pyversions](https://img.shields.io/pypi/pyversions/pixi.svg)](https://pypi.python.org/pypi/pixi)\n\nA command line tool to download illustrations from Pixiv.\n\n```\nUsage: pixi [OPTIONS] COMMAND [ARGS]...\n\nOptions:\n --help Show this message and exit.\n\nCommands:\n artist Download illustrations of an artist by URL or ID.\n auth Log into Pixiv and generate a refresh token.\n bookmarks Download illustrations bookmarked by a user.\n config Edit the config file.\n failed View illustrations that failed to download.\n illust Download an illustration by URL or ID.\n migrate Upgrade the database to the latest migration.\n wipe Wipe the saved history of downloaded illustrations.\n```\n\n## Usage\n\nThis tool can be installed from PyPI as `pixi`.\n\n```sh\n$ pip install --user pixi\n```\n\nAfter installation, create the database and configure pixi with the following\ncommands.\n\n```sh\n$ pixi migrate # Migrate the database\n$ pixi config # Configure pixi\n```\n\nRefer to the [configuration section](#Configuration) for details on the various\nconfiguration options.\n\nNow you can begin downloading!\n\nFor example, the following commands download an illustration. pixi accepts both\na URL to the illustration as well as just the illustration ID. The same applies\nto all inputs that accept ID values.\n\n```sh\n$ pixi illustration https://www.pixiv.net/member_illust.php?mode=medium&illust_id=64930973\n```\n\n```sh\n$ pixi illustration 64930973\n```\n\nDownloading all the illustrations of an artist can be done with the following\ncommand.\n\n```sh\n$ pixi artist https://www.pixiv.net/member.php?id=2188232\n```\n\nBookmarks, public and private, can be downloaded with the following command.\n\n```sh\n$ pixi bookmarks\n```\n\nThe public bookmarks of other users can also be downloaded.\n\n```sh\n$ pixi bookmarks --user https://www.pixiv.net/member.php?id=2188232\n```\n\nAnd the following command downloads all bookmarks matching a user-assigned\nbookmark tag.\n\n```sh\n$ pixi bookmarks --tag \"has cats\"\n```\n\nTo view all the options available to a specific command, run the command with\nthe `--help` flag. For example, `illustration`'s options can be viewed with the\nfollowing command.\n\n```sh\n$ pixi --help illustration\n```\n\nWhen downloading many images from an artist or a user's bookmarks, an image\ncan occasionally fail to download. If an image fails to download after several\nretries, it will be recorded and skipped. Failed images can be viewed with the\nfollowing command.\n\n```sh\n$ pixi failed\n```\n\nIf an image on the failed list is successfully downloaded, it will\nautomatically be removed from the list. To wipe the entire failed list, the\nfollowing command should be run.\n\n```sh\n$ pixi wipe --table=failed\n```\n\npixi also keeps track of which illustrations have been downloaded and will avoid\ndownloading duplicate illustrations. However, if you wish to re-download\nillustrations, pass the `--allow-duplicates` (or `-a`) flag.\n\nBy default, illustration downloads will be tracked if they are downloaded to\nthe default downloads directory and not tracked if they aren't. This behavior\ncan be manually set with the `--track/--no-track` (or `-t/-T`) flag.\n\nIf you wish to wipe the database of tracked downloads, run the following\ncommand and confirm the action.\n\n```sh\n$ pixi wipe --table=downloads\n```\n\n## Configuration\n\nThe configuration file is in `ini` format. A demo configuration is included\nbelow. To run pixi, a default download directory must be configured.\n\n```ini\n[pixi]\n; Leave this blank; the script will auto-populate it.\nrefresh_token =\n; The default directory for iillustrations to be downloaded to.\ndownload_directory = /home/dazzler/images/pixiv\n```\n", "description_content_type": "text/markdown", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/dazuling/pixi", "keywords": "", "license": "Apache-2.0", "maintainer": "dazzler", "maintainer_email": "dazzler@riseup.net", "name": "pixi", "package_url": "https://pypi.org/project/pixi/", "platform": "", "project_url": "https://pypi.org/project/pixi/", "project_urls": { "Homepage": "https://github.com/dazuling/pixi", "Repository": "https://github.com/dazuling/pixi" }, "release_url": "https://pypi.org/project/pixi/0.1.1/", "requires_dist": [ "click (>=7.0,<8.0)", "pixiv-api (>=0.1.1,<0.2.0)", "appdirs (>=1.4,<2.0)", "tqdm (>=4.32,<5.0)" ], "requires_python": ">=3.7,<4.0", "summary": "A command line tool to download images from Pixiv.", "version": "0.1.1" }, "last_serial": 5793860, "releases": { "0.0.1a0": [ { "comment_text": "", "digests": { "md5": "359af6309c3191ff1a3f7627107d2de5", "sha256": "376af1e8a5fab3ab8385841d5e33a0466c12d4f685e2768ade77c57005eb3a29" }, "downloads": -1, "filename": "pixi-0.0.1a0-py3-none-any.whl", "has_sig": false, "md5_digest": "359af6309c3191ff1a3f7627107d2de5", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": ">=3.7,<4.0", "size": 2212, "upload_time": "2019-08-02T17:58:28", "url": "https://files.pythonhosted.org/packages/f3/7c/2c5d842adacb817ba2aae90a1a1b69c1b625b0e23c401e51ac978e2f03e2/pixi-0.0.1a0-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "678746db157587e270c9fa1434e30b55", "sha256": "468cb31ec960e9dca1844c96cb189790ea9300061c8c5d2e45aedd03a042a7f5" }, "downloads": -1, "filename": "pixi-0.0.1a0.tar.gz", "has_sig": false, "md5_digest": "678746db157587e270c9fa1434e30b55", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.7,<4.0", "size": 1539, "upload_time": "2019-08-02T17:58:30", "url": "https://files.pythonhosted.org/packages/40/82/5b0fb63c8f176c4bace00944836297bcb60a4b0e82675c8b742b96515986/pixi-0.0.1a0.tar.gz" } ], "0.1.0": [ { "comment_text": "", "digests": { "md5": "960ce45b1ccf8118c6aeccfac0aeb53d", "sha256": "a4a8e7456ae7fa8771742014bb3e9d884a7ec2f097a64ed93e4754a55abcf09d" }, "downloads": -1, "filename": "pixi-0.1.0-py3-none-any.whl", "has_sig": false, "md5_digest": "960ce45b1ccf8118c6aeccfac0aeb53d", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": ">=3.7,<4.0", "size": 15218, "upload_time": "2019-08-05T15:22:16", "url": "https://files.pythonhosted.org/packages/9f/19/0915e635c7dfc03c379009918eeed12fc2ffd0e9c1103575c3a082295238/pixi-0.1.0-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "c27199a9e3e86809c29441b3314b0d36", "sha256": "fd0b0f0c072e56b938c807d42eac92cee988cd3d571c0bd5d252ad20835b92b0" }, "downloads": -1, "filename": "pixi-0.1.0.tar.gz", "has_sig": false, "md5_digest": "c27199a9e3e86809c29441b3314b0d36", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.7,<4.0", "size": 13895, "upload_time": "2019-08-05T15:22:17", "url": "https://files.pythonhosted.org/packages/2f/0b/ee30e66237beaaa9b29ed79d414343178c2804e434c2ce437b76fd1e1171/pixi-0.1.0.tar.gz" } ], "0.1.1": [ { "comment_text": "", "digests": { "md5": "151398fa9308ba50807fc85c5a0a574b", "sha256": "238860b99f7a8d9ce76328f50946d08fea62b475696e6821c4eae570765413b1" }, "downloads": -1, "filename": "pixi-0.1.1-py3-none-any.whl", "has_sig": false, "md5_digest": "151398fa9308ba50807fc85c5a0a574b", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": ">=3.7,<4.0", "size": 15352, "upload_time": "2019-08-05T16:20:54", "url": "https://files.pythonhosted.org/packages/45/2a/a36f4e9d0b487021f78368884a0e90bc7d09cf26636508d214d42f343dc1/pixi-0.1.1-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "8a44de75d669c2db62e2247d7ca94a67", "sha256": "6a282293a0e5ffa0712ce74921469bd633928c2642a43b5b8015b335617e222f" }, "downloads": -1, "filename": "pixi-0.1.1.tar.gz", "has_sig": false, "md5_digest": "8a44de75d669c2db62e2247d7ca94a67", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.7,<4.0", "size": 14063, "upload_time": "2019-08-05T16:20:55", "url": "https://files.pythonhosted.org/packages/f0/41/42a8a7c05bd0bdf0311a6eff165cbcc21bfdb2dec7bcfc1c8515fc7c029c/pixi-0.1.1.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "151398fa9308ba50807fc85c5a0a574b", "sha256": "238860b99f7a8d9ce76328f50946d08fea62b475696e6821c4eae570765413b1" }, "downloads": -1, "filename": "pixi-0.1.1-py3-none-any.whl", "has_sig": false, "md5_digest": "151398fa9308ba50807fc85c5a0a574b", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": ">=3.7,<4.0", "size": 15352, "upload_time": "2019-08-05T16:20:54", "url": "https://files.pythonhosted.org/packages/45/2a/a36f4e9d0b487021f78368884a0e90bc7d09cf26636508d214d42f343dc1/pixi-0.1.1-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "8a44de75d669c2db62e2247d7ca94a67", "sha256": "6a282293a0e5ffa0712ce74921469bd633928c2642a43b5b8015b335617e222f" }, "downloads": -1, "filename": "pixi-0.1.1.tar.gz", "has_sig": false, "md5_digest": "8a44de75d669c2db62e2247d7ca94a67", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.7,<4.0", "size": 14063, "upload_time": "2019-08-05T16:20:55", "url": "https://files.pythonhosted.org/packages/f0/41/42a8a7c05bd0bdf0311a6eff165cbcc21bfdb2dec7bcfc1c8515fc7c029c/pixi-0.1.1.tar.gz" } ] }