项目作者: arcaweb-ch

项目描述 :
Simple python http server with python interpreter
高级语言: Python
项目地址: git://github.com/arcaweb-ch/httpy.git
创建时间: 2018-12-08T21:45:47Z
项目社区:https://github.com/arcaweb-ch/httpy

开源协议:GNU General Public License v3.0

下载


httpy

Simple python http server with python interpreter.

Info

I made this as a simple web application development environment with Python interpreter and MySQL support. The first idea was to combine it with cefpython (https://github.com/cztomczak/cefpython) to be able to develop standalone multiplatform software with the power of modern HTML5, CSS and JS scripting techniques, and robust Python support, with less depandancies as possible.

Requirements

Features

  • Mulththreaded HTTP server
  • Supports Python code with basic error output (see webrooot/index.py)
  • Tested on Win, Mac, LINUX.
  • GET/POST/OPTIONS request are supported
  • Server session file management
  • URL rewriting support
  • MySQL support (requires Python MySQLdb module)
  • Header manipulation
  • GET and POST parameter management (see core/http.py)
  • Logging

Install

  1. Extract files to any folder
  2. Edit aws.conf file to match your needs
  3. Execute httpd.py (accepts alternate config files as argument)

Warning

This code has been shared for learning purposes, it’s not meant to be used as public server in production environment.

Contributing

Feel free to report any problem, ask for help, or improve it!