ezbilling 0.1.0__py3-none-any.whl → 0.3.0__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- ezbilling/payment_gateway.py +19 -0
- {ezbilling-0.1.0.dist-info → ezbilling-0.3.0.dist-info}/METADATA +4 -4
- ezbilling-0.3.0.dist-info/RECORD +7 -0
- ezbilling-0.3.0.dist-info/top_level.txt +1 -0
- ezbilling-0.1.0.dist-info/RECORD +0 -7
- ezbilling-0.1.0.dist-info/top_level.txt +0 -1
- ezbillpg/payment_gateway.py +0 -5
- {ezbillpg → ezbilling}/__init__.py +0 -0
- {ezbilling-0.1.0.dist-info → ezbilling-0.3.0.dist-info}/WHEEL +0 -0
- {ezbilling-0.1.0.dist-info → ezbilling-0.3.0.dist-info}/licenses/LICENSE +0 -0
@@ -0,0 +1,19 @@
|
|
1
|
+
import requests
|
2
|
+
|
3
|
+
def hello(name):
|
4
|
+
return f"Hello, {name}!"
|
5
|
+
|
6
|
+
def paymentLink(key, secret, payload):
|
7
|
+
url = "https://tycheextdev.ezbillpay.in/paymentLink"
|
8
|
+
headers = {
|
9
|
+
"API-Key": key,
|
10
|
+
"API-Secret": secret,
|
11
|
+
"Content-Type": "application/json"
|
12
|
+
}
|
13
|
+
payload = payload
|
14
|
+
try:
|
15
|
+
response = requests.post(url, json=payload, headers=headers)
|
16
|
+
response.raise_for_status() # raises HTTPError for bad responses
|
17
|
+
return response.json()
|
18
|
+
except requests.exceptions.RequestException as e:
|
19
|
+
return {"error": str(e)}
|
@@ -1,10 +1,10 @@
|
|
1
1
|
Metadata-Version: 2.4
|
2
2
|
Name: ezbilling
|
3
|
-
Version: 0.
|
3
|
+
Version: 0.3.0
|
4
4
|
Summary: A small Python package that says hello.
|
5
5
|
Home-page: https://github.com/Ezbillpay
|
6
6
|
Author: Nithesh
|
7
|
-
Author-email:
|
7
|
+
Author-email: Nithesh <nithish@dreaminfinity.in>
|
8
8
|
License: MIT
|
9
9
|
Classifier: Programming Language :: Python :: 3
|
10
10
|
Classifier: License :: OSI Approved :: MIT License
|
@@ -18,12 +18,12 @@ Dynamic: license-file
|
|
18
18
|
Dynamic: requires-python
|
19
19
|
|
20
20
|
<!--
|
21
|
+
source venv/bin/activate
|
22
|
+
|
21
23
|
python -m build
|
22
24
|
|
23
25
|
twine upload dist/*
|
24
26
|
|
25
|
-
pypi-AgEIcHlwaS5vcmcCJDI1ZmI2MTUyLWI0MGQtNDExZi1iMzFhLWFhOTIwY2E0MjdkNgACKlszLCI5YjczMWU2MS1mZjg3LTQyNmYtYWZlYy02ZDc1MzNjNThkZmIiXQAABiAEzDCORZ0kqvuZMC-mk0xycE_Ba7V_vQHzlooQ0nJKYA
|
26
|
-
|
27
27
|
pypi-AgEIcHlwaS5vcmcCJGE1MjE4MDNiLTVlNTYtNDg4Yy1hN2I5LTM2MjQ3NzQ1ZGFkZQACKlszLCI5YjczMWU2MS1mZjg3LTQyNmYtYWZlYy02ZDc1MzNjNThkZmIiXQAABiCEbEqPgAplNqAYIu49wvkt2NGXS3UzCKQjMcrpX7eUMA
|
28
28
|
|
29
29
|
|
@@ -0,0 +1,7 @@
|
|
1
|
+
ezbilling/__init__.py,sha256=uFL_8Kz2L1LSaztzSphDQBo9Z0NaGr34xZ1DMZhRi5k,35
|
2
|
+
ezbilling/payment_gateway.py,sha256=JDslnad0dpxnCPoDtTIAZ7JkcwvYmJ5QIQ4GsiYMDsU,570
|
3
|
+
ezbilling-0.3.0.dist-info/licenses/LICENSE,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
4
|
+
ezbilling-0.3.0.dist-info/METADATA,sha256=TLgAmQr35bhYJQwtgsakZrcXrA1tXcrZ_jzZNzUAfa0,896
|
5
|
+
ezbilling-0.3.0.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
6
|
+
ezbilling-0.3.0.dist-info/top_level.txt,sha256=RaYsViuz8AOFaypEAu-hv70CctfD6PQ0u6vjzLuMHP4,10
|
7
|
+
ezbilling-0.3.0.dist-info/RECORD,,
|
@@ -0,0 +1 @@
|
|
1
|
+
ezbilling
|
ezbilling-0.1.0.dist-info/RECORD
DELETED
@@ -1,7 +0,0 @@
|
|
1
|
-
ezbilling-0.1.0.dist-info/licenses/LICENSE,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
2
|
-
ezbillpg/__init__.py,sha256=uFL_8Kz2L1LSaztzSphDQBo9Z0NaGr34xZ1DMZhRi5k,35
|
3
|
-
ezbillpg/payment_gateway.py,sha256=Bq2a-vtoTPC9r7nlQ0X4dmv4f_yzdv8RgwrXApExarM,127
|
4
|
-
ezbilling-0.1.0.dist-info/METADATA,sha256=6dlMORhGeGjdrePV36PjXLtsEcTu6gBLwLkvN3GD-w0,1051
|
5
|
-
ezbilling-0.1.0.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
6
|
-
ezbilling-0.1.0.dist-info/top_level.txt,sha256=nT6Xkt_Zx2Zg2lON7yJPD8Pdc4uOpo65t1GBRWhHRoI,9
|
7
|
-
ezbilling-0.1.0.dist-info/RECORD,,
|
@@ -1 +0,0 @@
|
|
1
|
-
ezbillpg
|
ezbillpg/payment_gateway.py
DELETED
File without changes
|
File without changes
|
File without changes
|