No project description provided
Project description
wsgi-vmprof WSGI Middleware for integrating vmprof.
How to use
Installation
$ pip install wsgi-vmprof
Basic Usage
import time
import bottle
from wsgi_vmprof import VmprofMiddleware
app = bottle.default_app()
@app.route('/')
def index():
time.sleep(1)
return "Hello world!!"
if __name__ == "__main__":
# Add wsgi-vmprof as a WSGI middleware!
app = VmprofMiddleware(app)
bottle.run(app=app)
Requirements
Python 3.3 or later
vmprof
License
This software is licensed under the MIT License.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
wsgi-vmprof-0.0.1.tar.gz
(3.6 kB
view hashes)
Built Distribution
Close
Hashes for wsgi_vmprof-0.0.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 42a322885758196d8f4f07b7cb3f72f3bf2209f257579757ab0eaa7792b42fb7 |
|
MD5 | 965ad7409c3a8a318f3255ed83d75277 |
|
BLAKE2b-256 | d998eade8ca0f050bae2e71ca50d401ae9a342d5a4659be59651d23e224e863c |