$npx skillfedfor your agent

flask-orjson

A Flask JSON provider using the fast orjson library.

With conditionsPyPI Application FrameworksReleased Jan 2024131.8K downloads / mopermissive licensePure Python

Decision gist · record as of 2026-08-14

pure-Python wheel — flask_orjson-2.0.0-py3-none-any.whl
v2.0.0 · released 2024-01-15 · Python >=3.8 · 2 runtime deps: flask, orjson

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.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Requires Python 3.8 or later and an existing Flask application to integrate with.
  • Low install friction with only two runtime dependencies (flask and orjson).
  • Maintenance is dormant—last release was over a year ago—but the package is marked Production/Stable.

License · maintenance · safety

permissive license (permissive) — Licensed under MIT (permissive), so you can use, modify, and distribute this package freely in both open-source and commercial projects with minimal legal friction.

last release 2024-01-15 (942 days)

0 known vulnerabilities (OSV.dev, 2026-08-14) · 131,785 downloads/mo, #11,574 on PyPI

Verify before relying

pip install flask-orjson

from flask import Flask
from flask_orjson import OrjsonProvider

app = Flask(__name__)
app.json = OrjsonProvider(app)
  • Actual performance improvement magnitude compared to Flask's default JSON encoder in typical workloads.
  • Compatibility with recent Flask versions given dormant maintenance status.
  • Whether orjson's serialization behavior is a drop-in replacement for all JSON types Flask applications typically use.
Same gist for agents: .md · .json

What it is and 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—it exists only to bridge Flask's JSON interface with orjson's performance characteristics.

The 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.

Use it for

  • 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.

Worth the install?

AI-flagged interpretation of the facts on this page. Verify before relying on it.

With conditions

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.

Install

flask-orjson on PyPI

Before you install

Low install friction with only two runtime dependencies (flask and orjson). Maintenance is dormant—last release was over a year ago—but the package is marked Production/Stable.

Requires Python 3.8 or later and an existing Flask application to integrate with.

License in practice

Licensed under MIT (permissive), so you can use, modify, and distribute this package freely in both open-source and commercial projects with minimal legal friction.

Quickstart

pip install flask-orjson

from flask import Flask
from flask_orjson import OrjsonProvider

app = Flask(__name__)
app.json = OrjsonProvider(app)

Verify before relying

  • Actual performance improvement magnitude compared to Flask's default JSON encoder in typical workloads.
  • Compatibility with recent Flask versions given dormant maintenance status.
  • Whether orjson's serialization behavior is a drop-in replacement for all JSON types Flask applications typically use.

Package facts

Licensepermissive license permissive
Python supportSupports the current Python release >=3.8
Install frictionLow. Pure-Python wheel
Runtime dependencies
2 packages
flaskorjson
MaintenanceDormant 942 days since the last release
First released
Downloads131,785 / month, #11,574 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14
Classifiers
Development Status :: 5 - Production/StableFramework :: FlaskLicense :: OSI Approved :: MIT LicenseProgramming Language :: PythonTyping :: Typed

Evidence: flask_orjson-2.0.0-py3-none-any.whl

Tags

Capabilities
flask json provider orjsonfast json serialization flaskflask performance json encodingorjson flask integrationspeed up flask jsonflask json encoder replacement
Topics
performance-optimizationjson-serialization

Let your AI agent find packages like this

Example. Real query, live index.

You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.

wish › “flask json provider orjson”

  • flask-orjsonReplaces Flask's default JSON encoder with orjson, a faster JSON…
  • types-orjsonProvides PEP 561 type stubs for the orjson package, enabling type…
  • drf-orjson-rendererProvides a high-performance JSON renderer and parser for Django REST…

Give your agent the search over MCP, or paste the wish link into any chat.

More Application Frameworks packages

fastapi Worth it
PyPI · Software Development · released Jul 2026

FastAPI is a Python web framework for building REST APIs using type hints, with automatic request validation, serialization, and interactive API documentation.

MITpure Python · 3.10+
568.6Mdownloads / mo
annotated-doc With conditions
PyPI · Software Development · released Jul 2026

Provides a way to document function parameters, class attributes, return types, and variables inline using Python's `Annotated` type hint syntax instead of traditional docstrings.

MITpure Python · 3.9+
456.2Mdownloads / mo
textual Worth it
PyPI · Application Frameworks · released Jun 2026

Textual is a Python framework for building cross-platform user interfaces that run in the terminal or web browser using a modern, component-based API.

Install it if you're developing CLI tools, dashboards, or interactive terminal applications.

MITpure Python
443.6Mdownloads / mo
typer Worth it
PyPI · Software Development · released Aug 2026

Typer builds command-line applications from Python functions using type hints, automatically generating help text, argument parsing, and shell completion.

Install it if you are building CLIs in Python.

MITpure Python · 3.10+
369.3Mdownloads / mo
mcp Worth it
PyPI · Application Frameworks · released Jul 2026

Build and connect to Model Context Protocol servers that expose tools, resources, and prompts to LLM applications over stdio, HTTP, or SSE transports.

Install it if you need to build or connect to servers.

MITpure Python · 3.10+
319.3Mdownloads / mo
Werkzeug Worth it
PyPI · Application Frameworks · released Apr 2026

Werkzeug is a WSGI utility library providing request/response objects, URL routing, an interactive debugger, HTTP utilities, and a development server for building web applications.

BSD-3-Clausepure Python · 3.9+
268.1Mdownloads / mo

See also ujson · drf-orjson-renderer · orjson · json-numpy · simplejson · ormsgpack · Flask-JSON · jsonconversion · flask-marshmallow · py-ubjson