Skip to main content

Dumps the URL map of a flask app to a JSON file

Project description

This package adds a urls_to_json command to the flask CLI that dumps the URL map of the flask app to a JSON file.

It also provides the flask_url_map_serializer module containing the following functions which convert rules from the URL map to a JSON-serializable dict:

  • dump_url_rule(url_map, endpoint)
  • dump_url_map(url_map)`

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Built Distribution

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page