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 limited tests (currently).

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

  • Its API is not stable.

  • It is actively accepting patches and feedback at its GitHub repository.

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.2a.tar.gz (7.1 kB view details)

Uploaded Source

File details

Details for the file HipPocket-0.1.2a.tar.gz.

File metadata

  • Download URL: HipPocket-0.1.2a.tar.gz
  • Upload date:
  • Size: 7.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for HipPocket-0.1.2a.tar.gz
Algorithm Hash digest
SHA256 5286439a164da43e2c38e9bb6c2b548db7a0aded949883abc74a90c3cfa1f0c9
MD5 052cc039f0f9a802f097e432274b9b17
BLAKE2b-256 7767b1a61757355dc8198ab0f6a052daf5cdbdd1493ee4e6b95584c431c5b15f

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