hoffstadt / hoffstadt/DearPyGui

Shorter import statement proposal

Open
#2,386 0 comments 1 reaction 0 assignees View on GitHub
state: pending type: improvement
Dominant language
C++
Stars
15.6k
Forks
783
PR merge metrics
No merged PRs in 30d

Description

The "official" way to import DearPyGui is:

```python
import dearpygui.dearpygui as dpg
```

This could be changed to:

```python
import dearpygui as dpg
```

if the following is added to `__init__.py`:
```python
from .dearpygui import *
```

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.