Skip to main content

A Python application framework - Let us handle the boring stuff!

Project description

Let us handle the boring stuff!

ReadTheDocs Travis CI Status https://img.shields.io/pypi/wheel/pyapp.svg Test Coverage Maintainability Latest Version https://img.shields.io/pypi/pyversions/pyapp.svg https://img.shields.io/pypi/l/pyapp.svg Once you go Black...

Many features inspired by Django, but modified to be more general for use outside of web applications.

With pyApp 4.0, versions of Python < 3.6 are no longer supported.

So what do we handle?

  • Configuration - Loading, merging your settings from different sources + Python modules + File and HTTP(S) endpoints for JSON and YAML files.

  • Instance Factories - Configuration of plugins, database connections, or just implementations of an ABC. Leveraging settings to make setup of your application easy and reduce coupling.

  • Checks - A framework for checking settings are correct and checking that your application connect to that API end point (your ops team will love you)?

  • Extensions - Extend the basic framework with extensions, the framework provides deterministic startup, addition of commands to the CLI and the ability to register checks and default settings.

  • Application - Provides a extensible and simple CLI interface for starting running commands, comes with built-in commands to support Checks, report settings/extensions.

  • Logging - Initialise and apply sane logging defaults (when using an Application). Defaults to logging to stderr so your application can write data to stdout for piping into other tools.

Extensions

In development

Coming soon

Extensions for LDAP, Paramiko.

Contributions

Contributions are most welcome, be it in the form of a extension and factories for your favourite service client of bug reports, feature enhancements.

The core of pyApp is intended to remain simple and only provide required features with extensions providing optional more specific functionality.

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

pyApp-4.0.6.tar.gz (42.6 kB view hashes)

Uploaded Source

Built Distribution

pyApp-4.0.6-py3-none-any.whl (65.1 kB view hashes)

Uploaded Python 3

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