Utilities for writing servers in Python
Project description
satella
Satella is an almost-zero-requirements Python 3.5+ library for writing server applications. It has arisen out of my requirements to have some classes or design patterns handy, and kinda wish-they-were-in-the-stdlib ones. especially those dealing with mundane but useful things. It also runs on PyPy, and most of it runs on Windows (the part not dealing with forking processes, you see).
Satella uses semantic versioning 2.0.
Satella contains, among other things:
- things to help you manage your application's configuration
- a fully equipped metrics library
- alongside a fully metricized ThreadPoolExecutor
- and an exporter to Prometheus or really any OpenMetrics compliant ingester
- as well as exporters/metricizers for the following libraries:
- helpful exception handlers
- monitoring CPU usage on the system and by your own process
- common programming idioms and structures
Most Satella objects make heavy use of __slots__
, so they are memory friendly and usable on embedded systems, where
memory is at premium.
Change log is kept as part of release notes. The CHANGELOG.md file is only to track changes since last release.
Full documentation is available for the brave souls that do decide to use this library.
See LICENSE for text of the license. This library may contain code taken from elsewhere on the internets, so this is copyright (c) respective authors.
Running unit tests
Tests run by default on CircleCI. Just build and run the attached Dockerfile. These tests run on Python 3.8. Also, if you run it under PyPy it will launch some tests targeted at that platform.
They pass on Windows too, but some tests requiring POSIX-like functionality are skipped.
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.