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.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.7.1.tar.gz
(28.0 kB
view hashes)
Built Distribution
serverish-0.7.1-py3-none-any.whl
(41.1 kB
view hashes)
Close
Hashes for serverish-0.7.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 729deb01b27fc45b1c002ed8b745eb6848c44301cf2896ea8a395dd175a5c258 |
|
MD5 | 65a28a1e059b80cfbb4960c487ef6cf4 |
|
BLAKE2b-256 | 2317b32b8a38b093bf1596f06998ea7322c0b3052e253bb7e197ba9bf891aaba |