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 details)
Built Distribution
File details
Details for the file wsgi-vmprof-0.0.1.tar.gz
.
File metadata
- Download URL: wsgi-vmprof-0.0.1.tar.gz
- Upload date:
- Size: 3.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | a35d6322ea4d2f359e8566638ced4fff9387803e248e875f5c0d59eccc6f7fa8 |
|
MD5 | 3d02a3cf7898474f18eb969a3c6d93d4 |
|
BLAKE2b-256 | 8d9fa4b41f4b3a54d07d1a52bb25edd32f01bb8db52079ceb269b598c2469f31 |
File details
Details for the file wsgi_vmprof-0.0.1-py3-none-any.whl
.
File metadata
- Download URL: wsgi_vmprof-0.0.1-py3-none-any.whl
- Upload date:
- Size: 4.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 42a322885758196d8f4f07b7cb3f72f3bf2209f257579757ab0eaa7792b42fb7 |
|
MD5 | 965ad7409c3a8a318f3255ed83d75277 |
|
BLAKE2b-256 | d998eade8ca0f050bae2e71ca50d401ae9a342d5a4659be59651d23e224e863c |