uw-api 0.2.1__tar.gz → 0.2.2__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 (36) hide show
  1. uw_api-0.2.2/.release-please-manifest.json +3 -0
  2. {uw_api-0.2.1 → uw_api-0.2.2}/CHANGELOG.md +9 -0
  3. {uw_api-0.2.1 → uw_api-0.2.2}/PKG-INFO +4 -4
  4. {uw_api-0.2.1 → uw_api-0.2.2}/pyproject.toml +4 -4
  5. {uw_api-0.2.1 → uw_api-0.2.2}/src/uw_api/__init__.py +1 -1
  6. {uw_api-0.2.1 → uw_api-0.2.2}/tests/test_bills.py +1 -1
  7. uw_api-0.2.1/.release-please-manifest.json +0 -3
  8. {uw_api-0.2.1 → uw_api-0.2.2}/.github/CODEOWNERS +0 -0
  9. {uw_api-0.2.1 → uw_api-0.2.2}/.github/ISSUE_TEMPLATE/bug_report.yml +0 -0
  10. {uw_api-0.2.1 → uw_api-0.2.2}/.github/ISSUE_TEMPLATE/config.yml +0 -0
  11. {uw_api-0.2.1 → uw_api-0.2.2}/.github/ISSUE_TEMPLATE/feature_request.yml +0 -0
  12. {uw_api-0.2.1 → uw_api-0.2.2}/.github/PULL_REQUEST_TEMPLATE.md +0 -0
  13. {uw_api-0.2.1 → uw_api-0.2.2}/.github/dependabot.yml +0 -0
  14. {uw_api-0.2.1 → uw_api-0.2.2}/.github/workflows/ci.yml +0 -0
  15. {uw_api-0.2.1 → uw_api-0.2.2}/.github/workflows/release-please.yml +0 -0
  16. {uw_api-0.2.1 → uw_api-0.2.2}/.gitignore +0 -0
  17. {uw_api-0.2.1 → uw_api-0.2.2}/LICENSE +0 -0
  18. {uw_api-0.2.1 → uw_api-0.2.2}/README.md +0 -0
  19. {uw_api-0.2.1 → uw_api-0.2.2}/release-please-config.json +0 -0
  20. {uw_api-0.2.1 → uw_api-0.2.2}/scripts/discover_api.py +0 -0
  21. {uw_api-0.2.1 → uw_api-0.2.2}/src/uw_api/auth.py +0 -0
  22. {uw_api-0.2.1 → uw_api-0.2.2}/src/uw_api/client.py +0 -0
  23. {uw_api-0.2.1 → uw_api-0.2.2}/src/uw_api/exceptions.py +0 -0
  24. {uw_api-0.2.1 → uw_api-0.2.2}/src/uw_api/graphql/__init__.py +0 -0
  25. {uw_api-0.2.1 → uw_api-0.2.2}/src/uw_api/graphql/queries.py +0 -0
  26. {uw_api-0.2.1 → uw_api-0.2.2}/src/uw_api/models/__init__.py +0 -0
  27. {uw_api-0.2.1 → uw_api-0.2.2}/src/uw_api/models/account.py +0 -0
  28. {uw_api-0.2.1 → uw_api-0.2.2}/src/uw_api/models/bill.py +0 -0
  29. {uw_api-0.2.1 → uw_api-0.2.2}/src/uw_api/models/energy.py +0 -0
  30. {uw_api-0.2.1 → uw_api-0.2.2}/src/uw_api/models/meter.py +0 -0
  31. {uw_api-0.2.1 → uw_api-0.2.2}/src/uw_api/pdf/__init__.py +0 -0
  32. {uw_api-0.2.1 → uw_api-0.2.2}/src/uw_api/pdf/extractor.py +0 -0
  33. {uw_api-0.2.1 → uw_api-0.2.2}/tests/__init__.py +0 -0
  34. {uw_api-0.2.1 → uw_api-0.2.2}/tests/conftest.py +0 -0
  35. {uw_api-0.2.1 → uw_api-0.2.2}/tests/test_client.py +0 -0
  36. {uw_api-0.2.1 → uw_api-0.2.2}/tests/test_models.py +0 -0
@@ -0,0 +1,3 @@
1
+ {
2
+ ".": "0.2.2"
3
+ }
@@ -1,5 +1,14 @@
1
1
  # Changelog
