deezer-python 7.0.0__tar.gz → 7.1.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.
Files changed (24) hide show
  1. {deezer_python-7.0.0 → deezer_python-7.1.0}/PKG-INFO +3 -3
  2. {deezer_python-7.0.0 → deezer_python-7.1.0}/pyproject.toml +81 -85
  3. {deezer_python-7.0.0 → deezer_python-7.1.0}/src/deezer/__init__.py +1 -1
  4. {deezer_python-7.0.0 → deezer_python-7.1.0}/src/deezer/pagination.py +2 -1
  5. {deezer_python-7.0.0 → deezer_python-7.1.0}/src/deezer/resources/playlist.py +2 -1
  6. {deezer_python-7.0.0 → deezer_python-7.1.0}/src/deezer/utils.py +2 -1
  7. {deezer_python-7.0.0 → deezer_python-7.1.0}/LICENSE.txt +0 -0
  8. {deezer_python-7.0.0 → deezer_python-7.1.0}/README.md +0 -0
  9. {deezer_python-7.0.0 → deezer_python-7.1.0}/src/deezer/auth.py +0 -0
  10. {deezer_python-7.0.0 → deezer_python-7.1.0}/src/deezer/client.py +0 -0
  11. {deezer_python-7.0.0 → deezer_python-7.1.0}/src/deezer/dates.py +0 -0
  12. {deezer_python-7.0.0 → deezer_python-7.1.0}/src/deezer/exceptions.py +0 -0
  13. {deezer_python-7.0.0 → deezer_python-7.1.0}/src/deezer/resources/__init__.py +0 -0
  14. {deezer_python-7.0.0 → deezer_python-7.1.0}/src/deezer/resources/album.py +0 -0
  15. {deezer_python-7.0.0 → deezer_python-7.1.0}/src/deezer/resources/artist.py +0 -0
  16. {deezer_python-7.0.0 → deezer_python-7.1.0}/src/deezer/resources/chart.py +0 -0
  17. {deezer_python-7.0.0 → deezer_python-7.1.0}/src/deezer/resources/editorial.py +0 -0
  18. {deezer_python-7.0.0 → deezer_python-7.1.0}/src/deezer/resources/episode.py +0 -0
  19. {deezer_python-7.0.0 → deezer_python-7.1.0}/src/deezer/resources/genre.py +0 -0
  20. {deezer_python-7.0.0 → deezer_python-7.1.0}/src/deezer/resources/podcast.py +0 -0
  21. {deezer_python-7.0.0 → deezer_python-7.1.0}/src/deezer/resources/radio.py +0 -0
  22. {deezer_python-7.0.0 → deezer_python-7.1.0}/src/deezer/resources/resource.py +0 -0
  23. {deezer_python-7.0.0 → deezer_python-7.1.0}/src/deezer/resources/track.py +0 -0
  24. {deezer_python-7.0.0 → deezer_python-7.1.0}/src/deezer/resources/user.py +0 -0
@@ -1,24 +1,24 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: deezer-python
3
- Version: 7.0.0
3
+ Version: 7.1.0
4
4
  Summary: A friendly wrapper library for the Deezer API
5
5
  Home-page: https://github.com/browniebroke/deezer-python
6
6
  License: MIT
7
7
  Keywords: deezer,sdk,client,requests
8
8
  Author: Bruno Alla
9
9
  Author-email: alla.brunoo@gmail.com
10
- Requires-Python: >=3.8,<4.0
10
+ Requires-Python: >=3.9,<4.0
11
11
  Classifier: Development Status :: 5 - Production/Stable
12
12
  Classifier: Intended Audience :: Developers
13
13
  Classifier: License :: OSI Approved :: MIT License
14
14
  Classifier: Natural Language :: English
15
15
  Classifier: Operating System :: OS Independent
16
16
  Classifier: Programming Language :: Python :: 3
17
- Classifier: Programming Language :: Python :: 3.8
18
17
  Classifier: Programming Language :: Python :: 3.9
19
18
  Classifier: Programming Language :: Python :: 3.10
20
19
  Classifier: Programming Language :: Python :: 3.11
21
20
  Classifier: Programming Language :: Python :: 3.12
21
+ Classifier: Programming Language :: Python :: 3.13
22
22
  Classifier: Topic :: Software Development :: Libraries
23
23
  Requires-Dist: httpx (>=0.23.0)
24
24
  Project-URL: Bug Tracker, https://github.com/browniebroke/deezer-python/issues
