Skip to main content
Usage:

======

use `tprofile.ProfileMeta' as the metaclass of handler subclass or base handler class.

Example:

..code::python

import tornado.web
from tprofile import ProfileMeta

def condition(self):
return True if self.get_argument('profile', None) == "1" else False
ProfileMeta.set_condition(condition)

class BaseHandler(tornado.web.RequestHandler):
__metaclass__ = ProfileMeta

class MainHandler(BaseHandler):
def get(self):
pass

Metadata

Release files for tprofile 0.0.16

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for tprofile 0.0.16
File Size Uploaded
tprofile-0.0.16.tar.gz 2.7 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for tprofile 0.0.16
File Interpreter ABI Platform
tprofile-0.0.16-py2.7.egg Legacy Egg format - - Details

Total release size: 10.2 kB

Release files / tprofile-0.0.16.tar.gz

Download URL tprofile-0.0.16.tar.gz
Size 2.7 kB
Tags Source
SHA-256 checksum
How to use checksums
052c326c078e3f555a0a9269eb3d1b39393505fbe67bf4fc44b24bf1ddd24185
BLAKE2b-256 checksum
How to use checksums
291885e5415a3af2f5ffcc2079233e0c616bf4b95c81e2ac56eb00b131cf2c5a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / tprofile-0.0.16-py2.7.egg

Download URL tprofile-0.0.16-py2.7.egg
Size 7.5 kB
Tags Egg
SHA-256 checksum
How to use checksums
f235b6e4015d3d26b7a94a402dcdd63ec5b1a0f32ef379a991e90d4965c40ec3
BLAKE2b-256 checksum
How to use checksums
d22f7bb9245cfc58c09a46d1d0533ce3661dbdfd1ae0e694311fb0eae0ab0964
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

This release

0.0.16 This release

2 release files

0.0.15

2 release files

0.0.14

2 release files

0.0.13

2 release files

0.0.12

2 release files

0.0.11

2 release files

0.0.10

2 release files

0.0.9

2 release files

0.0.8

2 release files

0.0.7

2 release files

0.0.6

2 release files

0.0.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page