All Projects → decentfox → nginxpy

decentfox / nginxpy

Licence: other
Embed Python in NGINX.

Programming Languages

python
139335 projects - #7 most used programming language
c
50402 projects - #5 most used programming language
Makefile
30231 projects

Projects that are alternatives of or similar to nginxpy

endurox-go
Application Server for Go (ASG)
Stars: ✭ 32 (-68.93%)
Mutual labels:  application-server
gin-rest-api
Example golang using gin framework everything you need, i create this tutorial special for beginner.
Stars: ✭ 56 (-45.63%)
Mutual labels:  application-server
ruckstack
The modern application server
Stars: ✭ 17 (-83.5%)
Mutual labels:  application-server
sandboxed-fs
Sandboxed Wrapper for Node.js File System API
Stars: ✭ 41 (-60.19%)
Mutual labels:  application-server
application-server
Application Server
Stars: ✭ 57 (-44.66%)
Mutual labels:  application-server
Php Pm
PPM is a process manager, supercharger and load balancer for modern PHP applications.
Stars: ✭ 6,358 (+6072.82%)
Mutual labels:  application-server
Roadrunner
🤯 High-performance PHP application server, load-balancer and process manager written in Golang
Stars: ✭ 6,122 (+5843.69%)
Mutual labels:  application-server
Passenger
A fast and robust web server and application server for Ruby, Python and Node.js
Stars: ✭ 4,804 (+4564.08%)
Mutual labels:  application-server
w4py
Webware for Python
Stars: ✭ 21 (-79.61%)
Mutual labels:  application-server
granitic
Web/micro-services and IoC framework for Golang developers
Stars: ✭ 32 (-68.93%)
Mutual labels:  application-server
transform-hub
Flexible and efficient data processing engine and an evolution of the popular Scramjet Framework based on node.js. Our Transform Hub was designed specifically for data processing and has its own unique algorithms included.
Stars: ✭ 38 (-63.11%)
Mutual labels:  application-server

NGINXpy

Documentation Status Updates

Embed Python in NGINX.

Features

  • Standard Python package with Cython extension
  • Automatically build into NGINX dynamic module for current NGINX install
  • Run embeded Python in NGINX worker processes
  • Write NGINX modules in Python or Cython
  • Python logging module redirected to NGINX error.log
  • (ongoing) NGINX event loop wrapped as Python asyncio interface
  • (TBD) Python and Cython interface to most NGINX code
  • (TBD) Adapt NGINX web server to WSGI, ASGI and aiohttp interfaces

Installation

  1. Install NGINX in whatever way, make sure nginx command is available.
  2. pip install nginxpy, or get the source and run pip install .. You may want to add the -v option, because the process is a bit slow downloading Cython, NGINX source code and configuring it. The usual python setup.py install currently doesn't work separately - you should run python setup.py build first.
  3. Run python -c 'import nginx' to get NGINX configuration hint.
  4. Update NGINX configuration accordingly and reload NGINX.
  5. Visit your NGINX site, see NGINX error.log for now.

Development

  1. Install NGINX in whatever way, make sure nginx command is available.
  2. Checkout source code.
  3. Run python setup.py build && python setup.py develop.
  4. Run python -c 'import nginx' to get NGINX configuration hint.
  5. Update NGINX configuration accordingly and reload NGINX.
  6. Visit your NGINX site, see NGINX error.log for now.
  7. Change code if result is not satisfying, or else go for pull request.
  8. Goto 3 if Cython code was changed, or else goto 5.

Surprisingly NGINX has a very simple but powerful architecture, learn about it here: http://nginx.org/en/docs/dev/development_guide.html

Credits

This package was created with Cookiecutter and the audreyr/cookiecutter-pypackage project template.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].