Skip to main content

No project description provided

Project description

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.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pybwt-0.1.2.tar.gz (3.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pybwt-0.1.2-py3-none-any.whl (3.9 kB view details)

Uploaded Python 3

File details

Details for the file pybwt-0.1.2.tar.gz.

File metadata

  • Download URL: pybwt-0.1.2.tar.gz
  • Upload date:
  • Size: 3.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.10.12

File hashes

Hashes for pybwt-0.1.2.tar.gz
Algorithm Hash digest
SHA256 d63c74747332736d9cd662e48fe1b8ef19e1c19f0f6f691b684273b35c7648a8
MD5 e578b736a0753863bab7cbac79cf31ae
BLAKE2b-256 2e839b1d5cc78acb34b8d746ef62ffa761c825d3aa00f5a2eec67ce1c7025d8d

See more details on using hashes here.

File details

Details for the file pybwt-0.1.2-py3-none-any.whl.

File metadata

  • Download URL: pybwt-0.1.2-py3-none-any.whl
  • Upload date:
  • Size: 3.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.10.12

File hashes

Hashes for pybwt-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 555f230a764299f4aa26a2a6941562ebd983e4cf9f445c7f7abce0eb1ccb19fd
MD5 8e129c521e58149fa1bf3531ab4f7d80
BLAKE2b-256 971c520e6577d01c0dee412edb457f427e1c7956924f151a2088bab7ec9edccb

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page