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.
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 | |
|---|---|---|---|
| pybwt-0.1.2.tar.gz | 3.4 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| pybwt-0.1.2-py3-none-any.whl | Python 3 | none | any | Details |
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
|