{ "info": { "author": "\u0160t\u011bp\u00e1n Ad\u00e1mek", "author_email": "adamek.stepan@gmail.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 5 - Production/Stable", "Environment :: Console", "Intended Audience :: End Users/Desktop", "License :: OSI Approved :: MIT License", "Natural Language :: English", "Programming Language :: Python", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.5", "Programming Language :: Python :: 3.6", "Topic :: Multimedia :: Video", "Topic :: Utilities" ], "description": "anidbcli\n===========================\nAnidbcli is a simple command line interface for managing your anime collection on your local computer or NAS (using only ssh).\n\nRequirements\n---------------------------\n * `Python 3.6 `_ or newer (version 3.5 seems to work as well)\n\nKey features\n---------------------------\n * ed2k hashing library utilizing multiple cores\n * adding anime to mylist\n * utilize data from anidb to move/rename the files\n * moves/renames the subtitle and other files with same extension\n * encryption\n\nInstallation\n---------------------------\n\nThe package can be installed automatically using pip.\n\n.. code-block:: bash\n\n pip install anidbcli\n pip install --upgrade anidbcli #update\n\nPackage can be also installed from source like this.\n\n.. code-block:: bash\n\n python setup.py install\n\nAfter installation anidbcli can be invoked like a python module\n\n.. code-block:: bash\n\n python -m anidbcli\n\nor directly by typing following in the command line\n\n.. code-block:: bash\n\n anidbcli\n\nQuickstart\n---------------------------\nThe basic syntax is\n\n.. code-block:: bash\n\n anidbcli [OPTIONS] ed2k/api [OPTIONS] ARGS\n\nIf you want to just generate ed2k links for mkv and mp4 files recursively for given folders and copy them to clipboard, use:\n\n.. code-block:: bash\n\n anidbcli -r -e mkv,mp4 ed2k -c \"path/to/directory\" \"path/to/directory2\"\n\nWhere\n * **-r** is recursive\n * **-e** comma separated list of extensions, that are treated as anime files\n\n\nTo add all mkv files from directory resursively to mylist use:\n\n.. code-block:: bash\n\n anidbcli -r -e mkv api -u \"username\" -p \"password\" -k \"apikey\" -a \"path/to/directory\"\n\nWhere\n * **\"password\"** is your anidb password\n * **\"username\"** is your anidb username\n * **\"apikey\"** is anidb upd api key, that you can set at http://anidb.net/perl-bin/animedb.pl?show=profile. If no key is provided, unencrypted connection will be used.\n\nOptionally, if you don't provide password or username, you will be prompted to input them.\n\n.. code-block:: bash\n\n anidbcli -r -e mkv api -k \"apikey\" -a \"path/to/directory\"\n Enter your username: \"username\"\n Enter your password: \"password\"\n\nTo rename all mkv and mp4 files in directory recursively using data from api you can call\n\n.. code-block:: bash\n\n anidbcli -r -e mkv,mp4 api -u \"username\" -p \"password\" -k \"apikey\" -sr \"%ep_no% - %ep_english% [%g_name%]\" \"path/to/directory\"\n\nWhere\n * **\"-r\"** rename using provided format string\n * **\"-s\"** prepend original file path to each renamed file. Without this flag the files would me moved to current directory.\n\nAlso along with the parameter \"-r\" you can use one of the following parameters:\n * **\"-h\"** Create hardlinks instead of renaming.\n * **\"-l\"** Create softlinks instead of renaming.\n * **\"-t\"** Save session info instead of logging out (session lifetime is 35 minutes after last command). Use for subsequent calls of anidbcli to avoid api bans.\n\n Anidbcli should be called with all the parameters as usual. If the session was saved before more than 35 minutes, a new session is created instead.\n\t\nYou can also move watched anime from unwatched directory to watched directory and add it to mylist at the same time using following command.\n\n.. code-block:: bash\n\n anidbcli -r -e mkv,mp4 api -u \"username\" -p \"password\" -k \"apikey\" -xr \"watched/%a_english%/%ep_no% - %ep_english% [%g_name%]\" \"unwatched/anime1\" \"unwatched/anime2\"\n\nWhere\n * **\"-x\"** Delete empty folders after moving all files away.\n\n**NOTE: All files with same name and different extension (fx. subtitle files) will be renamed/moved as well.**\n\nSelected usable tags:\n * **%md5%** - md5 hash of file.\n * **%sha1%** - sha1 hash of file.\n * **%crc32%** - crc32 hash of file.\n * **%resolution%** - file resolution, for example \"1920x1080\"\n * **%aired%** - Episode aired date. Only option that needs \"--date-format\" option. You can find list of available tags at https://docs.python.org/3.6/library/time.html#time.strftime.\n * **%year%** - Year, the anime was aired. Can be a timespan, if the anime was aired several years \"1990-2005\" etc.\n * **%a_romaji%** - Anime title in romaji.\n * **%a_kanji%** - Anime title in kanji.\n * **%a_english%** - English anime title.\n * **%ep_no%** - Episode number. Prepends the necessary zeros, fx. 001, 01\n * **%ep_english%** - English episode name.\n * **%ep_romaji%** - Episode name in romaji.\n * **%ep_kanji%** - Episode name in kanji.\n * **%g_name%** - Group that released the anime. fx. HorribleSubs.\n * **%g_sname%** - Short group name.\n\t\nComplete list of usable tags in format string:\n\n.. code-block:: bash\n\n %fid%, %aid%, %eid%, %gid%, %lid%, %status%, %size%, %ed2k%, %md5%, %sha1%, %crc32%, %color_depth%,\n %quality%, %source%, %audio_codec%, %audio_bitrate%, %video_codec%, %video_bitrate%, %resolution%,\n %filetype%, %dub_language%, %sub_language%, %length%, %aired%, %filename%, %ep_total%, %ep_last%, %year%,\n %a_type%, %a_categories%, %a_romaji%, %a_kanji%, %a_english%, %a_other%, %a_short%, %a_synonyms%, %ep_no%,\n %ep_english%, %ep_romaji%, %ep_kanji%, %g_name%, %g_sname%, %version%, %censored%", "description_content_type": "", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/adameste/anidbcli", "keywords": "Anidb UDP API CLI client ed2k rename mylist", "license": "MIT", "maintainer": "", "maintainer_email": "", "name": "anidbcli", "package_url": "https://pypi.org/project/anidbcli/", "platform": "", "project_url": "https://pypi.org/project/anidbcli/", "project_urls": { "Homepage": "https://github.com/adameste/anidbcli" }, "release_url": "https://pypi.org/project/anidbcli/1.52/", "requires_dist": null, "requires_python": "", "summary": "Simple CLI for managing your anime collection using AniDB UDP API.", "version": "1.52" }, "last_serial": 5635497, "releases": { "1.0": [ { "comment_text": "", "digests": { "md5": "04f9448955f72ebdd7bdadb82655cc86", "sha256": "a10f3c12167bfb626865d8ace96db099a6c22b4ec42fdf66c1f79ff4c42681b5" }, "downloads": -1, "filename": "anidbcli-1.0.tar.gz", "has_sig": false, "md5_digest": "04f9448955f72ebdd7bdadb82655cc86", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 9299, "upload_time": "2018-02-09T16:37:30", "url": "https://files.pythonhosted.org/packages/b5/e5/ed80f8e9463789ce5180a0f222a976605696ce23aebee84f8c2129b1f02b/anidbcli-1.0.tar.gz" } ], "1.1": [ { "comment_text": "", "digests": { "md5": "fa972714fe5dd65b28c363a987508d7c", "sha256": "633517300f807617073728aeac8b0718e98d3a36bd306b0f5469006bb8c767a7" }, "downloads": -1, "filename": "anidbcli-1.1.tar.gz", "has_sig": false, "md5_digest": "fa972714fe5dd65b28c363a987508d7c", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 9295, "upload_time": "2018-02-09T16:42:41", "url": "https://files.pythonhosted.org/packages/16/5b/eb4fbca88d280325fa2c34431679f24f345b903ce2136e32f757f3997911/anidbcli-1.1.tar.gz" } ], "1.2": [ { "comment_text": "", "digests": { "md5": "1f52458ad7a5ead3af58376f67395061", "sha256": "eddf71ac2a655fd78962f3328e1d4104f55fa2efa1229759b0ae02b1b9277d8d" }, "downloads": -1, "filename": "anidbcli-1.2.tar.gz", "has_sig": false, "md5_digest": "1f52458ad7a5ead3af58376f67395061", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 9279, "upload_time": "2018-02-09T17:16:02", "url": "https://files.pythonhosted.org/packages/37/96/4dad0ad63abd2fe64c5ffb4dbb5351f3e015f9084a99049c54896835ebf8/anidbcli-1.2.tar.gz" } ], "1.21": [ { "comment_text": "", "digests": { "md5": "935e8fd8cc25536ec9eab5f4d35ce256", "sha256": "09427041724d1d82fe9b94a3ef4e0689b8b7d4563785fb1738dcb115413bb6e0" }, "downloads": -1, "filename": "anidbcli-1.21.tar.gz", "has_sig": false, "md5_digest": "935e8fd8cc25536ec9eab5f4d35ce256", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 9286, "upload_time": "2018-02-09T17:42:10", "url": "https://files.pythonhosted.org/packages/68/4c/b3b7ee5070eefcbae86ef425d149519ccbefaf04baa4b46c45e391306523/anidbcli-1.21.tar.gz" } ], "1.22": [ { "comment_text": "", "digests": { "md5": "6a7bddcf45a2f030c53a502c52a892bc", "sha256": "4ae195bde19e17663b6ca46487db314ef6ba891a0849fd4203d262799ea5784d" }, "downloads": -1, "filename": "anidbcli-1.22.tar.gz", "has_sig": false, "md5_digest": "6a7bddcf45a2f030c53a502c52a892bc", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 9274, "upload_time": "2018-02-09T17:48:21", "url": "https://files.pythonhosted.org/packages/93/e9/cc1cd50665447d4c030ff2f25c5f1f0e6e0b7b0a5570e1ddcfdbfc8e1361/anidbcli-1.22.tar.gz" } ], "1.30": [ { "comment_text": "", "digests": { "md5": "83472831c622fbc9cba06c93fc3575c0", "sha256": "1a7fd341f80091e3ecf995030ce6c8a2d73cda4c574c16a799f7a2ec381365ac" }, "downloads": -1, "filename": "anidbcli-1.30.tar.gz", "has_sig": false, "md5_digest": "83472831c622fbc9cba06c93fc3575c0", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 10064, "upload_time": "2018-08-31T14:18:47", "url": "https://files.pythonhosted.org/packages/0b/17/b867e5947654558b1b97c6de9e173dd58ae59f7d806698626ddf6cb5efe7/anidbcli-1.30.tar.gz" } ], "1.31": [ { "comment_text": "", "digests": { "md5": "bb6053b342186e748e07831f08d44b86", "sha256": "41b5b589d98c4be994aad283d25f1b8ff0fa6d99fd7a63e3f43550b842683d5e" }, "downloads": -1, "filename": "anidbcli-1.31.tar.gz", "has_sig": false, "md5_digest": "bb6053b342186e748e07831f08d44b86", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 10046, "upload_time": "2018-08-31T14:32:08", "url": "https://files.pythonhosted.org/packages/d8/b1/e3ffa23049fd4c15ffbfd507639c43393f6c3b2a3ea7bda2dd2b012a27dd/anidbcli-1.31.tar.gz" } ], "1.32": [ { "comment_text": "", "digests": { "md5": "24fbddc89de22899806ca1b615945d05", "sha256": "188a3e06045422628b6a3d97b4b3c5979d55f96eea87af4d1ca6f56cd033b301" }, "downloads": -1, "filename": "anidbcli-1.32.tar.gz", "has_sig": false, "md5_digest": "24fbddc89de22899806ca1b615945d05", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 10041, "upload_time": "2018-08-31T14:38:39", "url": "https://files.pythonhosted.org/packages/80/4e/57711c8ecb0fa2188ae1fb2e773af94d50bda893611e9507986958a8b15d/anidbcli-1.32.tar.gz" } ], "1.34": [ { "comment_text": "", "digests": { "md5": "d70cd90e49ab4a2d5ce6f93a698e4bb5", "sha256": "600062762b59d1ab09ad3289333749e64a0e3270af070fa95826b553169b89d0" }, "downloads": -1, "filename": "anidbcli-1.34.tar.gz", "has_sig": false, "md5_digest": "d70cd90e49ab4a2d5ce6f93a698e4bb5", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 10121, "upload_time": "2018-09-04T11:07:00", "url": "https://files.pythonhosted.org/packages/38/e1/899f85ae0a76211da2d3f5bbe82e51955aac8ac05f2ed7801ef2dcf0a28b/anidbcli-1.34.tar.gz" } ], "1.35": [ { "comment_text": "", "digests": { "md5": "cd42a0a76f5e806e5ddd96572b484f29", "sha256": "5d73a3af26c8ec731f06b8f7eca49801e9ee4057f2c94bbba15f53b1ced4d876" }, "downloads": -1, "filename": "anidbcli-1.35.tar.gz", "has_sig": false, "md5_digest": "cd42a0a76f5e806e5ddd96572b484f29", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 10114, "upload_time": "2018-09-04T11:10:56", "url": "https://files.pythonhosted.org/packages/12/cb/9963633190782573cb25fd9c49d69227aaee1488fdb5b548b6188e2ea139/anidbcli-1.35.tar.gz" } ], "1.36": [ { "comment_text": "", "digests": { "md5": "08848846f4b80920ee6b4414b404a6f7", "sha256": "23910186100b32bf48d55d2fae44b32c724d871b322ac7630e45044dbe46a771" }, "downloads": -1, "filename": "anidbcli-1.36.tar.gz", "has_sig": false, "md5_digest": "08848846f4b80920ee6b4414b404a6f7", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 12003, "upload_time": "2018-11-21T09:48:59", "url": "https://files.pythonhosted.org/packages/ba/8b/bf419870b5e1aa596cb0b6b879067ca65efd212b637a8ad4dd0b609a26e0/anidbcli-1.36.tar.gz" } ], "1.37": [ { "comment_text": "", "digests": { "md5": "6b6b01e8585d49ed7c65024aae7a6011", "sha256": "2bba9ad06ff8edad9ad71757105fb8e318627d8adaa3cf01c716a56988be82f3" }, "downloads": -1, "filename": "anidbcli-1.37.tar.gz", "has_sig": false, "md5_digest": "6b6b01e8585d49ed7c65024aae7a6011", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 10159, "upload_time": "2019-02-22T11:24:19", "url": "https://files.pythonhosted.org/packages/dd/64/203c5f9446d8e6d17dbf20bd293897abc521299a31b396a0324a971f844a/anidbcli-1.37.tar.gz" } ], "1.38": [ { "comment_text": "", "digests": { "md5": "d06c96749b7f07041d93949d9c55e5bf", "sha256": "49849b32801601d374799644f62d6f9f8243f7d0fe97c7be5b257395f7b53185" }, "downloads": -1, "filename": "anidbcli-1.38.tar.gz", "has_sig": false, "md5_digest": "d06c96749b7f07041d93949d9c55e5bf", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 12006, "upload_time": "2019-02-22T11:26:57", "url": "https://files.pythonhosted.org/packages/a8/95/828dea468351dfedf41c93e31c51be0cab4b7f9ff12aa5412c7a258e1592/anidbcli-1.38.tar.gz" } ], "1.39": [ { "comment_text": "", "digests": { "md5": "7f8bf3a32aae9486b0ca17e40e7635b5", "sha256": "06edb1aae4d720a2d24d0203f6df6f009c05c9cce0ad0c270e268c3f35c1fd60" }, "downloads": -1, "filename": "anidbcli-1.39.tar.gz", "has_sig": false, "md5_digest": "7f8bf3a32aae9486b0ca17e40e7635b5", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 12252, "upload_time": "2019-04-14T19:50:20", "url": "https://files.pythonhosted.org/packages/48/cb/90392ebaf1c081a8cc2d3d6e21118885fe19e3ecea85bca23f6f85ede3a0/anidbcli-1.39.tar.gz" } ], "1.4": [ { "comment_text": "", "digests": { "md5": "6c6bf5bd84cbcdc361f5ae7d8449332f", "sha256": "7abd0f6b09c474e32b298aaf4bbb37df4def91ec2ab608ff7cd0dc286ace6515" }, "downloads": -1, "filename": "anidbcli-1.4.tar.gz", "has_sig": false, "md5_digest": "6c6bf5bd84cbcdc361f5ae7d8449332f", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 12246, "upload_time": "2019-04-14T19:56:59", "url": "https://files.pythonhosted.org/packages/34/71/2e82923f2f144208f02fdc07ab57ec0ab2eb6e491a2df29333287a64b5ce/anidbcli-1.4.tar.gz" } ], "1.40": [ { "comment_text": "", "digests": { "md5": "ffabfdfa2c2544b7587931d7e0243cbe", "sha256": "9dd5a08dd77c16839d40b454ac2ca3416c67f2ba33cb4673992c8b6d287f0dd9" }, "downloads": -1, "filename": "anidbcli-1.40.tar.gz", "has_sig": false, "md5_digest": "ffabfdfa2c2544b7587931d7e0243cbe", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 12238, "upload_time": "2019-04-14T19:59:54", "url": "https://files.pythonhosted.org/packages/1e/b0/a57bc8c60bce3508185882a7eeca2b5524ce296d753b6c1c51d38562943a/anidbcli-1.40.tar.gz" } ], "1.50": [ { "comment_text": "", "digests": { "md5": "f71b0a22f220b2d716e2e0eb09dff2d4", "sha256": "6788210375656a07b655bdf0f10de03f45a94ce39da552cbfa29ce12292cd88f" }, "downloads": -1, "filename": "anidbcli-1.50.tar.gz", "has_sig": false, "md5_digest": "f71b0a22f220b2d716e2e0eb09dff2d4", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 12876, "upload_time": "2019-05-01T09:56:10", "url": "https://files.pythonhosted.org/packages/af/a9/e187ad9e7ab69c9004f721609f47502933e665042141ce2c1aacee5db87c/anidbcli-1.50.tar.gz" } ], "1.51": [ { "comment_text": "", "digests": { "md5": "e64e0bb4ed2f9071f4a8fca6f9d06e83", "sha256": "93e0895234cbd200d2cc80d9d9dcb4163ffdd9eabd7417550428c622aa5b1541" }, "downloads": -1, "filename": "anidbcli-1.51.tar.gz", "has_sig": false, "md5_digest": "e64e0bb4ed2f9071f4a8fca6f9d06e83", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 13141, "upload_time": "2019-05-01T10:09:55", "url": "https://files.pythonhosted.org/packages/9d/14/aa4fbef9a51d610017d2671fc70afc593ce8f6facd11880906e28aa985fc/anidbcli-1.51.tar.gz" } ], "1.52": [ { "comment_text": "", "digests": { "md5": "b9e6cee144a1fcd89ab4fc85d676a370", "sha256": "3868fe24ba2062866bbe7d7e4da2e1875371d6544602e18bea0a26269dbe13e2" }, "downloads": -1, "filename": "anidbcli-1.52.tar.gz", "has_sig": false, "md5_digest": "b9e6cee144a1fcd89ab4fc85d676a370", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 13201, "upload_time": "2019-08-05T17:41:40", "url": "https://files.pythonhosted.org/packages/51/30/9a55420dd6ef78bc9f70480c5f469905a8f1fbb64240086a66f49b79c84e/anidbcli-1.52.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "b9e6cee144a1fcd89ab4fc85d676a370", "sha256": "3868fe24ba2062866bbe7d7e4da2e1875371d6544602e18bea0a26269dbe13e2" }, "downloads": -1, "filename": "anidbcli-1.52.tar.gz", "has_sig": false, "md5_digest": "b9e6cee144a1fcd89ab4fc85d676a370", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 13201, "upload_time": "2019-08-05T17:41:40", "url": "https://files.pythonhosted.org/packages/51/30/9a55420dd6ef78bc9f70480c5f469905a8f1fbb64240086a66f49b79c84e/anidbcli-1.52.tar.gz" } ] }