python-getpaid 0.1.0__tar.gz → 3.0.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,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: python-getpaid
3
- Version: 0.1.0
3
+ Version: 3.0.0
4
4
  Summary: Umbrella package for the python-getpaid payment processing ecosystem.
5
5
  Author-email: Dominik Kozaczko <dominik@kozaczko.info>
6
6
  License-Expression: MIT
@@ -8,7 +8,7 @@ Project-URL: Homepage, https://github.com/django-getpaid/python-getpaid
8
8
  Project-URL: Repository, https://github.com/django-getpaid/python-getpaid
9
9
  Project-URL: Documentation, https://python-getpaid.readthedocs.io
10
10
  Project-URL: Changelog, https://github.com/django-getpaid/python-getpaid/releases
11
- Classifier: Development Status :: 3 - Alpha
11
+ Classifier: Development Status :: 5 - Production/Stable
12
12
  Classifier: Intended Audience :: Developers
13
13
  Classifier: Programming Language :: Python :: 3.12
14
14
  Classifier: Programming Language :: Python :: 3.13
@@ -17,23 +17,26 @@ Classifier: Topic :: Office/Business :: Financial :: Point-Of-Sale
17
17
  Classifier: Typing :: Typed
18
18
  Requires-Python: >=3.12
19
19
  Description-Content-Type: text/markdown
20
- Requires-Dist: python-getpaid-core>=0.1.0
20
+ Requires-Dist: python-getpaid-core>=3.0.0
21
21
  Provides-Extra: payu
22
- Requires-Dist: python-getpaid-payu>=0.1.0; extra == "payu"
22
+ Requires-Dist: python-getpaid-payu>=3.0.0; extra == "payu"
23
23
  Provides-Extra: paynow
24
- Requires-Dist: python-getpaid-paynow>=0.1.0; extra == "paynow"
24
+ Requires-Dist: python-getpaid-paynow>=3.0.0; extra == "paynow"
25
25
  Provides-Extra: przelewy24
26
- Requires-Dist: python-getpaid-przelewy24>=0.1.0; extra == "przelewy24"
26
+ Requires-Dist: python-getpaid-przelewy24>=3.0.0; extra == "przelewy24"
27
+ Provides-Extra: bitpay
28
+ Requires-Dist: python-getpaid-bitpay>=3.0.0; extra == "bitpay"
27
29
  Provides-Extra: django
28
- Requires-Dist: django-getpaid>=3.0.0a1; extra == "django"
30
+ Requires-Dist: django-getpaid>=3.0.0; extra == "django"
29
31
  Provides-Extra: fastapi
30
- Requires-Dist: fastapi-getpaid>=0.1.0; extra == "fastapi"
32
+ Requires-Dist: fastapi-getpaid>=3.0.0; extra == "fastapi"
31
33
  Provides-Extra: litestar
32
- Requires-Dist: litestar-getpaid>=0.1.0; extra == "litestar"
34
+ Requires-Dist: litestar-getpaid>=3.0.0; extra == "litestar"
33
35
  Provides-Extra: backends
34
36
  Requires-Dist: python-getpaid[payu]; extra == "backends"
35
37
  Requires-Dist: python-getpaid[paynow]; extra == "backends"
36
38
  Requires-Dist: python-getpaid[przelewy24]; extra == "backends"
39
+ Requires-Dist: python-getpaid[bitpay]; extra == "backends"
37
40
  Provides-Extra: frameworks
38
41
  Requires-Dist: python-getpaid[django]; extra == "frameworks"
39
42
  Requires-Dist: python-getpaid[fastapi]; extra == "frameworks"
@@ -60,6 +63,7 @@ pip install python-getpaid
60
63
  pip install python-getpaid[payu]
61
64
  pip install python-getpaid[paynow]
62
65
  pip install python-getpaid[przelewy24]
66
+ pip install python-getpaid[bitpay]
63
67
  pip install python-getpaid[backends] # all backends
