Skip to main content

Python client for Sonic Search DB

Project description


pysonic is a Python client for lightweight and fast search engine - Sonic


Use the package manager pip to install foobar.

pip install python-sonic-client --upgrade


import pysonic

c = pysonic.Client()
with c.mode(pysonic.Mode.INGEST) as ingestor:
    resp =

with c.mode(pysonic.Mode.SEARCH) as searcher:
    resp =

TODO 0.1.0

  • Ingest commands: POP, COUNT, FLUSHC, FLUSHB, FLUSHO
  • Implement queue, auto reconnect socket
  • Support escape characters
  • Support Control mode
  • Support push a bulk by parallel sockets
  • Support LANG
  • Add tags: testcov, version, build
  • Update tests


Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

Please make sure to update tests as appropriate.



Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

python-sonic-client-0.0.8.tar.gz (4.3 kB view hashes)

Uploaded source

Built Distribution

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page