Initial commit
This commit is contained in:
parent
1a1268fcc1
commit
0640d4bba3
|
@ -52,3 +52,6 @@ docs/_build/
|
|||
|
||||
# PyBuilder
|
||||
target/
|
||||
|
||||
.venv/
|
||||
.idea
|
|
@ -0,0 +1 @@
|
|||
__author__ = 'akislitsky'
|
|
@ -0,0 +1 @@
|
|||
|
|
@ -0,0 +1,5 @@
|
|||
from flask import Flask
|
||||
|
||||
app = Flask(__name__)
|
||||
|
||||
|
|
@ -0,0 +1 @@
|
|||
|
|
@ -0,0 +1 @@
|
|||
|
|
@ -0,0 +1,7 @@
|
|||
def fib(n):
|
||||
a, b = 0, 1
|
||||
for i in range(n):
|
||||
a, b = b, a + b
|
||||
return a
|
||||
|
||||
|
|
@ -0,0 +1,5 @@
|
|||
from flask import Flask
|
||||
|
||||
app = Flask(__name__)
|
||||
|
||||
from collector.app import views
|
|
@ -0,0 +1,6 @@
|
|||
from collector.app import app
|
||||
|
||||
|
||||
@app.route('/ping')
|
||||
def ping():
|
||||
return 'ok'
|
|
@ -0,0 +1 @@
|
|||
flask
|
|
@ -0,0 +1,5 @@
|
|||
#!/usr/bin/env python
|
||||
|
||||
from collector.app import app
|
||||
|
||||
app.run(debug=True)
|
Loading…
Reference in New Issue