Python client for Sonic Search DB
Project description
pysonic
pysonic is a Python client for lightweight and fast search engine - Sonic
Installation
Use the package manager pip to install foobar.
pip install python-sonic-client --upgrade
Usage
import pysonic
c = pysonic.Client()
with c.mode(pysonic.Mode.INGEST) as ingestor:
resp = ingestor.ping()
with c.mode(pysonic.Mode.SEARCH) as searcher:
resp = searcher.ping()
Contributing
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.
License
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
Built Distribution
File details
Details for the file python-sonic-client-0.0.2.tar.gz
.
File metadata
- Download URL: python-sonic-client-0.0.2.tar.gz
- Upload date:
- Size: 3.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.0.0 requests-toolbelt/0.9.1 tqdm/4.44.1 CPython/3.8.1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8d66d9bef55c31584fa6b8d2e1408ef74ceb4e3e72b7f5c3fa54bdf2121b2de8 |
|
MD5 | 5d8a56e989729f4f7b746a65c0b8a775 |
|
BLAKE2b-256 | 2c1adcaa0c3fff8e646bed0e3b39f4ebf43a055b10fe2d60e5d53b9f3a31302c |
File details
Details for the file python_sonic_client-0.0.2-py3-none-any.whl
.
File metadata
- Download URL: python_sonic_client-0.0.2-py3-none-any.whl
- Upload date:
- Size: 3.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.0.0 requests-toolbelt/0.9.1 tqdm/4.44.1 CPython/3.8.1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5ce763a93d3e6e6e8af25d491d10d7f1c6ae04ff940718f3c7fed49d8ca4dca3 |
|
MD5 | 7f1682f8bfab49ea11f815768edbb021 |
|
BLAKE2b-256 | a97426a65fe81048d836aadf786a086013dfa8446d1bc31469d07edd9125edf4 |