{"categories":[{"label":"Python Modules","url":"https://skillfed.io/packages/category/software-development-libraries-python-modules/4"},{"label":"WWW/HTTP","url":"https://skillfed.io/packages/category/internet-www-http/2"}],"enrichment":{"capability":"Prance parses and validates Swagger/OpenAPI 2.0 and 3.0 specifications in Python, resolving JSON references and external file paths according to the OpenAPI standard.","skillfed_tags":["api-specification","openapi-swagger"],"use_cases":["Validate and resolve Swagger/OpenAPI specs in CI/CD pipelines before deploying API services","Parse OpenAPI specifications from files or URLs into Python dictionaries for code generation or documentation tools","Compile multi-file API specs with external references into single resolved output files for distribution","Convert legacy Swagger 2.0 definitions to OpenAPI 3.0 format programmatically","Extract and flatten API specifications containing JSON references for analysis or transformation"],"what_it_does":"Prance is a parser and validator for Swagger/OpenAPI specifications that handles both local file paths and remote URLs. It extends standard JSON reference resolution to work with OpenAPI's non-URI relative file paths, which standard JSON reference libraries do not support. The package provides two main parsing modes: ResolvingParser, which follows and resolves all JSON references into a flat specification dictionary, and BaseParser, which parses without resolving references.\n\nThe package includes a command-line interface for validating specs, compiling them into fully resolved output files, and converting older Swagger 2.0 specs to OpenAPI 3.0 format via an external web service. It depends on chardet, ruamel.yaml, requests, and packaging for core functionality, and delegates actual validation to pluggable backends (openapi-spec-validator, swagger-spec-validator, or flex) that you install separately.","worth_installing":"Yes, if you need to parse or validate OpenAPI/Swagger specs in Python. The package is actively maintained, has low install friction, and fills a real gap in reference resolution. Clarify the MITNFA license before use in proprietary contexts. Avoid the flex backend due to deprecated dependencies with known security issues."},"id":"prance","links":{"html":"https://skillfed.io/packages/prance","md":"https://skillfed.io/packages/prance.md","pypi":"https://pypi.org/project/prance/"},"maintenance":{"status":"active"},"meta":{"latest_release":"2026-07-19","license_spdx":null,"license_treatment":"unclear","name":"prance","python_support":"supports_current","summary":"Resolving Swagger/OpenAPI 2.0 and 3.0.0 Parser"},"popularity":{"monthly_downloads":6194071,"position":1959,"tier":"top_5000"},"security":{"n_vulnerabilities":0},"version":"26.7.19.0"}
