GithubHelp home page GithubHelp logo

oakhan3 / strapp Goto Github PK

View Code? Open in Web Editor NEW

This project forked from schireson/strapp

0.0 0.0 0.0 483 KB

(Boot)strapp your apps!

Home Page: https://strapp.readthedocs.io/

License: MIT License

Python 99.01% Makefile 0.56% Mako 0.44%

strapp's Introduction

Github Actions Build 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

      • For type safety, utilize the mypy plugin

        [tool.mypy]
        plugins = 'strapp.sqlalchemy.mypy'
  • 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
  • Dramatiq

    • Interface helpers (configure, enqueue, get_results)
    • Declarative actors (PreparedActor)
    • Optional middlewares: SentryMiddleware, DatadogMiddleware

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.

strapp's People

Contributors

dancardin avatar luke-mino-altherr avatar srohr avatar gordonfierce avatar prateekpisat avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.