Skip to main content

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

sabyenc3-4.0.0.tar.gz (9.8 kB view details)

Uploaded Source

Built Distributions

If you're not sure about the file name format, learn more about wheel file names.

sabyenc3-4.0.0-cp37-cp37m-win_amd64.whl (11.9 kB view details)

Uploaded CPython 3.7mWindows x86-64

sabyenc3-4.0.0-cp37-cp37m-win32.whl (11.1 kB view details)

Uploaded CPython 3.7mWindows x86

sabyenc3-4.0.0-cp37-cp37m-manylinux1_x86_64.whl (21.2 kB view details)

Uploaded CPython 3.7m

sabyenc3-4.0.0-cp37-cp37m-manylinux1_i686.whl (20.5 kB view details)

Uploaded CPython 3.7m

sabyenc3-4.0.0-cp36-cp36m-win_amd64.whl (11.9 kB view details)

Uploaded CPython 3.6mWindows x86-64

sabyenc3-4.0.0-cp36-cp36m-win32.whl (11.1 kB view details)

Uploaded CPython 3.6mWindows x86

sabyenc3-4.0.0-cp36-cp36m-manylinux1_x86_64.whl (20.2 kB view details)

Uploaded CPython 3.6m

sabyenc3-4.0.0-cp36-cp36m-manylinux1_i686.whl (19.5 kB view details)

Uploaded CPython 3.6m

sabyenc3-4.0.0-cp36-cp36m-macosx_10_13_x86_64.whl (5.9 kB view details)

Uploaded CPython 3.6mmacOS 10.13+ x86-64

sabyenc3-4.0.0-cp35-cp35m-win_amd64.whl (11.9 kB view details)

Uploaded CPython 3.5mWindows x86-64

sabyenc3-4.0.0-cp35-cp35m-win32.whl (11.1 kB view details)

Uploaded CPython 3.5mWindows x86

sabyenc3-4.0.0-cp35-cp35m-manylinux1_x86_64.whl (20.0 kB view details)

Uploaded CPython 3.5m

sabyenc3-4.0.0-cp35-cp35m-manylinux1_i686.whl (19.3 kB view details)

Uploaded CPython 3.5m

sabyenc3-4.0.0-cp34-cp34m-manylinux1_x86_64.whl (19.8 kB view details)

Uploaded CPython 3.4m

sabyenc3-4.0.0-cp34-cp34m-manylinux1_i686.whl (19.1 kB view details)

Uploaded CPython 3.4m

File details

Details for the file sabyenc3-4.0.0.tar.gz.

File metadata

  • Download URL: sabyenc3-4.0.0.tar.gz
  • Upload date:
  • Size: 9.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.5.4

File hashes

Hashes for sabyenc3-4.0.0.tar.gz
Algorithm Hash digest
SHA256 3f0c10da30a1288aa1ee327a136864a8faae4c348de0c9258217c9f8c90cd27d
MD5 347853f7315f4b7c1d9b861e6dd332a1
BLAKE2b-256 b9dcf63e0db3cffb36e85af2dbdcc6273e1c2fa9c0905d56084fb56056e08560

See more details on using hashes here.

File details

Details for the file sabyenc3-4.0.0-cp37-cp37m-win_amd64.whl.

File metadata

  • Download URL: sabyenc3-4.0.0-cp37-cp37m-win_amd64.whl
  • Upload date:
  • Size: 11.9 kB
  • Tags: CPython 3.7m, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.7.2

File hashes

Hashes for sabyenc3-4.0.0-cp37-cp37m-win_amd64.whl
Algorithm Hash digest
SHA256 22155876350a2a70a22a58cc304d1dd26b8e5185895167a22e1a16326340277b
MD5 b51b78024ab750e9592254d0d5b0202f
BLAKE2b-256 252249a19b7ea9e69c2662152534c74c7bbfaff9fa34e0927503a8da0fab02ad

See more details on using hashes here.

File details

Details for the file sabyenc3-4.0.0-cp37-cp37m-win32.whl.

File metadata

  • Download URL: sabyenc3-4.0.0-cp37-cp37m-win32.whl
  • Upload date:
  • Size: 11.1 kB
  • Tags: CPython 3.7m, Windows x86
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.7.2

File hashes

Hashes for sabyenc3-4.0.0-cp37-cp37m-win32.whl
Algorithm Hash digest
SHA256 6b77fe3905fa7276c4fd536e2abf236f1976d3a68869454feb4e6053fced2e00
MD5 f3cf1b3188609665be51bbd000c7ccec
BLAKE2b-256 ff66f5b52fb26e6615146d0d3fe9f249405c4f2708a11dbc84526dedd026acd4

See more details on using hashes here.

File details

Details for the file sabyenc3-4.0.0-cp37-cp37m-manylinux1_x86_64.whl.

File metadata

  • Download URL: sabyenc3-4.0.0-cp37-cp37m-manylinux1_x86_64.whl
  • Upload date:
  • Size: 21.2 kB
  • Tags: CPython 3.7m
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.0.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.5.6

