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 no 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.1-alpha
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| HipPocket-0.1.1-alpha.tar.gz | 6.9 kB | Details |
Release files / HipPocket-0.1.1-alpha.tar.gz
| Download URL | HipPocket-0.1.1-alpha.tar.gz |
|---|---|
| Size | 6.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
0174d15122736d31a4d298750cc893f652aae28ee60bec4dfd9dd8c817769033
|
|
BLAKE2b-256 checksum How to use checksums |
043233cb3fcb30049cfa603d2532e644eb142f0175eaf9acb663269b63fcb467
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |