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.6.tar.gz
(4.8 kB
view details)
Built Distribution
dbgpy-0.1.6-py3-none-any.whl
(5.4 kB
view details)
File details
Details for the file dbgpy-0.1.6.tar.gz
.
File metadata
- Download URL: dbgpy-0.1.6.tar.gz
- Upload date:
- Size: 4.8 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 | 52d7cb1c2a080b9a6fe08dd0ab4a5550b972dbc88ae8825f36127318b8d95f28 |
|
MD5 | 3c7b38e26469d513e1c535d39b733c30 |
|
BLAKE2b-256 | 1c69cb43a634c7ed8e5c3ff1879450a3129750520b5ee80db609e589a17ac126 |
File details
Details for the file dbgpy-0.1.6-py3-none-any.whl
.
File metadata
- Download URL: dbgpy-0.1.6-py3-none-any.whl
- Upload date:
- Size: 5.4 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 | 6bf6be4745805aa3b232847d5da3b67d3b2716d8e835500a1211d8c0bf514a5d |
|
MD5 | 97f165c7221ac55667b1ad433edaefdc |
|
BLAKE2b-256 | 8fc90a23e2c485556709439d814e7044b7005debe10d15d76dee4016f45685eb |