Metadata-Version: 2.1
Name: dapro
Version: 0.1.2
Summary: A library to simplify eval and file handling in Telegram bots.
Home-page: https://github.com/Dipanshu0919/dapro
Author: Dipanshu
Author-email: dipanshu0919@gmail.com
License: GPL-3.0
Platform: UNKNOWN
Classifier: Programming Language :: Python :: 3
Classifier: License :: OSI Approved :: GNU General Public License v3 (GPLv3)
Classifier: Operating System :: OS Independent
Requires-Python: >=3.6
Description-Content-Type: text/markdown
License-File: LICENSE

# dapro
DATOE simplifies handling `.eval` and `.open` commands in Python Telegram bots.

## Installation
```bash
pip install dapro
```
## Usage
```bot.py
from dapro import daeval, daopen

OWNERS = "OWNER_ID"

@client.on(events.NewMessage(pattern=".eval"))
async def eval(event):
    await daeval(event, client, OWNERS)

@client.on(events.NewMessage(pattern=".open"))
async def open_file(event):
    await daopen(event, client)
```
---


