
Security News
Crates.io Implements Trusted Publishing Support
Crates.io adds Trusted Publishing support, enabling secure GitHub Actions-based crate releases without long-lived API tokens.
A readonly wrapper for the Spotify API that relies on heavy caching to minimise the number of requests.
python 3.10 or higher is required
.. code:: sh
# Linux/macOS
python3 -m pip install -U spotifython
.. code:: sh
# Windows
py -3 -m pip install -U spotifython
To install the development version, run:
.. code:: sh
$ git clone https://github.com/vawvaw/spotifython
$ cd spotipython
$ python3 -m pip install -U .
.. code:: py
import spotifython
if __name__ == "__main__":
scope = spotifython.Scope(playlist_read_private=True, user_library_read=True)
authentication = spotifython.Authentication(
client_id="client_id",
client_secret="client_secret",
scope=scope
)
client = spotifython.Client(authentication=authentication)
playlists = client.user_playlists()
for playlist in playlists:
print(playlist.name)
client.close()
Documentation <https://spotifython.readthedocs.io/en/latest/index.html>
_Spotify API Documentation <https://developer.spotify.com/documentation/web-api/>
_FAQs
A caching python interface to readonly parts of the spotify api.
We found that spotifython 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.
Security News
Crates.io adds Trusted Publishing support, enabling secure GitHub Actions-based crate releases without long-lived API tokens.
Research
/Security News
Undocumented protestware found in 28 npm packages disrupts UI for Russian-language users visiting Russian and Belarusian domains.
Research
/Security News
North Korean threat actors deploy 67 malicious npm packages using the newly discovered XORIndex malware loader.