Skip to main content
torrent_rename
==================

command line and module for rename torrent to original name


Installing
----------

Install and update using `pip`_:

.. code-block:: text

$ pip install torrent_rename

torrent_rename supports Python 2 and newer, Python 3 and newer, and PyPy.

.. _pip: https://pip.pypa.io/en/stable/quickstart/


Example
----------------

What does it look like? Here is an example of a simple torrent_rename program:

.. code-block:: python

from torrent_rename import torrent_rename

tr = torrent_rename()

torrent_file_path = r"/home/cumulus13/Download/74BC02344EC863D4CD9D5F942C1A0C3AE513746D.torrent"

tr.rename(torrent_file_path, overwrite=True) #overwrite: True or auto (str), auto: auto rename torrent file


And what it looks like when run:

.. code-block:: text

$ python test.py
FILE :l:\temp\TORRENT_FILES\Jet Red.torrent
NAME : [('name7:', 'Jet Red', '12:')]
NAME : Jet Red
RENAME: [OVERWRITE] Jet Red.torrent
---------------------------------------------------------------------------------------------------------------

You can run as command line

.. code-block:: batch

$ torrent_rename "/home/cumulus13/Download/74BC02344EC863D4CD9D5F942C1A0C3AE513746D.torrent""
FILE :l:\temp\TORRENT_FILES\Jet Red.torrent
NAME : [('name7:', 'Jet Red', '12:')]
NAME : Jet Red
RENAME: [OVERWRITE] Jet Red.torrent
---------------------------------------------------------------------------------------------------------------

Support
------

* Python 2.7 +, Python 3.x
* Windows, Linux

Links
-----

* License: `BSD <https://github.com/licface/torrent_rename/src/default/LICENSE.rst>`_
* Code: https://github.com/licface/torrent_rename
* Issue tracker: https://github.com/licface/torrent_rename/issues

Metadata

Release files for torrent_rename 0.16

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

Source distribution (sdist)

Source distribution for torrent_rename 0.16
File Size Uploaded
torrent_rename-0.16.tar.gz 4.8 kB Details

Release files / torrent_rename-0.16.tar.gz

Download URL torrent_rename-0.16.tar.gz
Size 4.8 kB
Tags Source
SHA-256 checksum
How to use checksums
cbcb19a1592fdfa949a97328457b39f855915f377cb55f181014840d1053aff9
BLAKE2b-256 checksum
How to use checksums
96e67fbe9f5b361742457d0a68bc88ff9b3e11ce39acb97a7128fb4776b9cab9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via Python-urllib/2.7

Release history Release notifications | RSS feed

This release

0.16 This release

1 release file

0.15

1 release file

0.14

1 release file

0.13

1 release file

0.12

1 release file

0.11

1 release file

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