Skip to main content

The missing `dd` function in python.

Project description

Python dd

The missing dd function in python. The dd function is abbreviation of die and dump, which means prints the variable and stop the executions. Here, another, dump function is provided, which just prints the variable, and doesn't stop the execution.

Installation

pip install python_dd

Uses

from src.dd_tmgbedu.dd import dd

dd("Hello")
dd(1)
dd(True, True, False, 1, 2)

or

from src.dd_tmgbedu.dd import dump

dump("Hello")
dump(1)
dump(True, False, 1, 2)

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

dd_tmgbedu-0.1.0.tar.gz (2.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

dd_tmgbedu-0.1.0-py3-none-any.whl (2.9 kB view details)

Uploaded Python 3

File details

Details for the file dd_tmgbedu-0.1.0.tar.gz.

File metadata

  • Download URL: dd_tmgbedu-0.1.0.tar.gz
  • Upload date:
  • Size: 2.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.0

File hashes

Hashes for dd_tmgbedu-0.1.0.tar.gz
Algorithm Hash digest
SHA256 b743cbed27849f5bbf48803e2c00878c8bd72d4790a694a081aff7ccf4bac751
MD5 b6b1fbe3e952d3088d072de1fa2420a0
BLAKE2b-256 66696af18d87ae7451b079673cfcef7e28bf4fc294d36c4d55b9809d4a254eb3

See more details on using hashes here.

File details

Details for the file dd_tmgbedu-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: dd_tmgbedu-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 2.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.0

File hashes

Hashes for dd_tmgbedu-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 81deb9df7310f8e166e8899f546180039df7d9a9d41cad529e9439c5267f2626
MD5 521692683bfe8093fea1c31bbe229c36
BLAKE2b-256 363c87b39d7872a5140540e793eba06829fed306a61a98d3b65b95b9bb490156

See more details on using hashes here.

Supported by

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