Metadata-Version: 2.4
Name: dkbotzpro
Version: 1.0.0
Summary: A DKBotzPro is a Python package that helps Many things This is Free API
Home-page: https://github.com/DKBOTZPROJECT/DKBOTZPRO
Author: DKBOTZ
License: GNU AFFERO GENERAL PUBLIC LICENSE (v3)
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.6
Classifier: Programming Language :: Python :: 3.7
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
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
Requires-Dist: requests
Requires-Dist: pymongo
Requires-Dist: aiofiles
Requires-Dist: aiohttp
Requires-Dist: motor
Requires-Dist: pyromod
Dynamic: author
Dynamic: classifier
Dynamic: description
Dynamic: description-content-type
Dynamic: home-page
Dynamic: license
Dynamic: license-file
Dynamic: requires-dist
Dynamic: requires-python
Dynamic: summary

# DKBOTZPRO



DKBotzPro is a Python package that helps Many things This is Free API 

## Installation

You can install DKBotzPro using pip:

```
pip install dkbotzpro
```
# Usage
<b>1. UPI QR Code Generation</b>

You can easily generate a UPI QR code by passing your UPI ID, payee name, and amount to the convert() function.
```
from dkbotzpro import DKBotzPro

# Initialize the DKBotzPro class for UPI QR generation
dkbotzpro_qr = DKBotzPro(service="upi_qr")

# Generate UPI QR code
success, result = dkbotzpro_qr.convert(upi_id="paytmqr5lmwpa@ptys", payee_name="Paytm", amount="5.00")

if success:
    print(f"QR Code generated successfully: {result}")
else:
    print(f"Error: {result}")
```
<b>2. Base64 Encoding</b>

You can encode any text into Base64 format using the encode() function.

```
from dkbotzpro import DKBotzPro

# Initialize the DKBotzPro class for Base64 operations
dkbotzpro_base64 = DKBotzPro(service="base64")

# Encode text to Base64
encoded_text = dkbotzpro_base64.encode(text="Hello")
print(f"Encoded text: {encoded_text}")
```
<b>3. Base64 Decoding</b>

You can decode a Base64-encoded string back to its original form using the decode() function.

```
from dkbotzpro import DKBotzPro

# Initialize the DKBotzPro class for Base64 operations
dkbotzpro_base64 = DKBotzPro(service="base64")

# First encode some text to Base64
encoded_text = dkbotzpro_base64.encode(text="Hello")

# Now decode it back to the original text
decoded_text = dkbotzpro_base64.decode(encoded_text)
print(f"Decoded text: {decoded_text}")

```
