Skip to main content

helpers for server alike projects

Project description

serverish - helpers for server alike projects

CI

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. Remove await-ing for their results.
    • Change of signature of the callback for MsgRpcResponder.register_function for Rpc->None.

Credits

This package uses some code and ideas from the rich package (Copyright (c) 2020 Will McGugan).

Project details


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.4.tar.gz (34.2 kB view details)

Uploaded Source

Built Distribution

serverish-0.11.4-py3-none-any.whl (49.6 kB view details)

Uploaded Python 3

File details

Details for the file serverish-0.11.4.tar.gz.

File metadata

  • Download URL: serverish-0.11.4.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

Hashes for serverish-0.11.4.tar.gz
Algorithm Hash digest
SHA256 a796e96464bd646c5f006803b87dfc8173f852ddb435c06d6ebcd09ea7188959
MD5 9434ab348e94561aeeed49adda05de46
BLAKE2b-256 340300303dd58dd2aa9f90dc68a709e3f4bbde5144c8e78d869451a37d5428d9

See more details on using hashes here.

File details

Details for the file serverish-0.11.4-py3-none-any.whl.

File metadata

  • Download URL: serverish-0.11.4-py3-none-any.whl
  • Upload date:
  • Size: 49.6 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

Hashes for serverish-0.11.4-py3-none-any.whl
Algorithm Hash digest
SHA256 3537d2db47335ce91c75fcb0e3d3b2a0d87bc832ac006a1e8cc47f002b598fc6
MD5 8add349bff05dcce0d2d57cbe13c975d
BLAKE2b-256 73793c03db99c97b4ab9f253ffbc0fee9e47f44a91175752562079dc4ee9acc3

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page