64
68
  ```
65
69
 
@@ -85,6 +89,7 @@ pip install python-getpaid[all]
85
89
  | `payu` | `python-getpaid-payu` |
86
90
  | `paynow` | `python-getpaid-paynow` |
87
91
  | `przelewy24` | `python-getpaid-przelewy24` |
92
+ | `bitpay` | `python-getpaid-bitpay` |
88
93
  | `django` | `django-getpaid` |
89
94
  | `fastapi` | `fastapi-getpaid` |
90
95
  | `litestar` | `litestar-getpaid` |
@@ -16,6 +16,7 @@ pip install python-getpaid
16
16
  pip install python-getpaid[payu]
17
17
  pip install python-getpaid[paynow]
18
18
  pip install python-getpaid[przelewy24]
19
+ pip install python-getpaid[bitpay]
19
20
  pip install python-getpaid[backends] # all backends
20
21
  ```
21
22
 
@@ -41,6 +42,7 @@ pip install python-getpaid[all]
41
42
  | `payu` | `python-getpaid-payu` |
42
43
  | `paynow` | `python-getpaid-paynow` |
43
44
  | `przelewy24` | `python-getpaid-przelewy24` |
45
+ | `bitpay` | `python-getpaid-bitpay` |
44
46
  | `django` | `django-getpaid` |
45
47
  | `fastapi` | `fastapi-getpaid` |
46
48
  | `litestar` | `litestar-getpaid` |
@@ -1,6 +1,6 @@
1
1
  [project]
2
2
  name = 'python-getpaid'
3
- version = '0.1.0'
3
+ version = "3.0.0"
4
4
  description = 'Umbrella package for the python-getpaid payment processing ecosystem.'
5
5
  readme = 'README.md'
6
6
  license = 'MIT'
@@ -9,7 +9,7 @@ authors = [
9
9
  ]
10
10
  requires-python = '>=3.12'
