wsgi-vmprof
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.
Metadata
Release files for wsgi-vmprof 0.0.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| wsgi-vmprof-0.0.1.tar.gz | 3.6 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| wsgi_vmprof-0.0.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 7.8 kB
Release files / wsgi-vmprof-0.0.1.tar.gz
| Download URL | wsgi-vmprof-0.0.1.tar.gz |
|---|---|
| Size | 3.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
a35d6322ea4d2f359e8566638ced4fff9387803e248e875f5c0d59eccc6f7fa8
|
|
BLAKE2b-256 checksum How to use checksums |
8d9fa4b41f4b3a54d07d1a52bb25edd32f01bb8db52079ceb269b598c2469f31
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Release files / wsgi_vmprof-0.0.1-py3-none-any.whl
| Download URL | wsgi_vmprof-0.0.1-py3-none-any.whl |
|---|---|
| Size | 4.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
42a322885758196d8f4f07b7cb3f72f3bf2209f257579757ab0eaa7792b42fb7
|
|
BLAKE2b-256 checksum How to use checksums |
d998eade8ca0f050bae2e71ca50d401ae9a342d5a4659be59651d23e224e863c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |