helpers for server alike projects
Project description
serverish - helpers for server alike projects
Features
- Component management
- Singletons
- Connections management and diagnostics
- NATS based Messenger
See doc
directory for more documentation.
Optional (extras) dependencies
In order to use Messenger, you have to add extra 'messenger' to your project.toml
serveris dependency, e.g.:
serverish = {git="https://github.com/AkondLab/serverish.git", extras=["messenger"], branch="master"}
or specify dpendency with extras in the pip
convention: serverish[messenger]
.
this will install nats-py
package.
Changes
- 0.8 Introduces journal publishing/reading API.
- 0.7 Includes progress tracking messages in the Messenger API.
- 0.6 introduces breaking changes in the Messenger API:
- Convenience functions
get_xxxxx()
returning publishers/readers are synchronous now. Removeawait
-ing for their results. - Change of signature of the callback for
MsgRpcResponder.register_function
forRpc->None
.
- Convenience functions
Credits
This package uses some code and ideas from the rich package (Copyright (c) 2020 Will McGugan).
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
serverish-0.8.0.tar.gz
(30.3 kB
view details)
Built Distribution
serverish-0.8.0-py3-none-any.whl
(44.5 kB
view details)
File details
Details for the file serverish-0.8.0.tar.gz
.
File metadata
- Download URL: serverish-0.8.0.tar.gz
- Upload date:
- Size: 30.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.5.1 CPython/3.11.0 Darwin/23.0.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 321bb003865f2dc3c5ca3fedbd1c63c8155b41da366df979e195da6bff7a2051 |
|
MD5 | 20a2ec59448f70fa82012b9b2fa9cc3e |
|
BLAKE2b-256 | 59a8a4d33e95c5f7e45d51b8e28893521aa066fd77f96a431b2a0d4c2631017e |
File details
Details for the file serverish-0.8.0-py3-none-any.whl
.
File metadata
- Download URL: serverish-0.8.0-py3-none-any.whl
- Upload date:
- Size: 44.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.5.1 CPython/3.11.0 Darwin/23.0.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | f01ab04a010fb406d15c0161520c82b6116d19f15b5c39cc1a2eef4094a9c291 |
|
MD5 | 53f5ac6fe975062501757426b07c2ec4 |
|
BLAKE2b-256 | 868fba0054dbfc2f09dbc4bd670f92926d34ae8b7da666585f178e306ef37a7b |