Skip to content

Latest commit

 

History

History
45 lines (28 loc) · 643 Bytes

index.rst

File metadata and controls

45 lines (28 loc) · 643 Bytes

pygtrie

.. automodule:: pygtrie

Installation

To install pygtrie, simply run:

pip install pygtrie

or by adding line such as:

pygtrie == 2.*

to project’s requirements file.

Trie classes

.. autoclass:: pygtrie.Trie
   :members:

.. autoclass:: pygtrie.CharTrie
   :members:

.. autoclass:: pygtrie.StringTrie
   :members:


PrefixSet class

.. autoclass:: pygtrie.PrefixSet
   :members:

Custom exceptions

.. autoclass:: pygtrie.ShortKeyError
   :members: