Skip to content
PyRank
  • Search
  • PyPI
  • GitHub
  • Insights
  • Compare
  • Advisories
  • Ecosystem
  • About

Trie Python Packages

Python packages with the GitHub topic trie. Sorted by monthly downloads, with stars and forks.
WojciechMula
pyahocorasick

Python module (C extension and plain python) implementing Aho-Corasick algorithm

7.2M 1K 147
pytries
marisa-trie

Static memory-efficient Trie-like structures for Python based on marisa-trie C++ library.

3.6M 1K 102
ddelange
retrie

Efficient Trie-based regex unions for blacklist/whitelist filtering and one-pass mapping-based string replacing

47K 78 5
sim0nx
pysubnettree-rs

Fast, memory-efficient longest-prefix-match lookups of IPv4/IPv6 subnets, written in Rust

34K 1 0
antigenomics
seqtree

Efficiently search and cluster highly similar short sequences

11K 0 0
rixwew
dartsclone

Darts-clone python binding

11K 20 12
cahya-wirawan
pyrwkv-tokenizer

A fast RWKV Tokenizer written in Rust

6K 55 5
orieg
expanse-trie

256-ary radix trie and Judy arrays in Rust — drop-in libjudy C ABI, MIT/Apache-2.0

6K 5 0
mesejo
trrex

Transform set of words to efficient regular expression

4K 147 8
nppoly
cyac

High performance Trie and Ahocorasick automata (AC automata) Keyword Match & Replace Tool for python. Correct case insensitive implementation!

3K 93 15
ifplusor
actrie

Aho-Corasick automation for large-scale multi-pattern matching. Available for C/C++, Python, and Java on Linux, macOS, and Windows.

3K 14 5
austinv11
prefixtrie

This is a high-performance implementation of a Prefix Trie to perform efficient fuzzy string matches.

3K 1 0
cahya-wirawan
rwkv-tokenizer

RWKV Tokenizer

2K 55 5
kmike
marisa-trie-m

Static memory-efficient Trie-like structures for Python based on marisa-trie C++ library.

2K 1K 102
NLPOptimize
flash-tokenizer

EFFICIENT AND OPTIMIZED TOKENIZER ENGINE FOR LLM INFERENCE SERVING

2K 457 11
andrey-savov
savov-compact-tree

Compact tree representation in storage implemented in Python3 and C

1K 0 0
Anwarvic
extra-collections

extra-collections (or extra for short) is a python3 package that provides a pythonic, intuitive, and easy implementation of the most common data structures used in software projects.

969 48 9
aosingh
lexpy

Python package for lexicon

752 56 7
chinnichaitanya
spellwise

🚀 Extremely fast spelling checker and suggester in Python!

692 33 9
JerilynFranz
gen-tries

Generalized trie implementation

659 0 0
vltr
xrtr

A Radix Tree based router for HTTP and other routing needs with support for middlewares and endpoints with a Cython boost

448 15 0
WojciechMula
nogil-pyahocorasick

pyahocorasick is a fast and memory efficient library for exact or approximate multi-pattern string search. With the ``ahocorasick.Automaton`` class, you can find multiple key string occurrences at once in some input text. You can use it as a plain dict-like Trie or convert a Trie to an automaton for efficient Aho-Corasick search. And pickle to disk for easy reuse of large automatons. Implemented in C and tested on Python 3.6+. Works on Linux, macOS and Windows. BSD-3-Cause license.

418 1K 147
nitely
kua

Lightning fast URL routing.

328 23 8
ikegami-yukino
medie

MeCab's Double-Array trie reader

327 0 0
    • Original data from PyPI, GitHub, and OSV; downloads served through ClickHouse
    • Sources & methodology