invenio-rest
REST API module for Invenio.
Decision gist · record as of 2026-08-14
Yes, if you are building or extending an Invenio application with REST endpoints. The module is actively maintained, has low install friction, carries a permissive MIT license, and solves a real problem within the Invenio ecosystem. Not recommended for standalone REST projects outside Invenio.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires Python >=3.8.
- Low install friction with a wheel distribution and seven runtime dependencies.
- Active maintenance with a recent release 29 days ago; last commit on 2026-07-21.
License · maintenance · safety
MIT (permissive) — MIT license permits commercial and private use with minimal restrictions—include a copy of the license and copyright notice.
last release 2026-07-16 (29 days) · last repo commit 2026-07-21 · 2 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 73,597 downloads/mo, #14,963 on PyPI
Alternatives
Verify before relying
pip install invenio-rest
from invenio_rest import InvenioREST
from flask import Flask
app = Flask(__name__)
InvenioREST(app)- Whether CORS is enabled by default or requires explicit configuration beyond InvenioREST initialization.
- Whether error handling covers all common REST scenarios or requires additional middleware setup.
What it is and what it does
Invenio-REST is a Flask extension that bundles REST API infrastructure for the Invenio digital library framework. It handles common REST concerns—error responses, HTTP semantics—and integrates Flask-CORS to support cross-origin requests when needed. The module is designed to be used within the broader Invenio ecosystem, where it provides a foundation for building REST endpoints on top of Invenio's data models and services.
The package depends on marshmallow for serialization, webargs for request parsing, and several other Invenio core modules. It is actively maintained and classified as production-stable. It is most useful if you are building a REST API within an Invenio application; standalone REST API projects would typically use Flask or a more general-purpose REST framework instead.
Use it for
- Set up error handling and CORS for a REST API in an Invenio digital repository application.
- Initialize Flask-CORS conditionally in an Invenio app without manual middleware configuration.
- Provide a standardized REST foundation when extending Invenio with custom API endpoints.
- Integrate marshmallow-based request/response validation in an Invenio REST service.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes, if you are building or extending an Invenio application with REST endpoints.
The module is actively maintained, has low install friction, carries a permissive MIT license, and solves a real problem within the Invenio ecosystem. Not recommended for standalone REST projects outside Invenio.
Install
invenio-rest on PyPI
Before you install
Low install friction with a wheel distribution and seven runtime dependencies. Active maintenance with a recent release 29 days ago; last commit on 2026-07-21.
Requires Python >=3.8.
License in practice
MIT license permits commercial and private use with minimal restrictions—include a copy of the license and copyright notice.
Quickstart
pip install invenio-rest
from invenio_rest import InvenioREST
from flask import Flask
app = Flask(__name__)
InvenioREST(app)
Verify before relying
- Whether CORS is enabled by default or requires explicit configuration beyond InvenioREST initialization.
- Whether error handling covers all common REST scenarios or requires additional middleware setup.
Package facts
| License | MIT permissive |
| Python support | Supports the current Python release >=3.8 |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | 7 packagesflask-corsinvenio-baseinvenio-loggingitsdangerousmarshmallow-utilsmarshmallowwebargs |
| Maintenance | Actively maintained 29 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 73,597 / month, #14,963 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | Development Status :: 5 - Production/Stable |
Evidence: invenio_rest-4.0.1-py3-none-any.whl
Tags
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 › “invenio rest module”
- invenio-restInvenio-REST provides Flask-based REST API infrastructure with…
- invenio-records-permissionsDefines and enforces permission policies for records in Invenio…
- msrestazureProvides HTTP client runtime and Azure authentication primitives for…
Give your agent the search over MCP, or paste the wish link into any chat.
More Dynamic Content packages
MarkupSafe provides a text object that escapes special characters so untrusted strings can be safely embedded in HTML and XML without injection attacks.
Jinja2 is a templating engine that renders dynamic content by combining templates with Python-like syntax and data, supporting template inheritance, macros, autoescaping, and sandboxed execution.
Soupsieve is a CSS selector library designed to work with Beautiful Soup 4 to select, match, and filter HTML and XML elements using modern CSS selectors from CSS level 1 through CSS level 4 specifications.
Install it if you use Beautiful Soup for HTML or XML parsing and want modern CSS selector support.
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.
Flask is a lightweight WSGI web application framework for building web applications in Python, from simple single-page sites to complex multi-route applications.
Mako compiles Python-embedded templates into Python modules for fast rendering, supporting layout inheritance, custom functions, and direct Python expressions within template syntax.
See also flask-cors · invenio-records-permissions · Sanic-Cors · cherrypy-cors · aiohttp-cors · fastapi-cors · django-cors-headers · quart-cors · types-Flask-Cors · httpbin