Skip to main content

A wrapper around Flask to ease the development of larger applications

Project description

Tired of circular imports? Startup times making you feel like you’re working in Java? You might need to pop that flask into your hip pocket and take a brisk walk to clear your head.

What is it?

HipPocket is a collection of convenience wrappers for the already intensely useful Flask web framework.

It provides:

Mapper

Enable centralized URL mapping

LateLoader

Taken from Flask’s documentation

and of course HipPocket

A wrapper to enable running setup tasks on a Flask application at startup.

HipPocket itself also comes with two pre-defined tasks:

autoload

Load blueprints from a package and auto-register them with Flask To add a new blueprint to an autoloading application simply drop in a sub-package and reload your server (remember, since you are use Mapper your startup times should be significantly decreased.)

setup_errors

Add basic error responses for all HTTP error codes.

Can I use it?

It depends on your requirements. Some things to consider:

  • HipPocket is licenced under the MIT licence so it’s free to use for almost any purpose.

  • It is currently pre-alpha software.

  • It has no tests (yet).

  • It has no documentation (aside from its docstrings).

  • Its API is not stable.

  • It is actively accepting patches and feedback.

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

HipPocket-0.1.1-alpha.tar.gz (6.9 kB view details)

Uploaded Source

File details

Details for the file HipPocket-0.1.1-alpha.tar.gz.

File metadata

File hashes

Hashes for HipPocket-0.1.1-alpha.tar.gz
Algorithm Hash digest
SHA256 0174d15122736d31a4d298750cc893f652aae28ee60bec4dfd9dd8c817769033
MD5 e23fce5def5a10cb900de1e2a1b7d534
BLAKE2b-256 043233cb3fcb30049cfa603d2532e644eb142f0175eaf9acb663269b63fcb467

See more details on using hashes here.

Supported by

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