| Author: | Krzysztof Kosyl |
|---|---|
| Version: | 0.3.0 |
| Date: | 2019-01-17 |
- standard Python object serialization functions:
load(),loads(),dump(),dumps() - works with Python 2.6, 2.7, 3.3, 3.4, 3.5, 3.6, 3.7 and PyPy
- 4.5 times faster than
bencodemodule, thanks to C Extension - well tested
$ pip install better-bencode
>>> import better_bencode
>>> dumped = better_bencode.dumps(['spam', 42])
>>> better_bencode.loads(dumped)
['spam', 42]