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.9.1.tar.gz
(31.7 kB
view details)
Built Distribution
serverish-0.9.1-py3-none-any.whl
(47.0 kB
view details)
File details
Details for the file serverish-0.9.1.tar.gz
.
File metadata
- Download URL: serverish-0.9.1.tar.gz
- Upload date:
- Size: 31.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.5.1 CPython/3.11.0 Darwin/23.1.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9df8fa4b170824896c543cd22bcf3e5b18fa91c9c78853d33e7508b9a6ed54e1 |
|
MD5 | e34b562bd40792d0c0d4665ce7eebd69 |
|
BLAKE2b-256 | 2ccfe8fef8617e3a35d260731415eb4171e6509ee1e5254e73bfd5b8947bb10e |
File details
Details for the file serverish-0.9.1-py3-none-any.whl
.
File metadata
- Download URL: serverish-0.9.1-py3-none-any.whl
- Upload date:
- Size: 47.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.5.1 CPython/3.11.0 Darwin/23.1.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4c0a95d06a41ad101200ba6bd8a0f3eb84b444d6ddcee19ee00f7299ee35fdd8 |
|
MD5 | 0b475feccbfcd40f4c374ff085a8aa44 |
|
BLAKE2b-256 | b6f57d2c9af8635867b5b0eabb5f65086b00305f23e390dfd6b492f6feffabe9 |