{"id":13936052,"url":"https://github.com/decentfox/nginxpy","last_synced_at":"2026-03-15T18:37:56.626Z","repository":{"id":33594175,"uuid":"159663277","full_name":"decentfox/nginxpy","owner":"decentfox","description":"Embed Python in NGINX.","archived":false,"fork":false,"pushed_at":"2022-12-26T20:46:42.000Z","size":47,"stargazers_count":110,"open_issues_count":9,"forks_count":15,"subscribers_count":19,"default_branch":"master","last_synced_at":"2024-11-27T03:35:14.741Z","etag":null,"topics":["application-server","nginx","python"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/decentfox.png","metadata":{"files":{"readme":"README.rst","changelog":"HISTORY.rst","contributing":"CONTRIBUTING.rst","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2018-11-29T12:31:52.000Z","updated_at":"2024-10-28T09:30:47.000Z","dependencies_parsed_at":"2023-01-15T01:34:11.582Z","dependency_job_id":null,"html_url":"https://github.com/decentfox/nginxpy","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/decentfox%2Fnginxpy","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/decentfox%2Fnginxpy/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/decentfox%2Fnginxpy/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/decentfox%2Fnginxpy/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/decentfox","download_url":"https://codeload.github.com/decentfox/nginxpy/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":236084033,"owners_count":19092296,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["application-server","nginx","python"],"created_at":"2024-08-07T23:02:20.286Z","updated_at":"2025-10-11T10:31:17.695Z","avatar_url":"https://github.com/decentfox.png","language":"Python","readme":"=======\nNGINXpy\n=======\n\n\n.. image:: https://img.shields.io/pypi/v/nginxpy.svg\n        :target: https://pypi.python.org/pypi/nginxpy\n\n.. image:: https://img.shields.io/travis/decentfox/nginxpy.svg\n        :target: https://travis-ci.org/decentfox/nginxpy\n\n.. image:: https://readthedocs.org/projects/nginxpy/badge/?version=latest\n        :target: https://nginxpy.readthedocs.io/en/latest/?badge=latest\n        :alt: Documentation Status\n\n\n.. image:: https://pyup.io/repos/github/decentfox/nginxpy/shield.svg\n     :target: https://pyup.io/repos/github/decentfox/nginxpy/\n     :alt: Updates\n\n\n\nEmbed Python in NGINX.\n\n\n* Free software: Apache Software License 2.0\n* Documentation: https://nginxpy.readthedocs.io.\n\n\nFeatures\n--------\n\n* Standard Python package with Cython extension\n* Automatically build into NGINX dynamic module for current NGINX install\n* Run embeded Python in NGINX worker processes\n* Write NGINX modules in Python or Cython\n* Python ``logging`` module redirected to NGINX ``error.log``\n* (ongoing) NGINX event loop wrapped as Python ``asyncio`` interface\n* (TBD) Python and Cython interface to most NGINX code\n* (TBD) Adapt NGINX web server to WSGI, ASGI and aiohttp interfaces\n\n\nInstallation\n------------\n\n1. Install NGINX in whatever way, make sure ``nginx`` command is available.\n2. ``pip install nginxpy``, or get the source and run ``pip install .``. You\n   may want to add the ``-v`` option, because the process is a bit slow\n   downloading Cython, NGINX source code and configuring it. The usual ``python\n   setup.py install`` currently doesn't work separately - you should run\n   ``python setup.py build`` first.\n3. Run ``python -c 'import nginx'`` to get NGINX configuration hint.\n4. Update NGINX configuration accordingly and reload NGINX.\n5. Visit your NGINX site, see NGINX ``error.log`` for now.\n\n\nDevelopment\n-----------\n\n1. Install NGINX in whatever way, make sure ``nginx`` command is available.\n2. Checkout source code.\n3. Run ``python setup.py build \u0026\u0026 python setup.py develop``.\n4. Run ``python -c 'import nginx'`` to get NGINX configuration hint.\n5. Update NGINX configuration accordingly and reload NGINX.\n6. Visit your NGINX site, see NGINX ``error.log`` for now.\n7. Change code if result is not satisfying, or else go for pull request.\n8. Goto 3 if Cython code was changed, or else goto 5.\n\nSurprisingly NGINX has a very simple but powerful architecture, learn about it\nhere: http://nginx.org/en/docs/dev/development_guide.html\n\n\nCredits\n-------\n\nThis package was created with Cookiecutter_ and the `audreyr/cookiecutter-pypackage`_ project template.\n\n.. _Cookiecutter: https://github.com/audreyr/cookiecutter\n.. _`audreyr/cookiecutter-pypackage`: https://github.com/audreyr/cookiecutter-pypackage\n","funding_links":[],"categories":["Python"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdecentfox%2Fnginxpy","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdecentfox%2Fnginxpy","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdecentfox%2Fnginxpy/lists"}