This is a Django middleware to track down object leaks in your Django application.
To use it, add asparagus.middleware.TrackObjectLeaks to MIDDLEWARE_CLASSES. It should be in the first position.
MIDDLEWARE_CLASSES = [‘asparagus.middleware.TrackObjectLeaks’] + MIDDLEWARE_CLASSES
The middleware will print a summary of any objects created but not garbage collected.
if you set the settings ASPARAGUS_TRACK_CLASS to a name of an object (e.g. Thread, then the middleware will render a PNG of the references to any newly created objects.
Note, this is not something you ever want in production. Best to use it to find leaks then remove it from settings entirely.
Metadata
Release files for asparagus 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| asparagus-0.1.0.tar.gz | 2.6 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| asparagus-0.1.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 6.3 kB
Release files / asparagus-0.1.0.tar.gz
| Download URL | asparagus-0.1.0.tar.gz |
|---|---|
| Size | 2.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
73ec0b17a6dd4fd08a8dd95b3eddf366164c6d92194039364c64fd4b224a6c72
|
|
BLAKE2b-256 checksum How to use checksums |
72de071ae7866e4c7848c9e44832bb44ec9e302e0067dcf07454f21b25207cf4
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Release files / asparagus-0.1.0-py3-none-any.whl
| Download URL | asparagus-0.1.0-py3-none-any.whl |
|---|---|
| Size | 3.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
76cfdb34745b58b3891c7c95b89d63b30583d755960d21d45d85b5aa8a0cd832
|
|
BLAKE2b-256 checksum How to use checksums |
9a241c04bde3f7a2f8fde64b1a772be7999c3793985579e9ea62e6fcac673df9
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for asparagus 0.1.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.