yEnc decoding of usenet data using SIMD routines
Project description
SABYenc 3 - yEnc decoding of usenet data using SIMD routines
Modification of the original yenc module 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.
Further improved by using yencode from animetosho, which utilizes x86/ARM SIMD optimised routines if such CPU features are available.
Installing
As simple as running:
pip install sabyenc3 --upgrade
When you want to compile from sources, you can run in the sabyenc
directory:
pip install .
SIMD detection
To see which SIMD set was detected on your system, run:
python -c "import sabyenc3; print(sabyenc3.simd);"
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
Note that tests can fail if git
modified the line endings of data files when checking out the repository!
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-5.4.3-cp310-cp310-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 09ae2c641dc81ba7bbd6949fd28079f1513e16717cbc1f1fb13c995ec9277a4c |
|
MD5 | 32c0e970a4d88691b7796abde1c95cdf |
|
BLAKE2b-256 | 2f87707d084eeb9463c0aa4f7b25b241868f91a30340700247c03ad95c3c8ec7 |
Hashes for sabyenc3-5.4.3-cp310-cp310-win32.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e1512cc62ee00cb9c7b57b941b0c2ec68e90305bf93ff83efae72d263220434e |
|
MD5 | a57c167b9936c4e07cc0cf13d64997fb |
|
BLAKE2b-256 | c6323b4642ac6e5ce796232c839ee5d2ae25bdf83ffce137106dd906ab723840 |
Hashes for sabyenc3-5.4.3-cp310-cp310-musllinux_1_1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f7513433b3058b595e8b455d6c9c9812e2cb40c60b5e2dd770b957d8338943d5 |
|
MD5 | b5ff8a22221207595fef011de7cec1d9 |
|
BLAKE2b-256 | b40b0d9f11fc1586d8be5a5c1fe92e7589fc8cfce54a4ee208333725170f58a1 |
Hashes for sabyenc3-5.4.3-cp310-cp310-musllinux_1_1_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4e0b45a227ea5180a645e3c76a0fe2bbeb21626e08dfb91b2a94aae767158350 |
|
MD5 | 35808d3abeec7393973ff62ef667a311 |
|
BLAKE2b-256 | 8fa7238f69b03bce5640a8312a5f6fe6c69e2fc350a6f6756479eadbae43d60e |
Hashes for sabyenc3-5.4.3-cp310-cp310-musllinux_1_1_aarch64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4f15435fb7db42606bf88846f7f092d331529466c7047b69b29d933100c4a336 |
|
MD5 | 7941e418bc944a4971224ffb2494c61e |
|
BLAKE2b-256 | 188883de2c74af47b077699c8f0b73c0e82b0c8780844105856e9ad156105707 |
Hashes for sabyenc3-5.4.3-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 86359e1ab68d2b3c96f3107a1cf3ea2c6799aeb35ab71eada3cfe679bc9c0ddc |
|
MD5 | 6ec2c7f7a00705d678d0f65b0dcddddd |
|
BLAKE2b-256 | 363fef97f3d12b67df6c3e1c848ace6c284e28d7a76c29a672a06a154331e16d |
Hashes for sabyenc3-5.4.3-cp310-cp310-manylinux_2_17_i686.manylinux2014_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f31993d769d2a77f1e21ac882993e18fa770ab4e4b0b383dd81d532e8c9c67c7 |
|
MD5 | b783abe1a6c42d34b25d47cabe8873c1 |
|
BLAKE2b-256 | 43f3f224b2a70e00fbb8b9f1d433ab5e99633cf94b6c8463a9aa4c04bd42b911 |
Hashes for sabyenc3-5.4.3-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 78590868098af61d97bc5c91f32dc937d4696fae8ef6645654bae3a814c4fc27 |
|
MD5 | 6284ac5fac4374daa92bcbae0b6934e8 |
|
BLAKE2b-256 | 8efd57df47f34101c43ed62271f3b197450ff050e0d970c31b55d1ec2bae040e |
Hashes for sabyenc3-5.4.3-cp310-cp310-macosx_10_9_universal2.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 93eec870a9938444adcd00f3d597722df0f85d6987f850da4570692058965fd2 |
|
MD5 | 85230954761a83f7c703d87e6f84e120 |
|
BLAKE2b-256 | 698345a5de657d2dc053bfc0acc40aed6c1cd64bdeb875a0be4e314cbaa5e286 |
Hashes for sabyenc3-5.4.3-cp39-cp39-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b3a7556d076ff33e890eef1a8f68ea88b71a0e31330368ccde3bcc8b500312c3 |
|
MD5 | 2020295ce705bf225cf2786260322956 |
|
BLAKE2b-256 | a093cfa351c747a2f1535dd512ea0b44b1a4ce3942eea087d0532e0bb7cad007 |
Hashes for sabyenc3-5.4.3-cp39-cp39-win32.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ef821f803484aebf514f915cb45f4593d44887f6262c2a5f0d53a33f49574c45 |
|
MD5 | 680558e2f01992d829693e630fabf1ff |
|
BLAKE2b-256 | bb62f56325014e109a6b0af6e679f6c6b73a6c6085a2811aa004f9cb31f43e65 |
Hashes for sabyenc3-5.4.3-cp39-cp39-musllinux_1_1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 86489d940b16d4a456a896832a495026646b858a5372ef61a2e30b32c24823ce |
|
MD5 | 050848d39520d0a2fe019cc3bc03470d |
|
BLAKE2b-256 | 77d74b8b30778d3cc99c58f2107bd5c91b53a5d639f54eac6cd0b7d8358a3dbc |
Hashes for sabyenc3-5.4.3-cp39-cp39-musllinux_1_1_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8e67124aaa114b97d7f68aebb1ad5b5eab077aa2f9abd362e7fa8874396602d1 |
|
MD5 | b1a6f0813b86ffda992d58d4bc6516ca |
|
BLAKE2b-256 | ff7b13ee6b555d8ca4a3a35797b81a3d55d852462227d5d53e47c6552244b3c5 |
Hashes for sabyenc3-5.4.3-cp39-cp39-musllinux_1_1_aarch64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b88adc812aea6d776b8744e5e1dc63e94d8c5dab3bf4e88ca7f8af566e5fdd68 |
|
MD5 | 7dcb060773b631fbb3676a72fc17cfb4 |
|
BLAKE2b-256 | f783d16e7341f8a25b8d5476746365fe09a3066000cb465d015f6650f21b09dd |
Hashes for sabyenc3-5.4.3-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7a0167a294e43a0ef2e4a93dc45206dde71a1115b054b5cb174f368bdecd3ce8 |
|
MD5 | 017c7f683f54220dc76b088386ed293d |
|
BLAKE2b-256 | d8f6f44a4ec971ad721bc884e3041061132ef20d62366cd984e7ec1e5eb73d28 |
Hashes for sabyenc3-5.4.3-cp39-cp39-manylinux_2_17_i686.manylinux2014_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b27427ddd11616481a54cd20ed83a6e42f40980c88da7b9b371b32f285f27d80 |
|
MD5 | c29c30b5166c0d46ef194f61609e6eb8 |
|
BLAKE2b-256 | 7124f1643085e7d940e57f09a0f30688d7a14e006896b295558d3c30844af27c |
Hashes for sabyenc3-5.4.3-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b6abbe3a4b0540bba226af53acdaea3c1eeed333486192c206424105d949b3f5 |
|
MD5 | 43b0fd5a950c993ff0f849e222f95e56 |
|
BLAKE2b-256 | b2791027b9a81348f1aee0184b4d49e5d3ee97381cbccee968fb4b0de0a508bf |
Hashes for sabyenc3-5.4.3-cp39-cp39-macosx_10_9_universal2.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a40d1ec8bb8d7b918ae8ecd64a156499c52415ba66881e5a6851a7bf007a8841 |
|
MD5 | 5d82ff819f330cee1e290cc119d68c8c |
|
BLAKE2b-256 | de213f7489dc6fe2b2d3e35e1937a4b527cc3d08e14f51864e50334a13bd8607 |
Hashes for sabyenc3-5.4.3-cp38-cp38-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 545926554dee3da47f6f5d6647d9f3fb29078ff8361b858cd9d2c61b4ef095fc |
|
MD5 | 41f81f12c88f3f3091a606ec772b2ed7 |
|
BLAKE2b-256 | b09f7376712c6e1c69e4919eb353172bab57f187d48b90fcc8724e3beb956857 |
Hashes for sabyenc3-5.4.3-cp38-cp38-win32.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c979191556924be8adcbe21f46533cee74f355408fd5af9cf5418dfed9002d78 |
|
MD5 | 8a148e895c89de1e1855614129529dc1 |
|
BLAKE2b-256 | 07f8423cf868bfd0a11bb00dd6e3c9300dcef83feac6aa9785824cf3d4974e43 |
Hashes for sabyenc3-5.4.3-cp38-cp38-musllinux_1_1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f1b69a48e26f25f1b2400b586e82096671113174bf27644bf43c48897fbaeb9f |
|
MD5 | 2c7e7ea67b0fc0460823f43e10a9a5ac |
|
BLAKE2b-256 | aeb1e50f80a0d2503ec671f9039fa005047a0ed861ef74f2e06a75c37488eb51 |
Hashes for sabyenc3-5.4.3-cp38-cp38-musllinux_1_1_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | fd8b9543816e3c4464fed94410c4b7b13a644cf1eeb47a1c7b0add71f2d2180b |
|
MD5 | 36599603c075c88b414abc47b7d32e40 |
|
BLAKE2b-256 | de5de201dc68ca439a964efb4b38c6feefba64a05e9cca97fc10f455b894845b |
Hashes for sabyenc3-5.4.3-cp38-cp38-musllinux_1_1_aarch64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c7d179de1f5f9804a16235ffae643cff7c8cd370bc1da97b123cc0676af35a4a |
|
MD5 | 194b97add8b73af53a5a91ec9f60cd4e |
|
BLAKE2b-256 | 5f38a314743db0dd944512c5f0d3053c927bbc8bba993762dc97c3025006ccb7 |
Hashes for sabyenc3-5.4.3-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6b84d5e39b09e4466568eef77c32cd962fd45f238e045df757cd7cc418012b68 |
|
MD5 | 99ff84b878c80a9e3dff8486df652756 |
|
BLAKE2b-256 | adc9cca4f8c9cacf988269c789dc934be5839ff8c707fc60bc389cd7f1f7c73a |
Hashes for sabyenc3-5.4.3-cp38-cp38-manylinux_2_17_i686.manylinux2014_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b20992ae4a070179904867cafbbf2d2a6e7609804d1fae05b701c4e4dfb94ed1 |
|
MD5 | f83b254633e55d25fed84e06787eb831 |
|
BLAKE2b-256 | 2090a2382832cf572e73484d526151b52dd0c09aa721d392ae81caabacd51310 |
Hashes for sabyenc3-5.4.3-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e9777adddaac1966fe235f153f753de47949c3432698996bf1aa1f4a9802166b |
|
MD5 | d7129ebc01871172f986c94119156e56 |
|
BLAKE2b-256 | ef58f32403ebcf55e03f8e92c0f1d09a4a79a52cf5fc6131bb15e690a13fd1b8 |
Hashes for sabyenc3-5.4.3-cp38-cp38-macosx_10_9_universal2.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 16a07f16fe8ee00b504a6a65e3888f46ff8b8470350537e03367a6b12ca1a10b |
|
MD5 | cb1d65aa2da6395fb93b4ff70376fa2a |
|
BLAKE2b-256 | 55f66e5a64da5fe18722ad52e3d6a4be9d9252aabe1f5f833178fb9b0fa9ae5c |
Hashes for sabyenc3-5.4.3-cp37-cp37m-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b844b69d4152402c4d2f1d3076d5a578b21afceac7bc8443abcf018f4e2194b8 |
|
MD5 | 2f92c3f74f18766fa332ddb83f4dd9de |
|
BLAKE2b-256 | d01b2dbf755f259c7ce23b3ef83f5cd1c727ade56acc807b1feb7db436951075 |
Hashes for sabyenc3-5.4.3-cp37-cp37m-win32.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2db990309cc50b0faf1f74aaac28477196f75ddfef832632a01f8b6aad8c053f |
|
MD5 | a703576e574d095132f9b8c9173196d0 |
|
BLAKE2b-256 | 3ce85c7f25b0d2dcd0bd1f792c9881d6ad7baf0b690bc5e06ae44db6b348371d |
Hashes for sabyenc3-5.4.3-cp37-cp37m-musllinux_1_1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6ddc40c115b128c2ec0a8dbf1895a6677637a165d7e3544b1b79680f4daf7875 |
|
MD5 | 1c18da4d5adf33eadb55719b32722159 |
|
BLAKE2b-256 | c719d34a7a65caffa9c3753da751a66ba61c6ecde57e920e9a697a11cbdf2a94 |
Hashes for sabyenc3-5.4.3-cp37-cp37m-musllinux_1_1_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c850f42d11fb8b3b46acc2b9f34b172a86204827451eb7887359b747bf3391f0 |
|
MD5 | 3fc0c21388841c1626c5eaaa03584421 |
|
BLAKE2b-256 | 349566b77e68fbcb3d8913548dd82fd56c9d689c479d650219ba2ee5ee95f8b8 |
Hashes for sabyenc3-5.4.3-cp37-cp37m-musllinux_1_1_aarch64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8384833feb938874f18537b8bc5d6fcb139999db8c46c423adadff3442429f11 |
|
MD5 | d063fb730dfadee767817d9c8677b6c1 |
|
BLAKE2b-256 | 2b47aae15738e717c89894581c09a3a7ec9d8b9af8b6f56625738d8955a0fc1d |
Hashes for sabyenc3-5.4.3-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 463ac41ab7624d9ce479a22bb912226d04c30386be6117ed39499c063613d901 |
|
MD5 | 4b7d8c66baec182a6b6121a0d6f94147 |
|
BLAKE2b-256 | da7cfe5cd0e9415c3ed978f3a4f8a64d8194f85ff91b0a9a538ad2b071712905 |
Hashes for sabyenc3-5.4.3-cp37-cp37m-manylinux_2_17_i686.manylinux2014_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5e24508062cc9f470fccc76f928039bb6750e7a3aa94b3faaaee83ff3730f582 |
|
MD5 | c3f3f97691571b1a3fe45a414d0663c2 |
|
BLAKE2b-256 | 80a7131977140c198004e7119216cf9b6915a42fbda585fcf9e7e6be1e7fb3a8 |
Hashes for sabyenc3-5.4.3-cp37-cp37m-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6744d897c5d0162b1e858a2e059c90624bef5fab303808341dadd87eb281f9ed |
|
MD5 | a3d26214073ec387c72b1402b077cec1 |
|
BLAKE2b-256 | a0e4f601cae433c5619119bcd3d1bb4a96420878c3a1316c3c47984b9307ae5b |