Skip to main content

Basic class used in PS environment

Project description

The ps.basic package holds code for the basic building blocks within the “ps”.

These are:

  • a singleton (class Basic), which is used to setup a “ps-component” e.g. a service in a consistent manner

    • using this class the component adapts easily to the surrounding ps-deployment monitor

    • using this class the component adapts easily to the surrounding mechanisms to handle config files

    • using this class the component adapts easily to the surrounding mechanisms for different production_environments/stages

  • a python function to send mails (having an exception handler trying to send the mail via shell)

  • an easier interface for calling a shell

  • basics to implement and document services based on finite state machines

    • the machines implementation could be visualized with a graphviz generated picture

    • at runtime the machines statechanges are logged with the Basic module

  • some other small helper functions helping in integrating logging messages to other services.

The usage of this package is closely related to the usage of the ps.herald package with adds a (via ssh tunnels distributed usable) monitoring environment based on the here implemented Basics.

Documentation: https://psbasic.readthedocs.io

Git: https://bitbucket.org/drsetz/ps.basic/src/master/

1.0.0 (2018-03-23)

2018-01-10 17:34:53 MEZ Prodstrecke (Integration)

enhance documentation

sjha a8aaf3c fix typo 2 2756e98 removed git commands dc2266b add coverage 6d10561 add make target for version increment f6ea245 autocommit from ci 394c82c Merge branch ‘master’ of bitbucket.org-drsetz:drsetz/ps.basic 0a9248d adapt to environment 9973c78 fix print statements 21914c3 fix access to pypi

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

ps.basic-1.2.4.tar.gz (22.9 kB view hashes)

Uploaded Source

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