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()
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
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
Metadata
Release files for python-sonic-client 0.0.8
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| python-sonic-client-0.0.8.tar.gz | 4.3 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| python_sonic_client-0.0.8-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 8.7 kB
Release files / python-sonic-client-0.0.8.tar.gz
| Download URL | python-sonic-client-0.0.8.tar.gz |
|---|---|
| Size | 4.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
caa19ec59a7bffd573e92b1c27ec742fa0270406e65eabf3fc53e62e223515ac
|
|
BLAKE2b-256 checksum How to use checksums |
ba4958834685f5fa3d10c40cfbecccde6854c0034c7d853bcd5b0c76e70c6a7d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is 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
|
Release files / python_sonic_client-0.0.8-py3-none-any.whl
| Download URL | python_sonic_client-0.0.8-py3-none-any.whl |
|---|---|
| Size | 4.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
f91c690684ae982802a63459cf6395a9945bde0e0da043a53d8420642940e758
|
|
BLAKE2b-256 checksum How to use checksums |
f31bcf3f0d77b6faede8f4418b0110daa8b63f1c9487491d5d457aee206bef78
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is 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
|