--- id: pyuwsgi version: "2.0.30.post1" license: GPL2 license_treatment: copyleft maintenance: active --- # pyuwsgi — The uWSGI server License: copyleft · Maintenance: active · Downloads: 586.3K/mo ## What it is and what it does pyuwsgi is the uWSGI application server packaged as a Python module rather than a standalone binary. It lets you run a production-grade WSGI server directly from Python code or via console scripts (pyuwsgi and uwsgi), with pre-built wheels that bundle common libraries (zlib, pcre, jansson) to avoid compilation on most platforms. The package is built directly from uWSGI's source without modifications, using a different setup.py to integrate it into the Python ecosystem. It includes the stats_pusher_statsd plugin by default and intentionally omits SSL support from pre-built wheels; SSL can be added by rebuilding locally if needed. It's a drop-in replacement for uWSGI when you want to manage it as a Python dependency rather than a system package. Use it for: - Deploy a Python WSGI application as a managed server without installing uWSGI separately on the system. - Run uWSGI configuration and management entirely within Python code, importing and calling it programmatically. - Package a complete application server as part of a Python environment or container without relying on system package managers. - Use the stats_pusher_statsd plugin for metrics collection without additional uWSGI configuration. ## Worth the install? AI-flagged interpretation of the facts above — verify before relying. pyuwsgi packages the uWSGI application server as an importable Python module with pre-built wheels, allowing you to run a WSGI application server directly from Python code or via command-line scripts. Yes, if you want to manage uWSGI as a Python dependency and avoid system-level installation or compilation. The pre-built wheels cover common platforms and Python versions, and the GPLv2 linking exception removes licensing friction for proprietary projects. No if you need SSL support out of the box or prefer uWSGI as a standalone binary managed outside Python's package ecosystem. ## Install pip install pyuwsgi uv add pyuwsgi poetry add pyuwsgi ## Installing pyuwsgi Before you install: Medium install friction due to compiled wheels; pre-built binaries are available for common platforms (macOS, Linux, musl) and Python versions, reducing the need for local compilation in most cases. License in practice: Licensed under GPLv2 with a linking exception, meaning you can use pyuwsgi unmodified in proprietary projects without triggering GPL obligations on the rest of your codebase. Quickstart: pip install pyuwsgi import pyuwsgi pyuwsgi.run(["--help"]) SSL support is intentionally excluded from pre-built wheels for security; rebuild locally with `pip install --no-binary=pyuwsgi pyuwsgi` if SSL is required. Verify before relying: - Whether the stats_pusher_statsd plugin inclusion affects typical deployment workflows or adds unexpected dependencies. - Performance characteristics compared to running uWSGI as a standalone binary in production environments. - Which Python versions beyond those in the pre-built wheels are supported. ## Package facts - License: GPL2 (copyleft) - Python support: unspecified - Install friction: medium - Maintenance: active - Downloads: 586.3K/month (top 15,000 on PyPI) - Known vulnerabilities: none known ## Tags wsgi application server, uwsgi python module, python app server, wsgi server deployment, http application server, wsgi-server, application-deployment [View on SkillFed](https://skillfed.io/packages/pyuwsgi) · [View on PyPI](https://pypi.org/project/pyuwsgi/)