torrentfile
Bittorrent File Creator (.torrent)
TorrentFile can create torrent files, Check content for accuracy and completeness with a .torrent file, and display detailed information contained in a .torrent file.
Features
- Create meta files for Bittorrent v1, v2 and hybrid torrent files.
- Display detailed information contained in torrent file.
- Check/ReCheck content and torrent file for download completion details and data integrity.
- Supports all .torrent files.
- GUI project can be found at https://github.com/alexpdev/TorrentfileQt
Documentation
Documentation can be found in the ./docs directory, or online at https://alexpdev.github.io/torrentfile.
Installation
via PyPi
pip install torrentfile
via Git
git clone https://github.com/alexpdev/torrentfile.git
python setup.py install
download
Or download the latest release from the Release page on github. https://github.com/alexpdev/torrentfile/releases
CLI Help Message
usage: TorrentFile [-h] [-v] [-d] [-p] [-s <source>] [-c <comment>]
[-o <path>] [--meta-version <int>] [-l <int>]
[-t <url> [<url> ...]] [-r <.torrent>]
<content>
Create and/or ReCheck Bittorrent V1, V2, and Hybrid meta files.
positional arguments:
<content> path to content file or directory
optional arguments:
-h, --help show this help message and exit
-v, --version show program version and exit
-d, --debug output debug information
-p, --private create file for private tracker
-s <source>, --source <source> specify source tracker
-c <comment>, --comment <comment> include a comment in file metadata
-o <path>, --out <path> output path for created .torrent file
--meta-version <int> torrent file version.
Options = 1, 2 or 3.
(1) = Bittorrent v1 (Default)
(2) = Bittorrent v2
(3) = Bittorrent v1 & v2 hybrid
-l <int>, --piece-length <int> Fixed amount of bytes for each chunk of data. (Default: None)
Acceptable input values include integers 14-24, which
will be interpreted as the exponent for 2^n, or any perfect
power of two integer between 16Kib and 16MiB (inclusive).
Examples:: [--piece-length 14] [-l 20] [-l 16777216]
-t <url> [<url> ...], --tracker <url> [<url> ...]
one or more Bittorrent tracker announce url(s)
Examples: [-a url1 url2 url3] [--anounce url1]
-r <.torrent>, --check <.torrent>, --recheck <.torrent>
<.torrent> is the path to a .torrent meta file.
Check <content> data integrity with <.torrent> file.
If this is active, all other options are ignored
(except --debug)
License
Distributed under the GNU LGPL v3. See LICENSE for more information.
Metadata
Release files for torrentfile 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| torrentfile-0.1.0.tar.gz | 724.0 kB | Without provenance | Details |
Built distributions (wheels)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| torrentfile-0.1.0-py3.9.egg | Legacy Egg format | - | - | Details |
| torrentfile-0.1.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 772.7 kB
Release files / torrentfile-0.1.0.tar.gz
| Download URL | torrentfile-0.1.0.tar.gz |
|---|---|
| Size | 724.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
61ac4a949d4294d1b7bdd71d49d049ff7b5f83ee52d83c324afecec761bb2f30
|
|
BLAKE2b-256 checksum How to use checksums |
9f8609ecb583082b91071d7cfd024e9d6f91f7da0926f30e1e77d4f66327dc01
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.7.0 importlib_metadata/4.8.2 pkginfo/1.8.2 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.7
|
Release files / torrentfile-0.1.0-py3.9.egg
| Download URL | torrentfile-0.1.0-py3.9.egg |
|---|---|
| Size | 23.0 kB |
| Tags | Egg |
|
SHA-256 checksum How to use checksums |
e206d28b2a9151423ade89722fba2e2fde72c7173703060be17afbd8cb6ca62d
|
|
BLAKE2b-256 checksum How to use checksums |
9d3e99b83b3ef4317dab31a4ae95cd9a7f29d6df7a1f597ffa52bb64023fddaf
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.7.0 importlib_metadata/4.8.2 pkginfo/1.8.2 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.7
|
Release files / torrentfile-0.1.0-py3-none-any.whl
| Download URL | torrentfile-0.1.0-py3-none-any.whl |
|---|---|
| Size | 25.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
7f1a6e6ad4f4cfb51a0bf523170eb5f1ae0db0e895d6d502e6fe2a4cc0f33679
|
|
BLAKE2b-256 checksum How to use checksums |
919d386f849a8cee909caee77712380bff358e1626a65f4a0a99aef0df4561ec
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.7.0 importlib_metadata/4.8.2 pkginfo/1.8.2 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.7
|
Security for torrentfile 0.1.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.