Yet another bencode implementation in Cython
Project description
A fast bencode implementation in Cython supports both Python2 & Python3 .
Install
pip install bencoder.pyx
Usage
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'])
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 Distributions
Built Distributions
File details
Details for the file bencoder.pyx-1.0.0.zip
.
File metadata
- Download URL: bencoder.pyx-1.0.0.zip
- Upload date:
- Size: 32.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8ee507964f2839b05e30a46862606285b823e5c7bf7c5754633ec326b477d14d |
|
MD5 | 7a53aa589b93302ed435fdda70e0a1cb |
|
BLAKE2b-256 | af7df7f438dcafd81a54324c16d5c409a08b0a5cb676754b15726a3ba1a2cb5b |
File details
Details for the file bencoder.pyx-1.0.0.tar.gz
.
File metadata
- Download URL: bencoder.pyx-1.0.0.tar.gz
- Upload date:
- Size: 27.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3c750a3306d60b3d64718640e1f469f4e32a02ba913c3fe31acb3af98df538b7 |
|
MD5 | 56ba00453ec12bad1cd5e824e1b59765 |
|
BLAKE2b-256 | 18b119f259f83705c3db0baf5f5696970bad8feedc5740bd5b8ae8a6ae8c7164 |
File details
Details for the file bencoder.pyx-1.0.0.win-amd64-py3.5.exe
.
File metadata
- Download URL: bencoder.pyx-1.0.0.win-amd64-py3.5.exe
- Upload date:
- Size: 168.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4ad692a84ffb3aca301e4e77d4a533272a3c957120bed2833f0a00971be0f457 |
|
MD5 | c89f5071f6e4f746ddcab9741cfeb7ff |
|
BLAKE2b-256 | f5361323f61da3973c208885e19f0057ea7d5a0b2baacd5f496f3c929442f182 |
File details
Details for the file bencoder.pyx-1.0.0.win-amd64-py3.4.exe
.
File metadata
- Download URL: bencoder.pyx-1.0.0.win-amd64-py3.4.exe
- Upload date:
- Size: 253.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0b85a7e5d2b769ccb1bc7a06cb788e994cb7306f54c666c1ccffa017e6daaf96 |
|
MD5 | 9f2063d78cdc633549a3419fb3bcc6d7 |
|
BLAKE2b-256 | a9c39a4150d28bcc0a667ab32899fa1d6e895de9b7dfa5587782c32bd36bdebc |
File details
Details for the file bencoder.pyx-1.0.0.win-amd64-py3.3.exe
.
File metadata
- Download URL: bencoder.pyx-1.0.0.win-amd64-py3.3.exe
- Upload date:
- Size: 253.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 14e838da8c1e65a5e5166c75cc84a49b15daab15f2539b07ea2f62c8239d2aaa |
|
MD5 | d16e24e55d13766588a0f5c5d92f26ec |
|
BLAKE2b-256 | 532c45269689ad1ea6d10915802d24670d6abe16f78de4b7347127b674d2af0f |
File details
Details for the file bencoder.pyx-1.0.0.win-amd64-py2.7.exe
.
File metadata
- Download URL: bencoder.pyx-1.0.0.win-amd64-py2.7.exe
- Upload date:
- Size: 255.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | b33f414d20512cb687778f03373acb77b12011249513e8693d22a615995e66ee |
|
MD5 | 5a197ab3b353d529faf9c28b1e36fd80 |
|
BLAKE2b-256 | 21bf7f9feb317a58b616c6b538d1ab7ea6a58dc5c0f7895a5a5631c89f0ce676 |
File details
Details for the file bencoder.pyx-1.0.0.win-amd64-py2.6.exe
.
File metadata
- Download URL: bencoder.pyx-1.0.0.win-amd64-py2.6.exe
- Upload date:
- Size: 255.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | eb85251e5a23b85afac707c05c4f959e059bfe627310bf1708d5e74b34b53dcd |
|
MD5 | abdc75551e8b461beda185d61668eec7 |
|
BLAKE2b-256 | e101d08acd769c263507076dc9700f199505d896e6f1956aff06035b59a2b7d9 |
File details
Details for the file bencoder.pyx-1.0.0.win32-py3.5.exe
.
File metadata
- Download URL: bencoder.pyx-1.0.0.win32-py3.5.exe
- Upload date:
- Size: 157.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9e1ba92b4ab95ad31d7b8d0781459e0bd6accdbc6eece9790daffcf43f908f21 |
|
MD5 | 9abae8de2c5ec9aee22c0a27aecd4759 |
|
BLAKE2b-256 | c7d7d1e0b18c6997f52ef7f1aaa916783fa5db647b3f1ffd38dd17376b603bae |
File details
Details for the file bencoder.pyx-1.0.0.win32-py3.4.exe
.
File metadata
- Download URL: bencoder.pyx-1.0.0.win32-py3.4.exe
- Upload date:
- Size: 219.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 24ba3aeaca2dc29a6a7e824fa8203e95bcbef15ab88e92a193d257784a9f40b4 |
|
MD5 | e6bd4f422c6dd7ce60a331013e2174fc |
|
BLAKE2b-256 | 83db9143ba379cd32c6fbf7d50b461da8bf4689c1af5fe92aaddb1450e0fb39c |
File details
Details for the file bencoder.pyx-1.0.0.win32-py3.3.exe
.
File metadata
- Download URL: bencoder.pyx-1.0.0.win32-py3.3.exe
- Upload date:
- Size: 219.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 53d61302da431db5dc93874f0cc860d5fc5bb305f434418046a1883b75ad018c |
|
MD5 | 87e23c13270b23abfdf7c167a7756ac1 |
|
BLAKE2b-256 | bcd649fdfd9d0900425aceccd820048faae3af2894e56c323c82efabb2b1b949 |
File details
Details for the file bencoder.pyx-1.0.0.win32-py2.7.exe
.
File metadata
- Download URL: bencoder.pyx-1.0.0.win32-py2.7.exe
- Upload date:
- Size: 224.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | ade4be4d9e7964462b5c38567359e636c8baac16e42213a297d23e9821f8b0bc |
|
MD5 | c6d1b33ffc1d922281ff4b9876269042 |
|
BLAKE2b-256 | 0fdd987d0b5304d182c434e77093b4cf448351b1df3b6b9d01575c31a410c3a6 |
File details
Details for the file bencoder.pyx-1.0.0.win32-py2.6.exe
.
File metadata
- Download URL: bencoder.pyx-1.0.0.win32-py2.6.exe
- Upload date:
- Size: 224.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 15d151ffdb5b14d4f1e71a3c7fb4ee5f9e5849baefb0f023a916246769552fda |
|
MD5 | 802ed9c4e16183128f796b4cf39b44a4 |
|
BLAKE2b-256 | 15a9b34bc3785cba02c42a95ed73148a0468e614961154cab1f3c46cbc069e98 |
File details
Details for the file bencoder.pyx-1.0.0-cp35-none-win_amd64.whl
.
File metadata
- Download URL: bencoder.pyx-1.0.0-cp35-none-win_amd64.whl
- Upload date:
- Size: 31.9 kB
- Tags: CPython 3.5, Windows x86-64
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4c2fc455305d32ba60fc71138893c4c7c712a32c215881d28057696961e0dc6f |
|
MD5 | 9fa4d3dcd136217e2d92f9d601b642b0 |
|
BLAKE2b-256 | a156bb23f210b8ea73019e669cb1f9e7d8afad5b23368809aa68b38497951535 |
File details
Details for the file bencoder.pyx-1.0.0-cp35-none-win32.whl
.
File metadata
- Download URL: bencoder.pyx-1.0.0-cp35-none-win32.whl
- Upload date:
- Size: 27.8 kB
- Tags: CPython 3.5, Windows x86
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 50c11be4eeeb311a003bb153008ec8fec9a00817782548aea84e431b9e4f2bc0 |
|
MD5 | 86647a181964c5134c4e362fdffe5cbb |
|
BLAKE2b-256 | 17f1db4c025bead3b38d38fe1aeaadf9ede2a0f25cc8269e072bc3fc8e424871 |
File details
Details for the file bencoder.pyx-1.0.0-cp34-none-win_amd64.whl
.
File metadata
- Download URL: bencoder.pyx-1.0.0-cp34-none-win_amd64.whl
- Upload date:
- Size: 31.1 kB
- Tags: CPython 3.4, Windows x86-64
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | a1afbd24224f818600c18ecb71f2e907d5d811976785559772e16a12de5dd352 |
|
MD5 | 1502ca528179f5cff12f557c81ec3204 |
|
BLAKE2b-256 | fb64ca1f234ebee66398874ddf36710bcea8c67708533bb595b2b195ab72fd1f |
File details
Details for the file bencoder.pyx-1.0.0-cp34-none-win32.whl
.
File metadata
- Download URL: bencoder.pyx-1.0.0-cp34-none-win32.whl
- Upload date:
- Size: 28.6 kB
- Tags: CPython 3.4, Windows x86
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 66e2f06a5ccca6fe495b37db1fb42823770b8d06b7e4b71e1fdb75e7438587b2 |
|
MD5 | e8897c9c31a6ed30e9b8eaae10739248 |
|
BLAKE2b-256 | 94a634bc63219c50b6caa2d8e2d6e83623cf1a03f27360c1cb9e2a4d58b10714 |
File details
Details for the file bencoder.pyx-1.0.0-cp33-none-win_amd64.whl
.
File metadata
- Download URL: bencoder.pyx-1.0.0-cp33-none-win_amd64.whl
- Upload date:
- Size: 31.1 kB
- Tags: CPython 3.3, Windows x86-64
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 26bc4429dfb3205029f5019902107aee8ce6d1004566b5e9f3ae19206b0396e5 |
|
MD5 | 846d540d38f5e9e30f769f793d976f59 |
|
BLAKE2b-256 | 6d9046e729f6fd5f8477a53004c80a8a4af362a50467573e724e720eb4b557cc |
File details
Details for the file bencoder.pyx-1.0.0-cp33-none-win32.whl
.
File metadata
- Download URL: bencoder.pyx-1.0.0-cp33-none-win32.whl
- Upload date:
- Size: 28.6 kB
- Tags: CPython 3.3, Windows x86
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | b2f3e181dc989244be26607d084ee3847c4aca00c1ad5aeea8c0031a13ebaa6d |
|
MD5 | 6556734bde36dc5762d080ec409b6764 |
|
BLAKE2b-256 | fe63ac7713f3cc8354035e5dd7bc630d967fe1f50d12f341a1561eb8c598837b |
File details
Details for the file bencoder.pyx-1.0.0-cp27-none-win_amd64.whl
.
File metadata
- Download URL: bencoder.pyx-1.0.0-cp27-none-win_amd64.whl
- Upload date:
- Size: 31.3 kB
- Tags: CPython 2.7, Windows x86-64
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | f6843f4a6231673a26db428138e4c4e7ea287e2c38f8c55b23a88eb50caf771d |
|
MD5 | 337f760d6e1a91735f686103e88f9b53 |
|
BLAKE2b-256 | 86c4939a0bd8c4167db2ea265f7d5457d72b102a42c3275e310d8c193543db38 |
File details
Details for the file bencoder.pyx-1.0.0-cp27-none-win32.whl
.
File metadata
- Download URL: bencoder.pyx-1.0.0-cp27-none-win32.whl
- Upload date:
- Size: 28.4 kB
- Tags: CPython 2.7, Windows x86
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | e0663de00e20b4b2e299e2098d60b4de5b8ce4b65940858a30e13aaaf2cfd7e1 |
|
MD5 | adefcf7d15d4d148df439ddd74907f1d |
|
BLAKE2b-256 | e32eaaf1bd93c014feadc33e3be35fbc8b877f13e43634b0b212cdd3361aa408 |
File details
Details for the file bencoder.pyx-1.0.0-cp27-none-macosx_10_4_x86_64.whl
.
File metadata
- Download URL: bencoder.pyx-1.0.0-cp27-none-macosx_10_4_x86_64.whl
- Upload date:
- Size: 36.8 kB
- Tags: CPython 2.7, macOS 10.4+ x86-64
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | c7b9631277de3bbab4eb283925274ad7d495e84604b571051556e0158824b03b |
|
MD5 | 23720fcf878fe3712253896c96843952 |
|
BLAKE2b-256 | a020244b8b7b7cbb52d6591e8d54e968e416d69e9bb5a84defb2e0df4fbb5973 |
File details
Details for the file bencoder.pyx-1.0.0-cp26-none-win_amd64.whl
.
File metadata
- Download URL: bencoder.pyx-1.0.0-cp26-none-win_amd64.whl
- Upload date:
- Size: 31.6 kB
- Tags: CPython 2.6, Windows x86-64
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | b69f1e1190ca327b52834b5dacd7ca572a75d9334fc22a1ff7f29c77cb41b6c3 |
|
MD5 | d6ac4638f936f34687d2066af8c49f71 |
|
BLAKE2b-256 | b14a7f7dabf64479939ef6819703545e5c31847b91e381c6ec984a0204563c0c |
File details
Details for the file bencoder.pyx-1.0.0-cp26-none-win32.whl
.
File metadata
- Download URL: bencoder.pyx-1.0.0-cp26-none-win32.whl
- Upload date:
- Size: 28.4 kB
- Tags: CPython 2.6, Windows x86
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 712a88d7b844df7706a17033c07cd4226b66f0d63968092bdeeea1fb0d0bc1ed |
|
MD5 | 258348faa532fa49047b7d74d8847a3c |
|
BLAKE2b-256 | 841c302dba5a0b8f82021d39ca42674825e237b6ade086d2a12a6a88e9a0f93b |