Skip to main content
Pre-release

This release is a pre-release and may not be stable for production use.

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 not tests (yet).

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

  • Its API is not stable.

  • It is actively accepting patches and feedback.

Metadata

Release files for HipPocket 0.1.0-alpha

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for HipPocket 0.1.0-alpha
File Size Uploaded
HipPocket-0.1.0-alpha.tar.gz 5.0 kB Details

Release files / HipPocket-0.1.0-alpha.tar.gz

Download URL HipPocket-0.1.0-alpha.tar.gz
Size 5.0 kB
Tags Source
SHA-256 checksum
How to use checksums
21e355ed5531b7826bcfbc4f5a10ec32d530fcaed2b50a2f84647e9d0ea0beac
BLAKE2b-256 checksum
How to use checksums
52391be8d1f20a6180c262e9e0758d5365a88688c88c86bb8a3ec3b69d4d8a33
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page