Skip to main content
Join the official 2019 Python Developers SurveyStart the survey!

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

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for wsgi-vmprof, version 0.0.1
Filename, size File type Python version Upload date Hashes
Filename, size wsgi_vmprof-0.0.1-py3-none-any.whl (4.2 kB) File type Wheel Python version py3 Upload date Hashes View hashes
Filename, size wsgi-vmprof-0.0.1.tar.gz (3.6 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page