Python implementation of Rust's dbg! macro
Project description
dbgpy
Debug print inspired by Rust's dbg!
macro.
Example:
from dbgpy import dbg
import numpy as np
arr = np.linspace(0, 10)
dbg(arr.shape)
Outputs
main.py:6: arr.shape = (50,)
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
dbgpy-0.2.1.tar.gz
(4.9 kB
view details)
Built Distribution
dbgpy-0.2.1-py3-none-any.whl
(4.8 kB
view details)
File details
Details for the file dbgpy-0.2.1.tar.gz
.
File metadata
- Download URL: dbgpy-0.2.1.tar.gz
- Upload date:
- Size: 4.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.4.29
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4c302f88f95dc079911c4cd02a9dfa800bb4234376d0e3aa40696c4160ea0040 |
|
MD5 | 1ae60f4b372d4412c5114f6e19f971fb |
|
BLAKE2b-256 | d53c623c47cb551fc9f98eefeb4f870c38175ca3e41a8436db1c50a06a0a3ecf |
File details
Details for the file dbgpy-0.2.1-py3-none-any.whl
.
File metadata
- Download URL: dbgpy-0.2.1-py3-none-any.whl
- Upload date:
- Size: 4.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.4.29
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7fd00b2d3347861f8fcf80ed002aa845df4b92dacc29546707d6dc87193a400e |
|
MD5 | 00abf75208898070cf258ebaa3573e40 |
|
BLAKE2b-256 | 034036f0a33507d7a9cc0d63dcb6c8a357af7e2145184ae6e6b753dc40c253df |