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.1.tar.gz
(31.0 kB
view details)
Built Distribution
serverish-0.8.1-py3-none-any.whl
(45.7 kB
view details)
File details
Details for the file serverish-0.8.1.tar.gz
.
File metadata
- Download URL: serverish-0.8.1.tar.gz
- Upload date:
- Size: 31.0 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 | d2fe735e319194eb842169337611aa77fbf1c16f42b3ebcac841cef8c6fc6e3a |
|
MD5 | a14715d4ce2a42c1d39f04bb2c06496d |
|
BLAKE2b-256 | b88d25baf1b48213e8c459ff7acf9ff395d925fe47f37000be07513116a4da53 |
File details
Details for the file serverish-0.8.1-py3-none-any.whl
.
File metadata
- Download URL: serverish-0.8.1-py3-none-any.whl
- Upload date:
- Size: 45.7 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 | 85be391362f6f9bcff5674ad85a2816032bd0d45d178d41e972fe0c8595a122e |
|
MD5 | c7ab1433cfb4ab622f14467a5cfc34e5 |
|
BLAKE2b-256 | 0c3ab688607e09cc626ec75da2d53fcc182eaf5c735ccd7b1fcefd78c51ca96d |