File hashes

Hashes for sabyenc3-4.0.0-cp37-cp37m-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 697cf146fabad337bd272a8b6a37eb18fd19a8b79b41c50e709b458b12d4c87f
MD5 11b442ac120c636e001f4b9bbfd70795
BLAKE2b-256 1ad86d7b5992fdf55d50d779fa840e7231d74d656c1f78100467f65525513e18

See more details on using hashes here.

File details

Details for the file sabyenc3-4.0.0-cp37-cp37m-manylinux1_i686.whl.

File metadata

  • Download URL: sabyenc3-4.0.0-cp37-cp37m-manylinux1_i686.whl
  • Upload date:
  • Size: 20.5 kB
  • Tags: CPython 3.7m
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.6.3

File hashes

Hashes for sabyenc3-4.0.0-cp37-cp37m-manylinux1_i686.whl
Algorithm Hash digest
SHA256 95b4a2c057c98ed29f0a7e2b03837f75baa7a42edf7f5710ec386cad7ffc708f
MD5 477a928d27908f175f48ee9fbd00c0ce
BLAKE2b-256 870f13dacecb01e195763ceaf9d5962add8ab63b582e47ebc085d1a0ac169523

See more details on using hashes here.

File details

Details for the file sabyenc3-4.0.0-cp36-cp36m-win_amd64.whl.

File metadata

  • Download URL: sabyenc3-4.0.0-cp36-cp36m-win_amd64.whl
  • Upload date:
  • Size: 11.9 kB
  • Tags: CPython 3.6m, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.6.8

File hashes

Hashes for sabyenc3-4.0.0-cp36-cp36m-win_amd64.whl
Algorithm Hash digest
SHA256 60569b729427b153ac81765822b68aa9ab497008880a855d33ec8fc6c9ec6230
MD5 e47b3681c10d15b94f6332b1379b7c09
BLAKE2b-256 01314779d7b560108cd0769ebfcb2f6a535664429c860ccefe88797ac27324dc

See more details on using hashes here.

File details

Details for the file sabyenc3-4.0.0-cp36-cp36m-win32.whl.

File metadata

  • Download URL: sabyenc3-4.0.0-cp36-cp36m-win32.whl
  • Upload date:
  • Size: 11.1 kB
  • Tags: CPython 3.6m, Windows x86
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.6.8

File hashes

Hashes for sabyenc3-4.0.0-cp36-cp36m-win32.whl
Algorithm Hash digest
SHA256 93aa019065f64686a379f788a9e5d6f21d550d0fd3196cfcf28b39baa178aa80
MD5 c3b87b95ddbe22989179a6867df300b9
BLAKE2b-256 75ea947fabacfaa4ef32b989dd49f12007ca0ffbb9cca8e84909df1f93bac11c

See more details on using hashes here.

File details

Details for the file sabyenc3-4.0.0-cp36-cp36m-manylinux1_x86_64.whl.

File metadata

  • Download URL: sabyenc3-4.0.0-cp36-cp36m-manylinux1_x86_64.whl
  • Upload date:
  • Size: 20.2 kB
  • Tags: CPython 3.6m
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.0.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.5.6

File hashes

Hashes for sabyenc3-4.0.0-cp36-cp36m-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 ac9a2b83bb15973cef383f7d60f0e36f0ab9df6bf137183f0f7e93ef135244d1
MD5 b1398e6ca5cc23e798298be50977acf4
BLAKE2b-256 eed2a32f63beb8a5795ddfff60e7817fca5f444e96a8ae4efb770ceda63456de

See more details on using hashes here.

File details

Details for the file sabyenc3-4.0.0-cp36-cp36m-manylinux1_i686.whl.

File metadata

  • Download URL: sabyenc3-4.0.0-cp36-cp36m-manylinux1_i686.whl
  • Upload date:
  • Size: 19.5 kB
  • Tags: CPython 3.6m
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.6.3

File hashes

Hashes for sabyenc3-4.0.0-cp36-cp36m-manylinux1_i686.whl
Algorithm Hash digest
SHA256 0937396a1c7f26aec69b53ed96bf0ae5d97baec0d5e46146a025f0a00667b28f
MD5 b5400b29291e6490d795a3303fbfe395
BLAKE2b-256 6e31bae6e69cdac857b0b476ebd8b8995948aad7393a6517c97359ab0f9370a2

See more details on using hashes here.

File details

Details for the file sabyenc3-4.0.0-cp36-cp36m-macosx_10_13_x86_64.whl.

File metadata

  • Download URL: sabyenc3-4.0.0-cp36-cp36m-macosx_10_13_x86_64.whl
  • Upload date:
  • Size: 5.9 kB
  • Tags: CPython 3.6m, macOS 10.13+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/39.2.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.6.5

File hashes

