{"categories":[{"label":"Application Frameworks","url":"https://skillfed.io/packages/category/software-development-libraries-application-frameworks/5"}],"enrichment":{"capability":"Replaces Flask's default JSON encoder with orjson, a faster JSON serialization library, to speed up JSON request parsing and response generation in Flask applications.","skillfed_tags":["performance-optimization","json-serialization"],"use_cases":["Speed up JSON response generation in Flask APIs that handle high request volume or large JSON payloads.","Reduce latency when parsing incoming JSON request bodies in REST endpoints.","Replace Flask's default JSON encoder in existing applications without rewriting serialization logic.","Improve throughput in microservices where JSON is the primary data format."],"what_it_does":"flask-orjson is a Flask extension that swaps out Flask's built-in JSON encoder for orjson, a third-party library optimized for fast JSON serialization. You install it, import OrjsonProvider, and assign it to your Flask app's json property in a single line. The package is thin\u2014it exists only to bridge Flask's JSON interface with orjson's performance characteristics.\n\nThe main use case is reducing latency in Flask applications that handle significant JSON traffic. Since JSON encoding and decoding can be a bottleneck in web services, using a faster serializer can improve throughput and response times. The package is marked Production/Stable and carries no known vulnerabilities, but maintenance is dormant, so it may not track changes in Flask or orjson closely.","worth_installing":"Yes, if you are running a Flask application and JSON performance is a measurable concern. The package is simple, low-friction to install, carries no vulnerabilities, and uses a permissive license. However, dormant maintenance means you should verify compatibility with your Flask and orjson versions before deploying to production, and be prepared to maintain a fork if Flask's JSON interface changes significantly."},"id":"flask-orjson","links":{"html":"https://skillfed.io/packages/flask-orjson","md":"https://skillfed.io/packages/flask-orjson.md","pypi":"https://pypi.org/project/flask-orjson/"},"maintenance":{"status":"dormant"},"meta":{"latest_release":"2024-01-15","license_spdx":null,"license_treatment":"permissive","name":"flask-orjson","python_support":"supports_current","summary":"A Flask JSON provider using the fast orjson library."},"popularity":{"monthly_downloads":131785,"position":11574,"tier":"top_15000"},"security":{"n_vulnerabilities":0},"version":"2.0.0"}
