deezer-oauth-cli 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.
- {deezer_oauth_cli-1.3.1 → deezer_oauth_cli-1.4.0}/PKG-INFO +3 -3
- {deezer_oauth_cli-1.3.1 → deezer_oauth_cli-1.4.0}/pyproject.toml +74 -78
- deezer_oauth_cli-1.4.0/src/deezer_oauth/__init__.py +1 -0
- deezer_oauth_cli-1.3.1/src/deezer_oauth/__init__.py +0 -1
- {deezer_oauth_cli-1.3.1 → deezer_oauth_cli-1.4.0}/LICENSE +0 -0
- {deezer_oauth_cli-1.3.1 → deezer_oauth_cli-1.4.0}/README.md +0 -0
- {deezer_oauth_cli-1.3.1 → deezer_oauth_cli-1.4.0}/src/deezer_oauth/__main__.py +0 -0
- {deezer_oauth_cli-1.3.1 → deezer_oauth_cli-1.4.0}/src/deezer_oauth/client.py +0 -0
- {deezer_oauth_cli-1.3.1 → deezer_oauth_cli-1.4.0}/src/deezer_oauth/constants.py +0 -0
- {deezer_oauth_cli-1.3.1 → deezer_oauth_cli-1.4.0}/src/deezer_oauth/files.py +0 -0
- {deezer_oauth_cli-1.3.1 → deezer_oauth_cli-1.4.0}/src/deezer_oauth/main.py +0 -0
- {deezer_oauth_cli-1.3.1 → deezer_oauth_cli-1.4.0}/src/deezer_oauth/py.typed +0 -0
- {deezer_oauth_cli-1.3.1 → deezer_oauth_cli-1.4.0}/src/deezer_oauth/server.py +0 -0
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: deezer-oauth-cli
|
|
3
|
-
Version: 1.
|
|
3
|
+
Version: 1.4.0
|
|
4
4
|
Summary: A small CLI to quickly obtain an API token for Deezer API.
|
|
5
5
|
Home-page: https://github.com/browniebroke/deezer-oauth-cli
|
|
6
6
|
License: MIT
|
|
7
7
|
Author: Bruno Alla
|
|
8
8
|
Author-email: alla.brunoo@gmail.com
|
|
9
|
-
Requires-Python: >=3.
|
|
9
|
+
Requires-Python: >=3.9,<4.0
|
|
10
10
|
Classifier: Development Status :: 2 - Pre-Alpha
|
|
11
11
|
Classifier: Intended Audience :: Developers
|
|
12
12
|
Classifier: License :: OSI Approved :: MIT License
|
|
13
13
|
Classifier: Natural Language :: English
|
|
14
14
|
Classifier: Operating System :: OS Independent
|
|
15
15
|
Classifier: Programming Language :: Python :: 3
|
|
16
|
-
Classifier: Programming Language :: Python :: 3.8
|
|
17
16
|
Classifier: Programming Language :: Python :: 3.9
|
|
18
17
|
Classifier: Programming Language :: Python :: 3.10
|
|
19
18
|
Classifier: Programming Language :: Python :: 3.11
|
|
20
19
|
Classifier: Programming Language :: Python :: 3.12
|
|
20
|
+
Classifier: Programming Language :: Python :: 3.13
|
|
21
21
|
Classifier: Topic :: Software Development :: Libraries
|
|
22
22
|
Requires-Dist: httpx (>=0.27.0)
|
|
23
23
|
Requires-Dist: rich (>=10)
|
|
@@ -1,22 +1,26 @@
|
|
|
1
|
+
[build-system]
|
|
2
|
+
build-backend = "poetry.core.masonry.api"
|
|
3
|
+
requires = [ "poetry-core>=1" ]
|
|
4
|
+
|
|
1
5
|
[tool.poetry]
|
|
2
6
|
name = "deezer-oauth-cli"
|
|
3
|
-
version = "1.
|
|
7
|
+
version = "1.4.0"
|
|
4
8
|
description = "A small CLI to quickly obtain an API token for Deezer API."
|
|
5
|
-
authors = ["Bruno Alla <alla.brunoo@gmail.com>"]
|
|
9
|
+
authors = [ "Bruno Alla <alla.brunoo@gmail.com>" ]
|
|
6
10
|
license = "MIT"
|
|
7
11
|
readme = "README.md"
|
|
8
12
|
repository = "https://github.com/browniebroke/deezer-oauth-cli"
|
|
9
13
|
documentation = "https://github.com/browniebroke/deezer-oauth-cli/blob/main/README.md"
|
|
10
14
|
classifiers = [
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
15
|
+
"Development Status :: 2 - Pre-Alpha",
|
|
16
|
+
"Intended Audience :: Developers",
|
|
17
|
+
"Natural Language :: English",
|
|
18
|
+
"Operating System :: OS Independent",
|
|
19
|
+
"Topic :: Software Development :: Libraries",
|
|
20
|
+
"Programming Language :: Python :: 3.12",
|
|
17
21
|
]
|
|
18
22
|
packages = [
|
|
19
|
-
|
|
23
|
+
{ include = "deezer_oauth", from = "src" },
|
|
20
24
|
]
|
|
21
25
|
|
|
22
26
|
[tool.poetry.urls]
|
|
@@ -29,10 +33,10 @@ packages = [
|
|
|
29
33
|
deezer-oauth = "deezer_oauth.main:app"
|
|
30
34
|
|
|
31
35
|
[tool.poetry.dependencies]
|
|
32
|
-
python = "^3.
|
|
36
|
+
python = "^3.9"
|
|
33
37
|
httpx = ">=0.27.0"
|
|
34
38
|
rich = ">=10"
|
|
35
|
-
typer = {extras = ["all"], version = ">=0.12.0"}
|
|
39
|
+
typer = { extras = [ "all" ], version = ">=0.12.0" }
|
|
36
40
|
|
|
37
41
|
[tool.poetry.group.dev.dependencies]
|
|
38
42
|
pyfakefs = "^5.0"
|
|
@@ -41,32 +45,44 @@ pytest-cov = "^5.0.0"
|
|
|
41
45
|
pytest-mock = "^3.6"
|
|
42
46
|
respx = "^0.21.1"
|
|
43
47
|
|
|
44
|
-
[tool.
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
"src/deezer_oauth/__init__.py:__version__",
|
|
48
|
-
]
|
|
49
|
-
build_command = "pip install poetry && poetry build"
|
|
48
|
+
[tool.ruff]
|
|
49
|
+
target-version = "py39"
|
|
50
|
+
line-length = 88
|
|
50
51
|
|
|
51
|
-
[
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
52
|
+
lint.select = [
|
|
53
|
+
"B", # flake8-bugbear
|
|
54
|
+
"C4", # flake8-comprehensions
|
|
55
|
+
"D", # flake8-docstrings
|
|
56
|
+
"E", # pycodestyle
|
|
57
|
+
"F", # pyflake
|
|
58
|
+
"I", # isort
|
|
59
|
+
"RUF", # ruff specific
|
|
60
|
+
"S", # flake8-bandit
|
|
61
|
+
"UP", # pyupgrade
|
|
62
|
+
"W", # pycodestyle
|
|
55
63
|
]
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
64
|
+
lint.ignore = [
|
|
65
|
+
"D100", # Missing docstring in public module
|
|
66
|
+
"D104", # Missing docstring in public package
|
|
67
|
+
"D107", # Missing docstring in `__init__`
|
|
68
|
+
"D203", # 1 blank line required before class docstring
|
|
69
|
+
"D212", # Multi-line docstring summary should start at the first line
|
|
70
|
+
"D401", # First line of docstring should be in imperative mood
|
|
71
|
+
]
|
|
72
|
+
lint.per-file-ignores."setup.py" = [ "D100" ]
|
|
73
|
+
lint.per-file-ignores."tests/**/*" = [
|
|
74
|
+
"D100",
|
|
75
|
+
"D101",
|
|
76
|
+
"D102",
|
|
77
|
+
"D103",
|
|
78
|
+
"D104",
|
|
79
|
+
"S101",
|
|
80
|
+
]
|
|
81
|
+
lint.isort.known-first-party = [ "deezer_oauth", "tests" ]
|
|
66
82
|
|
|
67
83
|
[tool.pytest.ini_options]
|
|
68
84
|
addopts = "-v -Wdefault --cov=deezer_oauth --cov-report=term-missing:skip-covered"
|
|
69
|
-
pythonpath = ["src"]
|
|
85
|
+
pythonpath = [ "src" ]
|
|
70
86
|
|
|
71
87
|
[tool.coverage.run]
|
|
72
88
|
branch = true
|
|
@@ -74,51 +90,11 @@ branch = true
|
|
|
74
90
|
[tool.coverage.report]
|
|
75
91
|
ignore_errors = true
|
|
76
92
|
exclude_lines = [
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
]
|
|
81
|
-
|
|
82
|
-
[tool.ruff]
|
|
83
|
-
target-version = "py38"
|
|
84
|
-
line-length = 88
|
|
85
|
-
|
|
86
|
-
[tool.ruff.lint]
|
|
87
|
-
ignore = [
|
|
88
|
-
"D203", # 1 blank line required before class docstring
|
|
89
|
-
"D212", # Multi-line docstring summary should start at the first line
|
|
90
|
-
"D100", # Missing docstring in public module
|
|
91
|
-
"D104", # Missing docstring in public package
|
|
92
|
-
"D107", # Missing docstring in `__init__`
|
|
93
|
-
"D401", # First line of docstring should be in imperative mood
|
|
94
|
-
]
|
|
95
|
-
select = [
|
|
96
|
-
"B", # flake8-bugbear
|
|
97
|
-
"D", # flake8-docstrings
|
|
98
|
-
"C4", # flake8-comprehensions
|
|
99
|
-
"S", # flake8-bandit
|
|
100
|
-
"F", # pyflake
|
|
101
|
-
"E", # pycodestyle
|
|
102
|
-
"W", # pycodestyle
|
|
103
|
-
"UP", # pyupgrade
|
|
104
|
-
"I", # isort
|
|
105
|
-
"RUF", # ruff specific
|
|
93
|
+
"pragma: no cover",
|
|
94
|
+
"@overload",
|
|
95
|
+
"if TYPE_CHECKING",
|
|
106
96
|
]
|
|
107
97
|
|
|
108
|
-
[tool.ruff.lint.per-file-ignores]
|
|
109
|
-
"tests/**/*" = [
|
|
110
|
-
"D100",
|
|
111
|
-
"D101",
|
|
112
|
-
"D102",
|
|
113
|
-
"D103",
|
|
114
|
-
"D104",
|
|
115
|
-
"S101",
|
|
116
|
-
]
|
|
117
|
-
"setup.py" = ["D100"]
|
|
118
|
-
|
|
119
|
-
[tool.ruff.lint.isort]
|
|
120
|
-
known-first-party = ["deezer_oauth", "tests"]
|
|
121
|
-
|
|
122
98
|
[tool.mypy]
|
|
123
99
|
check_untyped_defs = true
|
|
124
100
|
disallow_any_generics = true
|
|
@@ -134,6 +110,26 @@ warn_unused_ignores = true
|
|
|
134
110
|
module = "tests.*"
|
|
135
111
|
allow_untyped_defs = true
|
|
136
112
|
|
|
137
|
-
[
|
|
138
|
-
|
|
139
|
-
|
|
113
|
+
[tool.semantic_release]
|
|
114
|
+
version_toml = [ "pyproject.toml:tool.poetry.version" ]
|
|
115
|
+
version_variables = [
|
|
116
|
+
"src/deezer_oauth/__init__.py:__version__",
|
|
117
|
+
]
|
|
118
|
+
build_command = "pip install poetry && poetry build"
|
|
119
|
+
|
|
120
|
+
[tool.semantic_release.changelog]
|
|
121
|
+
exclude_commit_patterns = [
|
|
122
|
+
"chore.*",
|
|
123
|
+
"ci.*",
|
|
124
|
+
"Merge pull request .*",
|
|
125
|
+
]
|
|
126
|
+
|
|
127
|
+
[tool.semantic_release.changelog.environment]
|
|
128
|
+
keep_trailing_newline = true
|
|
129
|
+
|
|
130
|
+
[tool.semantic_release.branches.main]
|
|
131
|
+
match = "main"
|
|
132
|
+
|
|
133
|
+
[tool.semantic_release.branches.noop]
|
|
134
|
+
match = "(?!main$)"
|
|
135
|
+
prerelease = true
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
__version__ = "1.4.0"
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
__version__ = "1.3.1"
|
|
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
|