Hashes for sabyenc3-4.0.0-cp36-cp36m-macosx_10_13_x86_64.whl
Algorithm Hash digest
SHA256 115ee6405d40f20e1d45b4ffbc2a74e99fb4fd44133017a0287f82b82578a50c
MD5 6153f8d8d7f3f4f4a27ff0dab6c6df70
BLAKE2b-256 ce485f6c484121b7d3ecb7a96065021494e5fe82e23f9024026b7c08f3af4105

See more details on using hashes here.

File details

Details for the file sabyenc3-4.0.0-cp35-cp35m-win_amd64.whl.

File metadata

  • Download URL: sabyenc3-4.0.0-cp35-cp35m-win_amd64.whl
  • Upload date:
  • Size: 11.9 kB
  • Tags: CPython 3.5m, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.5.4

File hashes

Hashes for sabyenc3-4.0.0-cp35-cp35m-win_amd64.whl
Algorithm Hash digest
SHA256 8b9c4e29bdb110b57c4e865a91f38e0b290a41a1922c1feba3c515ada40a2c83
MD5 dca31cc19e6850f7795effde645eaf93
BLAKE2b-256 c2970d65b835300f997cc317f82ace567b42a9353b986dd4cac3ab549b421669

See more details on using hashes here.

File details

Details for the file sabyenc3-4.0.0-cp35-cp35m-win32.whl.

File metadata

  • Download URL: sabyenc3-4.0.0-cp35-cp35m-win32.whl
  • Upload date:
  • Size: 11.1 kB
  • Tags: CPython 3.5m, Windows x86
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.5.4

File hashes

Hashes for sabyenc3-4.0.0-cp35-cp35m-win32.whl
Algorithm Hash digest
SHA256 3e18d9dee85092340f2edd4f420b9ff64cae7260a78606be7284336f75c11db3
MD5 55d307e621cdff638a932804ae6928a5
BLAKE2b-256 d2586f7f64a31075d95d4f0f3f5335336a0c56ae3d5e8eae28124449672bde46

See more details on using hashes here.

File details

Details for the file sabyenc3-4.0.0-cp35-cp35m-manylinux1_x86_64.whl.

File metadata

  • Download URL: sabyenc3-4.0.0-cp35-cp35m-manylinux1_x86_64.whl
  • Upload date:
  • Size: 20.0 kB
  • Tags: CPython 3.5m
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.0.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.5.6

File hashes

Hashes for sabyenc3-4.0.0-cp35-cp35m-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 0c4a5497a44c200731827324b774977d49d250aa7b9f0df5a61c37badbe9dd40
MD5 6e39d8e875e034dc7f35d71b3297e362
BLAKE2b-256 bddb134668295a057cff9ee34eef179ac1bba8f3bf4f9cb0ee9027ecaf2611f1

See more details on using hashes here.

File details

Details for the file sabyenc3-4.0.0-cp35-cp35m-manylinux1_i686.whl.

File metadata

  • Download URL: sabyenc3-4.0.0-cp35-cp35m-manylinux1_i686.whl
  • Upload date:
  • Size: 19.3 kB
  • Tags: CPython 3.5m
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.6.3

File hashes

Hashes for sabyenc3-4.0.0-cp35-cp35m-manylinux1_i686.whl
Algorithm Hash digest
SHA256 ad729c0ea0a280e5c5e7a58655cd1ffe2ce90c2d01336a5faf0eeb53889640f1
MD5 a167ec91179dcf25f6c00dd101bdb988
BLAKE2b-256 09aaf0978804111b31c4a7c0a409d9e3a06f547fce7bd1d5aa1f7ccf0a0ae213

See more details on using hashes here.

File details

Details for the file sabyenc3-4.0.0-cp34-cp34m-manylinux1_x86_64.whl.

File metadata

  • Download URL: sabyenc3-4.0.0-cp34-cp34m-manylinux1_x86_64.whl
  • Upload date:
  • Size: 19.8 kB
  • Tags: CPython 3.4m
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.0.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.5.6

File hashes

Hashes for sabyenc3-4.0.0-cp34-cp34m-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 167d14a45460d16740b36d91551fe1d258467dd92d26b0bdef0bd0b32f05af33
MD5 31642294e03c3ba8234a961a3e6a6389
BLAKE2b-256 7d7b0e67cd677d9312c6c111d1d34719a223c9a31b21c1bd4c78253a77ff74fd

See more details on using hashes here.

File details

Details for the file sabyenc3-4.0.0-cp34-cp34m-manylinux1_i686.whl.

File metadata

  • Download URL: sabyenc3-4.0.0-cp34-cp34m-manylinux1_i686.whl
  • Upload date:
  • Size: 19.1 kB
  • Tags: CPython 3.4m
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.6.3

File hashes

Hashes for sabyenc3-4.0.0-cp34-cp34m-manylinux1_i686.whl
Algorithm Hash digest
SHA256 e30334c48f5ae47af480bc4756d15044859406a4f2b2735cac442eb746f52be0
MD5 18a8d71f472a6823369c949fc35812b5
BLAKE2b-256 19d9c33deb7a3748d2c317c100f78861aa386d084b6d73823c8371820f2beac2

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page