PyBWT: A Burrows-Wheeler Transform Tool
PyBWT is a Python implementation of the Burrows-Wheeler Transform (BWT) for efficient text compression and pattern searching. It supports:
- Constructing the BWT of a given text.
- Reversing the BWT to recover an original text.
- Efficient occurrence counting using the FM-index (Backward Search).
📌 Features
✅ Compute the Burrows-Wheeler Transform (BWT) of a string.
✅ Invert the BWT to recover the original text.
✅ Search for substrings efficiently without reconstructing the original text.
✅ Uses suffix arrays and LF-mapping for fast operations.
🔧 Installation
Install the tool in a Python environment using the pip package-management system:
pip install pybwt
Import the tool into your file by
import pybwt
and start using!
⌨️ User Guide/Documentation
The tool is relatively simple at the moment and functions largely through the BWT_Container class. For a simple example, please visit the project's git repo. Additional documentation will be created shortly.
Metadata
Release files for pybwt 0.1.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| pybwt-0.1.2.tar.gz | 3.4 kB | Without provenance | Details for pybwt-0.1.2.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| pybwt-0.1.2-py3-none-any.whl | Python 3 | none | any | Details for pybwt-0.1.2-py3-none-any.whl |
Total release size: 7.3 kB
Release files / pybwt-0.1.2.tar.gz
| Download URL | pybwt-0.1.2.tar.gz |
|---|---|
| Size | 3.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
d63c74747332736d9cd662e48fe1b8ef19e1c19f0f6f691b684273b35c7648a8
|
|
BLAKE2b-256 checksum How to use checksums |
2e839b1d5cc78acb34b8d746ef62ffa761c825d3aa00f5a2eec67ce1c7025d8d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.10.12
|
Release files / pybwt-0.1.2-py3-none-any.whl
| Download URL | pybwt-0.1.2-py3-none-any.whl |
|---|---|
| Size | 3.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
555f230a764299f4aa26a2a6941562ebd983e4cf9f445c7f7abce0eb1ccb19fd
|
|
BLAKE2b-256 checksum How to use checksums |
971c520e6577d01c0dee412edb457f427e1c7956924f151a2088bab7ec9edccb
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.10.12
|
Security for pybwt 0.1.2
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.