Skip to main content

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

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

kawapythonserver-0.37.0.tar.gz (36.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

kawapythonserver-0.37.0-py3-none-any.whl (49.6 kB view details)

Uploaded Python 3

File details

Details for the file kawapythonserver-0.37.0.tar.gz.

File metadata

  • Download URL: kawapythonserver-0.37.0.tar.gz
  • Upload date:
  • Size: 36.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.0

File hashes

Hashes for kawapythonserver-0.37.0.tar.gz
Algorithm Hash digest
SHA256 e71c88b6fad041d2590fb020823c5e3ef92773f128f7574060e17251b7984923
MD5 2f97089ca1e160b3df9719deb97b3072
BLAKE2b-256 73df9897b67c479a2e15f7a6e88361a413eaf5c9870fcaff0f6b95c7b192ae90

See more details on using hashes here.

File details

Details for the file kawapythonserver-0.37.0-py3-none-any.whl.

File metadata

File hashes

Hashes for kawapythonserver-0.37.0-py3-none-any.whl
Algorithm Hash digest
SHA256 94526045235f8b3c25b61d16a7dc2f8ee2f1991fb90feb4ba6331b3f4b55fe3a
MD5 0dbf40b409736408298efa0d5f0410f1
BLAKE2b-256 dd8811bf30aa89a4c96e46c7553788232b46a91b5ffbc7c067fb580b54fc9d3a

See more details on using hashes here.

Release history Release notifications | RSS feed

0.37.2

2 files

0.37.1

2 files

This release

0.37.0 This release

2 files

0.36.5

2 files

0.35.1

2 files

0.34.2

2 files

0.34.0

2 files

0.33.28

2 files

0.33.27

2 files

0.33.19

2 files

0.33.17

2 files

0.33.15

2 files

0.33.6

2 files

0.32.8

2 files

0.32.4

2 files

0.32.3

2 files

0.32.2

2 files

0.31.18

2 files

0.31.17

2 files

0.31.16

2 files

0.31.12

2 files

0.31.7

2 files

0.31.5

2 files

0.30.2

2 files

0.30.1

2 files

0.29.6

2 files

0.29.5

2 files

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page