mirror of
https://gitlab.com/veilid/veilid.git
synced 2024-10-01 01:26:08 -04:00
c92e07c88e
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 |
||
---|---|---|
.. | ||
tests | ||
veilid | ||
.gitignore | ||
LICENSE.md | ||
poetry_install.sh | ||
poetry.lock | ||
poetry.toml | ||
pyproject.toml | ||
README.md | ||
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.