11
11
  classifiers = [
12
- 'Development Status :: 3 - Alpha',
12
+ 'Development Status :: 5 - Production/Stable',
13
13
  'Intended Audience :: Developers',
14
14
  'Programming Language :: Python :: 3.12',
15
15
  'Programming Language :: Python :: 3.13',
@@ -18,25 +18,27 @@ classifiers = [
18
18
  'Typing :: Typed',
19
19
  ]
20
20
  dependencies = [
21
- 'python-getpaid-core>=0.1.0',
21
+ 'python-getpaid-core>=3.0.0',
22
22
  ]
23
23
 
24
24
  [project.optional-dependencies]
25
25
  # --- Payment gateway backends ---
26
- payu = ['python-getpaid-payu>=0.1.0']
27
- paynow = ['python-getpaid-paynow>=0.1.0']
28
- przelewy24 = ['python-getpaid-przelewy24>=0.1.0']
26
+ payu = ['python-getpaid-payu>=3.0.0']
27
+ paynow = ['python-getpaid-paynow>=3.0.0']
28
+ przelewy24 = ['python-getpaid-przelewy24>=3.0.0']
29
+ bitpay = ['python-getpaid-bitpay>=3.0.0']
29
30
 
30
31
  # --- Framework adapters ---
31
- django = ['django-getpaid>=3.0.0a1']
32
- fastapi = ['fastapi-getpaid>=0.1.0']
33
- litestar = ['litestar-getpaid>=0.1.0']
32
+ django = ['django-getpaid>=3.0.0']
33
+ fastapi = ['fastapi-getpaid>=3.0.0']
34
+ litestar = ['litestar-getpaid>=3.0.0']
34
35
 
35
36
  # --- Bundles ---
36
37
  backends = [
37
38
  'python-getpaid[payu]',
38
39
  'python-getpaid[paynow]',
39
40
  'python-getpaid[przelewy24]',
41
+ 'python-getpaid[bitpay]',
40
42
  ]
41
43
  frameworks = [
42
44
  'python-getpaid[django]',
@@ -58,6 +60,15 @@ Changelog = 'https://github.com/django-getpaid/python-getpaid/releases'
58
60
  requires = ['setuptools>=75.0']
59
61
  build-backend = 'setuptools.build_meta'
60
62
 
63
+ [dependency-groups]
64
+ dev = [
65
+ 'pip-audit>=2.7.0',
66
+ 'pytest>=8.0',
67
+ ]
68
+
69
+ [tool.pytest.ini_options]
70
+ testpaths = ['tests']
71
+
61
72
  [tool.setuptools]
62
73
  # Metadata-only package -- no Python source to ship.
63
74
  py-modules = []
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: python-getpaid
3
- Version: 0.1.0
3
+ Version: 3.0.0
4
4
  Summary: Umbrella package for the python-getpaid payment processing ecosystem.
5
5
  Author-email: Dominik Kozaczko <dominik@kozaczko.info>
6
6
  License-Expression: MIT
@@ -8,7 +8,7 @@ Project-URL: Homepage, https://github.com/django-getpaid/python-getpaid
8
8
  Project-URL: Repository, https://github.com/django-getpaid/python-getpaid
9
9
  Project-URL: Documentation, https://python-getpaid.readthedocs.io
10
10
  Project-URL: Changelog, https://github.com/django-getpaid/python-getpaid/releases
11
- Classifier: Development Status :: 3 - Alpha
11
+ Classifier: Development Status :: 5 - Production/Stable
12
12
  Classifier: Intended Audience :: Developers
13
13
  Classifier: Programming Language :: Python :: 3.12
14
14
  Classifier: Programming Language :: Python :: 3.13
@@ -17,23 +17,26 @@ Classifier: Topic :: Office/Business :: Financial :: Point-Of-Sale
17
17
  Classifier: Typing :: Typed
18
18
  Requires-Python: >=3.12
19
19
  Description-Content-Type: text/markdown
20
- Requires-Dist: python-getpaid-core>=0.1.0
20
+ Requires-Dist: python-getpaid-core>=3.0.0
21
21
  Provides-Extra: payu
22
- Requires-Dist: python-getpaid-payu>=0.1.0; extra == "payu"
22
+ Requires-Dist: python-getpaid-payu>=3.0.0; extra == "payu"
23
23
  Provides-Extra: paynow
24
- Requires-Dist: python-getpaid-paynow>=0.1.0; extra == "paynow"
24
+ Requires-Dist: python-getpaid-paynow>=3.0.0; extra == "paynow"
25
25
  Provides-Extra: przelewy24
26
- Requires-Dist: python-getpaid-przelewy24>=0.1.0; extra == "przelewy24"
26
+ Requires-Dist: python-getpaid-przelewy24>=3.0.0; extra == "przelewy24"
27
+ Provides-Extra: bitpay
28
+ Requires-Dist: python-getpaid-bitpay>=3.0.0; extra == "bitpay"
27
29
  Provides-Extra: django
28
- Requires-Dist: django-getpaid>=3.0.0a1; extra == "django"
30
+ Requires-Dist: django-getpaid>=3.0.0; extra == "django"
29
31
  Provides-Extra: fastapi
30
- Requires-Dist: fastapi-getpaid>=0.1.0; extra == "fastapi"
32
+ Requires-Dist: fastapi-getpaid>=3.0.0; extra == "fastapi"
31
33
  Provides-Extra: litestar
32
- Requires-Dist: litestar-getpaid>=0.1.0; extra == "litestar"
34
+ Requires-Dist: litestar-getpaid>=3.0.0; extra == "litestar"
33
35
  Provides-Extra: backends
34
36
  Requires-Dist: python-getpaid[payu]; extra == "backends"
35
37
  Requires-Dist: python-getpaid[paynow]; extra == "backends"
36
38
  Requires-Dist: python-getpaid[przelewy24]; extra == "backends"
39
+ Requires-Dist: python-getpaid[bitpay]; extra == "backends"
37
40
  Provides-Extra: frameworks
38
41
  Requires-Dist: python-getpaid[django]; extra == "frameworks"
39
42
  Requires-Dist: python-getpaid[fastapi]; extra == "frameworks"
@@ -60,6 +63,7 @@ pip install python-getpaid
60
63
  pip install python-getpaid[payu]
61
64
  pip install python-getpaid[paynow]
62
65
  pip install python-getpaid[przelewy24]
66
+ pip install python-getpaid[bitpay]
63
67
  pip install python-getpaid[backends] # all backends
64
68
  ```
65
69
 
@@ -85,6 +89,7 @@ pip install python-getpaid[all]
85
89
  | `payu` | `python-getpaid-payu` |
86
90
  | `paynow` | `python-getpaid-paynow` |
87
91
  | `przelewy24` | `python-getpaid-przelewy24` |
92
+ | `bitpay` | `python-getpaid-bitpay` |
88
93
  | `django` | `django-getpaid` |
89
94
  | `fastapi` | `fastapi-getpaid` |
90
95
  | `litestar` | `litestar-getpaid` |
@@ -4,4 +4,5 @@ python_getpaid.egg-info/PKG-INFO
4
4
  python_getpaid.egg-info/SOURCES.txt
5
5
  python_getpaid.egg-info/dependency_links.txt
6
6
  python_getpaid.egg-info/requires.txt
7
- python_getpaid.egg-info/top_level.txt
7
+ python_getpaid.egg-info/top_level.txt
8
+ tests/test_public_api.py
@@ -1,4 +1,4 @@
1
- python-getpaid-core>=0.1.0
1
+ python-getpaid-core>=3.0.0
2
2
 
3
3
  [all]
4
4
  python-getpaid[backends]
@@ -8,12 +8,16 @@ python-getpaid[frameworks]
8
8
  python-getpaid[payu]
9
9
  python-getpaid[paynow]
10
10
  python-getpaid[przelewy24]
11
+ python-getpaid[bitpay]
12
+
13
+ [bitpay]
14
+ python-getpaid-bitpay>=3.0.0
11
15
 
12
16
  [django]
13
- django-getpaid>=3.0.0a1
17
+ django-getpaid>=3.0.0
14
18
 
15
19
  [fastapi]
16
- fastapi-getpaid>=0.1.0
20
+ fastapi-getpaid>=3.0.0
17
21
 
18
22
  [frameworks]
19
23
  python-getpaid[django]
@@ -21,13 +25,13 @@ python-getpaid[fastapi]
21
25
  python-getpaid[litestar]
22
26
 
23
27
  [litestar]
24
- litestar-getpaid>=0.1.0
28
+ litestar-getpaid>=3.0.0
25
29
 
26
30
  [paynow]
27
- python-getpaid-paynow>=0.1.0
31
+ python-getpaid-paynow>=3.0.0
28
32
 
29
33
  [payu]
30
- python-getpaid-payu>=0.1.0
34
+ python-getpaid-payu>=3.0.0
31
35
 
32
36
  [przelewy24]
33
- python-getpaid-przelewy24>=0.1.0
37
+ python-getpaid-przelewy24>=3.0.0
@@ -0,0 +1,25 @@
1
+ """Tests for the public package API."""
2
+
3
+ import tomllib
4
+ from pathlib import Path
5
+
6
+
7
+ def test_version() -> None:
8
+ pyproject_data = tomllib.loads(Path("pyproject.toml").read_text())
9
+ assert pyproject_data["project"]["version"] == "3.0.0"
10
+
11
+
12
+ def test_core_dependency_floor() -> None:
13
+ pyproject_data = tomllib.loads(Path("pyproject.toml").read_text())
14
+ assert (
15
+ "python-getpaid-core>=3.0.0"
16
+ in pyproject_data["project"]["dependencies"]
17
+ )
18
+
19
+
20
+ def test_extras_defined() -> None:
21
+ """All expected extras are listed in pyproject.toml."""
22
+ pyproject_data = tomllib.loads(Path("pyproject.toml").read_text())
23
+ extras = pyproject_data["project"]["optional-dependencies"]
24
+ expected = {"payu", "paynow", "przelewy24", "bitpay", "django", "fastapi", "litestar", "backends", "frameworks", "all"}
25
+ assert set(extras.keys()) == expected
File without changes