veilid/veilid-python
DumontIO c92e07c88e Python code cleanup
These changes should not change any functionality.

In code:

- Added async keyword to CryptoSystem::kind since it's actually implemented async
- Removed unused socket import in json_api

In tests:
- Removed unused imports
- Removed unnecessary return statements
- Removed unused variables
- Cleaned up some spacing to match PEP-8
- Changed many comparisons to match PEP-8
- Use ValueSubKey classes instead of integers to keep types in line
2024-08-13 16:47:06 -04:00
..
tests Python code cleanup 2024-08-13 16:47:06 -04:00
veilid Python code cleanup 2024-08-13 16:47:06 -04:00
.gitignore fix overzealous gitignore and organize flutter a bit 2024-03-27 17:53:50 -05:00
LICENSE.md licensing 2023-07-19 12:48:44 -04:00
poetry_install.sh network keying 2023-06-23 21:12:48 -04:00
poetry.lock cleanup a bit 2024-01-19 13:55:35 -05:00
poetry.toml fix tests 2023-06-19 15:23:30 -04:00
pyproject.toml Version update: v0.3.3 → v0.3.4 2024-08-01 19:19:34 -05:00
README.md Make Python README a bit more descriptive 2023-09-04 11:07:50 -05:00
update_schema.sh fix update_schema.sh for spaces in pathname 2023-12-11 16:38:02 +08:00

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.