Skip to content

Instantly share code, notes, and snippets.

View zedr's full-sized avatar
🦠

Rigel Di Scala zedr

🦠
View GitHub Profile
@zedr
zedr / fib_micro_service.py
Created September 26, 2017 08:44 — forked from aalhour/fib_micro_service.py
Fibonacci microservice using Python & Tornado.
import tornado.web
import tornado.ioloop
from tornado.options import define, options
define('port', default=45000, help='try running on a given port', type=int)
def fib():
a, b = 1, 1
while True:
yield a