Python 3 bencoding implementation
Project description
# Python 3 bencoding library
[![Build Status](https://travis-ci.org/bashkirtsevich/py3bencode.svg?branch=master)](https://travis-ci.org/bashkirtsevich/py3bencode)
Python 3 bytearray bencoding library.
Encode all data into `bytearray`. Useful for networking.
## Example
```python
from bencode import bencode, bdecode
foo = bencode({"key": [1, "2", {3: 4}})
print(foo)
bar = bdecode(foo)
print(bar)
```
[![Build Status](https://travis-ci.org/bashkirtsevich/py3bencode.svg?branch=master)](https://travis-ci.org/bashkirtsevich/py3bencode)
Python 3 bytearray bencoding library.
Encode all data into `bytearray`. Useful for networking.
## Example
```python
from bencode import bencode, bdecode
foo = bencode({"key": [1, "2", {3: 4}})
print(foo)
bar = bdecode(foo)
print(bar)
```
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
py3-bencode-0.0.2.tar.gz
(2.0 kB
view hashes)
Built Distribution
Close
Hashes for py3_bencode-0.0.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 677d8f2ab73c05ef50063e3632018c903fc44f88a01af92869e574ac2e510bc4 |
|
MD5 | a6861553443aeda73895fbb31165a5b8 |
|
BLAKE2b-256 | 200788a2f4f3b6ca6b92dcb46b36be1f97de210ae27409ba87c97a5a615f630a |