2
2
 
3
+ ## [0.2.2](https://github.com/KRoperUK/uw-py/compare/v0.2.1...v0.2.2) (2026-07-24)
4
+
5
+
6
+ ### Bug Fixes
7
+
8
+ * add pdfplumber to dev extras, relax test assertion ([52ae2a9](https://github.com/KRoperUK/uw-py/commit/52ae2a9731907ecb1590bf16882786a5e04630c9))
9
+ * move pdfplumber to optional dev dependency ([cd79959](https://github.com/KRoperUK/uw-py/commit/cd79959e1fe693424398993805ba58c0180499bf))
10
+ * relax pydantic constraint to >=2.0 ([1d4014c](https://github.com/KRoperUK/uw-py/commit/1d4014ce4f7c39ace650d05e07e831d0f0354233))
11
+
3
12
  ## [0.2.1](https://github.com/KRoperUK/uw-py/compare/v0.2.0...v0.2.1) (2026-07-23)
4
13
 
5
14
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: uw-api
3
- Version: 0.2.1
3
+ Version: 0.2.2
4
4
  Summary: Async Python client for the Utility Warehouse customer portal API
5
5
  Author-email: Kieran <kieran@example.com>
6
6
  License: MIT
@@ -14,11 +14,11 @@ Classifier: Programming Language :: Python :: 3.11
14
14
  Classifier: Programming Language :: Python :: 3.12
15
15
  Classifier: Programming Language :: Python :: 3.13
16
16
  Requires-Python: >=3.11
17
- Requires-Dist: httpx>=0.28.1
18
- Requires-Dist: pdfplumber>=0.11.10
19
- Requires-Dist: pydantic>=2.13.4
17
+ Requires-Dist: httpx>=0.27.0
18
+ Requires-Dist: pydantic>=2.0
20
19
  Provides-Extra: dev
21
20
  Requires-Dist: mypy>=2.3.0; extra == 'dev'
21
+ Requires-Dist: pdfplumber>=0.11.0; extra == 'dev'
22
22
  Requires-Dist: pytest-asyncio>=1.4.0; extra == 'dev'
23
23
  Requires-Dist: pytest-cov>=7.1.0; extra == 'dev'
24
24
  Requires-Dist: pytest-httpx>=0.36.2; extra == 'dev'
@@ -4,7 +4,7 @@ build-backend = "hatchling.build"
4
4
 
5
5
  [project]
6
6
  name = "uw-api"
7
- version = "0.2.1"
7
+ version = "0.2.2"
8
8
  description = "Async Python client for the Utility Warehouse customer portal API"
9
9
  readme = "README.md"
10
10
  license = { text = "MIT" }
@@ -24,13 +24,13 @@ classifiers = [
24
24
  ]
25
25
 
26
26
  dependencies = [
27
- "httpx>=0.28.1",
28
- "pydantic>=2.13.4",
29
- "pdfplumber>=0.11.10",
27
+ "httpx>=0.27.0",
28
+ "pydantic>=2.0",
30
29
  ]
31
30
 
32
31
  [project.optional-dependencies]
33
32
  dev = [
33
+ "pdfplumber>=0.11.0",
34
34
  "pytest>=9.1.1",
35
35
  "pytest-asyncio>=1.4.0",
36
36
  "pytest-cov>=7.1.0",
@@ -10,7 +10,7 @@ from uw_api.exceptions import (
10
10
  UWSessionExpiredError,
11
11
  )
12
12
 
13
- __version__ = "0.2.1"
13
+ __version__ = "0.2.2"
14
14
  __all__ = [
15
15
  "UWApiError",
16
16
  "UWAuthError",
@@ -8,5 +8,5 @@ from uw_api.pdf.extractor import extract_bill_data
8
8
 
9
9
  class TestPDFExtractor:
10
10
  def test_invalid_pdf_raises_error(self) -> None:
11
- with pytest.raises(UWPDFExtractError, match="Failed to open PDF"):
11
+ with pytest.raises(UWPDFExtractError):
12
12
  extract_bill_data(b"not a valid pdf")
@@ -1,3 +0,0 @@
1
- {
2
- ".": "0.2.1"
3
- }
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes