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.3.tar.gz
(31.1 kB
view details)
Built Distribution
serverish-0.8.3-py3-none-any.whl
(46.2 kB
view details)
File details
Details for the file serverish-0.8.3.tar.gz
.
File metadata
- Download URL: serverish-0.8.3.tar.gz
- Upload date:
- Size: 31.1 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 | 960a75bae92e3b7606743f4c29fcba769363fead708acbe6a5a56833522b8452 |
|
MD5 | 371fdb7f7027a9c95a1260c589af2d97 |
|
BLAKE2b-256 | 2f8a19ed530190ed4e6b9bc2ecd3db32867be9a1fe1f3cdc91bd4a610dc16c5a |
File details
Details for the file serverish-0.8.3-py3-none-any.whl
.
File metadata
- Download URL: serverish-0.8.3-py3-none-any.whl
- Upload date:
- Size: 46.2 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 | e848a04be66b2dc18f1ad2ea9a6426b6cc705f84cdbb81511f89cca33f342056 |
|
MD5 | 672dd3e319f9657e9138d99494b3e73d |
|
BLAKE2b-256 | bec64c4bedce09ce9537d28c880b31cacb642592e9d54a7f5923563f4664c930 |