deezer-oauth-cli 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.
- {deezer_oauth_cli-1.3.0 → deezer_oauth_cli-1.4.0}/PKG-INFO +6 -6
- {deezer_oauth_cli-1.3.0 → deezer_oauth_cli-1.4.0}/README.md +3 -3
- {deezer_oauth_cli-1.3.0 → deezer_oauth_cli-1.4.0}/pyproject.toml +74 -75
- deezer_oauth_cli-1.4.0/src/deezer_oauth/__init__.py +1 -0
- deezer_oauth_cli-1.3.0/src/deezer_oauth/__init__.py +0 -1
- {deezer_oauth_cli-1.3.0 → deezer_oauth_cli-1.4.0}/LICENSE +0 -0
- {deezer_oauth_cli-1.3.0 → deezer_oauth_cli-1.4.0}/src/deezer_oauth/__main__.py +0 -0
- {deezer_oauth_cli-1.3.0 → deezer_oauth_cli-1.4.0}/src/deezer_oauth/client.py +0 -0
- {deezer_oauth_cli-1.3.0 → deezer_oauth_cli-1.4.0}/src/deezer_oauth/constants.py +0 -0
- {deezer_oauth_cli-1.3.0 → deezer_oauth_cli-1.4.0}/src/deezer_oauth/files.py +0 -0
- {deezer_oauth_cli-1.3.0 → deezer_oauth_cli-1.4.0}/src/deezer_oauth/main.py +0 -0
- {deezer_oauth_cli-1.3.0 → deezer_oauth_cli-1.4.0}/src/deezer_oauth/py.typed +0 -0
- {deezer_oauth_cli-1.3.0 → 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)
|
|
@@ -42,10 +42,10 @@ Description-Content-Type: text/markdown
|
|
|
42
42
|
</p>
|
|
43
43
|
<p align="center">
|
|
44
44
|
<a href="https://python-poetry.org/">
|
|
45
|
-
<img src="https://img.shields.io/
|
|
45
|
+
<img src="https://img.shields.io/endpoint?url=https://python-poetry.org/badge/v0.json" alt="Poetry">
|
|
46
46
|
</a>
|
|
47
|
-
<a href="https://github.com/
|
|
48
|
-
<img src="https://img.shields.io/badge/
|
|
47
|
+
<a href="https://github.com/astral-sh/ruff">
|
|
48
|
+
<img src="https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/astral-sh/ruff/main/assets/badge/v2.json" alt="Ruff">
|
|
49
49
|
</a>
|
|
50
50
|
<a href="https://github.com/pre-commit/pre-commit">
|
|
51
51
|
<img src="https://img.shields.io/badge/pre--commit-enabled-brightgreen?logo=pre-commit&logoColor=white&style=flat-square" alt="pre-commit">
|
|
@@ -10,10 +10,10 @@
|
|
|
10
10
|
</p>
|
|
11
11
|
<p align="center">
|
|
12
12
|
<a href="https://python-poetry.org/">
|
|
13
|
-
<img src="https://img.shields.io/
|
|
13
|
+
<img src="https://img.shields.io/endpoint?url=https://python-poetry.org/badge/v0.json" alt="Poetry">
|
|
14
14
|
</a>
|
|
15
|
-
<a href="https://github.com/
|
|
16
|
-
<img src="https://img.shields.io/badge/
|
|
15
|
+
<a href="https://github.com/astral-sh/ruff">
|
|
16
|
+
<img src="https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/astral-sh/ruff/main/assets/badge/v2.json" alt="Ruff">
|
|
17
17
|
</a>
|
|
18
18
|
<a href="https://github.com/pre-commit/pre-commit">
|
|
19
19
|
<img src="https://img.shields.io/badge/pre--commit-enabled-brightgreen?logo=pre-commit&logoColor=white&style=flat-square" alt="pre-commit">
|
|
@@ -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,47 +90,10 @@ 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
|
-
ignore = [
|
|
86
|
-
"D203", # 1 blank line required before class docstring
|
|
87
|
-
"D212", # Multi-line docstring summary should start at the first line
|
|
88
|
-
"D100", # Missing docstring in public module
|
|
89
|
-
"D104", # Missing docstring in public package
|
|
90
|
-
"D107", # Missing docstring in `__init__`
|
|
91
|
-
"D401", # First line of docstring should be in imperative mood
|
|
92
|
-
]
|
|
93
|
-
select = [
|
|
94
|
-
"B", # flake8-bugbear
|
|
95
|
-
"D", # flake8-docstrings
|
|
96
|
-
"C4", # flake8-comprehensions
|
|
97
|
-
"S", # flake8-bandit
|
|
98
|
-
"F", # pyflake
|
|
99
|
-
"E", # pycodestyle
|
|
100
|
-
"W", # pycodestyle
|
|
101
|
-
"UP", # pyupgrade
|
|
102
|
-
"I", # isort
|
|
103
|
-
"RUF", # ruff specific
|
|
104
|
-
]
|
|
105
|
-
[tool.ruff.per-file-ignores]
|
|
106
|
-
"tests/**/*" = [
|
|
107
|
-
"D100",
|
|
108
|
-
"D101",
|
|
109
|
-
"D102",
|
|
110
|
-
"D103",
|
|
111
|
-
"D104",
|
|
112
|
-
"S101",
|
|
93
|
+
"pragma: no cover",
|
|
94
|
+
"@overload",
|
|
95
|
+
"if TYPE_CHECKING",
|
|
113
96
|
]
|
|
114
|
-
"setup.py" = ["D100"]
|
|
115
|
-
|
|
116
|
-
[tool.ruff.isort]
|
|
117
|
-
known-first-party = ["deezer_oauth", "tests"]
|
|
118
97
|
|
|
119
98
|
[tool.mypy]
|
|
120
99
|
check_untyped_defs = true
|
|
@@ -131,6 +110,26 @@ warn_unused_ignores = true
|
|
|
131
110
|
module = "tests.*"
|
|
132
111
|
allow_untyped_defs = true
|
|
133
112
|
|
|
134
|
-
[
|
|
135
|
-
|
|
136
|
-
|
|
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.0"
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|