{"categories":[{"label":"WWW/HTTP","url":"https://skillfed.io/packages/category/internet-www-http/7"}],"enrichment":{"capability":"Parses and creates MIME types (media types) according to RFC-6838, decomposing them into type, subtype, suffix, and parameters or reconstructing them from components.","skillfed_tags":["mime-type","http-headers","rfc-6838"],"use_cases":["Parse Content-Type headers in HTTP request/response handlers to extract and validate media types.","Build or validate MIME type strings programmatically when constructing HTTP responses or file metadata.","Decompose media types in content negotiation logic to match client Accept headers against server capabilities.","Normalize or canonicalize media type strings in APIs or data pipelines that consume untrusted input."],"what_it_does":"mediatype is a lightweight library for parsing and constructing MIME types (also called media types or content types). It breaks down a media type string like 'application/manifest+json' into its structural components\u2014type, subtype, suffix, and optional parameters\u2014and can reconstruct the string from those components. The library follows RFC-6838 specifications and is useful anywhere HTTP content negotiation, file type handling, or protocol parsing requires reliable media type manipulation.\n\nThe package depends only on enumb and installs as a pure Python wheel, making it quick to add to any project. It supports Python 3.8 through 3.10. Because the last release was in April 2022 and the repository shows no recent activity, the package is stable but not actively developed; it is suitable for projects that need straightforward media type handling without expecting ongoing feature additions.","worth_installing":"Yes, if you need reliable MIME type parsing and don't require active maintenance. The package is stable, has no known vulnerabilities, and solves a narrow, well-defined problem with minimal dependencies. The dormant maintenance status is acceptable for a utility library with a stable specification (RFC-6838), but unsuitable if you need ongoing bug fixes or Python version support beyond 3.10."},"id":"mediatype","links":{"html":"https://skillfed.io/packages/mediatype","md":"https://skillfed.io/packages/mediatype.md","pypi":"https://pypi.org/project/mediatype/"},"maintenance":{"status":"dormant"},"meta":{"latest_release":"2022-04-12","license_spdx":null,"license_treatment":"permissive","name":"mediatype","python_support":"supports_current","summary":"Media Type parsing and creation"},"popularity":{"monthly_downloads":96908,"position":13185,"tier":"top_15000"},"security":{"n_vulnerabilities":0},"version":"0.1.6"}
