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.11 Extends, tasks, NATS connection tracking and messenger opening options (
Messenger.open
) - 0.10 Adds timestamp to journal messages and extablishes schema for journal messages.
- 0.9.1 Makes dependency to aiodns optional.
- 0.9.0 Introduces Logging handler for passing standard logging messages to the Messenger.
- 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.11.3.tar.gz
(34.2 kB
view details)
Built Distribution
File details
Details for the file serverish-0.11.3.tar.gz
.
File metadata
- Download URL: serverish-0.11.3.tar.gz
- Upload date:
- Size: 34.2 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 | a4788cf8554cdc55924965ecc69a968da434258f3ea0e983444eee817c77af18 |
|
MD5 | f992ac3b810e12f4fdede0e872d7127d |
|
BLAKE2b-256 | 8a7c85647ca11fc600d4a3db23de222cc08444dcafdfe966c45f8ee0cb1a1904 |
File details
Details for the file serverish-0.11.3-py3-none-any.whl
.
File metadata
- Download URL: serverish-0.11.3-py3-none-any.whl
- Upload date:
- Size: 49.5 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 | b4429001c6dc89b48ea5061912e7e43087a9eec277ff654a8b15e1fe0119cb9e |
|
MD5 | da778d949f8270a53c5f6443c0242bfc |
|
BLAKE2b-256 | 716b787cbaa558ca4f61dc26065fda9292067237249b261262c0bdd492ba8483 |