nixstrings
Linux/UNIX/*NIX strings command, in Cython
Over the years I've found many programs in digital forensics need this kind of functionality, some do it by piping strings with a subprocess, others use regexes, others implement a listcomp of their own.
Of those, usually the regex is the fastest, but it turns out you can actually go a bit faster with the help of C(ython).
This module has specialized functions that compile the comparisson of characters
values to get the results as fast as possible. On synthethic benchmarks, the
ascii_strings() function is almost 5x faster than the equivalent regex (that
would berx = re.compile(f'[{ascii_printables}]{{4,}}') and then
rx.findall(data)), but on real case scenarios it's usually just 2x faster
before I/O becomes the main bottleneck.
Release files for nixstrings 0.3.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| nixstrings-0.3.0.tar.gz | 28.7 kB | Details |
Built distributions (wheels)
Total release size: 343.4 kB
Release files / nixstrings-0.3.0.tar.gz
| Download URL | nixstrings-0.3.0.tar.gz |
|---|---|
| Size | 28.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
f5be266a0062f3a59bd742974489babfd7624cf41a46ccecac086256abf9b2c8
|
|
BLAKE2b-256 checksum How to use checksums |
2f286673228a9b809bb3876b090118534876a07860e99a250a9642f5f7fe14f0
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.7.15
|
Release files / nixstrings-0.3.0-py3.10-win-amd64.egg
| Download URL | nixstrings-0.3.0-py3.10-win-amd64.egg |
|---|---|
| Size | 14.1 kB |
| Tags | Egg |
|
SHA-256 checksum How to use checksums |
5ce1fe63a7f39b44fe715ca26e1328d294c8df34f2045599fc7cafaea9ec95b9
|
|
BLAKE2b-256 checksum How to use checksums |
8e1d721af9a7a96d8b378c6df3c58c0be3fc4b0423a90770c5f350d92a7d7ebd
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.10.8
|
Release files / nixstrings-0.3.0-py3.10-win32.egg
| Download URL | nixstrings-0.3.0-py3.10-win32.egg |
|---|---|
| Size | 13.0 kB |
| Tags | Egg |
|
SHA-256 checksum How to use checksums |
6d3606988a2719463e2644d634cdcf36849e11968f7705cb7deca14043bebde7
|
|
BLAKE2b-256 checksum How to use checksums |
9d50989c51206ef7c3429278c3799acba21750d7f4df4ebfc6a55dba88000956
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.10.8
|
Release files / nixstrings-0.3.0-py3.10-macosx-10.15-x86_64.egg
| Download URL | nixstrings-0.3.0-py3.10-macosx-10.15-x86_64.egg |
|---|---|
| Size | 12.3 kB |
| Tags | Egg |
|
SHA-256 checksum How to use checksums |
4c9e2f6e11f24feb6c87ba39b6cdcd63f4c7f27797e1be2c490b2f709663c2ec
|
|
BLAKE2b-256 checksum How to use checksums |
b4c7b4257d59e6355825aa99a8d33f284719a06d1197c706cfb2bd27a04fdc7a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.10.8
|
Release files / nixstrings-0.3.0-py3.9-win-amd64.egg
| Download URL | nixstrings-0.3.0-py3.9-win-amd64.egg |
|---|---|
| Size | 14.1 kB |
| Tags | Egg |
|
SHA-256 checksum How to use checksums |
eef5108ea9617144b544d2de3a1a62d3b77c2c4f483a0aff1ba591170e1cb807
|
|
BLAKE2b-256 checksum How to use checksums |
5a89e9abdd194888fca55b895cac76b740d4f43ce497e9e966861bb4034eb788
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.9.13
|
Release files / nixstrings-0.3.0-py3.9-win32.egg
| Download URL | nixstrings-0.3.0-py3.9-win32.egg |
|---|---|
| Size | 13.0 kB |
| Tags | Egg |
|
SHA-256 checksum How to use checksums |
deb27907b60c44c63e6420d9201f2d55132d9f3c7743f01a46c236eb5cd6824f
|
|
BLAKE2b-256 checksum How to use checksums |
10ccad2af355e6bb0ecc1318c44d3f285508ce205f91ad1223afc147244b8eb1
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.9.13
|
Release files / nixstrings-0.3.0-py3.9-macosx-10.15-x86_64.egg
| Download URL | nixstrings-0.3.0-py3.9-macosx-10.15-x86_64.egg |
|---|---|
| Size | 12.3 kB |
| Tags | Egg |
|
SHA-256 checksum How to use checksums |
2e4b3c357b5bb48cfd3cdac07c63cef8dfb5e931dfa042333f265f435e6990ef
|
|
BLAKE2b-256 checksum How to use checksums |
a2006d289b9a384f56af4aae9f2cc9bc2e5d450d31bd53011975f6318772839d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.9.14
|
Release files / nixstrings-0.3.0-py3.8-win-amd64.egg
| Download URL | nixstrings-0.3.0-py3.8-win-amd64.egg |
|---|---|
| Size | 14.1 kB |
| Tags | Egg |
|
SHA-256 checksum How to use checksums |
4f311457e2428bbd6005df4d84ae0e8f80dd17b328fd0896d7fe0abf1e0f0790
|
|
BLAKE2b-256 checksum How to use checksums |
56274e1b0e1aa539ea82f019f12abc0e589aca254f53d4c23cf7b7e008ef651d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.8.10
|
Release files / nixstrings-0.3.0-py3.8-win32.egg
| Download URL | nixstrings-0.3.0-py3.8-win32.egg |
|---|---|
| Size | 13.0 kB |
| Tags | Egg |
|
SHA-256 checksum How to use checksums |
2e18048835445bf6d865eeb8b27d78133bf5a898c5014d939f7c14fa2485191a
|
|
BLAKE2b-256 checksum How to use checksums |
2f8dd855dda487a969c1624bba46be0c25c91d526de716a70915daefee8007fc
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.8.10
|
Release files / nixstrings-0.3.0-py3.8-macosx-10.15-x86_64.egg
| Download URL | nixstrings-0.3.0-py3.8-macosx-10.15-x86_64.egg |
|---|---|
| Size | 12.3 kB |
| Tags | Egg |
|
SHA-256 checksum How to use checksums |
24e079b1eed4f25e7ff3fb046b6a1637d4ed269caa1a6117483e69a30e62854f
|
|
BLAKE2b-256 checksum How to use checksums |
83e3dbc22e38b84c41c528105e38b9d1c4b49366776023e690104b986e23d41c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.8.14
|
Release files / nixstrings-0.3.0-py3.7-win-amd64.egg
| Download URL | nixstrings-0.3.0-py3.7-win-amd64.egg |
|---|---|
| Size | 14.1 kB |
| Tags | Egg |
|
SHA-256 checksum How to use checksums |
bb289e3fc8227893625d6fb5c34d31779b8d57a46ccab9a428c949d0df13bb18
|
|
BLAKE2b-256 checksum How to use checksums |
2114adeac9d62a61b717c4962b650484fbaf719d3f873f9ae5e9724203a4f355
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.7.9
|
Release files / nixstrings-0.3.0-py3.7-win32.egg
| Download URL | nixstrings-0.3.0-py3.7-win32.egg |
|---|---|
| Size | 12.9 kB |
| Tags | Egg |
|
SHA-256 checksum How to use checksums |
92f5d925219200957be07ea65657941d7850fb977b979b11d2ef31f9611e20b2
|
|
BLAKE2b-256 checksum How to use checksums |
496be91acc9d936ede504d3d2a3dfafdf671162ac93fbdca4132ffc2e3ae8d60
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.7.9
|
Release files / nixstrings-0.3.0-py3.7-macosx-10.15-x86_64.egg
| Download URL | nixstrings-0.3.0-py3.7-macosx-10.15-x86_64.egg |
|---|---|
| Size | 12.2 kB |
| Tags | Egg |
|
SHA-256 checksum How to use checksums |
1be6f1d21903f068b71b216a73526bc4cf24fc20cd346c2083f66137bd964f95
|
|
BLAKE2b-256 checksum How to use checksums |
c53b4231c8b8624cab544e8d062ea992e53bf7ff8a3ccab0457b49ffb21ac09d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.7.15
|
Release files / nixstrings-0.3.0-cp310-cp310-win_amd64.whl
| Download URL | nixstrings-0.3.0-cp310-cp310-win_amd64.whl |
|---|---|
| Size | 14.1 kB |
| Tags | CPython 3.10 Windows x86-64 |
|
SHA-256 checksum How to use checksums |
5fab6433a5d81fa72a12f7da265f0047f30440b13828fc2d0dc244f104c730a8
|
|
BLAKE2b-256 checksum How to use checksums |
f040f61b562265683eafcaf9f248f02c5a6394704a62484abc6bf449ce85d8d4
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.10.8
|
Release files / nixstrings-0.3.0-cp310-cp310-win32.whl
| Download URL | nixstrings-0.3.0-cp310-cp310-win32.whl |
|---|---|
| Size | 13.0 kB |
| Tags | CPython 3.10 Windows x86-32 |
|
SHA-256 checksum How to use checksums |
8a7af33071dbb9038dfc0d0a839e441a50306268bdf732c5ee9817ebea540848
|
|
BLAKE2b-256 checksum How to use checksums |
14cd647e285d0e7aa9be4f3b9af1029ed4ad95c7ecc16a1bc7d77d1dfe7bd4d2
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.10.8
|
Release files / nixstrings-0.3.0-cp310-cp310-macosx_10_15_x86_64.whl
| Download URL | nixstrings-0.3.0-cp310-cp310-macosx_10_15_x86_64.whl |
|---|---|
| Size | 12.3 kB |
| Tags | CPython 3.10 macOS 10.15+ x86-64 |
|
SHA-256 checksum How to use checksums |
70d730281e1b55ea201aa1a06abc3acd66d61f02f149f7df705e804b4b7cbb08
|
|
BLAKE2b-256 checksum How to use checksums |
ca3a4e4dddc46210c67f4ce791651c557a3cdecc5870687aab59cbce90b08cac
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.10.8
|
Release files / nixstrings-0.3.0-cp39-cp39-win_amd64.whl
| Download URL | nixstrings-0.3.0-cp39-cp39-win_amd64.whl |
|---|---|
| Size | 14.1 kB |
| Tags | CPython 3.9 Windows x86-64 |
|
SHA-256 checksum How to use checksums |
90498a75ba9d99fef4b2c77c30c33e062c0ab30752ac32d131f119890496a8c1
|
|
BLAKE2b-256 checksum How to use checksums |
f1a9df4b0791cc110845dbe7485ffc4a4d12c772ec6e374147d5dd1c6a5ac2a0
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.9.13
|
Release files / nixstrings-0.3.0-cp39-cp39-win32.whl
| Download URL | nixstrings-0.3.0-cp39-cp39-win32.whl |
|---|---|
| Size | 13.0 kB |
| Tags | CPython 3.9 Windows x86-32 |
|
SHA-256 checksum How to use checksums |
9f286be0b7d2d27e0d4219add207828e8a0ca9a7ce188ccbd6ee06f86ed0bdcb
|
|
BLAKE2b-256 checksum How to use checksums |
1f8e27f5bc32c8f9744cc37ee67700198a006dd6cda46cf82ca4df490798b71e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.9.13
|
Release files / nixstrings-0.3.0-cp39-cp39-macosx_10_15_x86_64.whl
| Download URL | nixstrings-0.3.0-cp39-cp39-macosx_10_15_x86_64.whl |
|---|---|
| Size | 12.3 kB |
| Tags | CPython 3.9 macOS 10.15+ x86-64 |
|
SHA-256 checksum How to use checksums |
6a745325340a12779343317d14743b4ca94c728310d1260814430dab47e4f4a3
|
|
BLAKE2b-256 checksum How to use checksums |
8e3da46ef67d03ac34fb569e0153f30e08d45ed312da43a439834ba06c55f996
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.9.14
|
Release files / nixstrings-0.3.0-cp38-cp38-win_amd64.whl
| Download URL | nixstrings-0.3.0-cp38-cp38-win_amd64.whl |
|---|---|
| Size | 14.1 kB |
| Tags | CPython 3.8 Windows x86-64 |
|
SHA-256 checksum How to use checksums |
0b9a1561c579cc439f1593f7cc9d4f002be0b0e399da0fde7dfe9f056a15a20e
|
|
BLAKE2b-256 checksum How to use checksums |
349a4584309da4545f32cf8ff8d93ac1b2cdcd58e04fd92f809edfee66f1715c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.8.10
|
Release files / nixstrings-0.3.0-cp38-cp38-win32.whl
| Download URL | nixstrings-0.3.0-cp38-cp38-win32.whl |
|---|---|
| Size | 13.0 kB |
| Tags | CPython 3.8 Windows x86-32 |
|
SHA-256 checksum How to use checksums |
0bfe96589471fd37ab564c8b2da700732dc0246e12616ac5071138625a922e27
|
|
BLAKE2b-256 checksum How to use checksums |
85b835be3b9dba222d5d4f2c53cb69c1f024aec77172eff5cb6fc0494a8d4bd6
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.8.10
|
Release files / nixstrings-0.3.0-cp38-cp38-macosx_10_15_x86_64.whl
| Download URL | nixstrings-0.3.0-cp38-cp38-macosx_10_15_x86_64.whl |
|---|---|
| Size | 12.3 kB |
| Tags | CPython 3.8 macOS 10.15+ x86-64 |
|
SHA-256 checksum How to use checksums |
04722b96ac975719c2161117fdde2e081ca313cb60b70d63bd535a47d53ceea1
|
|
BLAKE2b-256 checksum How to use checksums |
749ead9b8de92f9553a69269b97f9f58313da1713dd58d3e857a3753d9d5e834
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.8.14
|
Release files / nixstrings-0.3.0-cp37-cp37m-win_amd64.whl
| Download URL | nixstrings-0.3.0-cp37-cp37m-win_amd64.whl |
|---|---|
| Size | 14.1 kB |
| Tags | CPython 3.7 CPython 3.7 pymalloc Windows x86-64 |
|
SHA-256 checksum How to use checksums |
c06518434501d0ee86fd5ee0a564bdfc89f9897e8683f257b561be9ee71d7bb1
|
|
BLAKE2b-256 checksum How to use checksums |
7ba921c8f153539b92c531114ab56e14e963f41bf771bf9c9ce406a067006202
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.7.9
|
Release files / nixstrings-0.3.0-cp37-cp37m-win32.whl
| Download URL | nixstrings-0.3.0-cp37-cp37m-win32.whl |
|---|---|
| Size | 12.9 kB |
| Tags | CPython 3.7 CPython 3.7 pymalloc Windows x86-32 |
|
SHA-256 checksum How to use checksums |
16bedf6f2b7f03b4754c6ae885005db83f2ba4c4e1c2d10c8080ae0fab250a7f
|
|
BLAKE2b-256 checksum How to use checksums |
8edc9289dd9ddf6288be8f5a9c25b53f3eeeac31c973debc216e69589018ec11
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.7.9
|
Release files / nixstrings-0.3.0-cp37-cp37m-macosx_10_15_x86_64.whl
| Download URL | nixstrings-0.3.0-cp37-cp37m-macosx_10_15_x86_64.whl |
|---|---|
| Size | 12.3 kB |
| Tags | CPython 3.7 CPython 3.7 pymalloc macOS 10.15+ x86-64 |
|
SHA-256 checksum How to use checksums |
e426d58c8c2c7bf1b9f77d443ca59d310a9c834f6c10d961d32553913ff00b6f
|
|
BLAKE2b-256 checksum How to use checksums |
27ca35aa1be23b2e12a04941849fa6f5312780eeaaa0abb33bbbc253e7b90fe8
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.7.15
|