Monzo-API 1.2.3__tar.gz → 1.2.5__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.
Files changed (32) hide show
  1. {monzo_api-1.2.3 → monzo_api-1.2.5/Monzo_API.egg-info}/PKG-INFO +3 -4
  2. {monzo_api-1.2.3/Monzo_API.egg-info → monzo_api-1.2.5}/PKG-INFO +3 -4
  3. {monzo_api-1.2.3 → monzo_api-1.2.5}/monzo/endpoints/transaction.py +1 -1
  4. {monzo_api-1.2.3 → monzo_api-1.2.5}/pyproject.toml +23 -10
  5. {monzo_api-1.2.3 → monzo_api-1.2.5}/LICENSE +0 -0
  6. {monzo_api-1.2.3 → monzo_api-1.2.5}/Monzo_API.egg-info/SOURCES.txt +0 -0
  7. {monzo_api-1.2.3 → monzo_api-1.2.5}/Monzo_API.egg-info/dependency_links.txt +0 -0
  8. {monzo_api-1.2.3 → monzo_api-1.2.5}/Monzo_API.egg-info/top_level.txt +0 -0
  9. {monzo_api-1.2.3 → monzo_api-1.2.5}/README.rst +0 -0
  10. {monzo_api-1.2.3 → monzo_api-1.2.5}/monzo/__init__.py +0 -0
  11. {monzo_api-1.2.3 → monzo_api-1.2.5}/monzo/authentication.py +0 -0
  12. {monzo_api-1.2.3 → monzo_api-1.2.5}/monzo/endpoints/__init__.py +0 -0
  13. {monzo_api-1.2.3 → monzo_api-1.2.5}/monzo/endpoints/account.py +0 -0
  14. {monzo_api-1.2.3 → monzo_api-1.2.5}/monzo/endpoints/attachment.py +0 -0
  15. {monzo_api-1.2.3 → monzo_api-1.2.5}/monzo/endpoints/balance.py +0 -0
  16. {monzo_api-1.2.3 → monzo_api-1.2.5}/monzo/endpoints/feed_item.py +0 -0
  17. {monzo_api-1.2.3 → monzo_api-1.2.5}/monzo/endpoints/monzo.py +0 -0
  18. {monzo_api-1.2.3 → monzo_api-1.2.5}/monzo/endpoints/pot.py +0 -0
  19. {monzo_api-1.2.3 → monzo_api-1.2.5}/monzo/endpoints/receipt.py +0 -0
  20. {monzo_api-1.2.3 → monzo_api-1.2.5}/monzo/endpoints/webhooks.py +0 -0
  21. {monzo_api-1.2.3 → monzo_api-1.2.5}/monzo/endpoints/whoami.py +0 -0
  22. {monzo_api-1.2.3 → monzo_api-1.2.5}/monzo/exceptions.py +0 -0
  23. {monzo_api-1.2.3 → monzo_api-1.2.5}/monzo/handlers/__init__.py +0 -0
  24. {monzo_api-1.2.3 → monzo_api-1.2.5}/monzo/handlers/filesystem.py +0 -0
  25. {monzo_api-1.2.3 → monzo_api-1.2.5}/monzo/handlers/storage.py +0 -0
  26. {monzo_api-1.2.3 → monzo_api-1.2.5}/monzo/helpers.py +0 -0
  27. {monzo_api-1.2.3 → monzo_api-1.2.5}/monzo/httpio.py +0 -0
  28. {monzo_api-1.2.3 → monzo_api-1.2.5}/setup.cfg +0 -0
  29. {monzo_api-1.2.3 → monzo_api-1.2.5}/tests/test_authentication.py +0 -0
  30. {monzo_api-1.2.3 → monzo_api-1.2.5}/tests/test_endpoints.py +0 -0
  31. {monzo_api-1.2.3 → monzo_api-1.2.5}/tests/test_httpio_errors.py +0 -0
  32. {monzo_api-1.2.3 → monzo_api-1.2.5}/tests/test_payload.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: Monzo-API
3
- Version: 1.2.3
3
+ Version: 1.2.5
4
4
  Summary: Package to interact with the API provided by Monzo bank
5
5
  Author-email: Peter McDonald <git@petermcdonald.co.uk>
6
6
  License: MIT License
@@ -33,14 +33,13 @@ Keywords: monzo,bank,api
33
33
  Classifier: Intended Audience :: Developers
34
34
  Classifier: Operating System :: OS Independent
35
35
  Classifier: Programming Language :: Python
36
- Classifier: Programming Language :: Python :: 3.10
37
- Classifier: Programming Language :: Python :: 3.11
38
36
  Classifier: Programming Language :: Python :: 3.12
39
37
  Classifier: Programming Language :: Python :: 3.13
40
38
  Classifier: Programming Language :: Python :: 3.14
