Metadata-Version: 1.1
Name: torrentool
Version: 0.2.0
Summary: The tool to work with torrent files.
Home-page: https://github.com/idlesign/torrentool
Author: Igor `idle sign` Starikov
Author-email: idlesign@yandex.ru
License: BSD 3-Clause License
Description: torrentool
        ==========
        https://github.com/idlesign/torrentool
        
        .. image:: https://img.shields.io/pypi/v/torrentool.svg
            :target: https://pypi.python.org/pypi/torrentool
        
        .. image:: https://img.shields.io/pypi/dm/torrentool.svg
            :target: https://pypi.python.org/pypi/torrentool
        
        .. image:: https://img.shields.io/pypi/l/torrentool.svg
            :target: https://pypi.python.org/pypi/torrentool
        
        .. image:: https://img.shields.io/coveralls/idlesign/torrentool/master.svg
            :target: https://coveralls.io/r/idlesign/torrentool
        
        .. image:: https://landscape.io/github/idlesign/torrentool/master/landscape.svg?style=flat
           :target: https://landscape.io/github/idlesign/torrentool/master
        
        .. image:: https://img.shields.io/travis/idlesign/torrentool/master.svg
            :target: https://travis-ci.org/idlesign/torrentool
        
        .. image:: https://img.shields.io/codeclimate/github/idlesign/torrentool.svg
           :target: https://codeclimate.com/github/idlesign/torrentool
        
        
        Description
        -----------
        
        *The tool to work with torrent files.*
        
        Works on Python 2.7+ and 3.3+.
        
        Includes:
        
        * Torrent utils (file creation, read and modification)
        * Bencoding utils (decoder, encoder)
        
        
        .. code-block:: python
        
            from torrentool.api import Torrent
        
            # Reading and modifying an existing file.
            my_torrent = Torrent.from_file('/home/idle/some.torrent')
            my_torrent.total_size  # Total files size in bytes.
            my_torrent.magnet_link  # Magnet link for you.
            my_torrent.comment = 'Your torrents are mine.'  # Set a comment.
            my_torrent.to_file()  # Save changes.
        
            # Or we can create a new torrent from a directory.
            new_torrent = Torrent.create_from('/home/idle/my_stuff/')  # or it could have been a single file
            new_torrent.announce_urls = 'udp://tracker.openbittorrent.com:80'
            new_torrent.to_file('/home/idle/another.torrent')
        
        
Platform: UNKNOWN
Classifier: Development Status :: 4 - Beta
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 2
Classifier: Programming Language :: Python :: 2.7
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.3
Classifier: Programming Language :: Python :: 3.4
Classifier: Programming Language :: Python :: 3.5
Classifier: License :: OSI Approved :: BSD License
