veilid/veilid-python
2024-03-27 17:53:51 -05:00
..
tests
veilid
.gitignore
LICENSE.md
poetry_install.sh
poetry.lock cleanup a bit 2024-01-19 13:55:35 -05:00
poetry.toml
pyproject.toml
README.md Make Python README a bit more descriptive 2023-09-04 11:07:50 -05:00
update_schema.sh

Veilid Bindings for Python

Create an application in Python using the distributed Veilid framework for app-to-app communication.

Prerequisites

  • A headless Veilid node must be installed on the same host as the Python application. Install instructions can be found here
  • Veilid Python makes heavy use of async and other bleeding edge functions requiring Python version >= 3.11.4

Usage

To use:

poetry add veilid

or

pip3 install veilid

Development

To run tests:

poetry run pytest

To update schema for validation with the latest copy from a running veilid-server:

./update_schema.sh

Basic Veilid App Setup

A demo chat application is available to review here.