Skip to main content

Pygeist server package

Project description

Pygeist

Pygeist is a Python module that abstracts the application layer protocol Zeitgeist implementation.

Tests

.
├── core -> zeitgeist_core
├── adapters
├── pygeist
└── tests

Protocol

See here to look into the core implementation of the protocol.

Build

Dev requirements

Install the required dev dependencies utilizing the following commands:

xargs sudo apt-get -y install < packages.txt
pip install -r requirements-dev.txt

To build the required Core implementation and Python C API adapters:

make

This generates pygeist/_adapter.so.

Installation

You can also install it utilizing pip:

pip install pygeist

Example

Create

# example.py
from pygeist import ZeitgeistAPI, Request

app = ZeitgeistAPI()

async def main_handler(req: Request):
    return f'Hello! We got this: {req.body}'

app.get('/', main_handler, status_code=200)

Run

python3 -m pygeist example:app

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

pygeist-0.3.2.tar.gz (32.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pygeist-0.3.2-py3-none-any.whl (37.4 kB view details)

Uploaded Python 3

File details

Details for the file pygeist-0.3.2.tar.gz.

File metadata

  • Download URL: pygeist-0.3.2.tar.gz
  • Upload date:
  • Size: 32.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for pygeist-0.3.2.tar.gz
Algorithm Hash digest
SHA256 9753022ccd9b13efdafe2d9e2be8bed12785081e66cda066ee950633f1e2998f
MD5 d0fe597cbe03a7fe73b8cc28c20f6f24
BLAKE2b-256 e09440b481a87677ab9b5769ba1024f243acafd482306f6e0835975e37b48bae

See more details on using hashes here.

File details

Details for the file pygeist-0.3.2-py3-none-any.whl.

File metadata

  • Download URL: pygeist-0.3.2-py3-none-any.whl
  • Upload date:
  • Size: 37.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for pygeist-0.3.2-py3-none-any.whl
Algorithm Hash digest
SHA256 187aade3307ae6f23535d663cc43a6f1d39d79340973cb9f81b712b49b3c37ca
MD5 f8b0eecf1f2ef01d2e35b1d94b7b45a5
BLAKE2b-256 1908ad6537d666b64e9753201647be2726e4f82c2b8aea13f11e4e6075cfd4de

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page