yEnc Module for Python modified for SABnzbd
Project description
SABYenc 3 - yEnc Decoding for Python 3
Modified the original yenc module by Alessandro Duca alessandro.duca@gmail.com for use within SABnzbd.
The module was extended to do header parsing and full yEnc decoding from a Python list of chunks, the way in which data is retrieved from usenet. This is particularly beneficial when SSL is enabled, which limits the size of each chunk to 16K. Parsing these chunks in python is much more costly. Additionally, this module releases Python's GIL during decoding, greatly increasing performance of the overall download process.
This module only works with Python 3, the source code of the Python 2 version (sabyenc
) can be found here.
Installing
As simple as running:
pip install sabyenc3 --upgrade
When you want to compile from sources, you can run in the sabyenc
directory:
python setup.py install
Testing
For testing we use pytest
(install via pip install -r tests/requirements.txt
) and test can simply be executed by browsing to the sabyenc
directory and running:
pytest
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
Built Distributions
Hashes for sabyenc3-4.0.1-cp38-cp38-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8528efa73a63e93347199f25738b0d40d94d066324c19c282e24246242a6bb1e |
|
MD5 | 02de0b775960c74a9d8e5da44c2c5807 |
|
BLAKE2b-256 | f4b4ff97a0677a65778a17b8af5848f750db2c3703da6bafa45c1238ab60466d |
Hashes for sabyenc3-4.0.1-cp38-cp38-win32.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0f0610af95a9596a0f3cc7974dd02fd9925867ce547caea262292a20b7405758 |
|
MD5 | 347d422d8f0d839b7b2b77e314214737 |
|
BLAKE2b-256 | ca1d17932526c0993940a2dea00f33085a59c1fa9b9e0a4bb62be1a580eec9d0 |
Hashes for sabyenc3-4.0.1-cp38-cp38-manylinux1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 938aae23ab878f78a03454c55d545acf9a0e46f2f1a71f97449f57b8b9a3651a |
|
MD5 | 2fcf3ddc3ce6a6d66fbd3a56d21b25db |
|
BLAKE2b-256 | a3be1c2b817055f7944b4c784a940e0d04dbd75013d982d5d0823996703b3ca2 |
Hashes for sabyenc3-4.0.1-cp38-cp38-manylinux1_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | dcb2fa1747ae1a0e99b7d230fca68b880215f22982c363691a3852104e72e1bf |
|
MD5 | 0d5e93ae1ff4cf099af059fa902e9ee7 |
|
BLAKE2b-256 | b21a1584d9f4c25cf1dfb00865a4e34de23817a64c824331471be11ccef963f2 |
Hashes for sabyenc3-4.0.1-cp37-cp37m-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 29f724bfb932a22829df67cef12cce56c74a23fe3118bd54b4f420f552559534 |
|
MD5 | 983b5bba121b0d26d795ccf35eafd802 |
|
BLAKE2b-256 | 5b396bfb252c309451690cf667efe7f5459135de5578937a36a511dbd800eb8e |
Hashes for sabyenc3-4.0.1-cp37-cp37m-win32.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c2e9a589711614539d8b855ea226df4649218a2d07f73ed3d02ac1ff4fa9332a |
|
MD5 | 13b84fb8a8df463f1505eb721916959a |
|
BLAKE2b-256 | 46dd76fd9386c7f50c6e28f995dfe439891e130de54fb3b67fd80f45019f33df |
Hashes for sabyenc3-4.0.1-cp37-cp37m-manylinux1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f9c35987ddb306d1f3b945e36e0c75b733ecbba94e91a77d2ac45bda38579684 |
|
MD5 | 2f020e0265a0c67acf1e4e44b2928959 |
|
BLAKE2b-256 | 29fe49a34930d96b544afddd04fc3f8288ed74ffdb0805107a90bf1a9f5dec4a |
Hashes for sabyenc3-4.0.1-cp37-cp37m-manylinux1_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 17a53e81a4d461fb66f35c0ade13439cbff45ebda25ca313481555edc49fe688 |
|
MD5 | f8e7c6eec73468cd29194d806e3ee44c |
|
BLAKE2b-256 | b5da0041f02833ff4c72ce3d2fc1aa11e4ed6dc72f243be122f9d4728f2cd36d |
Hashes for sabyenc3-4.0.1-cp36-cp36m-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 34c67d29a568c788620d6051dcac09fb554004f2fa12f4da1a0c3e7001bf3655 |
|
MD5 | d8023f3f129661c8b7e6b7cb17a3b891 |
|
BLAKE2b-256 | a39890d667b8d2cdd47168053d06d051f5e87bc1a1b972d8ee18bd86c0a74e1a |
Hashes for sabyenc3-4.0.1-cp36-cp36m-win32.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c6bb4c8d34f2ef736cba839aaf5002fd004c77bf08c75ce22c645d099b4c5d60 |
|
MD5 | 6f41ed8d8336340b3b6f9d0f18b1aad8 |
|
BLAKE2b-256 | 516e7efd42ee4ab1dbbec692a94443d2442c0a67bcc73e78747a2b85284c16cf |
Hashes for sabyenc3-4.0.1-cp36-cp36m-manylinux1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4537841ac2f959db79e8f277c20abeb09ac2a4db02e205f8f47e10d47bc9fe1e |
|
MD5 | deefcda9ad46f7391fc0e0e689188c8b |
|
BLAKE2b-256 | 78aa47662c17fb00b0699dec57a6cf6b420b472df8f5bfa269cf4bf38e691fcc |
Hashes for sabyenc3-4.0.1-cp36-cp36m-manylinux1_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 027e5544740d9a7c149e86ee6c46aacd3e6b05fc8e7e072e2ccb248f06c9f83e |
|
MD5 | d92f44ba09657965cb9ee13aa3814d90 |
|
BLAKE2b-256 | 919e632f73492e006fca9757897a3c31a142e66613a035c2ab4270f46c975e04 |
Hashes for sabyenc3-4.0.1-cp36-cp36m-macosx_10_13_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c38498e62317d6faad622b1f88f4d71586dd9860b5f7ee30b7cf10b100bced6e |
|
MD5 | 501d540a2b85d984247483b52873e104 |
|
BLAKE2b-256 | 84bcfa6485a5ade6cea2707bba3fa3aec1b5209a9b0d33d471c62359b4e187dd |
Hashes for sabyenc3-4.0.1-cp35-cp35m-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5905bc91efc282d6556f7f54200af32a87defd46d0602b10bac64c12e405146a |
|
MD5 | cbd8d7e8a4f168f5fafb05dda7b2dbc6 |
|
BLAKE2b-256 | af6c74426d192e4897fd2751a9260b8ae066c1422ffe5f942e474c1118a1a50d |
Hashes for sabyenc3-4.0.1-cp35-cp35m-win32.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c9ac276b732f50ce56e68010f55255a454df1d0d62891a4a0c82e2a98fd04182 |
|
MD5 | ca64ef17a4e95ea7e9491b9a764cd9ea |
|
BLAKE2b-256 | bca342a086f2b1b75c6a5129356a0a83bf31de593e4c4d0d2e74cc717b2c0b52 |
Hashes for sabyenc3-4.0.1-cp35-cp35m-manylinux1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ebf4d8337d624bcd166f76fc673f4d5bace0cbc3888211aa96ce92e0c7100e51 |
|
MD5 | f2297c01c527510d0d08d23729893a04 |
|
BLAKE2b-256 | 4460d90787c04aea392c3369d75f59cc46aae34ae63fd5dd43573563cf73a461 |
Hashes for sabyenc3-4.0.1-cp35-cp35m-manylinux1_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5a55357fcb20041ad17d80aed73ae34470a2a731befd69bc0766d385c03a038a |
|
MD5 | d13142cee9fab81e7ba9b969670a01c4 |
|
BLAKE2b-256 | dc96d622c8f8d2d52ce57f0d5b9a350e804efb6de1c94c9816e8bdebc1c7a04c |
Hashes for sabyenc3-4.0.1-cp34-cp34m-manylinux1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 08b70952591a2c429a4cd0fb8e6452738684bf6e6616bad953722d065826bca0 |
|
MD5 | 17f50cd1bcf16b24b5e62c0e66594438 |
|
BLAKE2b-256 | be7fa7159f882497618c62457f7185b39a056e7c685be13a5d64b94af7771ad3 |
Hashes for sabyenc3-4.0.1-cp34-cp34m-manylinux1_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9c5f1a5046bb37892310cba9742ff40c0702f159fae39a5c370fea3c64df7cca |
|
MD5 | 36ca92238f5f5f33484139792188ed8f |
|
BLAKE2b-256 | ddb11200c574f008efa9a58fd89838a59f97ac086cf6d89650e9f7b4eb0dbf29 |