{ "info": { "author": "Random User", "author_email": "rndusr@posteo.de", "bugtrack_url": null, "classifiers": [ "Development Status :: 5 - Production/Stable", "Intended Audience :: End Users/Desktop", "License :: OSI Approved :: GNU General Public License v3 or later (GPLv3+)", "Programming Language :: Python :: 3.6" ], "description": "torf-cli\n========\n\ntorf-cli is a command line tool that can create torrents and magnet links, dump\nthe metainfo of a torrent, and edit existing torrents (e.g. to fix a typo\nwithout having to hash all the pieces again).\n\nThe output is pleasant to read for humans and easy to parse with common CLI\ntools if stdout is not a TTY.\n\nAn optional configuration file specifies custom default options and profiles\nthat give names to sets of options.\n\nDocumentation is available as a man page, or you can `read it here\n`_.\n\nThe only depdencies are `torf `_ and `pyxdg\n`_.\n\n\nExamples\n--------\n\nCreate private torrent with two trackers:\n\n.. code:: sh\n\n $ torf ./docs -t http://bar:123/announce -t http://baz:321/announce --private\n Name docs\n Size 60.1 KiB\n Created 2018-06-19 14:47:26\n Private yes\n Trackers http://bar:123/announce\n http://baz:321/announce\n Piece Size 16 KiB\n Piece Count 4\n File Count 3\n Files docs\n \u251c\u2500torf.1\n \u251c\u2500torf.1.asciidoc\n \u2514\u2500torf.1.html\n Path docs\n Progress 100.00 % | Time: 0:00:00 | 58.84 MB/s\n Info Hash 215f506179b6526b582e4fb78ebc24dd1f2a791f\n Magnet magnet:?xt=urn:btih:215f506179b6526b582e4fb78ebc24dd1f2a791f&dn=docs&xl=61542&tr=http%3A%2F%2Fbar%3A123%2Fannounce&tr=http%3A%2F%2Fbaz%3A321%2Fannounce\n Torrent docs.torrent\n\n\nDisplay metainfo of an existing torrent:\n\n.. code:: sh\n\n $ torf -i docs.torrent\n Name docs\n Info Hash 215f506179b6526b582e4fb78ebc24dd1f2a791f\n Size 60.1 KiB\n Created 2018-06-19 14:47:26\n Private yes\n Trackers http://bar:123/announce\n http://baz:321/announce\n Piece Size 16 KiB\n Piece Count 4\n File Count 3\n Files docs\n \u251c\u2500torf.1\n \u251c\u2500torf.1.asciidoc\n \u2514\u2500torf.1.html\n Magnet magnet:?xt=urn:btih:215f506179b6526b582e4fb78ebc24dd1f2a791f&dn=docs&xl=61542&tr=http%3A%2F%2Fbar%3A123%2Fannounce&tr=http%3A%2F%2Fbaz%3A321%2Fannounce\n\nQuickly add a comment to an existing torrent:\n\n.. code:: sh\n\n $ torf -i docs.torrent --comment 'Forgot to add this comment.' -o docs.revised.torrent\n Name docs\n Info Hash 215f506179b6526b582e4fb78ebc24dd1f2a791f\n Size 60.1 KiB\n Comment Forgot to add this comment.\n Created 2018-06-19 14:47:26\n Private yes\n Trackers http://bar:123/announce\n http://baz:321/announce\n Piece Size 16 KiB\n Piece Count 4\n File Count 3\n Files docs\n \u251c\u2500torf.1\n \u251c\u2500torf.1.asciidoc\n \u2514\u2500torf.1.html\n Magnet magnet:?xt=urn:btih:215f506179b6526b582e4fb78ebc24dd1f2a791f&dn=docs&xl=61542&tr=http%3A%2F%2Fbar%3A123%2Fannounce&tr=http%3A%2F%2Fbaz%3A321%2Fannounce\n Torrent docs.revised.torrent\n\nGet a list of files:\n\n.. code:: sh\n\n $ torf -i docs.revised.torrent | grep '^Files' | cut -f2-\n docs/torf.1 docs/torf.1.asciidoc docs/torf.1.html\n\n\nInstallation\n------------\n\nThe latest release is available on `PyPI `_\nand on `AUR `_.\n\n\npipsi\n`````\n\nThe easiest and cleanest installation method is `pipsi\n`_, which installs each application with all\ndependencies in a separate virtual environment in ``~/.local/venvs/`` and links\nthe executable to ``~/.local/bin/``.\n\n.. code:: sh\n\n $ pipsi install torf-cli\n $ pipsi upgrade torf-cli\n $ pipsi uninstall torf-cli # Also removes dependencies\n\nThe only drawback is that, at the time of writing, pipsi doesn't make the man\npage available. But you can just `read it in your browser\n`_.\n\n\npip\n```\n\nThe alternative is regular `pip `_, but if you\ndecide to uninstall, you have to manually uninstall the dependencies.\n\n.. code:: sh\n\n $ pip3 install torf-cli # Installs system-wide (/usr/local/)\n $ pip3 install --user torf-cli # Installs in your home (~/.local/)\n\nThe `latest development version `_ is\navailable on GitHub in the master branch.\n\n.. code:: sh\n\n $ pip3 install [--user] git+https://github.com/rndusr/torf-cli.git\n\n\nContributing\n------------\n\nBug reports and feature requests are welcome in the `issue tracker\n`_.\n\n\nLicense\n-------\n\ntorf-cli is free software: you can redistribute it and/or modify it under the\nterms of the GNU General Public License as published by the Free Software\nFoundation, either version 3 of the License, or (at your option) any later\nversion.\n\nThis program is distributed in the hope that it will be useful but WITHOUT ANY\nWARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A\nPARTICULAR PURPOSE. See the `GNU General Public License\n`_ for more details.\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/rndusr/torf-cli", "keywords": "bittorrent torrent magnet file cli", "license": "GPLv3+", "maintainer": "", "maintainer_email": "", "name": "torf-cli", "package_url": "https://pypi.org/project/torf-cli/", "platform": "", "project_url": "https://pypi.org/project/torf-cli/", "project_urls": { "Homepage": "https://github.com/rndusr/torf-cli" }, "release_url": "https://pypi.org/project/torf-cli/3.0.1/", "requires_dist": [ "pyxdg", "torf (>=2.0.0)" ], "requires_python": ">=3.6", "summary": "CLI tool to create, read and edit torrent files", "version": "3.0.1" }, "last_serial": 5351671, "releases": { "1.0": [ { "comment_text": "", "digests": { "md5": "78e73506f01b8528ab4ceb8e77cca792", "sha256": "9cd74d1ee553286281243c5bde9f9c4e81d4a399caa17fbd1a294f6ef15ed834" }, "downloads": -1, "filename": "torf-cli-1.0.tar.gz", "has_sig": false, "md5_digest": "78e73506f01b8528ab4ceb8e77cca792", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.6", "size": 9497, "upload_time": "2018-02-01T14:33:25", "url": "https://files.pythonhosted.org/packages/3a/a3/9e693ed15d7c1e2a2710fb5854047532fdac98e1ff9c31ede2ce2d4e1302/torf-cli-1.0.tar.gz" } ], "1.0a1": [ { "comment_text": "", "digests": { "md5": "259db63a4c8bc1ea88e7e7fe8c2fe6cb", "sha256": "4ec72c83ba0366cbb77897d9c509d39c00db48416db6073f139ecd745bc4ba16" }, "downloads": -1, "filename": "torf-cli-1.0a1.tar.gz", "has_sig": false, "md5_digest": "259db63a4c8bc1ea88e7e7fe8c2fe6cb", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.6", "size": 9300, "upload_time": "2018-01-15T15:21:22", "url": "https://files.pythonhosted.org/packages/32/95/1d81b73c0a878bb4917719d4587d264e3f3ef0034e21df74b2049e6a4b8f/torf-cli-1.0a1.tar.gz" } ], "1.1": [ { "comment_text": "", "digests": { "md5": "9cf3e21aa79d276ebf3f7812accdbd4b", "sha256": "4da79121b6176b6f04c0cf297fbda8089dfd5c861a9010d81538351f39196441" }, "downloads": -1, "filename": "torf-cli-1.1.tar.gz", "has_sig": false, "md5_digest": "9cf3e21aa79d276ebf3f7812accdbd4b", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.6", "size": 10056, "upload_time": "2018-04-08T14:26:09", "url": "https://files.pythonhosted.org/packages/4d/9b/404c19e92bcfad3f3eeedc81f3ff35441fec56e20071eb350ae86d6056fa/torf-cli-1.1.tar.gz" } ], "2.0": [ { "comment_text": "", "digests": { "md5": "168943ba899b1de37c9d437be593d3a6", "sha256": "79380b56fbf12750c9a0f11108f2406a22648444075e76d6845ec90110e7300f" }, "downloads": -1, "filename": "torf_cli-2.0-py3-none-any.whl", "has_sig": false, "md5_digest": "168943ba899b1de37c9d437be593d3a6", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": ">=3.6", "size": 17764, "upload_time": "2018-06-19T13:12:22", "url": "https://files.pythonhosted.org/packages/f5/56/5149119ebddc44d78e1f3b91e6efd8d4ace72ccb51bbaff41cffdc9051cf/torf_cli-2.0-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "4a7184bfcaa6a38591239ac0c1824844", "sha256": "ff26b66bd4ed771cfc615cf18e0abc79422a16e78d33cb3c4a172a93d8bdad28" }, "downloads": -1, "filename": "torf-cli-2.0.tar.gz", "has_sig": false, "md5_digest": "4a7184bfcaa6a38591239ac0c1824844", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.6", "size": 12975, "upload_time": "2018-06-19T13:12:23", "url": "https://files.pythonhosted.org/packages/71/c3/68e859cd0489a3a325dd5d08b96a73073a4d3920b78e4d0fbe332e3f1e2b/torf-cli-2.0.tar.gz" } ], "3.0.0": [ { "comment_text": "", "digests": { "md5": "557495468190f6d8ec0d150a221b1ea3", "sha256": "aff7102e696562301a23a716092fa815640ad2af2481e49ddbe12908d2caea54" }, "downloads": -1, "filename": "torf_cli-3.0.0-py3-none-any.whl", "has_sig": false, "md5_digest": "557495468190f6d8ec0d150a221b1ea3", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": ">=3.6", "size": 31238, "upload_time": "2019-04-04T14:17:46", "url": "https://files.pythonhosted.org/packages/7b/5e/a5a1f6851a4201ca66493fdbd87547b8911fb84206850ff7d3fa8c383dec/torf_cli-3.0.0-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "6884067cbbc0393837b8e7d91f4b216b", "sha256": "566e1352fa2f83ed1ccf5f3c673a47dd9394fd1d975947568a2423a3ddad3652" }, "downloads": -1, "filename": "torf-cli-3.0.0.tar.gz", "has_sig": false, "md5_digest": "6884067cbbc0393837b8e7d91f4b216b", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.6", "size": 14754, "upload_time": "2019-04-04T14:17:48", "url": "https://files.pythonhosted.org/packages/8e/7d/7a950ab7b809f5ebe7a713ee28918d6ff1f8bfb5fd3aafe96baa4d5d8b55/torf-cli-3.0.0.tar.gz" } ], "3.0.1": [ { "comment_text": "", "digests": { "md5": "41e713ac4e94af72b838c7a4de70c95c", "sha256": "be742bb7402d9e5218eaa1fa30fdeadccb6825dfccbc8e62207e9b51c61f89e9" }, "downloads": -1, "filename": "torf_cli-3.0.1-py3-none-any.whl", "has_sig": false, "md5_digest": "41e713ac4e94af72b838c7a4de70c95c", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": ">=3.6", "size": 31251, "upload_time": "2019-06-03T09:40:51", "url": "https://files.pythonhosted.org/packages/fd/31/c7202688308fd4028f16cac6f590d316c481f91391c7e04242f66ed29fd9/torf_cli-3.0.1-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "bcdde736f0b22bc281205f5387c494f6", "sha256": "f177fcbb6b4a55ebac3afea6bf1f2ab4ce54d8d1609b65b90693e7acfba237f8" }, "downloads": -1, "filename": "torf-cli-3.0.1.tar.gz", "has_sig": false, "md5_digest": "bcdde736f0b22bc281205f5387c494f6", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.6", "size": 14768, "upload_time": "2019-06-03T09:40:53", "url": "https://files.pythonhosted.org/packages/d3/34/2acd8347186313858299b3db861a3ad6f370db4d576c5871b89efc287964/torf-cli-3.0.1.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "41e713ac4e94af72b838c7a4de70c95c", "sha256": "be742bb7402d9e5218eaa1fa30fdeadccb6825dfccbc8e62207e9b51c61f89e9" }, "downloads": -1, "filename": "torf_cli-3.0.1-py3-none-any.whl", "has_sig": false, "md5_digest": "41e713ac4e94af72b838c7a4de70c95c", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": ">=3.6", "size": 31251, "upload_time": "2019-06-03T09:40:51", "url": "https://files.pythonhosted.org/packages/fd/31/c7202688308fd4028f16cac6f590d316c481f91391c7e04242f66ed29fd9/torf_cli-3.0.1-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "bcdde736f0b22bc281205f5387c494f6", "sha256": "f177fcbb6b4a55ebac3afea6bf1f2ab4ce54d8d1609b65b90693e7acfba237f8" }, "downloads": -1, "filename": "torf-cli-3.0.1.tar.gz", "has_sig": false, "md5_digest": "bcdde736f0b22bc281205f5387c494f6", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.6", "size": 14768, "upload_time": "2019-06-03T09:40:53", "url": "https://files.pythonhosted.org/packages/d3/34/2acd8347186313858299b3db861a3ad6f370db4d576c5871b89efc287964/torf-cli-3.0.1.tar.gz" } ] }