microversion-parse
OpenStack microversion header parser
Decision gist · record as of 2026-08-14
Yes, if you are building or operating an OpenStack service that needs to handle microversion negotiation. The package is lightweight, has no security issues, and provides a standard way to parse and validate microversions. The aging maintenance status is not a blocker for stable, well-defined functionality, but verify that your OpenStack deployment's microversion requirements match the library's capabilities before adopting it.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires Python 3.10 or later; WebOb must be installed as a runtime dependency.
- Low install friction; pure Python wheel with a single runtime dependency on WebOb.
- Maintenance status is aging (253 days since last release), though the package has been stable since its 2016 inception and supports current Python versions through 3.13.
License · maintenance · safety
Apache-2.0 (permissive) — Licensed under Apache-2.0 (permissive), allowing use in commercial and proprietary projects with minimal restrictions beyond attribution and liability disclaimers.
last release 2025-12-04 (253 days)
0 known vulnerabilities (OSV.dev, 2026-08-14) · 113,051 downloads/mo, #12,351 on PyPI
Alternatives
Verify before relying
import microversion_parse
headers = {'openstack-api-version': 'compute 2.1'}
version = microversion_parse.get_version(headers, service_type='compute')
# Returns '2.1'
version_tuple = microversion_parse.parse_version_string('2.1')
# Returns comparable Version namedtuple- Whether the package is actively maintained or in maintenance-only mode given the 253-day release gap.
- Real-world adoption rate and whether 113,051 monthly downloads reflect active OpenStack deployments or historical usage.
What it is and what it does
microversion_parse is a utility library for handling OpenStack microversion headers—the mechanism by which OpenStack APIs signal backward-compatible feature additions. It provides three core functions: get_version() extracts a version string from HTTP headers (supporting both standard 'OpenStack-API-Version' and legacy service-specific headers), parse_version_string() converts version strings into comparable Version tuples, and extract_version() combines both to validate that a requested version is in the service's supported list. It also includes MicroversionMiddleware, a WSGI middleware component that automatically negotiates microversions for incoming requests, returning appropriate HTTP error responses (406 for unsupported versions, 400 for malformed headers) and injecting the negotiated version into the WSGI environ.
The package is designed for OpenStack service operators and developers building microversion-aware APIs. Its single dependency is WebOb, a lightweight HTTP utility library. It supports Python 3.10 through 3.13 and carries no known security vulnerabilities. The aging maintenance status (last release 253 days ago) suggests the package is stable but not under active development.
Use it for
- Validate and extract microversion numbers from incoming OpenStack API requests in a WSGI application.
- Wrap a microversion-aware WSGI app with middleware to automatically handle version negotiation and return appropriate HTTP responses.
- Parse and compare microversion strings to determine feature availability within an OpenStack service.
- Support both modern 'OpenStack-API-Version' headers and legacy service-specific headers like 'X-OpenStack-nova-api-version'.
- Translate the 'latest' keyword in version requests to the maximum supported version for a service.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes, if you are building or operating an OpenStack service that needs to handle microversion negotiation.
The package is lightweight, has no security issues, and provides a standard way to parse and validate microversions. The aging maintenance status is not a blocker for stable, well-defined functionality, but verify that your OpenStack deployment's microversion requirements match the library's capabilities before adopting it.
Install
microversion-parse on PyPI
Before you install
Low install friction; pure Python wheel with a single runtime dependency on WebOb. Maintenance status is aging (253 days since last release), though the package has been stable since its 2016 inception and supports current Python versions through 3.13.
Requires Python 3.10 or later; WebOb must be installed as a runtime dependency.
License in practice
Licensed under Apache-2.0 (permissive), allowing use in commercial and proprietary projects with minimal restrictions beyond attribution and liability disclaimers.
Quickstart
import microversion_parse
headers = {'openstack-api-version': 'compute 2.1'}
version = microversion_parse.get_version(headers, service_type='compute')
# Returns '2.1'
version_tuple = microversion_parse.parse_version_string('2.1')
# Returns comparable Version namedtuple
Verify before relying
- Whether the package is actively maintained or in maintenance-only mode given the 253-day release gap.
- Real-world adoption rate and whether 113,051 monthly downloads reflect active OpenStack deployments or historical usage.
Package facts
| License | Apache-2.0 permissive |
| Python support | Supports the current Python release >=3.10 |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | 1 packageWebOb |
| Maintenance | Aging 253 days since the last release |
| First released | |
| Downloads | 113,051 / month, #12,351 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | Environment :: OpenStackIntended Audience :: Information TechnologyIntended Audience :: System AdministratorsLicense :: OSI Approved :: Apache Software LicenseOperating System :: POSIX :: LinuxProgramming Language :: PythonProgramming Language :: Python :: 3Programming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13 |
Evidence: microversion_parse-2.1.0-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 › “openstack microversion header parser”
- microversion-parseParses and validates OpenStack microversion headers in HTTP requests,…
- oslo.middlewareoslo.middleware provides WSGI middleware components for intercepting…
- oslo.configParses command-line arguments and .ini-style configuration files for…
Give your agent the search over MCP, or paste the wish link into any chat.
More WWW/HTTP packages
urllib3 is an HTTP client library that provides thread-safe connection pooling, SSL/TLS verification, multipart file uploads, request retries, compression support, and proxy handling for Python applications.
Requests is a Python HTTP library that simplifies sending HTTP/1.1 requests with automatic handling of headers, authentication, cookies, and response parsing.
h11 is a pure-Python HTTP/1.1 protocol implementation that handles parsing and serializing HTTP messages without any built-in I/O, letting you integrate it with any network layer you choose.
HTTPX is a fully featured HTTP client library for Python that provides both sync and async APIs, with support for HTTP/1.1 and HTTP/2, plus an integrated command-line client.
Install it if you are building new projects or modernizing existing ones that rely on HTTP.
A minimal low-level HTTP client library that sends HTTP requests with thread-safe and task-safe connection pooling, supporting HTTP/1.1, HTTP/2, proxies, and both sync and async interfaces.
aiohttp is an async HTTP client and server framework built on asyncio, supporting both WebSockets and middleware-based routing for building concurrent web applications.
Install it if you need async HTTP client or server capabilities in asyncio-based applications.
See also oslo.middleware · WSME · keystonemiddleware · gunicorn_h1c · apig-wsgi · oslo.context · oslo.service · WebOb · repoze.who · versions