helpers for server alike projects
Project description
serverish - helpers for server alike projects
Features
- Component management
- Singletons
- Connections management and diagnostics
- NATS
- 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.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.6.1.tar.gz
(24.8 kB
view details)
Built Distribution
serverish-0.6.1-py3-none-any.whl
(35.5 kB
view details)
File details
Details for the file serverish-0.6.1.tar.gz
.
File metadata
- Download URL: serverish-0.6.1.tar.gz
- Upload date:
- Size: 24.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.5.1 CPython/3.11.0 Darwin/22.6.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2cd8ed0f0aa3b1f5efc859aa47f90cf1d4b4ae29d8c4193f19164785c1a84582 |
|
MD5 | 3b115e3ae9fda66c9fbfb479d98033ed |
|
BLAKE2b-256 | e884b4ecb35d54bcdc2b641f7ccbc13d41a8ccc3a515bd6a6dd8b638d6068eaa |
File details
Details for the file serverish-0.6.1-py3-none-any.whl
.
File metadata
- Download URL: serverish-0.6.1-py3-none-any.whl
- Upload date:
- Size: 35.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.5.1 CPython/3.11.0 Darwin/22.6.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 72927e3cb3eed22da4f654ae40ccdda1eb20571cfc9118b7b3df2b07585912ed |
|
MD5 | d73416893c0583eb17eb95ed191f3180 |
|
BLAKE2b-256 | e7598cca65d7fd6d47005f6f1968f07b5f4307ae1bed4f7ab313cbce85c28e95 |