Skip to main content

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

Project description

Let us handle the boring stuff!

Docs

ReadTheDocs

Build

Dependabot Status

Quality

Maintainability Security Test Coverage Once you go Black...

Package

Latest Version https://img.shields.io/pypi/pyversions/pyapp https://img.shields.io/pypi/l/pyapp PyPI - Wheel

pyApp takes care of the boring boilerplate code for building a CLI, managing settings and much more so you can focus on your application logic.

So what does pyApp 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.

  • Dependency Injection - Easy to use dependency injection without complicated setup.

  • Checks - A framework for checking settings are correct and environment is operating correctly (your ops team will love you)?

  • Extensions - Extend the basic framework with extensions. Provides deterministic startup, extension of the CLI and the ability to register checks and extension specific default settings.

  • Application - Provides a extensible and simple CLI interface for running commands (including async), comes with built-in commands to execute check, setting and extension reports.

  • Logging - Initialise and apply sane logging defaults.

  • Highly tested and ready for production use.

Extensions

In Beta

In development

Coming soon

  • 📨 AMQP Messaging - Messaging extension for AMQP (RabbitMQ)

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

Uploaded Source

Built Distribution

pyapp-4.16.1-py3-none-any.whl (76.3 kB view details)

Uploaded Python 3

File details

Details for the file pyapp-4.16.1.tar.gz.

File metadata

  • Download URL: pyapp-4.16.1.tar.gz
  • Upload date:
  • Size: 84.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.9.20

File hashes

Hashes for pyapp-4.16.1.tar.gz
Algorithm Hash digest
SHA256 48d52bc2a2f0a676dbdc71b4e78d59f88f0da31bfd1badde5d60476bb479ad54
MD5 cdd7810e0dd069998b146a0c7c163a79
BLAKE2b-256 87b37e47f328a178262beb087d171c9f6f2ba9bf332a895fcc4c554345ee5201

See more details on using hashes here.

File details

Details for the file pyapp-4.16.1-py3-none-any.whl.

File metadata

  • Download URL: pyapp-4.16.1-py3-none-any.whl
  • Upload date:
  • Size: 76.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.9.20

File hashes

Hashes for pyapp-4.16.1-py3-none-any.whl
Algorithm Hash digest
SHA256 6023fee12f99293650c74d2748bc2e5e70216e6780c61f8c5a43af16d8270752
MD5 0314320094955ba3b059ed23af682de1
BLAKE2b-256 73c57a71c5ec9ef5c78cc04cbb8eae44b4245c41f54d550c819df633e3164df7

See more details on using hashes here.

Supported by

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