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.5.tar.gz
(4.8 kB
view details)
Built Distribution
dbgpy-0.1.5-py3-none-any.whl
(5.4 kB
view details)
File details
Details for the file dbgpy-0.1.5.tar.gz
.
File metadata
- Download URL: dbgpy-0.1.5.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 | ed19ff29d83fc50951e8c1c7c2bf458a25a51228817f470f26bee77cf503e871 |
|
MD5 | aa60e60425eed4f571bc207e18192b12 |
|
BLAKE2b-256 | deba67a6389811bb20b290f1a260aa9d3e3552f8bf9fff36cff9aa2a1aa8cba9 |
File details
Details for the file dbgpy-0.1.5-py3-none-any.whl
.
File metadata
- Download URL: dbgpy-0.1.5-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 | dfcb1381f2044fefb35ad440b3778eb8d140cd384e20beb9cb2f21f1a4cfb76a |
|
MD5 | d79e7a0b970db4ca3b5e4b8b344e8e4a |
|
BLAKE2b-256 | 1fe49f59bbb1abfb82ea65b02c8ab9ee84f1503be473fb827802af4a7781e9e0 |