Current collected state Current
Observed since 20 Oct, 21:05 UTC
No superseded metadata states collected. Unchanged observations do not create new revisions.
A trie-like data structure that allows storing and searching data based on the longest matching prefix or suffix of a given string.
A trie-like data structure that allows storing and searching data based on the longest matching prefix or suffix of a given string.
pip install affix-tree
>>> from affix_tree import AffixTree
>>> prefix_tree: AffixTree[int] = AffixTree()
>>> prefix_tree.add('prefix', 1)
>>> prefix_tree.add('prefix-2', 2)
>>> prefix_tree.find('prefix-2-test')
2
>>> from affix_tree import AffixTree
>>> prefix_tree: AffixTree[int] = AffixTree(is_suffix_tree=True)
>>> prefix_tree.add('suffix', 1)
>>> prefix_tree.add('2-suffix', 2)
>>> prefix_tree.find('test-2-suffix')
2
Download counts and popularity will appear here as the collector receives them.
| Version | Published | Direct dependencies | Open version |
|---|---|---|---|
| 0.1.1 | 15 Feb 2025 | 0 |
This describes our collected data; it is not a security assessment.
Observed since 20 Oct, 21:05 UTC
No superseded metadata states collected. Unchanged observations do not create new revisions.
package:e0799b28bcefb064321d1b09d65411c24e87c1c89a8fdae45b45c9585e65953c