
Research
Security News
The Growing Risk of Malicious Browser Extensions
Socket researchers uncover how browser extensions in trusted stores are used to hijack sessions, redirect traffic, and manipulate user behavior.
A simple Python package to interact with various music platforms APIs.
RapidFuzz
to compare & return the best match so that you can be sure you got what you asked for without having to worry and doing all that work by yourself.Right now, the following music platforms are available in yutipy for searching music. New platforms will be added in the future. Feel free to request any music platform you would like me to add by opening an issue on GitHub or by emailing me.
Deezer
: https://www.deezer.comiTunes
: https://music.apple.comKKBOX
: https://www.kkbox.comLastfm
: https://last.fmSpotify
: https://spotify.comYouTube Music
: https://music.youtube.comYou can install the package using pip. Make sure you have Python 3.9 or higher installed.
pip install -U yutipy
Here's a quick example of how to use the yutipy
package to search for a song on Deezer:
from yutipy.deezer import Deezer
with Deezer() as deezer:
result = deezer.search("Artist Name", "Song Title")
print(result)
For more usage examples, see the Usage Examples page in docs.
The yutipy
package includes a CLI tool that allows you to search for music directly from the command line and configure API keys interactively.
You can use the CLI tool to search for music across multiple platforms:
yutipy-cli "Rick Astley" "Never Gonna Give You Up" --limit 3 --normalize
artist
(required): The name of the artist.song
(required): The title of the song.--limit
: The number of results to retrieve (default: 5).--normalize
: Normalize non-English characters for comparison.--verbose
: Enable logging in the terminal.--service
: Specify a single service to search (e.g., deezer
, spotify
, itunes
).To set up your API keys interactively, use the configuration wizard:
yutipy-config
The wizard will guide you through obtaining and setting up API keys for supported services like Spotify and KKBOX. If the required environment variables are already set, the wizard will skip those steps.
Contributions are welcome! Please follow these steps:
Thank you for your contributions!
This project is licensed under the MIT License. See the LICENSE file for details.
FAQs
A simple Python package to interact with various music platforms APIs.
We found that yutipy demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Research
Security News
Socket researchers uncover how browser extensions in trusted stores are used to hijack sessions, redirect traffic, and manipulate user behavior.
Research
Security News
An in-depth analysis of credential stealers, crypto drainers, cryptojackers, and clipboard hijackers abusing open source package registries to compromise Web3 development environments.
Security News
pnpm 10.12.1 introduces a global virtual store for faster installs and new options for managing dependencies with version catalogs.