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.0.tar.gz
(4.9 kB
view details)
Built Distribution
dbgpy-0.2.0-py3-none-any.whl
(4.8 kB
view details)
File details
Details for the file dbgpy-0.2.0.tar.gz
.
File metadata
- Download URL: dbgpy-0.2.0.tar.gz
- Upload date:
- Size: 4.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.4.27
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7939ad6c1e88f30d2a63953ba965d2098abdbac3b9f6662b9e154d5d8bd1df8e |
|
MD5 | 4abb9fc311fc34450ade6c9aea52d7f2 |
|
BLAKE2b-256 | a8bcf4936e3e71e78de53b7eb8ce45a92cef8cc46b1df817be193e945b0e4a08 |
File details
Details for the file dbgpy-0.2.0-py3-none-any.whl
.
File metadata
- Download URL: dbgpy-0.2.0-py3-none-any.whl
- Upload date:
- Size: 4.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.4.27
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 56f6c6c13fd2955d5e761b996d109fe8ce0d02cb010dd7957e7388abe6b3aff0 |
|
MD5 | bca9b11d0a64a0f29826a67047ba87ff |
|
BLAKE2b-256 | 502d2f1b886e1ee7b7aaf9fdb1ff3324947369040b9c51eae91727352369e324 |