Quickstart

CircleCI codecov Documentation Status

Strapp

A mildly opinionated library used to bootstrap apps. Its primary use is to commonize (and test) the typical bespoke boilerplate most applications tend to reimplement to varying levels of sophistication.

All dependencies are intentionally optional, and exposed through extras in order to make opting into or out of specific strapp decisions and modules entirely optional.

Package Highlights

  • SQLAlchemy
    • Session creation helper functions
      • Opt-in “dry run” session feature
    • Custom declarative_base
      • Opt-in created_at/updated_at columns
      • Opt-out reprable models
  • Click
    • Context “Resolver”
  • Flask
    • Non-decorator based route registration pattern (removes circular import issues)
    • Opt-in error handlers
    • Opt-in database handling
  • Logging
    • Logging verbosity helper
  • Sentry
    • Setup helper
    • Context helper

Optional Integrations

Strapp is designed with integration with Configly and Setuplog, two of our other open sourced packages.

These are entirely optional, and explained at the relevant locations in the docs to which they apply.