A framework for implementing Python services.
Project description
runtimepy (4.4.1)
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] 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.12/bin/runtimepy server -h
usage: runtimepy server [-h] [-i] [-w] [--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
--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] [-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
-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-4.4.1.tar.gz
(172.5 kB
view details)
Built Distribution
runtimepy-4.4.1-py3-none-any.whl
(251.5 kB
view details)
File details
Details for the file runtimepy-4.4.1.tar.gz
.
File metadata
- Download URL: runtimepy-4.4.1.tar.gz
- Upload date:
- Size: 172.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.11.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7cf0a5d234b1061ab9111f45c5a0ded00ccd6bc83964a57cc44ee9e8945f6403 |
|
MD5 | 15837fabd76d3ce321ad28c0d49a6593 |
|
BLAKE2b-256 | f006b86f989c2132cbf8b4a8c05bc98c84d461dd6e1a67320e4803fe425bc7e4 |
File details
Details for the file runtimepy-4.4.1-py3-none-any.whl
.
File metadata
- Download URL: runtimepy-4.4.1-py3-none-any.whl
- Upload date:
- Size: 251.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.11.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | e3cb86ab277c0994bd716bca5be6299a838ec121088804351c6b374cb6558dad |
|
MD5 | 9071a58cc5b0a381805143d2fd716d0b |
|
BLAKE2b-256 | 4a7571cfb7c9f46b20b42b047116e11cd17d41c3e7f0fab2fc4c9bd59250e076 |