A framework for implementing Python services.
Project description
runtimepy (3.2.0)
A framework for implementing Python services.
Documentation
Generated
- By sphinx-apidoc
(What's
sphinx-apidoc
?) - By pydoc
(What's
pydoc
?)
Python Version Support
This package is tested with the following Python minor versions:
Platform Support
This package is tested on the following platforms:
ubuntu-latest
macos-latest
windows-latest
Introduction
Command-line Options
$ ./venv3.11/bin/runtimepy -h
usage: runtimepy [-h] [--version] [-v] [-q] [--curses] [--no-uvloop] [-C DIR]
{arbiter,server,tui,noop} ...
A framework for implementing Python services.
options:
-h, --help show this help message and exit
--version show program's version number and exit
-v, --verbose set to increase logging verbosity
-q, --quiet set to reduce output
--curses whether or not to use curses.wrapper when starting
--no-uvloop whether or not to disable uvloop as event loop driver
-C DIR, --dir DIR execute from a specific directory
commands:
{arbiter,server,tui,noop}
set of available commands
arbiter run a connection-arbiter application from a config
server run a server for a specific connection factory
tui run a terminal interface for the channel environment
noop command stub (does nothing)
Sub-command Options
arbiter
$ ./venv3.11/bin/runtimepy arbiter -h
usage: runtimepy arbiter [-h] [-i] [-w] configs [configs ...]
positional arguments:
configs the configuration to load
options:
-h, --help show this help message and exit
-i, --init_only, --init-only
exit after completing initialization
-w, --wait-for-stop, --wait_for_stop
ensure that a 'wait_for_stop' application method is
run last
server
$ ./venv3.11/bin/runtimepy server -h
usage: runtimepy server [-h] [-i] [-w] [--host HOST] [-p PORT]
factory [configs ...]
positional arguments:
factory name of connection factory to create server for
configs the configuration to load
options:
-h, --help show this help message and exit
-i, --init_only, --init-only
exit after completing initialization
-w, --wait-for-stop, --wait_for_stop
ensure that a 'wait_for_stop' application method is
run last
--host HOST host address to listen on (default: 0.0.0.0)
-p PORT, --port PORT port to listen on (default: 0)
tui
$ ./venv3.11/bin/runtimepy tui -h
usage: runtimepy tui [-h] [-i ITERATIONS] [-r RATE]
options:
-h, --help show this help message and exit
-i ITERATIONS, --iterations ITERATIONS
maximum number of program iterations (if greater than
zero, default: 0)
-r RATE, --rate RATE frequency (in Hz) to run the interface (default: 60.0
Hz)
Internal Dependency Graph
A coarse view of the internal structure and scale of
runtimepy
's source.
Generated using pydeps (via
mk python-deps
).
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
runtimepy-3.2.0.tar.gz
(89.3 kB
view details)
Built Distribution
runtimepy-3.2.0-py3-none-any.whl
(135.8 kB
view details)
File details
Details for the file runtimepy-3.2.0.tar.gz
.
File metadata
- Download URL: runtimepy-3.2.0.tar.gz
- Upload date:
- Size: 89.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9c23b144f551f3406445e1c703236ca9d8595f8258f73c987746428543118f45 |
|
MD5 | 081ad2e8cb0e4fcf30a403be9a32b43b |
|
BLAKE2b-256 | cf82017f43c958983cf344052497bb257ab81d5f81edd61a1cb3e71503a13e8f |
File details
Details for the file runtimepy-3.2.0-py3-none-any.whl
.
File metadata
- Download URL: runtimepy-3.2.0-py3-none-any.whl
- Upload date:
- Size: 135.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0b21c9eb19e91e5d32c82691b6447ad17381b61d4a84c478afe3929b78ba85cd |
|
MD5 | da67217bd2647766917220dc4ccdb71e |
|
BLAKE2b-256 | 30453bfaa024b59439964983208250ed9f9953b05bd8be198f7353e0ff00ed49 |