@@ -1,23 +1,27 @@
1
+ [build-system]
2
+ build-backend = "poetry.core.masonry.api"
3
+ requires = [ "poetry-core>=1" ]
4
+
1
5
  [tool.poetry]
2
6
  name = "deezer-python"
3
- version = "7.0.0"
7
+ version = "7.1.0"
4
8
  description = "A friendly wrapper library for the 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
- keywords = ["deezer", "sdk", "client", "requests"]
12
+ keywords = [ "deezer", "sdk", "client", "requests" ]
9
13
  repository = "https://github.com/browniebroke/deezer-python"
10
14
  documentation = "https://deezer-python.readthedocs.io"
11
15
  classifiers = [
12
- "Development Status :: 5 - Production/Stable",
13
- "Intended Audience :: Developers",
14
- "Natural Language :: English",
15
- "Operating System :: OS Independent",
16
- "Topic :: Software Development :: Libraries",
17
- "Programming Language :: Python :: 3.12",
16
+ "Development Status :: 5 - Production/Stable",
17
+ "Intended Audience :: Developers",
18
+ "Natural Language :: English",
19
+ "Operating System :: OS Independent",
20
+ "Topic :: Software Development :: Libraries",
21
+ "Programming Language :: Python :: 3.12",
18
22
  ]
19
23
  packages = [
20
- { include = "deezer", from = "src" },
24
+ { include = "deezer", from = "src" },
21
25
  ]
22
26
 
23
27
  [tool.poetry.urls]
