Skip to content

Songbee/better-bencode

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

54 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Better Bencode

Author: Krzysztof Kosyl
Version: 0.2.1
Date: 2016-05-12

Why use better_bencode?

  • standard Python object serialization functions: load(), loads(), dump(), dumps()
  • works with Python 2.6, 2.7, 3.3, 3.4, 3.5 and PyPy
  • 4.5 times faster than bencode module, thanks to C Extension
  • well tested

Installation

$ pip install better-bencode

Example

>>> import better_bencode
>>> dumped = better_bencode.dumps(['spam', 42])
>>> better_bencode.loads(dumped)
['spam', 42]

About

Fast, standard compliant Bencode serialization

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 53.8%
  • C 45.7%
  • Shell 0.5%