A framework for implementing Python services.
Project description
runtimepy (5.3.4)
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.12/bin/runtimepy -h
usage: runtimepy [-h] [--version] [-v] [-q] [--curses] [--no-uvloop] [-C DIR]
{arbiter,server,task,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,task,tui,noop}
set of available commands
arbiter run a connection-arbiter application from a config
server run a server for a specific connection factory
task run a task from a specific task factory
tui run a terminal interface for the channel environment
noop command stub (does nothing)
Sub-command Options
arbiter
$ ./venv3.12/bin/runtimepy arbiter -h
usage: runtimepy arbiter [-h] [-i] [-w] [--no-poller] 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
--no-poller don't run a connection-metrics poller task
server
$ ./venv3.12/bin/runtimepy server -h
usage: runtimepy server [-h] [-i] [-w] [--no-poller] [--host HOST] [-p PORT]
[-u] [-l]
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
--no-poller don't run a connection-metrics poller task
--host HOST host address to listen on (default: '0.0.0.0')
-p PORT, --port PORT port to listen on (default: 0)
-u, --udp whether or not this is a UDP-based server (otherwise
it must be a TCP-based server)
-l, --loopback if true a client of the same connection type is added
task
$ ./venv3.12/bin/runtimepy task -h
usage: runtimepy task [-h] [-i] [-w] [--no-poller] [-r RATE]
factory [configs ...]
positional arguments:
factory name of task factory to create task with
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
--no-poller don't run a connection-metrics poller task
-r RATE, --rate RATE rate (in Hz) that the task should run (default: 10)
tui
$ ./venv3.12/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-5.3.4.tar.gz
(196.3 kB
view details)
Built Distribution
runtimepy-5.3.4-py3-none-any.whl
(283.8 kB
view details)
File details
Details for the file runtimepy-5.3.4.tar.gz
.
File metadata
- Download URL: runtimepy-5.3.4.tar.gz
- Upload date:
- Size: 196.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | b9982bef856939f89be6901735abcf1fbbd251ec30d53718f876ee493e01e1fd |
|
MD5 | f5fa31db8aae75365f456ac207d1e68c |
|
BLAKE2b-256 | 8856caf2c2ae845f0cfcde73f646430546e0206a73ab267010f99ac5d4d36801 |
File details
Details for the file runtimepy-5.3.4-py3-none-any.whl
.
File metadata
- Download URL: runtimepy-5.3.4-py3-none-any.whl
- Upload date:
- Size: 283.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 906d0649332f7105aaaefcedc3a7cddda9592cbfd2a551fa8d55dd73ba3d9a20 |
|
MD5 | 7aa0d093b0993fbf57f3d72168596c84 |
|
BLAKE2b-256 | e44be6b973bf5e9e7d21ecd2529ee7df15fe6d998e554173778d745ca700e856 |