Metadata-Version: 1.0
Name: bencoder.pyx
Version: 1.1.1
Summary: Yet another bencode implementation in Cython
Home-page: https://github.com/whtsky/bencoder.pyx
Author: whtsky
Author-email: whtsky@gmail.com
License: BSDv3
Description: Bencoder.pyx
        ============
        
        A fast bencode implementation in Cython supports both Python2 & Python3 .
        
        .. image:: https://travis-ci.org/whtsky/bencoder.pyx.svg?branch=master
            :target: https://travis-ci.org/whtsky/bencoder.pyx
        
        .. image:: https://ci.appveyor.com/api/projects/status/ur6vy8wdj789oxqv/branch/master?svg=true
            :target: https://ci.appveyor.com/project/whtsky/bencoder-pyx
        
        Install
        -------
        
        
        .. code-block:: bash
        
            pip install bencoder.pyx
        
        
        Usage
        -----
        
        
        .. code-block:: python
        
            from bencoder import bencode, bdecode
            
            assert bencode("WWWWWW") == b'6:WWWWWW'
            assert bencode(233) == b'i233e'
            
            with open("debian-8.3.0-amd64-netinst.iso.torrent", "rb") as f:
                torrent = bdecode(f.read())
                print(torrent['announce'])
        
        ChangeLog
        ----------
        
        Version 1.1.0
        ~~~~~~~~~~~~~~~
        
        + Use OrderedDict instaed of dict
        + Support encoding subclasses of dict
        
Keywords: bencoding,encode,decode,bittorrent,bencode,bencoder,cython
Platform: POSIX
Platform: Windows
Classifier: Environment :: Other Environment
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: BSD License
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Cython
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 2
Classifier: Programming Language :: Python :: 2.6
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: Programming Language :: Python :: Implementation :: CPython
Classifier: Programming Language :: Python :: Implementation :: PyPy
Classifier: Topic :: Software Development :: Libraries :: Python Modules
