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

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)

app.run()

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.1.tar.gz (30.8 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.1-py3-none-any.whl (35.3 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: pygeist-0.3.1.tar.gz
  • Upload date:
  • Size: 30.8 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.1.tar.gz
Algorithm Hash digest
SHA256 d98579af96d669f0c4e3c49375cebab56ae4c97b810cb7d59d4692e9eec38658
MD5 005c337e21c59cadc9e610562ccef080
BLAKE2b-256 40be3c4a3ec712e12fa598b5b11d68d2ae85ebd1e2d05fbed4dca68581be7d33

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pygeist-0.3.1-py3-none-any.whl
  • Upload date:
  • Size: 35.3 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.1-py3-none-any.whl
Algorithm Hash digest
SHA256 cc3be63ded6b6f16709bb28248fe2de56cc651b901b82bb1a3a7c19770cf4121
MD5 da84a713169db81c0ff81092e3d16978
BLAKE2b-256 d489cde2b220a664e1a964cb1de615f6e9a2da31f49b9ce555ec025d7c43f2ee

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