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.3.tar.gz
(25.5 kB
view hashes)
Built Distribution
serverish-0.6.3-py3-none-any.whl
(36.4 kB
view hashes)
Close
Hashes for serverish-0.6.3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 41b8165b3ceeafa2109d55b6b8a686cf1ac972ba0c2c39f5e272d38cedbc6b88 |
|
MD5 | 3ac420b19ed6e553b6e8e714754f7333 |
|
BLAKE2b-256 | b0357c57a0c1ebf8fde04dd604c9f815473e24f2116b17471f1140bc96a447d6 |