39
+ Classifier: Programming Language :: Python :: 3.15
41
40
  Classifier: Topic :: Office/Business :: Financial
42
41
  Classifier: Typing :: Typed
43
- Requires-Python: >=3.10
42
+ Requires-Python: >=3.12
44
43
  Description-Content-Type: text/x-rst
45
44
  License-File: LICENSE
46
45
  Dynamic: license-file
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: Monzo-API
3
- Version: 1.2.3
3
+ Version: 1.2.5
4
4
  Summary: Package to interact with the API provided by Monzo bank
5
5
  Author-email: Peter McDonald <git@petermcdonald.co.uk>
6
6
  License: MIT License
@@ -33,14 +33,13 @@ Keywords: monzo,bank,api
33
33
  Classifier: Intended Audience :: Developers
34
34
  Classifier: Operating System :: OS Independent
35
35
  Classifier: Programming Language :: Python
36
- Classifier: Programming Language :: Python :: 3.10
37
- Classifier: Programming Language :: Python :: 3.11
38
36
  Classifier: Programming Language :: Python :: 3.12
39
37
  Classifier: Programming Language :: Python :: 3.13
40
38
  Classifier: Programming Language :: Python :: 3.14
39
+ Classifier: Programming Language :: Python :: 3.15
41
40
  Classifier: Topic :: Office/Business :: Financial
42
41
  Classifier: Typing :: Typed
43
- Requires-Python: >=3.10
42
+ Requires-Python: >=3.12
44
43
  Description-Content-Type: text/x-rst
45
44
  License-File: LICENSE
46
45
  Dynamic: license-file
@@ -528,7 +528,7 @@ class Transaction(Monzo):
528
528
  """
529
529
  if expand is None:
530
530
  expand = []
531
- data = {
531
+ data: dict[str, int | str] = {
532
532
  "account_id": account_id,
533
533
  }
534
534
  if expand:
@@ -1,22 +1,21 @@
1
1
  [project]
2
2
  name = "Monzo-API"
3
- version = "1.2.3"
3
+ version = "1.2.5"
4
4
  authors = [{ name = "Peter McDonald", email = "git@petermcdonald.co.uk"}]
5
5
  description = "Package to interact with the API provided by Monzo bank"
6
6
  keywords = ["monzo", "bank", "api"]
7
7
  readme = "README.rst"
8
8
  license = { file = "LICENSE" }
9
- requires-python = ">=3.10"
9
+ requires-python = ">=3.12"
10
10
 
11
11
  classifiers = [
12
12
  "Intended Audience :: Developers",
13
13
  "Operating System :: OS Independent",
14
14
  "Programming Language :: Python",
15
- "Programming Language :: Python :: 3.10",
16
- "Programming Language :: Python :: 3.11",
17
15
  "Programming Language :: Python :: 3.12",
18
16
  "Programming Language :: Python :: 3.13",
19
17
  "Programming Language :: Python :: 3.14",
18
+ "Programming Language :: Python :: 3.15",
20
19
  "Topic :: Office/Business :: Financial",
21
20
  "Typing :: Typed",
22
21
  ]
@@ -29,14 +28,19 @@ documentation = "https://monzo-api.readthedocs.io"
29
28
 
30
29
  [dependency-groups]
31
30
  dev = [
31
+ "cosmic-ray>=8.4.6",
32
+ "idna>=3.16", # To resolve security vulnerabilities in dependencies pip-audit
33
+ "pip-audit>=2.9.0",
32
34
  "pygments>=2.20.0", # To resolve security vulnerabilities in dependencies pytest sphinx
33
- "pytest>=8.4.2",
34
- "pytest-cov>=7.0.0",
35
+ "pytest>=9.0.3",
36
+ "pytest-cov>=7.1.0",
35
37
  "pytest-mock>=3.15.1",
36
- "ruff>=0.14.3",
37
- "sphinx>=8.1.3",
38
- "sphinx-rtd-theme>=3.0.2",
39
- "ty>=0.0.1a25",
38
+ "ruff>=0.15.10",
39
+ "sphinx>=9.1.0",
40
+ "sphinx-rtd-theme>=3.1.0",
41
+ "troml>=0.4.1",
42
+ "ty>=0.0.29",
43
+ "urllib3>=2.7.0", # To resolve security vulnerabilities in dependencies pip-audit
40
44
  ]
41
45
 
42
46
  [tool.pytest.ini_options]
@@ -44,3 +48,12 @@ addopts = "--cov=monzo --cov-report term-missing --cov-report xml:coverage.xml"
44
48
 
45
49
  [tool.ruff]
46
50
  line-length = 120
51
+
52
+ [cosmic-ray]
53
+ module-path = "monzo"
54
+ timeout = 10.0
55
+ excluded-modules = []
56
+ test-command = "uv run pytest"
57
+
58
+ [cosmic-ray.distributor]
59
+ name = "local"
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes