Skip to main content

print objects with colored with less info

Project description

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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

torrent_rename-0.12.tar.gz (4.8 kB view details)

Uploaded Source

File details

Details for the file torrent_rename-0.12.tar.gz.

File metadata

  • Download URL: torrent_rename-0.12.tar.gz
  • Upload date:
  • Size: 4.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: Python-urllib/2.7

File hashes

Hashes for torrent_rename-0.12.tar.gz
Algorithm Hash digest
SHA256 d55dbcd3eae0f7abcefa2d85599542603d2e1cf5803b39fb9b4c7506323649e0
MD5 632315a784aec3cb3e75d6fe8dc5a2f7
BLAKE2b-256 73bd9ac659acacd167bbe85c4ff8356c9bdfb034f30b6de4c52aff185eaa99d6

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page