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

Uploaded Source

Built Distribution

dbgpy-0.1.2-py3-none-any.whl (5.2 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: dbgpy-0.1.2.tar.gz
  • Upload date:
  • Size: 4.6 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.2.tar.gz
Algorithm Hash digest
SHA256 bdfff28360d0b02ca4508853d2593d7cba5deda21a58b566900179d9653094e2
MD5 1b7a67558c2bc608a3e51ee74f2a16c4
BLAKE2b-256 7cc9e5b7c988fcc721940c658276c12c74407239031d8aa64316840aa4631ccf

See more details on using hashes here.

File details

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

File metadata

  • Download URL: dbgpy-0.1.2-py3-none-any.whl
  • Upload date:
  • Size: 5.2 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.2-py3-none-any.whl
Algorithm Hash digest
SHA256 c42c0abe8c8d9cca0a4c6493ce0f046929844ba3a69a40be9da8e4b4472de1f0
MD5 929dce5f63a40ddcf19df2a2488bc669
BLAKE2b-256 58d8c2631445abd61d6fca88e29496cd4a1330b48c93e1b8b305f1314143eed7

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