The missing `dd` function in python.
Project description
Python dumpdie
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
uv add dumpdie
Uses
from dumpdie import dd
dd("Hello")
dd(1)
dd(True, True, False, 1, 2)
or
from dumpdie 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
dumpdie-1.5.0.tar.gz
(88.5 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file dumpdie-1.5.0.tar.gz.
File metadata
- Download URL: dumpdie-1.5.0.tar.gz
- Upload date:
- Size: 88.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0267fc9409a10fb0c3e023ba95b109df2108b72f5fb7f98e3cc68a3f825a3d46
|
|
| MD5 |
e99122d515df5313e4895679c526ab1d
|
|
| BLAKE2b-256 |
2d617ea2d95d55806d9e812e6a38880a479adb40a874c95c745a3a896e844998
|
File details
Details for the file dumpdie-1.5.0-py3-none-any.whl.
File metadata
- Download URL: dumpdie-1.5.0-py3-none-any.whl
- Upload date:
- Size: 3.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
df487693dacfbe38fb2a3229e4734479e046c2485cb7ba723f3e7e5012da1087
|
|
| MD5 |
efc4bef4dcddf22b0413019d321e68b9
|
|
| BLAKE2b-256 |
4740e7937be0300078626ff929e1d7856ebe3237aa03ad338d0c077c6cda301d
|