The Everbug is a lightweight Django middleware for Chrome extension with easy install. One of the advantages: the response body of target page remains clean and unchanged.
Special summary: * Database queries with explains (Multiple database support) * Context variables * Profiles functions (cProfile through decorator) * Support ajax requests
Installing
For Django:
Run "pip install everbug". Add "everbug" to your INSTALLED_APPS in settings.py. Append "everbug.middleware.Tracer" to MIDDLEWARE or MIDDLEWARE_CLASSES in settings.py.
For Chrome: _chrome_ext_ For Firefox: _firefox_ext_
Usage
“Context” works for any view which has a “context_data”. “Queries” works as-is for all databases in “DATABASES” section. “Profile” works through decorator (based on builtin cProfile). By default, profile output is truncated to 20 lines.
Example usage:
from everbug.shortcuts import profile
@profile
def sample_method():
// some code here ...
Call @profile with argument for full view, for example:
@profile(short=False)
def sample_method():
// some code here ...
Running the tests
docker-compose up -d docker exec -it everbug tox
Requirements
License
This project is licensed under the MIT License - see the LICENSE file for details
Metadata
Release files for everbug 1.24
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| everbug-1.24.tar.gz | 6.3 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| everbug-1.24-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 13.6 kB
Release files / everbug-1.24.tar.gz
| Download URL | everbug-1.24.tar.gz |
|---|---|
| Size | 6.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
401454da85216a979b099ae1f89b353b7d726e291448324cf33e1db2d623b07d
|
|
BLAKE2b-256 checksum How to use checksums |
38405780920a236252ec2c3dbcfcf14a8a4fcb3d7690fcad639fec4968d608c7
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.11.0 pkginfo/1.4.2 requests/2.19.1 setuptools/28.8.0 requests-toolbelt/0.8.0 tqdm/4.23.4 CPython/3.5.5
|
Release files / everbug-1.24-py3-none-any.whl
| Download URL | everbug-1.24-py3-none-any.whl |
|---|---|
| Size | 7.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
13c81fcf44175a5131f3b0d2591a20ea1c646017bbcf4d20d3bc29176d9a82ef
|
|
BLAKE2b-256 checksum How to use checksums |
50ac70141f92ced3a2b2d287086ad25f05cae2aee992b8b686aa21507423108f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.11.0 pkginfo/1.4.2 requests/2.19.1 setuptools/28.8.0 requests-toolbelt/0.8.0 tqdm/4.23.4 CPython/3.5.5
|