No project description provided
Project description
simple_tornado
Make tornado use more simple
Installation
pip3 install simple_tornado
Usage
import tornado.web
import simple_tornado
class MainHandler(tornado.web.RequestHandler):
def get(self):
self.write("Hello Index page")
if __name__ == "__main__":
simple_tornado.listen_and_serve(":5000", [
(r"/", MainHandler)
])
LICENSE
Home-page: https://github.com/codeskyblue/simple_tornado Author: codeskyblue Author-email: codeskyblue@gmail.com License: MIT Description: UNKNOWN Platform: UNKNOWN Classifier: Development Status :: 4 - Beta Classifier: Environment :: Console Classifier: Intended Audience :: Developers Classifier: Operating System :: POSIX Classifier: Programming Language :: Python :: 3 Classifier: Topic :: Software Development :: Libraries :: Python Modules Classifier: Topic :: Software Development :: Testing Requires-Python: >=3.6
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
simple_tornado-0.1.5.tar.gz
(3.7 kB
view hashes)