| 1 |
Metadata-Version: 1.1 |
| 2 |
Name: PyTrie |
| 3 |
Version: 0.4.0 |
| 4 |
Summary: A pure Python implementation of the trie data structure. |
| 5 |
Home-page: https://github.com/gsakkis/pytrie/ |
| 6 |
Author: George Sakkis |
| 7 |
Author-email: [email protected] |
| 8 |
License: UNKNOWN |
| 9 |
Description: # pytrie |
| 10 |
|
| 11 |
`pytrie` is a a pure Python 3 implementation of the trie data structure. |
| 12 |
|
| 13 |
A _trie_ is an ordered tree data structure that is used to store a mapping |
| 14 |
where the keys are sequences, usually strings over an alphabet. In addition to |
| 15 |
implementing the mapping interface, tries allow finding the items for a given |
| 16 |
prefix, and vice versa, finding the items whose keys are prefixes of a given key. |
| 17 |
|
| 18 |
To install run: |
| 19 |
|
| 20 |
pip install pytrie |
| 21 |
|
| 22 |
Documentation is available at [Read the Docs](https://pytrie.readthedocs.io/). |
| 23 |
|
| 24 |
## Changelog |
| 25 |
|
| 26 |
### 0.4.0 |
| 27 |
|
| 28 |
* Drop Python 2 support |
| 29 |
|
| 30 |
### 0.3.1 |
| 31 |
|
| 32 |
* Fixed iteritems/itervalues for SortedDicts in Python 2.7. |
| 33 |
|
| 34 |
### 0.3 |
| 35 |
|
| 36 |
* Fixed bug for tries with zero-length keys. |
| 37 |
* Added `__bool__` (`__nonzero__`) and `__cmp__` methods to `Trie`. |
| 38 |
* Added `sortedcontainers` dependency. |
| 39 |
* Linting. |
| 40 |
* Converted from Mercurial to Git. |
| 41 |
|
| 42 |
### 0.2 |
| 43 |
|
| 44 |
* Initial Python 3 support (thanks Dmitrijs Milajevs) |
| 45 |
|
| 46 |
### 0.1 |
| 47 |
|
| 48 |
* Initial release |
| 49 |
|
| 50 |
Platform: UNKNOWN |
| 51 |
Classifier: Development Status :: 4 - Beta |
| 52 |
Classifier: Intended Audience :: Developers |
| 53 |
Classifier: License :: OSI Approved :: BSD License |
| 54 |
Classifier: Operating System :: OS Independent |
| 55 |
Classifier: Programming Language :: Python :: 3 |
| 56 |
Classifier: Topic :: Software Development :: Libraries :: Python Modules |