SpotipyFree
A lightweight drop-in replacement for Spotipy without using the spotify api. This project was build because spotify removed access to its API for non-premium users. This project doesn't use ANY Spotify APIs.
Features
-
Drop-in style response compatible with
spotipy -
No Spotify account required
-
Returns playback data structured like the official Spotify API
Current Status
This project is experimental.
Currently implemented:
search()track()playlist()playlist_items()artist()artist_albums()album()album_tracks()current_user_recently_played()- must first run startRecentlyPlayedListenercurrent_user_saved_tracks()current_user_saved_tracks_contains()current_user_playlists()current_playback()current_user()me()seek_track()next_track()previous_track()start_playback()pause_playback()
Installation
Bash
pip install spotipyFree
Usage without login
from SpotipyFree import Spotify
sp = Spotify()
search = sp.search("Blinding Light - Weekend")
artist = sp.artist("3Bd1cgCjtCI32PYvDC3ynO")
artistAlbums = sp.artist_albums("3Bd1cgCjtCI32PYvDC3ynO", include_groups="album,single,compilation")
playlist = sp.playlist_items("6lnfkAgnVtNzvj8KScLSkj")
track = sp.track("67Hna13dNDkZvBpTXRIaOJ")
album = sp.album("4m2880jivSbbyEGAKfITCa")
albumTracks = sp.album_tracks("4m2880jivSbbyEGAKfITCa")
Usage with login
sp = Spotify()
sp.login()
status = spotapi.player.PlayerStatus(sp.user_auth)
sp.startRecentlyPlayedListener()
state = status.state.__dict__
saved = sp.current_user_saved_tracks()
me = sp.me()
This project is in no way affiliated with Spotify.
Metadata
Release files for spotipyFree 1.7.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| spotipyfree-1.7.2.tar.gz | 13.4 kB | Without provenance | Details for spotipyfree-1.7.2.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| spotipyfree-1.7.2-py3-none-any.whl | Python 3 | none | any | Details for spotipyfree-1.7.2-py3-none-any.whl |
Total release size: 27.8 kB
Release files / spotipyfree-1.7.2.tar.gz
| Download URL | spotipyfree-1.7.2.tar.gz |
|---|---|
| Size | 13.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
03a535cdb50392b1478a2dfe44ed8c8a9b7ea63c274f352b7f8e5552a861d29d
|
|
BLAKE2b-256 checksum How to use checksums |
29a0c525c74f8225a51ee4becff99c1d43f446a69da76827c892015d7ce57c00
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.13.3
|
Release files / spotipyfree-1.7.2-py3-none-any.whl
| Download URL | spotipyfree-1.7.2-py3-none-any.whl |
|---|---|
| Size | 14.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
0b538bdb0bbe127a67f521d9be35f4f4fd4bb0700e309b4e6d9ae21034812062
|
|
BLAKE2b-256 checksum How to use checksums |
b93a09783b554145d1b977f5ce806baaf9bad0fbd10c0e6e1ea13f735658c516
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.13.3
|
Security for spotipyFree 1.7.2
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.