sonic-client
python client for sonic search backend
Decision gist · record as of 2026-08-14
Yes, with conditions. Install if you are already committed to Sonic as your search backend and need a synchronous Python client for a gevent-based application. The low install friction and permissive license are advantages. However, the abandoned maintenance status means you should expect no updates for Python version compatibility or Sonic protocol changes, and you may need to fork or patch the code yourself if issues arise. Not recommended for new projects unless you have a specific gevent requirement and are willing to maintain the integration yourself.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires a running Sonic search backend server accessible at the specified host and port.
- Low install friction with no runtime dependencies.
- Maintenance is abandoned—last commit was 2021-04-27 and no updates for over 1170 days—so expect no bug fixes or compatibility updates for newer Python or Sonic versions.
License · maintenance · safety
BSD 3-Clause License (permissive) — Licensed under BSD 3-Clause License with permissive treatment, allowing commercial and private use with minimal restrictions.
last release 2023-06-01 (1170 days) · last repo commit 2021-04-27 · 61 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 123,864 downloads/mo, #11,894 on PyPI
Alternatives
Verify before relying
pip install sonic-client
from sonic import SearchClient
with SearchClient("127.0.0.1", 1491, "password") as querycl:
results = querycl.query("wiki", "articles", "search_term")- Whether the package works with current Python versions (3.10+) given its abandoned status.
- Compatibility with recent Sonic backend versions and protocol changes.
- Whether gevent integration mentioned in the description is actively maintained or documented.
What it is and what it does
sonic-client is a synchronous Python wrapper around the Sonic search backend protocol. It provides three main client classes—IngestClient for adding searchable content, SearchClient for querying, and ControlClient for administrative operations—all communicating via TCP with a remote Sonic server. The library was designed to work within gevent contexts as an alternative to async-based clients.
The package has no external runtime dependencies, making installation straightforward. However, it is in abandoned maintenance: the last commit was in April 2021, over 1170 days ago, and the codebase is marked as Alpha. While it remains available and has modest download volume, it will not receive updates for Python compatibility issues, Sonic protocol changes, or bug fixes.
Use it for
- Index and search documents in a Sonic backend from a Python application without async overhead.
- Build a synchronous search layer on top of Sonic for gevent-based applications.
- Perform bulk ingestion of searchable content into Sonic collections and buckets.
- Query Sonic indices and retrieve search results programmatically in a blocking context.
- Trigger administrative operations like consolidation on a remote Sonic instance.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes, with conditions.
Install if you are already committed to Sonic as your search backend and need a synchronous Python client for a gevent-based application. The low install friction and permissive license are advantages. However, the abandoned maintenance status means you should expect no updates for Python version compatibility or Sonic protocol changes, and you may need to fork or patch the code yourself if issues arise. Not recommended for new projects unless you have a specific gevent requirement and are willing to maintain the integration yourself.
Install
sonic-client on PyPI
Before you install
Low install friction with no runtime dependencies. Maintenance is abandoned—last commit was 2021-04-27 and no updates for over 1170 days—so expect no bug fixes or compatibility updates for newer Python or Sonic versions.
Requires a running Sonic search backend server accessible at the specified host and port.
License in practice
Licensed under BSD 3-Clause License with permissive treatment, allowing commercial and private use with minimal restrictions.
Quickstart
pip install sonic-client
from sonic import SearchClient
with SearchClient("127.0.0.1", 1491, "password") as querycl:
results = querycl.query("wiki", "articles", "search_term")
Verify before relying
- Whether the package works with current Python versions (3.10+) given its abandoned status.
- Compatibility with recent Sonic backend versions and protocol changes.
- Whether gevent integration mentioned in the description is actively maintained or documented.
Package facts
| License | BSD 3-Clause License permissive |
| Python support | Not specified |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | None |
| Maintenance | Abandoned 1,170 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 123,864 / month, #11,894 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | Development Status :: 3 - AlphaEnvironment :: ConsoleIntended Audience :: DevelopersLicense :: OSI Approved :: Apache Software LicenseOperating System :: OS IndependentProgramming Language :: Python |
Evidence: sonic_client-1.0.0-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 › “sonic search backend client”
- sonic-clientPython client library for the Sonic search backend, providing ingest,…
- cartesiaCartesia is the official Python client library for the Cartesia REST…
- livekit-plugins-awsIntegrates Amazon AWS AI services (Bedrock, Polly, Transcribe, Nova)…
Give your agent the search over MCP, or paste the wish link into any chat.
More Front-Ends packages
SQLAlchemy is a Python SQL toolkit and Object Relational Mapper (ORM) that provides both a high-level ORM layer for declarative object persistence and a Core SQL construction system for direct database abstraction and query building.
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.
Alembic generates and manages database schema migrations for SQLAlchemy applications, handling version control of database structure changes with support for upgrades, downgrades, and auto-generation from model changes.
Install it if you use SQLAlchemy and need to version-control schema changes; skip it only if you manage migrations manually or use a different ORM entirely.
A Python client library for connecting to and querying Weaviate, a vector database that enables semantic search and AI-powered data retrieval.
A Python client library that connects to Databricks clusters and SQL warehouses using a Thrift-based protocol, conforming to the Python DB API 2.0 specification and supporting Arrow-based data exchange.
Install it if you need to query Databricks clusters or SQL warehouses from Python.
Psycopg 3 is a PostgreSQL database adapter for Python that enables applications to connect to, query, and manage PostgreSQL databases using Python code.
Install it if you need to connect Python to PostgreSQL.
See also azure-kusto-ingest · ingestr · openmeter · signalfx · algoliasearch · humiolib · tinybird-python-sdk · azure-search-documents · unstructured-ingest · openmetadata-ingestion