Skip to main content

divsufsort-python

Python bindings for libdivsufsort.

Getting Started

Install from pip.

pip install divsufsort

Import the module and call its divsufsort function.

>>> from divsufsort import divsufsort
>>> divsufsort(b'The quick brown fox jumps over the lazy dog')
(9, 39, 15, 19, 34, 25, 3, 30, 0, 36, 10, 7, 40, 33, 2, 28, 16, 42, 32, 1, 6,
20, 8, 35, 22, 14, 41, 26, 12, 17, 23, 4, 29, 11, 24, 31, 5, 21, 27, 13, 18,
38, 37)

The function receives a bytes-like object, b, and returns the corresponding suffix-array, that is a tuple of integers r such that len(r) == len(b) and b[r[i]:] < b[r[i+1]:] for all i.

Metadata

Release files for divsufsort 1.0.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for divsufsort 1.0.1
File Size Uploaded
divsufsort-1.0.1.tar.gz 15.5 kB Details

Built distributions (wheels)

Table of built distributions (wheels) for divsufsort 1.0.1
File
divsufsort-1.0.1-cp39-cp39-win_amd64.whl CPython 3.9 CPython 3.9 Windows x86-64 Details
divsufsort-1.0.1-cp39-cp39-win32.whl CPython 3.9 CPython 3.9 Windows x86-32 Details
divsufsort-1.0.1-cp38-cp38-win_amd64.whl CPython 3.8 CPython 3.8 Windows x86-64 Details
divsufsort-1.0.1-cp38-cp38-win32.whl CPython 3.8 CPython 3.8 Windows x86-32 Details
divsufsort-1.0.1-cp37-cp37m-win_amd64.whl CPython 3.7 CPython 3.7 pymalloc Windows x86-64 Details
divsufsort-1.0.1-cp37-cp37m-win32.whl CPython 3.7 CPython 3.7 pymalloc Windows x86-32 Details
divsufsort-1.0.1-cp36-cp36m-win_amd64.whl CPython 3.6 CPython 3.6 pymalloc Windows x86-64 Details
divsufsort-1.0.1-cp36-cp36m-win32.whl CPython 3.6 CPython 3.6 pymalloc Windows x86-32 Details

Total release size: 186.8 kB

Release files / divsufsort-1.0.1.tar.gz

Download URL divsufsort-1.0.1.tar.gz
Size 15.5 kB
Tags Source
SHA-256 checksum
How to use checksums
3174a103486b39a482867d377ff5e9308652b321fa4cf975d8bafda8c088ad94
BLAKE2b-256 checksum
How to use checksums
ee795438a25f607163b5a7be29468f6822dadc00cd9f4d0a481fe6b8006410c2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.4.1 importlib_metadata/4.6.1 pkginfo/1.7.1 requests/2.24.0 requests-toolbelt/0.9.1 tqdm/4.61.2 CPython/3.9.2

Release files / divsufsort-1.0.1-cp39-cp39-win_amd64.whl

Download URL divsufsort-1.0.1-cp39-cp39-win_amd64.whl
Size 22.8 kB
Tags CPython 3.9 Windows x86-64
SHA-256 checksum
How to use checksums
a9c89d37dd1e7808a1ea5d9ca07ad5a18587094351191365d28af78d203e2a1b
BLAKE2b-256 checksum
How to use checksums
3d252a41477c28e87cb6141c74d34351387f4812a23406a3b7cddfdd3f110214
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.4.1 importlib_metadata/4.6.1 pkginfo/1.7.1 requests/2.24.0 requests-toolbelt/0.9.1 tqdm/4.61.2 CPython/3.9.2

Release files / divsufsort-1.0.1-cp39-cp39-win32.whl

Download URL divsufsort-1.0.1-cp39-cp39-win32.whl
Size 20.0 kB
Tags CPython 3.9 Windows x86-32
SHA-256 checksum
How to use checksums
7476ba37dd011bcb847e8038e4c997a800d0dffba9842b034ddce3d5ed56367c
BLAKE2b-256 checksum
How to use checksums
6595914d737cbed64382866771bd1992f6de5e4dd20c4f07eaaa536764428b06
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.4.1 importlib_metadata/4.6.1 pkginfo/1.7.1 requests/2.24.0 requests-toolbelt/0.9.1 tqdm/4.61.2 CPython/3.9.2

Release files / divsufsort-1.0.1-cp38-cp38-win_amd64.whl

