simple-justwatch-python-api 1.3.0__tar.gz → 1.4.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: simple-justwatch-python-api
3
- Version: 1.3.0
3
+ Version: 1.4.0
4
4
  Summary: A simple JustWatch Python API
5
5
  Keywords: justwatch,api,graphql
6
6
  Author: Electronic Mango
@@ -17,7 +17,7 @@ Classifier: Programming Language :: Python :: 3.13
17
17
  Classifier: Programming Language :: Python :: 3.14
18
18
  Classifier: Topic :: Internet :: WWW/HTTP
19
19
  Classifier: Topic :: Software Development :: Libraries :: Python Modules
20
- Requires-Dist: httpx>=0.28.1
20
+ Requires-Dist: httpx2>=2.13.0
21
21
  Requires-Python: >=3.11
22
22
  Project-URL: Homepage, https://github.com/Electronic-Mango/simple-justwatch-python-api
23
23
  Project-URL: Documentation, https://electronic-mango.github.io/simple-justwatch-python-api
@@ -0,0 +1,78 @@
1
+ [project]
2
+ name = "simple-justwatch-python-api"
3
+ version = "1.4.0"
4
+ description = "A simple JustWatch Python API"
5
+ readme = "README.md"
6
+ license = "MIT"
7
+ license-files = ["LICENSE"]
8
+ requires-python = ">= 3.11"
9
+ keywords = [
10
+ "justwatch",
11
+ "api",
12
+ "graphql",
13
+ ]
14
+ classifiers = [
15
+ "Development Status :: 5 - Production/Stable",
16
+ "Intended Audience :: Developers",
17
+ "Operating System :: OS Independent",
18
+ "Programming Language :: Python :: 3 :: Only",
19
+ "Programming Language :: Python :: 3.11",
20
+ "Programming Language :: Python :: 3.12",
21
+ "Programming Language :: Python :: 3.13",
22
+ "Programming Language :: Python :: 3.14",
23
+ "Topic :: Internet :: WWW/HTTP",
24
+ "Topic :: Software Development :: Libraries :: Python Modules",
25
+ ]
26
+ dependencies = ["httpx2>=2.13.0"]
27
+
28
+ [[project.authors]]
29
+ name = "Electronic Mango"
30
+ email = "78230210+Electronic-Mango@users.noreply.github.com"
31
+
32
+ [project.urls]
33
+ Homepage = "https://github.com/Electronic-Mango/simple-justwatch-python-api"
34
+ Documentation = "https://electronic-mango.github.io/simple-justwatch-python-api"
35
+ Repository = "https://github.com/Electronic-Mango/simple-justwatch-python-api"
36
+ Changelog = "https://github.com/Electronic-Mango/simple-justwatch-python-api/blob/main/CHANGELOG.md"
37
+ Releases = "https://github.com/Electronic-Mango/simple-justwatch-python-api/releases"
38
+
39
+ [dependency-groups]
40
+ dev = [
41
+ "mkdocstrings-python>=2.0.9",
42
+ "pytest>=9.1.1",
43
+ "pytest-mock>=3.15.1",
44
+ "ruff>=0.16.8",
45
+ "zensical>=0.0.64",
46
+ ]
47
+
48
+ [build-system]
49
+ requires = ["uv_build>=0.11.3,<0.12"]
50
+ build-backend = "uv_build"
51
+
52
+ [tool.uv.build-backend]
53
+ module-name = "simplejustwatchapi"
54
+
55
+ [tool.pytest.ini_options]
56
+ pythonpath = [
57
+ "src",
58
+ "test",
59
+ ]
60
+
61
+ [tool.ruff]
62
+ extend-exclude = ["docs"]
63
+
64
+ [tool.ruff.lint]
65
+ select = ["ALL"]
66
+ ignore = [
67
+ "ANN401",
68
+ "COM812",
69
+ "CPY001",
70
+ "D203",
71
+ "D212",
72
+ "FBT",
73
+ "FIX002",
74
+ "PLR0913",
75
+ "PLR0917",
76
+ "TD002",
77
+ "TD003",
78
+ ]
@@ -3,7 +3,7 @@ name = "simple-justwatch-python-api"
3
3
  authors = [
4
4
  { name = "Electronic Mango", email = "78230210+Electronic-Mango@users.noreply.github.com" },
5
5
  ]
6
- version = "1.3.0"
6
+ version = "1.4.0"
7
7
  description = "A simple JustWatch Python API"
8
8
  readme = "README.md"
9
9
  license = "MIT"
@@ -22,15 +22,17 @@ classifiers = [
22
22
  "Topic :: Internet :: WWW/HTTP",
23
23
  "Topic :: Software Development :: Libraries :: Python Modules",
24
24
  ]
25
- dependencies = ["httpx>=0.28.1"]
25
+ dependencies = [
26
+ "httpx2>=2.13.0",
27
+ ]
26
28
 
27
29
  [dependency-groups]
28
30
  dev = [
29
- "mkdocstrings-python>=2.0.3",
30
- "pytest>=9.0.3",
31
+ "mkdocstrings-python>=2.0.9",
32
+ "pytest>=9.1.1",
31
33
  "pytest-mock>=3.15.1",
32
- "ruff>=0.15.10",
33
- "zensical>=0.0.37",
34
+ "ruff>=0.16.8",
35
+ "zensical>=0.0.64",
34
36
  ]
35
37
 
36
38
  [project.urls]
@@ -50,16 +52,21 @@ module-name = "simplejustwatchapi"
50
52
  [tool.pytest.ini_options]
51
53
  pythonpath = ["src", "test"]
52
54
 
55
+ [tool.ruff]
56
+ extend-exclude = ["docs"]
57
+
53
58
  [tool.ruff.lint]
54
59
  select = ["ALL"]
55
60
  ignore = [
56
61
  "ANN401", # Type hinting JSONs is problematic
57
62
  "COM812", # Avoid issues with formatter
63
+ "CPY001", # I don't think, that copyright notices are necessary here
58
64
  "D203", # Conflicts with D211
59
65
  "D212", # Conflicts with D213
60
66
  "FBT",
61
67
  "FIX002",
62
68
  "PLR0913", # I think it makes sense for functions here to have more arguments
69
+ "PLR0917", # Same as PLR0913
63
70
  "TD002",
64
71
  "TD003",
65
72
  ]
@@ -51,7 +51,7 @@ Each function can raise two exceptions:
51
51
  country code. |
52
52
  """
53
53
 
54
- from httpx import HTTPError, HTTPStatusError, post
54
+ from httpx2 import HTTPError, HTTPStatusError, post
55
55
 
56
56
  from simplejustwatchapi.exceptions import JustWatchHttpError
57
57
  from simplejustwatchapi.query import (