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

Uploaded Source

Built Distribution

dbgpy-0.1.7-py3-none-any.whl (5.5 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: dbgpy-0.1.7.tar.gz
  • Upload date:
  • Size: 4.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.1.13 CPython/3.9.12 Darwin/21.4.0

File hashes

Hashes for dbgpy-0.1.7.tar.gz
Algorithm Hash digest
SHA256 b2c31671e723378a99e4996205c5deb41dd85e10349cce0013be67e098ba2660
MD5 9cb170961ad1ed63b4cddcdd372226fc
BLAKE2b-256 7a4a6323b195d71ab41ef2b9618d7240a3a62d4bde8fd3354167ea9f08ba94ce

See more details on using hashes here.

File details

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

File metadata

  • Download URL: dbgpy-0.1.7-py3-none-any.whl
  • Upload date:
  • Size: 5.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.1.13 CPython/3.9.12 Darwin/21.4.0

File hashes

Hashes for dbgpy-0.1.7-py3-none-any.whl
Algorithm Hash digest
SHA256 c436a0f5dc4a33bf2930328b7ba3e45360d6c5588aa17e14736bfae87b0b8323
MD5 1a4e9e69a8c21eaad0467460026d9558
BLAKE2b-256 d6a480eef1335cef7b8cf82d004715c3ab0aa59ecf9acfef31dadb3e359a9ede

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