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.8 (December 26th, 2024)

  • Use underscores in pip package name

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.8.tar.gz (17.1 kB view details)

Uploaded Source

File details

Details for the file some_flask_helpers-0.2.8.tar.gz.

File metadata

  • Download URL: some_flask_helpers-0.2.8.tar.gz
  • Upload date:
  • Size: 17.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.1 CPython/3.12.8

File hashes

Hashes for some_flask_helpers-0.2.8.tar.gz
Algorithm Hash digest
SHA256 6c88e80322df2776e2018c7aa68b306115cad79257e8f9b9e758690d38379c3a
MD5 d5a08d6d648aba8dd59bd0104cc360da
BLAKE2b-256 db6faffa35a227aed9cb2c3f9b2bc552cfdfa1491f0463d44643715b958b389a

See more details on using hashes here.

Supported by

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