A DKBotzPro is a Python package that helps Many things This is Free API
Project description
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
1. UPI QR Code Generation
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}")
2. Base64 Encoding
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}")
3. Base64 Decoding
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}")
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
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 dkbotzpro-1.0.0.tar.gz.
File metadata
- Download URL: dkbotzpro-1.0.0.tar.gz
- Upload date:
- Size: 15.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.9.21
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ecd357d93d4662db45232d2859f2a927f0131638813a6bf208d40a983f473c99
|
|
| MD5 |
0ca9a6b75cac752753aa145e717441b2
|
|
| BLAKE2b-256 |
677562c7b9f7ed6920be1343b40187b295fc6a33fb16dbf6455ff9f9e9781363
|
File details
Details for the file dkbotzpro-1.0.0-py3-none-any.whl.
File metadata
- Download URL: dkbotzpro-1.0.0-py3-none-any.whl
- Upload date:
- Size: 15.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.9.21
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c13b5296b8c81562a1038065187b7678e6056dc9a1068ee0623c60195399a526
|
|
| MD5 |
791371d82dc57039de63715df1deb9b3
|
|
| BLAKE2b-256 |
4b3347a658abf052d3598260c9db60de13255f3e480eed3309d5dab051f0270c
|