Skip to main content

Monkey patches to keep flask-restx working with latest flask and werkzeug.

Project description

restx-monkey

Monkey patches for unmaintained flask-restx python package to keep it restx compatible with the latest flask and werkzeug.

Usage

To install restx_monkey, use pip:

pip install -U restx-monkey

Before importing flask-restx apply all patches in your main module:

# app main file
import restx_monkey as monkey

monkey.patch_restx()

# after patch import other modules 
import flask_restx
# your other code

or select which patches you do not want to apply

# app main file
import restx_monkey as monkey

monkey.patch_restx(fix_restx_api=False)

# after patch import other modules 
import flask_restx
# your other code

Goal of project

Keep flask-restx compatible with the latest flask and werkzeug as long as it is reasonable simple to monkey patch it.

What this project is not

This project does not solve incompatibilities of other python packages using flask-restx.

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

restx-monkey-0.2.1.tar.gz (18.1 kB view hashes)

Uploaded Source

Built Distribution

restx_monkey-0.2.1-py3-none-any.whl (17.6 kB view hashes)

Uploaded Python 3

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