Skip to main content

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


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.4.tar.gz (4.8 kB view details)

Uploaded Source

Built Distribution

dbgpy-0.1.4-py3-none-any.whl (5.4 kB view details)

Uploaded Python 3

File details

Details for the file dbgpy-0.1.4.tar.gz.

File metadata

  • Download URL: dbgpy-0.1.4.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

Hashes for dbgpy-0.1.4.tar.gz
Algorithm Hash digest
SHA256 9b56ad9a4ebc58810a89b0ff0b00d9c0f14ede32ac44408579e54abaade095fe
MD5 894c9b94ba1e7f64f09fb2c17c8830a1
BLAKE2b-256 a60050adde45ed6b690457a77b335d4a236785acb68c54491c2d25c3b3d1933a

See more details on using hashes here.

File details

Details for the file dbgpy-0.1.4-py3-none-any.whl.

File metadata

  • Download URL: dbgpy-0.1.4-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

Hashes for dbgpy-0.1.4-py3-none-any.whl
Algorithm Hash digest
SHA256 451831963f362def3016c4476292f3a9705f8f0d36c4b6fe02f000d27332df09
MD5 3d31a09ae4e471e4127cdc5f76ffc356
BLAKE2b-256 610019ea223622ce1cf420f9fd8735421fe922f506cf7c449e40936194fc496f

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page