Just a wsgi filter for mesure time execution
Project description
WSGI middleware for chronometer wsgi application
Usage
You can use in your wsgi app :
from wsgi_chronometer import ChronoFilter
from somewhere import SomeWsgiApp
return ChronoFilter(SomeWsgiApp, **{'separator': '*', 'fields': ['DATETIME', 'TIME']})(environ, start_response)
or in the .ini deployement file :
[app:sample] use = egg:sample_app [pipeline:main] pipeline = chrono sample [filter:chrono] use = egg:wsgi_chronometer separator = - fields = REQUEST_METHOD PATH_INFO HTTP_USER_AGENT HTTP_X_FORWARDED_FOR HTTP_X_REAL_IP
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_chronometer-0.1.1.zip
(11.3 kB
view details)
File details
Details for the file wsgi_chronometer-0.1.1.zip.
File metadata
- Download URL: wsgi_chronometer-0.1.1.zip
- Upload date:
- Size: 11.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0525a7638946ce9aeca161e82c55a4f49c80d0c2c2168130b21c4dd5ab0873fe
|
|
| MD5 |
0c15e2ec20f1fde50b77ed4f546773b5
|
|
| BLAKE2b-256 |
93a3f21e3b9210f18ff43c28991801a9bf48542e305197b094b5bdb0b54a251b
|