simple-justwatch-python-api 1.3.1__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.
- {simple_justwatch_python_api-1.3.1 → simple_justwatch_python_api-1.4.0}/PKG-INFO +2 -2
- simple_justwatch_python_api-1.4.0/pyproject.toml +78 -0
- simple_justwatch_python_api-1.3.1/pyproject.toml → simple_justwatch_python_api-1.4.0/pyproject.toml.orig +11 -6
- {simple_justwatch_python_api-1.3.1 → simple_justwatch_python_api-1.4.0}/src/simplejustwatchapi/justwatch.py +1 -1
- {simple_justwatch_python_api-1.3.1 → simple_justwatch_python_api-1.4.0}/LICENSE +0 -0
- {simple_justwatch_python_api-1.3.1 → simple_justwatch_python_api-1.4.0}/README.md +0 -0
- {simple_justwatch_python_api-1.3.1 → simple_justwatch_python_api-1.4.0}/src/simplejustwatchapi/__init__.py +0 -0
- {simple_justwatch_python_api-1.3.1 → simple_justwatch_python_api-1.4.0}/src/simplejustwatchapi/exceptions.py +0 -0
- {simple_justwatch_python_api-1.3.1 → simple_justwatch_python_api-1.4.0}/src/simplejustwatchapi/graphql.py +0 -0
- {simple_justwatch_python_api-1.3.1 → simple_justwatch_python_api-1.4.0}/src/simplejustwatchapi/query.py +0 -0
- {simple_justwatch_python_api-1.3.1 → simple_justwatch_python_api-1.4.0}/src/simplejustwatchapi/tuples.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: simple-justwatch-python-api
|
|
3
|
-
Version: 1.
|
|
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:
|
|
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.
|
|
6
|
+
version = "1.4.0"
|
|
7
7
|
description = "A simple JustWatch Python API"
|
|
8
8
|
readme = "README.md"
|
|
9
9
|
license = "MIT"
|
|
@@ -23,16 +23,16 @@ classifiers = [
|
|
|
23
23
|
"Topic :: Software Development :: Libraries :: Python Modules",
|
|
24
24
|
]
|
|
25
25
|
dependencies = [
|
|
26
|
-
"
|
|
26
|
+
"httpx2>=2.13.0",
|
|
27
27
|
]
|
|
28
28
|
|
|
29
29
|
[dependency-groups]
|
|
30
30
|
dev = [
|
|
31
|
-
"mkdocstrings-python>=2.0.
|
|
32
|
-
"pytest>=9.
|
|
31
|
+
"mkdocstrings-python>=2.0.9",
|
|
32
|
+
"pytest>=9.1.1",
|
|
33
33
|
"pytest-mock>=3.15.1",
|
|
34
|
-
"ruff>=0.
|
|
35
|
-
"zensical>=0.0.
|
|
34
|
+
"ruff>=0.16.8",
|
|
35
|
+
"zensical>=0.0.64",
|
|
36
36
|
]
|
|
37
37
|
|
|
38
38
|
[project.urls]
|
|
@@ -52,16 +52,21 @@ module-name = "simplejustwatchapi"
|
|
|
52
52
|
[tool.pytest.ini_options]
|
|
53
53
|
pythonpath = ["src", "test"]
|
|
54
54
|
|
|
55
|
+
[tool.ruff]
|
|
56
|
+
extend-exclude = ["docs"]
|
|
57
|
+
|
|
55
58
|
[tool.ruff.lint]
|
|
56
59
|
select = ["ALL"]
|
|
57
60
|
ignore = [
|
|
58
61
|
"ANN401", # Type hinting JSONs is problematic
|
|
59
62
|
"COM812", # Avoid issues with formatter
|
|
63
|
+
"CPY001", # I don't think, that copyright notices are necessary here
|
|
60
64
|
"D203", # Conflicts with D211
|
|
61
65
|
"D212", # Conflicts with D213
|
|
62
66
|
"FBT",
|
|
63
67
|
"FIX002",
|
|
64
68
|
"PLR0913", # I think it makes sense for functions here to have more arguments
|
|
69
|
+
"PLR0917", # Same as PLR0913
|
|
65
70
|
"TD002",
|
|
66
71
|
"TD003",
|
|
67
72
|
]
|
|
@@ -51,7 +51,7 @@ Each function can raise two exceptions:
|
|
|
51
51
|
country code. |
|
|
52
52
|
"""
|
|
53
53
|
|
|
54
|
-
from
|
|
54
|
+
from httpx2 import HTTPError, HTTPStatusError, post
|
|
55
55
|
|
|
56
56
|
from simplejustwatchapi.exceptions import JustWatchHttpError
|
|
57
57
|
from simplejustwatchapi.query import (
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|