Download URL divsufsort-1.0.1-cp38-cp38-win_amd64.whl
Size 22.8 kB
Tags CPython 3.8 Windows x86-64
SHA-256 checksum
How to use checksums
02de2dc346e727cb28a6ebb4bb1fc5e7ef61049c32caf74677b76fa854df4379
BLAKE2b-256 checksum
How to use checksums
2145d4d86e21f0ee82364e6f06e51f59d5f423473cf7bd58c80466d98de2b290
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.4.1 importlib_metadata/4.6.1 pkginfo/1.7.1 requests/2.24.0 requests-toolbelt/0.9.1 tqdm/4.61.2 CPython/3.9.2

Release files / divsufsort-1.0.1-cp38-cp38-win32.whl

Download URL divsufsort-1.0.1-cp38-cp38-win32.whl
Size 20.1 kB
Tags CPython 3.8 Windows x86-32
SHA-256 checksum
How to use checksums
9414c23ed1ac2ebdff89060ffb14005f2af0bca20c69f71b9d61d74042c46d9a
BLAKE2b-256 checksum
How to use checksums
31d366c7a6945ebfa7bc711ff00ee5403d2e07759c5b26a1a02c3654c8f2df6b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.4.1 importlib_metadata/4.6.1 pkginfo/1.7.1 requests/2.24.0 requests-toolbelt/0.9.1 tqdm/4.61.2 CPython/3.9.2

Release files / divsufsort-1.0.1-cp37-cp37m-win_amd64.whl

Download URL divsufsort-1.0.1-cp37-cp37m-win_amd64.whl
Size 22.8 kB
Tags CPython 3.7 CPython 3.7 pymalloc Windows x86-64
SHA-256 checksum
How to use checksums
80d58ad18a1aa1f044f03101184de1d6ca98721ab170b7b7c8141c7cec423e0b
BLAKE2b-256 checksum
How to use checksums
fff6d4b4b15a244abe70ef2361268030cc4dbbd778f9847f6d7c88a1908c762b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.4.1 importlib_metadata/4.6.1 pkginfo/1.7.1 requests/2.24.0 requests-toolbelt/0.9.1 tqdm/4.61.2 CPython/3.9.2

Release files / divsufsort-1.0.1-cp37-cp37m-win32.whl

Download URL divsufsort-1.0.1-cp37-cp37m-win32.whl
Size 20.0 kB
Tags CPython 3.7 CPython 3.7 pymalloc Windows x86-32
SHA-256 checksum
How to use checksums
165fa17bd5529015f24090f64b08346bd07e9386a7a8aac48bade225597a896c
BLAKE2b-256 checksum
How to use checksums
11af11d9d74c9806d2c91af6941f29b6b618bc473db638b52a599afef3094827
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.4.1 importlib_metadata/4.6.1 pkginfo/1.7.1 requests/2.24.0 requests-toolbelt/0.9.1 tqdm/4.61.2 CPython/3.9.2

Release files / divsufsort-1.0.1-cp36-cp36m-win_amd64.whl

Download URL divsufsort-1.0.1-cp36-cp36m-win_amd64.whl
Size 22.8 kB
Tags CPython 3.6 CPython 3.6 pymalloc Windows x86-64
SHA-256 checksum
How to use checksums
b00f155d9537b0c3f6027a43ce3b40a3db8759da3155109eefd1ac3f834e6d3c
BLAKE2b-256 checksum
How to use checksums
8d54d0c86e0665773a10b8c077300cbd6762c3c2be54530761fb9d699a884f27
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.4.1 importlib_metadata/4.6.1 pkginfo/1.7.1 requests/2.24.0 requests-toolbelt/0.9.1 tqdm/4.61.2 CPython/3.9.2

Release files / divsufsort-1.0.1-cp36-cp36m-win32.whl

Download URL divsufsort-1.0.1-cp36-cp36m-win32.whl
Size 20.0 kB
Tags CPython 3.6 CPython 3.6 pymalloc Windows x86-32
SHA-256 checksum
How to use checksums
5c5966a6e181df3dc41ed5029d3e4579fea173b68aa9ada351cb4d46a43bdc18
BLAKE2b-256 checksum
How to use checksums
8ea529fb7cc3857f76768f35207ab874e5e697a743c11e28d0f19fc445ca291e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.4.1 importlib_metadata/4.6.1 pkginfo/1.7.1 requests/2.24.0 requests-toolbelt/0.9.1 tqdm/4.61.2 CPython/3.9.2

Release history Release notifications | RSS feed

This release

1.0.1 This release

9 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page