ezbilling 0.1.0__tar.gz → 0.3.0__tar.gz

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.
@@ -1,10 +1,10 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: ezbilling
3
- Version: 0.1.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: Your Name <your.email@example.com>
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
 
@@ -1,10 +1,10 @@
1
1
  <!--
2
+ source venv/bin/activate
3
+
2
4
  python -m build
3
5
 
4
6
  twine upload dist/*
5
7
 
6
- pypi-AgEIcHlwaS5vcmcCJDI1ZmI2MTUyLWI0MGQtNDExZi1iMzFhLWFhOTIwY2E0MjdkNgACKlszLCI5YjczMWU2MS1mZjg3LTQyNmYtYWZlYy02ZDc1MzNjNThkZmIiXQAABiAEzDCORZ0kqvuZMC-mk0xycE_Ba7V_vQHzlooQ0nJKYA
7
-
8
8
  pypi-AgEIcHlwaS5vcmcCJGE1MjE4MDNiLTVlNTYtNDg4Yy1hN2I5LTM2MjQ3NzQ1ZGFkZQACKlszLCI5YjczMWU2MS1mZjg3LTQyNmYtYWZlYy02ZDc1MzNjNThkZmIiXQAABiCEbEqPgAplNqAYIu49wvkt2NGXS3UzCKQjMcrpX7eUMA
9
9
 
10
10
 
@@ -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.1.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: Your Name <your.email@example.com>
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
 
@@ -4,9 +4,9 @@ README.md
4
4
  pyproject.toml
5
5
  setup.cfg
6
6
  setup.py
7
+ ezbilling/__init__.py
8
+ ezbilling/payment_gateway.py
7
9
  ezbilling.egg-info/PKG-INFO
8
10
  ezbilling.egg-info/SOURCES.txt
9
11
  ezbilling.egg-info/dependency_links.txt
10
- ezbilling.egg-info/top_level.txt
11
- ezbillpg/__init__.py
12
- ezbillpg/payment_gateway.py
12
+ ezbilling.egg-info/top_level.txt
@@ -0,0 +1 @@
1
+ ezbilling
@@ -4,13 +4,13 @@ build-backend = "setuptools.build_meta"
4
4
 
5
5
  [project]
6
6
  name = "ezbilling"
7
- version = "0.1.0"
7
+ version = "0.3.0"
8
8
  description = "A small Python package that says hello."
9
9
  readme = "README.md"
10
10
  requires-python = ">=3.7"
11
11
  license = { text = "MIT" }
12
12
  authors = [
13
- { name = "Your Name", email = "your.email@example.com" }
13
+ { name = "Nithesh", email = "nithish@dreaminfinity.in" }
14
14
  ]
15
15
  classifiers = [
16
16
  "Programming Language :: Python :: 3",
@@ -2,7 +2,7 @@ from setuptools import setup, find_packages
2
2
 
3
3
  setup(
4
4
  name="ezbilling", # Must be unique on PyPI
5
- version="0.1.0",
5
+ version="0.2.0",
6
6
  author="Nithesh",
7
7
  author_email="nithish@dreaminfinity.com",
8
8
  description="Make payment gatway integration easy",
@@ -10,10 +10,14 @@ setup(
10
10
  long_description_content_type="text/markdown",
11
11
  url="https://github.com/Ezbillpay",
12
12
  packages=find_packages(),
13
+ install_requires=[
14
+ 'requests' # This ensures requests is installed
15
+ ],
13
16
  classifiers=[
14
17
  "Programming Language :: Python :: 3",
15
18
  "License :: OSI Approved :: MIT License",
16
19
  "Operating System :: OS Independent",
17
20
  ],
21
+ dependencies = ["requests>=2.25.1"],
18
22
  python_requires=">=3.7",
19
23
  )
@@ -1 +0,0 @@
1
- ezbillpg
@@ -1,5 +0,0 @@
1
- def hello(name):
2
- return f"Hello, {name}!"
3
-
4
- def api_call():
5
- return "this function will process and genrate link for you"
File without changes
File without changes
File without changes