yutipy 1.6.12__tar.gz → 2.0.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.
Potentially problematic release.
This version of yutipy might be problematic. Click here for more details.
- yutipy-2.0.0/.github/dependabot.yml +9 -0
- {yutipy-1.6.12 → yutipy-2.0.0}/PKG-INFO +6 -7
- {yutipy-1.6.12 → yutipy-2.0.0}/README.md +1 -1
- {yutipy-1.6.12 → yutipy-2.0.0}/docs/installation.rst +1 -2
- {yutipy-1.6.12 → yutipy-2.0.0}/pyproject.toml +4 -5
- yutipy-2.0.0/requirements.txt +5 -0
- yutipy-2.0.0/yutipy/__init__.py +21 -0
- {yutipy-1.6.12 → yutipy-2.0.0}/yutipy/spotify.py +4 -0
- {yutipy-1.6.12 → yutipy-2.0.0}/yutipy/utils/__init__.py +2 -6
- {yutipy-1.6.12 → yutipy-2.0.0}/yutipy.egg-info/PKG-INFO +6 -7
- {yutipy-1.6.12 → yutipy-2.0.0}/yutipy.egg-info/SOURCES.txt +1 -0
- yutipy-2.0.0/yutipy.egg-info/requires.txt +8 -0
- yutipy-1.6.12/requirements.txt +0 -5
- yutipy-1.6.12/yutipy/__init__.py +0 -18
- yutipy-1.6.12/yutipy.egg-info/requires.txt +0 -8
- {yutipy-1.6.12 → yutipy-2.0.0}/.gitattributes +0 -0
- {yutipy-1.6.12 → yutipy-2.0.0}/.github/FUNDING.yml +0 -0
- {yutipy-1.6.12 → yutipy-2.0.0}/.github/ISSUE_TEMPLATE/bug_report.md +0 -0
- {yutipy-1.6.12 → yutipy-2.0.0}/.github/ISSUE_TEMPLATE/feature_request.md +0 -0
- {yutipy-1.6.12 → yutipy-2.0.0}/.github/workflows/pytest-unit-testing.yml +0 -0
- {yutipy-1.6.12 → yutipy-2.0.0}/.github/workflows/release.yml +0 -0
- {yutipy-1.6.12 → yutipy-2.0.0}/.gitignore +0 -0
- {yutipy-1.6.12 → yutipy-2.0.0}/.readthedocs.yaml +0 -0
- {yutipy-1.6.12 → yutipy-2.0.0}/LICENSE +0 -0
- {yutipy-1.6.12 → yutipy-2.0.0}/MANIFEST.in +0 -0
- {yutipy-1.6.12 → yutipy-2.0.0}/docs/Makefile +0 -0
- {yutipy-1.6.12 → yutipy-2.0.0}/docs/_static/yutipy_header.png +0 -0
- {yutipy-1.6.12 → yutipy-2.0.0}/docs/_static/yutipy_logo.png +0 -0
- {yutipy-1.6.12 → yutipy-2.0.0}/docs/api_reference.rst +0 -0
- {yutipy-1.6.12 → yutipy-2.0.0}/docs/available_platforms.rst +0 -0
- {yutipy-1.6.12 → yutipy-2.0.0}/docs/cli.rst +0 -0
- {yutipy-1.6.12 → yutipy-2.0.0}/docs/conf.py +0 -0
- {yutipy-1.6.12 → yutipy-2.0.0}/docs/faq.rst +0 -0
- {yutipy-1.6.12 → yutipy-2.0.0}/docs/index.rst +0 -0
- {yutipy-1.6.12 → yutipy-2.0.0}/docs/make.bat +0 -0
- {yutipy-1.6.12 → yutipy-2.0.0}/docs/requirements.txt +0 -0
- {yutipy-1.6.12 → yutipy-2.0.0}/docs/usage_examples.rst +0 -0
- {yutipy-1.6.12 → yutipy-2.0.0}/requirements-dev.txt +0 -0
- {yutipy-1.6.12 → yutipy-2.0.0}/setup.cfg +0 -0
- {yutipy-1.6.12 → yutipy-2.0.0}/tests/__init__.py +0 -0
- {yutipy-1.6.12 → yutipy-2.0.0}/tests/test_deezer.py +0 -0
- {yutipy-1.6.12 → yutipy-2.0.0}/tests/test_itunes.py +0 -0
- {yutipy-1.6.12 → yutipy-2.0.0}/tests/test_kkbox.py +0 -0
- {yutipy-1.6.12 → yutipy-2.0.0}/tests/test_models.py +0 -0
- {yutipy-1.6.12 → yutipy-2.0.0}/tests/test_musicyt.py +0 -0
- {yutipy-1.6.12 → yutipy-2.0.0}/tests/test_spotify.py +0 -0
- {yutipy-1.6.12 → yutipy-2.0.0}/tests/test_utils.py +0 -0
- {yutipy-1.6.12 → yutipy-2.0.0}/tests/test_yutipy_music.py +0 -0
- {yutipy-1.6.12 → yutipy-2.0.0}/yutipy/cli/__init__.py +0 -0
- {yutipy-1.6.12 → yutipy-2.0.0}/yutipy/cli/config.py +0 -0
- {yutipy-1.6.12 → yutipy-2.0.0}/yutipy/cli/search.py +0 -0
- {yutipy-1.6.12 → yutipy-2.0.0}/yutipy/deezer.py +0 -0
- {yutipy-1.6.12 → yutipy-2.0.0}/yutipy/exceptions.py +0 -0
- {yutipy-1.6.12 → yutipy-2.0.0}/yutipy/itunes.py +0 -0
- {yutipy-1.6.12 → yutipy-2.0.0}/yutipy/kkbox.py +0 -0
- {yutipy-1.6.12 → yutipy-2.0.0}/yutipy/logger.py +0 -0
- {yutipy-1.6.12 → yutipy-2.0.0}/yutipy/models.py +0 -0
- {yutipy-1.6.12 → yutipy-2.0.0}/yutipy/musicyt.py +0 -0
- {yutipy-1.6.12 → yutipy-2.0.0}/yutipy/utils/helpers.py +0 -0
- {yutipy-1.6.12 → yutipy-2.0.0}/yutipy/yutipy_music.py +0 -0
- {yutipy-1.6.12 → yutipy-2.0.0}/yutipy.egg-info/dependency_links.txt +0 -0
- {yutipy-1.6.12 → yutipy-2.0.0}/yutipy.egg-info/entry_points.txt +0 -0
- {yutipy-1.6.12 → yutipy-2.0.0}/yutipy.egg-info/top_level.txt +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: yutipy
|
|
3
|
-
Version:
|
|
3
|
+
Version: 2.0.0
|
|
4
4
|
Summary: A simple package for retrieving music information from various music platforms APIs.
|
|
5
5
|
Author: Cheap Nightbot
|
|
6
6
|
Author-email: Cheap Nightbot <hi@cheapnightbot.slmail.me>
|
|
@@ -17,20 +17,19 @@ Classifier: Development Status :: 4 - Beta
|
|
|
17
17
|
Classifier: Intended Audience :: Developers
|
|
18
18
|
Classifier: Topic :: Software Development :: Libraries
|
|
19
19
|
Classifier: Programming Language :: Python :: 3
|
|
20
|
-
Classifier: Programming Language :: Python :: 3.8
|
|
21
20
|
Classifier: Programming Language :: Python :: 3.9
|
|
22
21
|
Classifier: Programming Language :: Python :: 3.10
|
|
23
22
|
Classifier: Programming Language :: Python :: 3.11
|
|
24
23
|
Classifier: Programming Language :: Python :: 3.12
|
|
25
24
|
Classifier: Operating System :: OS Independent
|
|
26
|
-
Requires-Python: >=3.
|
|
25
|
+
Requires-Python: >=3.9
|
|
27
26
|
Description-Content-Type: text/markdown
|
|
28
27
|
License-File: LICENSE
|
|
29
28
|
Requires-Dist: pykakasi==2.3.0
|
|
30
|
-
Requires-Dist: python-dotenv==1.0
|
|
31
|
-
Requires-Dist: rapidfuzz==3.
|
|
29
|
+
Requires-Dist: python-dotenv==1.1.0
|
|
30
|
+
Requires-Dist: rapidfuzz==3.13.0
|
|
32
31
|
Requires-Dist: requests==2.32.3
|
|
33
|
-
Requires-Dist: ytmusicapi==1.10.
|
|
32
|
+
Requires-Dist: ytmusicapi==1.10.3
|
|
34
33
|
Provides-Extra: dev
|
|
35
34
|
Requires-Dist: pytest; extra == "dev"
|
|
36
35
|
Dynamic: license-file
|
|
@@ -96,7 +95,7 @@ Feel free to request any music platform you would like me to add by opening an i
|
|
|
96
95
|
|
|
97
96
|
## Installation
|
|
98
97
|
|
|
99
|
-
You can install the package using pip. Make sure you have Python 3.
|
|
98
|
+
You can install the package using pip. Make sure you have Python 3.9 or higher installed.
|
|
100
99
|
|
|
101
100
|
```bash
|
|
102
101
|
pip install -U yutipy
|
|
@@ -59,7 +59,7 @@ Feel free to request any music platform you would like me to add by opening an i
|
|
|
59
59
|
|
|
60
60
|
## Installation
|
|
61
61
|
|
|
62
|
-
You can install the package using pip. Make sure you have Python 3.
|
|
62
|
+
You can install the package using pip. Make sure you have Python 3.9 or higher installed.
|
|
63
63
|
|
|
64
64
|
```bash
|
|
65
65
|
pip install -U yutipy
|
|
@@ -2,9 +2,8 @@
|
|
|
2
2
|
Installation
|
|
3
3
|
============
|
|
4
4
|
|
|
5
|
-
You can install the package using pip. Make sure you have Python 3.
|
|
5
|
+
You can install the package using pip. Make sure you have Python 3.9 or higher installed.
|
|
6
6
|
|
|
7
7
|
.. code-block:: bash
|
|
8
8
|
|
|
9
9
|
pip install -U yutipy
|
|
10
|
-
|
|
@@ -7,12 +7,12 @@ name = "yutipy"
|
|
|
7
7
|
dynamic = ["version"]
|
|
8
8
|
dependencies = [
|
|
9
9
|
"pykakasi==2.3.0",
|
|
10
|
-
"python-dotenv==1.0
|
|
11
|
-
"rapidfuzz==3.
|
|
10
|
+
"python-dotenv==1.1.0",
|
|
11
|
+
"rapidfuzz==3.13.0",
|
|
12
12
|
"requests==2.32.3",
|
|
13
|
-
"ytmusicapi==1.10.
|
|
13
|
+
"ytmusicapi==1.10.3",
|
|
14
14
|
]
|
|
15
|
-
requires-python = ">= 3.
|
|
15
|
+
requires-python = ">= 3.9"
|
|
16
16
|
authors = [
|
|
17
17
|
{name = "Cheap Nightbot"},
|
|
18
18
|
{name = "Cheap Nightbot", email = "hi@cheapnightbot.slmail.me"},
|
|
@@ -29,7 +29,6 @@ classifiers = [
|
|
|
29
29
|
"Intended Audience :: Developers",
|
|
30
30
|
"Topic :: Software Development :: Libraries",
|
|
31
31
|
"Programming Language :: Python :: 3",
|
|
32
|
-
"Programming Language :: Python :: 3.8",
|
|
33
32
|
"Programming Language :: Python :: 3.9",
|
|
34
33
|
"Programming Language :: Python :: 3.10",
|
|
35
34
|
"Programming Language :: Python :: 3.11",
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
from yutipy import (
|
|
2
|
+
deezer,
|
|
3
|
+
exceptions,
|
|
4
|
+
itunes,
|
|
5
|
+
kkbox,
|
|
6
|
+
logger,
|
|
7
|
+
musicyt,
|
|
8
|
+
spotify,
|
|
9
|
+
yutipy_music,
|
|
10
|
+
)
|
|
11
|
+
|
|
12
|
+
__all__ = [
|
|
13
|
+
"deezer",
|
|
14
|
+
"exceptions",
|
|
15
|
+
"itunes",
|
|
16
|
+
"kkbox",
|
|
17
|
+
"logger",
|
|
18
|
+
"musicyt",
|
|
19
|
+
"spotify",
|
|
20
|
+
"yutipy_music",
|
|
21
|
+
]
|
|
@@ -876,10 +876,14 @@ class SpotifyAuth:
|
|
|
876
876
|
if state != expected_state:
|
|
877
877
|
raise SpotifyAuthException("state does not match!")
|
|
878
878
|
|
|
879
|
+
token_info = None
|
|
880
|
+
|
|
879
881
|
try:
|
|
880
882
|
token_info = self.load_access_token()
|
|
881
883
|
except NotImplementedError as e:
|
|
882
884
|
logger.warning(e)
|
|
885
|
+
|
|
886
|
+
if not token_info:
|
|
883
887
|
token_info = self.__get_access_token(authorization_code=code)
|
|
884
888
|
|
|
885
889
|
self.__access_token = token_info.get("access_token")
|
|
@@ -1,16 +1,12 @@
|
|
|
1
|
-
from .helpers import (
|
|
1
|
+
from yutipy.utils.helpers import (
|
|
2
2
|
are_strings_similar,
|
|
3
3
|
guess_album_type,
|
|
4
4
|
is_valid_string,
|
|
5
5
|
separate_artists,
|
|
6
6
|
)
|
|
7
|
-
from ..logger import disable_logging, enable_logging
|
|
8
|
-
|
|
9
7
|
__all__ = [
|
|
10
|
-
"guess_album_type",
|
|
11
8
|
"are_strings_similar",
|
|
9
|
+
"guess_album_type",
|
|
12
10
|
"is_valid_string",
|
|
13
11
|
"separate_artists",
|
|
14
|
-
"enable_logging",
|
|
15
|
-
"disable_logging"
|
|
16
12
|
]
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: yutipy
|
|
3
|
-
Version:
|
|
3
|
+
Version: 2.0.0
|
|
4
4
|
Summary: A simple package for retrieving music information from various music platforms APIs.
|
|
5
5
|
Author: Cheap Nightbot
|
|
6
6
|
Author-email: Cheap Nightbot <hi@cheapnightbot.slmail.me>
|
|
@@ -17,20 +17,19 @@ Classifier: Development Status :: 4 - Beta
|
|
|
17
17
|
Classifier: Intended Audience :: Developers
|
|
18
18
|
Classifier: Topic :: Software Development :: Libraries
|
|
19
19
|
Classifier: Programming Language :: Python :: 3
|
|
20
|
-
Classifier: Programming Language :: Python :: 3.8
|
|
21
20
|
Classifier: Programming Language :: Python :: 3.9
|
|
22
21
|
Classifier: Programming Language :: Python :: 3.10
|
|
23
22
|
Classifier: Programming Language :: Python :: 3.11
|
|
24
23
|
Classifier: Programming Language :: Python :: 3.12
|
|
25
24
|
Classifier: Operating System :: OS Independent
|
|
26
|
-
Requires-Python: >=3.
|
|
25
|
+
Requires-Python: >=3.9
|
|
27
26
|
Description-Content-Type: text/markdown
|
|
28
27
|
License-File: LICENSE
|
|
29
28
|
Requires-Dist: pykakasi==2.3.0
|
|
30
|
-
Requires-Dist: python-dotenv==1.0
|
|
31
|
-
Requires-Dist: rapidfuzz==3.
|
|
29
|
+
Requires-Dist: python-dotenv==1.1.0
|
|
30
|
+
Requires-Dist: rapidfuzz==3.13.0
|
|
32
31
|
Requires-Dist: requests==2.32.3
|
|
33
|
-
Requires-Dist: ytmusicapi==1.10.
|
|
32
|
+
Requires-Dist: ytmusicapi==1.10.3
|
|
34
33
|
Provides-Extra: dev
|
|
35
34
|
Requires-Dist: pytest; extra == "dev"
|
|
36
35
|
Dynamic: license-file
|
|
@@ -96,7 +95,7 @@ Feel free to request any music platform you would like me to add by opening an i
|
|
|
96
95
|
|
|
97
96
|
## Installation
|
|
98
97
|
|
|
99
|
-
You can install the package using pip. Make sure you have Python 3.
|
|
98
|
+
You can install the package using pip. Make sure you have Python 3.9 or higher installed.
|
|
100
99
|
|
|
101
100
|
```bash
|
|
102
101
|
pip install -U yutipy
|
yutipy-1.6.12/requirements.txt
DELETED
yutipy-1.6.12/yutipy/__init__.py
DELETED
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
from .deezer import Deezer
|
|
2
|
-
from .itunes import Itunes
|
|
3
|
-
from .kkbox import KKBox
|
|
4
|
-
from .musicyt import MusicYT
|
|
5
|
-
from .spotify import Spotify
|
|
6
|
-
from .utils import disable_logging, enable_logging
|
|
7
|
-
from .yutipy_music import YutipyMusic
|
|
8
|
-
|
|
9
|
-
__all__ = [
|
|
10
|
-
"Deezer",
|
|
11
|
-
"Itunes",
|
|
12
|
-
"KKBox",
|
|
13
|
-
"MusicYT",
|
|
14
|
-
"Spotify",
|
|
15
|
-
"YutipyMusic",
|
|
16
|
-
"enable_logging",
|
|
17
|
-
"disable_logging",
|
|
18
|
-
]
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
File without changes
|
|
File without changes
|
|
File without changes
|