opcode0x90 / webapizer

Serve your awesome snippet via HTTP

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

webapizer

Ever had the need to access your snippet function via web? (eg. Google Refine) This project implements a minimal web server to allow you to interface with your favorite Python function through HTTP protocol at very high concurrency (courtesy of gevent).

Clone this repository and start serving your awesome snippet via HTTP!

Example Usage

$ webapizer.py
Bottle v0.11.6 server starting up (using GeventServer())...
Listening on http://localhost:8888/
Hit Ctrl-C to quit.

Next, access os.path.normpath() function at http://localhost:8888/ntpath/normpath?path=/test/../x (note: namespace may vary on different platform)

About

Serve your awesome snippet via HTTP

License:MIT License


Languages

Language:Python 100.0%