Skip to main content

Generic tools for Flask applications

Project description

some_flask_helpers

This is a little Simple Extensions to the Flask Framework:

  • The class BlueprintAdapter allows you to use blueprints as decorators.

  • The class FlaskStopper defines a Flask blueprint to add a clean shut-down mechanism to a Flask web server which may come in handy for test cases which have to start and tear down Flask servers repeatedly.

Source Repository

See https://github.com/marcus67/some_flask_helpers

CircleCI Continuous Integration Status

GitHub Status

Versions

Version 0.2.7 (November 18th, 2024)

  • Bump werkzeug to 3.1.3

Version 0.2.6 (July 26th, 2024)

  • Bump requests to 2.32.3
  • Add logging
  • Restrict to Python 3.10 ... 3.12
  • Run Python tests for Python 3.10 ... 3.12
  • Add helper scripts to build and upload

Version 0.2.5 (October 12th, 2023)

  • Bump werkzeug to 2.3.8 (CVE-2023-46136)

Version 0.2.4 (October 12th, 2023)

  • Upgrade packages

Version 0.2.3 (July 5th 2022)

  • Terminate flask server by monkey patching werkzeug.serving.make_server instead of using request environment setting werkzeug.server.shutdown

Version 0.2.2 (February 14th 2021)

  • Include required files in MANIFEST.in

Version 0.2.1 (February 14th 2021)

  • Activate Markdown for project description on PyPi

Version 0.2 (February 14th 2021)

  • Add test cases

Version 0.1

  • Initial version

Usage Examples

See the testcase for usage examples:

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

some-flask-helpers-0.2.7.tar.gz (17.1 kB view details)

Uploaded Source

File details

Details for the file some-flask-helpers-0.2.7.tar.gz.

File metadata

  • Download URL: some-flask-helpers-0.2.7.tar.gz
  • Upload date:
  • Size: 17.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.6

File hashes

Hashes for some-flask-helpers-0.2.7.tar.gz
Algorithm Hash digest
SHA256 b44c7bb2236b47ce06212f337d06160875de210854d12bac4a5bccaea110c322
MD5 f2cb18d5aae36dc047cbf95f9fbba925
BLAKE2b-256 706bb9b1d07095d860df38d452f2929fcf382d71d06f7f177ad1956f6ef550dd

See more details on using hashes here.

Supported by

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