🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
DemoInstallSign in
Socket

SynapseTrie

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

SynapseTrie

Efficient trie for storing and searching phrases.

0.3
PyPI
Maintainers
1

Synapse Trie

Synapse Trie is a Python package for efficiently storing and searching phrases using a trie data structure, with additional features like weights, text filtering, and more.

Installation

Install directly using pip:

pip install git+https://github.com/J0nasW/SynapseTrie.git

Usage

from SynapseTrie import SynapseTrie

trie = SynapseTrie()

trie.add("hello")

print(trie.search("hello")) # True

FAQs

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts