sqltrie
SQL-based prefix tree inspired by pygtrie and python-diskcache
Decision gist · record as of 2026-08-14
No. The package is in early planning, dormant since 2023-12-22, lacks any published documentation or feature examples, and carries no maintenance signal. While install friction is low and the license is permissive, the absence of a working feature list, active development, or user guidance makes it unsuitable for production use. Consider only if you are willing to debug and maintain the code yourself.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires Python >= 3.8; the package is in early development (Development Status :: 1 - Planning) so API stability is not guaranteed.
- Low install friction with only three runtime dependencies (attrs, orjson, pygtrie).
- However, the project is dormant—last commit was 2023-12-22 and no updates in 541 days—so maintenance support is minimal.
License · maintenance · safety
Apache-2.0 (permissive) — Licensed under Apache-2.0 (permissive), so you may use, modify, and distribute the package freely, including in commercial projects, provided you retain the license notice.
last release 2025-02-19 (541 days) · last repo commit 2023-12-22 · 1 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 1,957,865 downloads/mo, #3,408 on PyPI
Alternatives
Verify before relying
pip install sqltrie
import sqltrie
# Create and use a SQL-backed trie instance
# (specific API not documented in available materials)- What specific trie operations (insert, search, delete, prefix matching) does the API expose?
- What SQL backend(s) does it support (SQLite, PostgreSQL, etc.)?
- How does performance compare to in-memory tries or other SQL-backed data structures?
- Is the package actively maintained or seeking new maintainers?
What it is and what it does
SQLTrie is a Python library that implements a trie (prefix tree) data structure using SQL as its storage backend. It builds on ideas from pygtrie and python-diskcache, aiming to provide persistent, queryable prefix-tree functionality. The package depends on attrs, orjson, and pygtrie for its core operations.
The project is in early planning stages (Development Status :: 1 - Planning) and has been dormant since its last commit on 2023-12-22, with no documentation or feature list published. The published description contains only placeholder sections ('TODO'), so the actual API, performance characteristics, and use cases remain unclear from the available materials.
Use it for
- Store and query large prefix trees that need to persist across application restarts using a SQL database.
- Build autocomplete or search-as-you-type systems where trie data is backed by persistent storage.
- Implement IP routing tables or domain name hierarchies with SQL-queryable trie structures.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
No.
The package is in early planning, dormant since 2023-12-22, lacks any published documentation or feature examples, and carries no maintenance signal. While install friction is low and the license is permissive, the absence of a working feature list, active development, or user guidance makes it unsuitable for production use. Consider only if you are willing to debug and maintain the code yourself.
Install
sqltrie on PyPI
Before you install
Low install friction with only three runtime dependencies (attrs, orjson, pygtrie). However, the project is dormant—last commit was 2023-12-22 and no updates in 541 days—so maintenance support is minimal.
Requires Python >= 3.8; the package is in early development (Development Status :: 1 - Planning) so API stability is not guaranteed.
License in practice
Licensed under Apache-2.0 (permissive), so you may use, modify, and distribute the package freely, including in commercial projects, provided you retain the license notice.
Quickstart
pip install sqltrie
import sqltrie
# Create and use a SQL-backed trie instance
# (specific API not documented in available materials)
Verify before relying
- What specific trie operations (insert, search, delete, prefix matching) does the API expose?
- What SQL backend(s) does it support (SQLite, PostgreSQL, etc.)?
- How does performance compare to in-memory tries or other SQL-backed data structures?
- Is the package actively maintained or seeking new maintainers?
Package facts
| License | Apache-2.0 permissive |
| Python support | Supports the current Python release >=3.8 |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | 3 packagesattrsorjsonpygtrie |
| Maintenance | Dormant 541 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 1,957,865 / month, #3,408 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | Development Status :: 1 - PlanningProgramming Language :: Python :: 3Programming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Python :: 3.9 |
Evidence: sqltrie-0.11.2-py3-none-any.whl
Tags
Let your AI agent find packages like this
Example. Real query, live index.
You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.
wish › “prefix tree SQL storage”
- sqltrieSQLTrie implements a prefix tree (trie) data structure backed by SQL,…
- py-radixImplements a radix tree data structure for efficient storage and…
- PyTriePyTrie provides a pure Python 3 trie data structure for storing and…
Give your agent the search over MCP, or paste the wish link into any chat.
More Database packages
psycopg2-binary is a PostgreSQL database adapter for Python that implements the DB API 2.0 specification, enabling Python applications to connect to and query PostgreSQL databases with thread-safe concurrent operations.
Python client library for connecting to and executing commands against Redis key-value stores, supporting both synchronous and asynchronous operations.
Install it if your application needs to interact with Redis; the only prerequisite is a running Redis server instance.
YDB Python SDK is the official client library for connecting to and querying YDB databases from Python applications.
Install it if you need to connect Python applications to YDB databases.
Connects Python applications to Snowflake data warehouses using the DB API 2.0 specification, enabling SQL queries, data transfers, and warehouse operations.
sqlparse tokenizes SQL text into a tree of statements, clauses, and expressions, and provides functions to split scripts, format queries, and inspect parsed tokens without validating dialect or syntax.
Install it if you need to manipulate, format, or analyze SQL text programmatically.
Provides base adapter protocols and shared functionality that database adapters use to integrate with dbt-core, handling connections, dialect translation, relation caching, and core interface management.
See also pygtrie · trie · PyTrie · marisa-trie · dvc-data · cidr-trie · py-radix · retrie · sqlitedict · historydict