Kawa Python Server
It is the python runtime for the Kawa platform. Please refer to this documentation to register python runtime in the Kawa platform: Register python runtimes.
Configure the server
Create a .env file in the root of the venv.
It must contain the following environment variables:
# This is the secret for this server.
# It will need to be set on KAWA platform too
# to communicate with this server.
# You can generate it like that: head /dev/urandom | sha256sum | cut -d ' ' -f 1
# (REQUIRED)
KAWA_AUTOMATION_SERVER_AES_KEY=8c180b7df391a24fcdf5504fadbd37f2df79ead5c4b36987acb683bd8e8bc465
# This defines the URL of the KAWA platform this python server will be paired with
# (OPTIONAL) Defaults to http://localhost:8080
KAWA_URL=http://localhost:8080
# This will define on which host/port the python server will listen
# (OPTIONAL) Defaults to 0.0.0.0, port 8815
# KAWA_AUTOMATION_SERVER_HOST=0.0.0.0
# KAWA_AUTOMATION_SERVER_PORT=8815
# This will override the path to the pex executable.
# pex is used by the script runner to package dependencies
# https://docs.pex-tool.org/
# (OPTIONAL) Defaults to pex
# KAWA_AUTOMATION_PEX_EXECUTABLE_PATH=pex
# Defines the working dir of the python server
# It will store pex files and sync files
# (OPTIONAL) Defaults to /tmp
# KAWA_AUTOMATION_SERVER_WORKING_DIRECTORY=/tmp
# If set to true, PEX will use pip config.
# This is important if some specific configuration is required (such as a private package registry etc)
# (OPTIONAL) Defaults to false
# KW_PEX_USE_PIP_CONFIG=false
Starting the server
Just run kawapythonserver
Metadata
Release files for kawapythonserver 0.37.10
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| kawapythonserver-0.37.10.tar.gz | 41.7 kB | Without provenance | Details for kawapythonserver-0.37.10.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| kawapythonserver-0.37.10-py3-none-any.whl | Python 3 | none | any | Details for kawapythonserver-0.37.10-py3-none-any.whl |
Total release size: 97.9 kB
Release files / kawapythonserver-0.37.10.tar.gz
| Download URL | kawapythonserver-0.37.10.tar.gz |
|---|---|
| Size | 41.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
71c6d38ef564c944f8521946ddc99cf45fe700bbe7ab221d720a1f6283a6bf77
|
|
BLAKE2b-256 checksum How to use checksums |
a245237425f8f16ee3b337dfffc8a8df5e07c325014608f3361a798a9eaf0932
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.12.0
|
Release files / kawapythonserver-0.37.10-py3-none-any.whl
| Download URL | kawapythonserver-0.37.10-py3-none-any.whl |
|---|---|
| Size | 56.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
5575df99b616afa087b6aad0af0ec75cae7f3afea04740016aa7d47715456ee3
|
|
BLAKE2b-256 checksum How to use checksums |
b654114011f44f1b3d7c17fd63b2cafe08f9b9200cb4098ba238afaf9ccbe867
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.12.0
|
Security for kawapythonserver 0.37.10
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.