Skip to main content

py3createtorrent

Create torrents via command line!

py3createtorrent is a comprehensive shell/commandline utility for creating torrents (Linux & Windows).

Features

Some of the features:

  • create torrents with multiple trackers or trackerless torrents
  • automatically choose the most reliable trackers from ngosang/trackerslist
  • fast torrent creation thanks to multithreading
  • add webseeds to torrents
  • create private torrents (disabled DHT, ...)
  • exclude specific files/folders
  • exclude files/folders based on regular expressions
  • specify custom piece sizes
  • specify custom creation dates

Basic usage

Creating a torrent is as simple as:

py3createtorrent -t udp://tracker.opentrackr.org:1337/announce file_or_folder

The shortcut bestN can be used for conveniently adding the best N trackers from ngosang/trackerslist. Example:

py3createtorrent -t best3 file_or_folder

Multiple trackers can also be specified manually by using -t multiple times, for example:

py3createtorrent -t udp://tracker.opentrackr.org:1337/announce -t udp://tracker.cyberia.is:6969/announce file_or_folder

Install

You can install py3createtorrent by executing:

pip3 install py3createtorrent

Of course, you need to have Python 3 installed on your system. py3createtorrent requires Python 3.5 or later. For using Python 3.5 to 3.7 you need to install the typing-extensions module.

Full documentation

https://py3createtorrent.readthedocs.io/en/latest/user.html

Release files for py3createtorrent 1.2.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for py3createtorrent 1.2.1
File Size Uploaded
py3createtorrent-1.2.1.tar.gz 16.7 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for py3createtorrent 1.2.1
File Interpreter ABI Platform
py3createtorrent-1.2.1-py3-none-any.whl Python 3 none any Details

Total release size: 32.0 kB

Release files / py3createtorrent-1.2.1.tar.gz

Download URL py3createtorrent-1.2.1.tar.gz
Size 16.7 kB
Tags Source
SHA-256 checksum
How to use checksums
04d801adbbe8beb37547104935bd1fb81e02459341b524f85852629fa7dd326d
BLAKE2b-256 checksum
How to use checksums
74d0f58de0a87fffa2f420e083c79b9b7a5b2d166765f4c6111b6429f2305249
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.0 CPython/3.11.9

Release files / py3createtorrent-1.2.1-py3-none-any.whl

Download URL py3createtorrent-1.2.1-py3-none-any.whl
Size 15.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
dede7e87d869d2b013a633486f5f1fcedd6f057ff9f12d9ba9a370acfc496311
BLAKE2b-256 checksum
How to use checksums
15386ecf7e0ed9a26db47e82a4f4804b78237a157db53737080c236c993da41a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.0 CPython/3.11.9
Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page