https://github.com/bedus-creation/python_dd
The missing dd function in python
https://github.com/bedus-creation/python_dd
Last synced: 4 months ago
JSON representation
The missing dd function in python
- Host: GitHub
- URL: https://github.com/bedus-creation/python_dd
- Owner: bedus-creation
- Created: 2024-01-28T09:38:04.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2025-02-27T19:30:15.000Z (over 1 year ago)
- Last Synced: 2025-11-07T04:27:35.592Z (7 months ago)
- Language: Python
- Size: 61.5 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
Awesome Lists containing this project
README
# 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
```python
from src.dd_tmgbedu.dd import dd
dd("Hello")
dd(1)
dd(True, True, False, 1, 2)
```
or
```python
from src.dd_tmgbedu.dd import dump
dump("Hello")
dump(1)
dump(True, False, 1, 2)
```