crossplane
Reliable and fast NGINX configuration file parser.
What it is and what it does
Crossplane is a parser and builder for NGINX configuration files. It reads NGINX configs and converts them into structured JSON, making it possible to programmatically analyze, validate, or regenerate configurations. It also provides command-line utilities to parse, build, lex, format, and minify NGINX configs. The package has no runtime dependencies and works as both a Python module and a standalone CLI tool.
The parser handles the full NGINX config syntax including nested blocks, includes, and arguments, and can optionally exclude sensitive directives for privacy. It's commonly used in infrastructure tooling, configuration management, and the NGINX Amplify Agent for analyzing server configurations without exposing secrets.
Use it for:
- Programmatically analyze NGINX configurations in Python to audit settings or extract values.
- Convert NGINX configs to JSON for storage, comparison, or transmission to other systems.
- Rebuild NGINX configs from JSON payloads in automated deployment or configuration management workflows.
- Format or minify NGINX configuration files from the command line.
- Extract and validate NGINX directives while filtering out sensitive data like certificates or passwords.
Worth the install?
AI-flagged interpretation of the facts on this page — verify before relying
Parses NGINX configuration files into JSON and rebuilds them from JSON, with command-line tools for parsing, building, lexing, formatting, and minifying configs.
Yes. Crossplane is actively maintained, has no dependencies, and fills a specific need for NGINX config parsing and manipulation. It's widely used (top 5000 PyPI packages) with no known vulnerabilities. Install it if you need to programmatically work with NGINX configurations or provide config analysis tooling.
Install
crossplane on PyPI
pip
pip install crossplaneuv
uv add crossplanepoetry
poetry add crossplaneInstalling crossplane
Before you install
Low install friction with no runtime dependencies. Actively maintained as of 2026-03-31 with 762 repository stars. Supports Python 2.7 and Python 3.6 through 3.10.
License in practice
Apache 2.0 permissive license allows commercial and private use with minimal restrictions.
Quickstart
pip install crossplane
import crossplane
result = crossplane.parse('/etc/nginx/nginx.conf')
print(result['status'])
Verify before relying
- Whether the package handles all NGINX directive types or has known limitations with newer NGINX versions.
- Current compatibility status with Python 3.11+ given the latest release was 2022-09-22.
Package facts
| License | Apache 2.0 (permissive) |
| Python support | not specified |
| Install friction | low — pure-Python wheel |
| Runtime dependencies | none |
| Maintenance | actively maintained — 1,422 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 3,373,566/month — #2,646 on PyPI (30-day window, as of 2026-08-14) |
| Known vulnerabilities | none known (OSV.dev, checked 2026-08-14) |
Evidence: crossplane-0.5.8-py2.py3-none-any.whl
Tags
More Utilities packages
Converts domain names between Unicode and…
permissive · top 100 on PyPI
charset-normalizerDetects and normalizes text encoding from…
permissive · top 100 on PyPI
setuptoolsSetuptools is a Python build backend and…
permissive · top 100 on PyPI
pluggyPluggy provides a plugin system that lets you…
permissive · top 100 on PyPI
PygmentsPygments is a syntax highlighter that colorizes…
permissive · top 100 on PyPI
sixSix provides utility functions to write Python…
permissive · top 100 on PyPI
jinjanatorA command-line tool that renders Jinja2…
permissive · top 5,000 on PyPI
j2clij2cli is a command-line tool that renders…
permissive · top 5,000 on PyPI
anyconfigLoads, dumps, and merges configuration files in…
permissive · top 15,000 on PyPI
certbot-nginxCertbot-nginx is a plugin for Certbot that…
permissive · top 15,000 on PyPI
plyPLY is a lexer and parser generator for Python…
permissive · top 1,000 on PyPI
ConfigArgParseExtends Python's argparse to parse command-line…
permissive · top 1,000 on PyPI
compact-jsonFormats JSON into compact, human-readable…
permissive · top 5,000 on PyPI
sphinx_mdincludeSphinx extension that lets you include and…
permissive · top 15,000 on PyPI
configuratorBuilds a configuration store by layering…
permissive · top 15,000 on PyPI
mo-sql-parsingParses SQL queries into JSON-serializable parse…
copyleft · top 15,000 on PyPI