gsakkis / pytrie

Other
23 stars 6 forks source link

pytrie

pytrie is a a pure Python 3 implementation of the trie data structure.

A trie is an ordered tree data structure that is used to store a mapping where the keys are sequences, usually strings over an alphabet. In addition to implementing the mapping interface, tries allow finding the items for a given prefix, and vice versa, finding the items whose keys are prefixes of a given key.

To install run:

pip install pytrie

Documentation is available at Read the Docs.

Changelog

0.4.0

0.3.1

0.3

0.2

0.1