Low-impact Python GC object dump producer for pygco
Project description
pygco-dump
pygco-dump writes low-impact Python GC object dumps in the pygco-dump-jsonl v1 format.
from pathlib import Path
from pygco_dump import write_gc_dump
with Path("heap.jsonl.gz").open("wb") as file:
write_gc_dump(file)
FastAPI:
from fastapi import FastAPI
from pygco_dump.fastapi import gc_heap_dump_route
app = FastAPI()
app.add_api_route("/debug/gc-heap-dump", gc_heap_dump_route(), methods=["GET"])
Framework-agnostic integrations only need a binary file-like object. See examples/ for
plain file, WSGI, ASGI, and FastAPI variants.
For Celery workers, signal-triggered dumps, and multi-process integration guidance, see
../../docs/producer-integration.md.
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file pygco_dump-0.1.0.tar.gz.
File metadata
- Download URL: pygco_dump-0.1.0.tar.gz
- Upload date:
- Size: 6.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
68ff0085562ec5c26b58c1f7e8b34201a0f080ae6efab90fed4bcc16c9273ad2
|
|
| MD5 |
b4f903c21c267fd703e9486ddcffa590
|
|
| BLAKE2b-256 |
9877d16af4ab927c9c24af5faf5de7423f411985b4948f09fa7cae6ea6a1336f
|
Provenance
The following attestation bundles were made for pygco_dump-0.1.0.tar.gz:
Publisher:
publish-python.yml on ivan-94/py-gc-objects-analyze
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
pygco_dump-0.1.0.tar.gz -
Subject digest:
68ff0085562ec5c26b58c1f7e8b34201a0f080ae6efab90fed4bcc16c9273ad2 - Sigstore transparency entry: 2047543694
- Sigstore integration time:
-
Permalink:
ivan-94/py-gc-objects-analyze@1871f22b87bb330db183e04fc903809be8782001 -
Branch / Tag:
refs/heads/main - Owner: https://github.com/ivan-94
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish-python.yml@1871f22b87bb330db183e04fc903809be8782001 -
Trigger Event:
workflow_dispatch
-
Statement type:
File details
Details for the file pygco_dump-0.1.0-py3-none-any.whl.
File metadata
- Download URL: pygco_dump-0.1.0-py3-none-any.whl
- Upload date:
- Size: 5.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a6b75f7ab722e45c1f89c31f797347baf04919f15aca8e60b52997ff396d3efd
|
|
| MD5 |
56369f2ba4142a05cf8ac03f9b3b86ed
|
|
| BLAKE2b-256 |
3a185dee78240edb74266e1268a20580d40498a5fc869eceda79bcb1abc4ad0a
|
Provenance
The following attestation bundles were made for pygco_dump-0.1.0-py3-none-any.whl:
Publisher:
publish-python.yml on ivan-94/py-gc-objects-analyze
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
pygco_dump-0.1.0-py3-none-any.whl -
Subject digest:
a6b75f7ab722e45c1f89c31f797347baf04919f15aca8e60b52997ff396d3efd - Sigstore transparency entry: 2047543705
- Sigstore integration time:
-
Permalink:
ivan-94/py-gc-objects-analyze@1871f22b87bb330db183e04fc903809be8782001 -
Branch / Tag:
refs/heads/main - Owner: https://github.com/ivan-94
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish-python.yml@1871f22b87bb330db183e04fc903809be8782001 -
Trigger Event:
workflow_dispatch
-
Statement type: