Pygeist client package
Project description
Pygeist Client
Pygeist Client is a Python module that abstracts the application layer protocol Zeitgeist implementation on the client side.
Protocol
See here to look into the core implementation of the protocol.
.
├── core -> zeitgeist_core
├── adapters
├── pygeist_client
└── tests
Installation
This package is available for pip:
pip install pygeist_client
Usage example
Can be used in a context-managed way:
from pygeist_client import PygeistClient
async with PygeistClient() as client:
await client.link('https://example.org', 8000)
response = await client.get('/')
or in a manual explicit way:
from pygeist_client import PygeistClient
client = PygeistClient()
await client.link('https://example.org', 8000)
response = await client.get('/')
await client.unlink()
Server messages:
from pygeist_client import PygeistClient
async with PygeistClient() as client:
await client.link('https://example.org', 8000)
message = await client.pop_msg(timeout=3)
Contributing
Contributions, issues, and feature requests are welcome! Feel free to check the issues page or open a pull request.
To set up the project locally:
git clone https://github.com/mateogall0/pygeist_client
cd pygeist
xargs sudo apt-get -y install < packages.txt
pip install --upgrade pip build twine
pip install .[dev]
make
pytest
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
Built Distributions
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file pygeist_client-0.0.11-py3-none-manylinux2014_x86_64.manylinux_2_17_x86_64.whl.
File metadata
- Download URL: pygeist_client-0.0.11-py3-none-manylinux2014_x86_64.manylinux_2_17_x86_64.whl
- Upload date:
- Size: 20.0 kB
- Tags: Python 3, manylinux: glibc 2.17+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f5984904f767e18ae4a7f400f41f057a3f1d1eec62fbefa10465f16ab0ee55ff
|
|
| MD5 |
11c79e3292abaace104efcac2851651b
|
|
| BLAKE2b-256 |
194bff350d32cb30e17f2644e28f8a694db71eb6596bd797e141506a18da8e8c
|
File details
Details for the file pygeist_client-0.0.11-py3-none-any.whl.
File metadata
- Download URL: pygeist_client-0.0.11-py3-none-any.whl
- Upload date:
- Size: 19.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
959fd1ae3fc1965f10e98231108451f11cd07abd10c6ab8541409f5f2e27cd0c
|
|
| MD5 |
0ba457415cc187bd1fa62435598e1845
|
|
| BLAKE2b-256 |
01272cb6dc69a94d80469a3bb294ed5426758b9086cd81e7b2f5d73bc973a58d
|