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.1.3.tar.gz
(4.6 kB
view details)
Built Distribution
dbgpy-0.1.3-py3-none-any.whl
(5.2 kB
view details)
File details
Details for the file dbgpy-0.1.3.tar.gz
.
File metadata
- Download URL: dbgpy-0.1.3.tar.gz
- Upload date:
- Size: 4.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.1.13 CPython/3.9.10 Darwin/21.4.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 30f2cfd28022f2d6e8d8aa5983933b308b53069a227dcaf7a8ccbb404f2c4c54 |
|
MD5 | d35804935b299918abec077328dd55ca |
|
BLAKE2b-256 | 3105dc1021972d90bcb5d7e021cdbc6bfe19700f0d756c53851a12e413ba88e3 |
File details
Details for the file dbgpy-0.1.3-py3-none-any.whl
.
File metadata
- Download URL: dbgpy-0.1.3-py3-none-any.whl
- Upload date:
- Size: 5.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.1.13 CPython/3.9.10 Darwin/21.4.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 927d38e70d4cc20dd578dc86619602e60f4b852f43b79843df9f4e6fbd01f415 |
|
MD5 | d797115ed5976bc94ddfa5a114e400b6 |
|
BLAKE2b-256 | b03c761b53c1c72583582a25ec471c58f7f18696e6e9cf147a548d177c08c74d |