Initial commit
This commit is contained in:
parent
c785944bae
commit
f3b692ea5b
34 changed files with 1449 additions and 0 deletions
2
test/numpy-test-app/requirements.txt
Normal file
2
test/numpy-test-app/requirements.txt
Normal file
|
|
@ -0,0 +1,2 @@
|
|||
gunicorn
|
||||
numpy
|
||||
7
test/numpy-test-app/wsgi.py
Normal file
7
test/numpy-test-app/wsgi.py
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
import numpy
|
||||
|
||||
def application(environ, start_response):
|
||||
start_response('200 OK', [('Content-Type','text/plain')])
|
||||
matrix = numpy.array([[1,2,3],[6,5,4],[7,8,8]])
|
||||
matrix.dot(numpy.linalg.inv(matrix))
|
||||
return [b"Hello World from numpy WSGI application!"]
|
||||
Loading…
Add table
Add a link
Reference in a new issue