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.
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 pytest
) 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.0-cp37-cp37m-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 22155876350a2a70a22a58cc304d1dd26b8e5185895167a22e1a16326340277b |
|
MD5 | b51b78024ab750e9592254d0d5b0202f |
|
BLAKE2b-256 | 252249a19b7ea9e69c2662152534c74c7bbfaff9fa34e0927503a8da0fab02ad |
Hashes for sabyenc3-4.0.0-cp37-cp37m-win32.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6b77fe3905fa7276c4fd536e2abf236f1976d3a68869454feb4e6053fced2e00 |
|
MD5 | f3cf1b3188609665be51bbd000c7ccec |
|
BLAKE2b-256 | ff66f5b52fb26e6615146d0d3fe9f249405c4f2708a11dbc84526dedd026acd4 |
Hashes for sabyenc3-4.0.0-cp37-cp37m-manylinux1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 697cf146fabad337bd272a8b6a37eb18fd19a8b79b41c50e709b458b12d4c87f |
|
MD5 | 11b442ac120c636e001f4b9bbfd70795 |
|
BLAKE2b-256 | 1ad86d7b5992fdf55d50d779fa840e7231d74d656c1f78100467f65525513e18 |
Hashes for sabyenc3-4.0.0-cp37-cp37m-manylinux1_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 95b4a2c057c98ed29f0a7e2b03837f75baa7a42edf7f5710ec386cad7ffc708f |
|
MD5 | 477a928d27908f175f48ee9fbd00c0ce |
|
BLAKE2b-256 | 870f13dacecb01e195763ceaf9d5962add8ab63b582e47ebc085d1a0ac169523 |
Hashes for sabyenc3-4.0.0-cp36-cp36m-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 60569b729427b153ac81765822b68aa9ab497008880a855d33ec8fc6c9ec6230 |
|
MD5 | e47b3681c10d15b94f6332b1379b7c09 |
|
BLAKE2b-256 | 01314779d7b560108cd0769ebfcb2f6a535664429c860ccefe88797ac27324dc |
Hashes for sabyenc3-4.0.0-cp36-cp36m-win32.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 93aa019065f64686a379f788a9e5d6f21d550d0fd3196cfcf28b39baa178aa80 |
|
MD5 | c3b87b95ddbe22989179a6867df300b9 |
|
BLAKE2b-256 | 75ea947fabacfaa4ef32b989dd49f12007ca0ffbb9cca8e84909df1f93bac11c |
Hashes for sabyenc3-4.0.0-cp36-cp36m-manylinux1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ac9a2b83bb15973cef383f7d60f0e36f0ab9df6bf137183f0f7e93ef135244d1 |
|
MD5 | b1398e6ca5cc23e798298be50977acf4 |
|
BLAKE2b-256 | eed2a32f63beb8a5795ddfff60e7817fca5f444e96a8ae4efb770ceda63456de |
Hashes for sabyenc3-4.0.0-cp36-cp36m-manylinux1_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0937396a1c7f26aec69b53ed96bf0ae5d97baec0d5e46146a025f0a00667b28f |
|
MD5 | b5400b29291e6490d795a3303fbfe395 |
|
BLAKE2b-256 | 6e31bae6e69cdac857b0b476ebd8b8995948aad7393a6517c97359ab0f9370a2 |
Hashes for sabyenc3-4.0.0-cp36-cp36m-macosx_10_13_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 115ee6405d40f20e1d45b4ffbc2a74e99fb4fd44133017a0287f82b82578a50c |
|
MD5 | 6153f8d8d7f3f4f4a27ff0dab6c6df70 |
|
BLAKE2b-256 | ce485f6c484121b7d3ecb7a96065021494e5fe82e23f9024026b7c08f3af4105 |
Hashes for sabyenc3-4.0.0-cp35-cp35m-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8b9c4e29bdb110b57c4e865a91f38e0b290a41a1922c1feba3c515ada40a2c83 |
|
MD5 | dca31cc19e6850f7795effde645eaf93 |
|
BLAKE2b-256 | c2970d65b835300f997cc317f82ace567b42a9353b986dd4cac3ab549b421669 |
Hashes for sabyenc3-4.0.0-cp35-cp35m-win32.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3e18d9dee85092340f2edd4f420b9ff64cae7260a78606be7284336f75c11db3 |
|
MD5 | 55d307e621cdff638a932804ae6928a5 |
|
BLAKE2b-256 | d2586f7f64a31075d95d4f0f3f5335336a0c56ae3d5e8eae28124449672bde46 |
Hashes for sabyenc3-4.0.0-cp35-cp35m-manylinux1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0c4a5497a44c200731827324b774977d49d250aa7b9f0df5a61c37badbe9dd40 |
|
MD5 | 6e39d8e875e034dc7f35d71b3297e362 |
|
BLAKE2b-256 | bddb134668295a057cff9ee34eef179ac1bba8f3bf4f9cb0ee9027ecaf2611f1 |
Hashes for sabyenc3-4.0.0-cp35-cp35m-manylinux1_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ad729c0ea0a280e5c5e7a58655cd1ffe2ce90c2d01336a5faf0eeb53889640f1 |
|
MD5 | a167ec91179dcf25f6c00dd101bdb988 |
|
BLAKE2b-256 | 09aaf0978804111b31c4a7c0a409d9e3a06f547fce7bd1d5aa1f7ccf0a0ae213 |
Hashes for sabyenc3-4.0.0-cp34-cp34m-manylinux1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 167d14a45460d16740b36d91551fe1d258467dd92d26b0bdef0bd0b32f05af33 |
|
MD5 | 31642294e03c3ba8234a961a3e6a6389 |
|
BLAKE2b-256 | 7d7b0e67cd677d9312c6c111d1d34719a223c9a31b21c1bd4c78253a77ff74fd |
Hashes for sabyenc3-4.0.0-cp34-cp34m-manylinux1_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e30334c48f5ae47af480bc4756d15044859406a4f2b2735cac442eb746f52be0 |
|
MD5 | 18a8d71f472a6823369c949fc35812b5 |
|
BLAKE2b-256 | 19d9c33deb7a3748d2c317c100f78861aa386d084b6d73823c8371820f2beac2 |