@@ -27,7 +31,7 @@ packages = [
27
31
  "Mastodon" = "https://fosstodon.org/@browniebroke"
28
32
 
29
33
  [tool.poetry.dependencies]
30
- python = "^3.8"
34
+ python = "^3.9"
31
35
  httpx = ">=0.23.0"
32
36
 
33
37
  [tool.poetry.group.docs]
@@ -49,90 +53,59 @@ pytest-vcr = "^1.0"
49
53
  vcrpy = "^6.0.0"
50
54
  deezer-oauth-cli = "^1.0.0"
51
55
 
52
- [tool.semantic_release]
53
- version_toml = ["pyproject.toml:tool.poetry.version"]
54
- version_variables = [
55
- "src/deezer/__init__.py:__version__",
56
- ]
57
- build_command = "pip install poetry && poetry build"
56
+ [tool.ruff]
57
+ target-version = "py39"
58
+ line-length = 120
58
59
 
59
- [tool.semantic_release.changelog]
60
- exclude_commit_patterns = [
61
- "chore*",
62
- "ci*",
60
+ lint.select = [
61
+ "B", # flake8-bugbear
62
+ "C4", # flake8-comprehensions
63
+ "D", # flake8-docstrings
64
+ "E", # pycodestyle
65
+ "F", # pyflake
66
+ "I", # isort
67
+ "RUF", # ruff specific
68
+ "S", # flake8-bandit
69
+ "UP", # pyupgrade
70
+ "W", # pycodestyle
63
71
  ]
64
-
65
- [tool.semantic_release.changelog.environment]
66
- keep_trailing_newline = true
67
-
68
- [tool.semantic_release.branches.main]
69
- match = "main"
70
-
71
- [tool.semantic_release.branches.stable]
72
- match = "(?!stable/*$)"
73
-
74
- [tool.semantic_release.branches.noop]
75
- match = "(?!main$)"
76
- prerelease = true
72
+ lint.ignore = [
73
+ "D100", # Missing docstring in public module
74
+ "D104", # Missing docstring in public package
75
+ "D107", # Missing docstring in `__init__`
76
+ "D203", # 1 blank line required before class docstring
77
+ "D212", # Multi-line docstring summary should start at the first line
78
+ "D401", # First line of docstring should be in imperative mood
79
+ ]
80
+ lint.per-file-ignores."conftest.py" = [ "D100" ]
81
+ lint.per-file-ignores."docs/conf.py" = [ "D100" ]
82
+ lint.per-file-ignores."setup.py" = [ "D100" ]
83
+ lint.per-file-ignores."tests/**/*" = [
84
+ "D100",
85
+ "D101",
86
+ "D102",
87
+ "D103",
88
+ "D104",
89
+ "S101",
90
+ ]
91
+ lint.isort.known-first-party = [ "deezer" ]
77
92
 
78
93
  [tool.pytest.ini_options]
79
94
  addopts = "-v -Wdefault --cov=deezer"
80
- pythonpath = ["src"]
95
+ pythonpath = [ "src" ]
81
96
 
82
97
  [tool.coverage.run]
83
98
  branch = true
84
- source = ["deezer"]
99
+ source = [ "deezer" ]
85
100
 
86
101
  [tool.coverage.report]
87
102
  ignore_errors = true
88
103
  exclude_lines = [
89
- "pragma: no cover",
90
- "@overload",
91
- "if TYPE_CHECKING",
92
- "raise NotImplementedError",
93
- ]
94
-
95
- [tool.ruff]
96
- target-version = "py38"
97
- line-length = 120
98
-
99
- [tool.ruff.lint]
100
- ignore = [
101
- "D203", # 1 blank line required before class docstring
102
- "D212", # Multi-line docstring summary should start at the first line
103
- "D100", # Missing docstring in public module
104
- "D104", # Missing docstring in public package
105
- "D107", # Missing docstring in `__init__`
106
- "D401", # First line of docstring should be in imperative mood
107
- ]
108
- select = [
109
- "B", # flake8-bugbear
110
- "D", # flake8-docstrings
111
- "C4", # flake8-comprehensions
112
- "S", # flake8-bandit
113
- "F", # pyflake
114
- "E", # pycodestyle
115
- "W", # pycodestyle
116
- "UP", # pyupgrade
117
- "I", # isort
118
- "RUF", # ruff specific
119
- ]
120
-
121
- [tool.ruff.lint.per-file-ignores]
122
- "tests/**/*" = [
123
- "D100",
124
- "D101",
125
- "D102",
126
- "D103",
127
- "D104",
128
- "S101",
104
+ "pragma: no cover",
105
+ "@overload",
106
+ "if TYPE_CHECKING",
107
+ "raise NotImplementedError",
129
108
  ]
130
- "setup.py" = ["D100"]
131
- "conftest.py" = ["D100"]
132
- "docs/conf.py" = ["D100"]
133
-
134
- [tool.ruff.lint.isort]
135
- known-first-party = ["deezer"]
136
109
 
137
110
  [tool.mypy]
138
111
  # suppress errors about unsatisfied imports
@@ -145,6 +118,29 @@ warn_no_return = true
145
118
 
146
119
  show_error_codes = true
147
120
 
148
- [build-system]
149
- requires = ["poetry-core>=1.0.0"]
150
- build-backend = "poetry.core.masonry.api"
121
+ [tool.semantic_release]
122
+ version_toml = [ "pyproject.toml:tool.poetry.version" ]
123
+ version_variables = [
124
+ "src/deezer/__init__.py:__version__",
125
+ ]
126
+ build_command = "pip install poetry && poetry build"
127
+
128
+ [tool.semantic_release.changelog]
129
+ exclude_commit_patterns = [
130
+ "chore.*",
131
+ "ci.*",
132
+ "Merge pull request .*",
133
+ ]
134
+
135
+ [tool.semantic_release.changelog.environment]
136
+ keep_trailing_newline = true
137
+
138
+ [tool.semantic_release.branches.main]
139
+ match = "main"
140
+
141
+ [tool.semantic_release.branches.stable]
142
+ match = "(?!stable/*$)"
143
+
144
+ [tool.semantic_release.branches.noop]
145
+ match = "(?!main$)"
146
+ prerelease = true
@@ -15,7 +15,7 @@ from deezer.resources import (
15
15
  User,
16
16
  )
17
17
 
18
- __version__ = "7.0.0"
18
+ __version__ = "7.1.0"
19
19
  __all__ = [
20
20
  "Album",
21
21
  "Artist",
@@ -1,6 +1,7 @@
1
1
  from __future__ import annotations
2
2
 
3
- from typing import Generator, Generic, TypeVar, overload
3
+ from collections.abc import Generator
4
+ from typing import Generic, TypeVar, overload
4
5
  from urllib.parse import parse_qs, urlparse
5
6
 
6
7
  import deezer
@@ -1,6 +1,7 @@
1
1
  from __future__ import annotations
2
2
 
3
- from typing import TYPE_CHECKING, Iterable
3
+ from collections.abc import Iterable
4
+ from typing import TYPE_CHECKING
4
5
 
5
6
  from ..utils import gen_ids
6
7
  from .resource import Resource
@@ -1,6 +1,7 @@
1
1
  from __future__ import annotations
2
2
 
3
- from typing import TYPE_CHECKING, Generator, Iterable
3
+ from collections.abc import Generator, Iterable
4
+ from typing import TYPE_CHECKING
4
5
 
5
6
  if TYPE_CHECKING:
6
7
  from deezer import Resource
File without changes
File without changes