Skip to main content

A readonly wrapper for the Spotify API that relies on heavy caching to minimise the number of requests.

Key Features

  • caching requested data (note that non public data will be cached)

Installation

python 3.10 or higher is required

# Linux/macOS
python3 -m pip install -U spotifython
# Windows
py -3 -m pip install -U spotifython

To install the development version, run:

$ git clone https://github.com/vawvaw/spotifython
$ cd spotipython
$ python3 -m pip install -U .

Quick Example

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()

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

spotifython-0.2.13.tar.gz (32.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

spotifython-0.2.13-py3-none-any.whl (40.2 kB view details)

Uploaded Python 3

File details

Details for the file spotifython-0.2.13.tar.gz.

File metadata

  • Download URL: spotifython-0.2.13.tar.gz
  • Upload date:
  • Size: 32.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.6

File hashes

Hashes for spotifython-0.2.13.tar.gz
Algorithm Hash digest
SHA256 cf0961d2d4474030ac7755f5a356f3003aea88583c2d8828397011b796c4d7df
MD5 3eb19d761da7508743f8b769ad9403fb
BLAKE2b-256 aeec497bc3d95b875195551ead19c0b089979b106b7ecb0c4fa8c13ab3d2ddf1

See more details on using hashes here.

File details

Details for the file spotifython-0.2.13-py3-none-any.whl.

File metadata

  • Download URL: spotifython-0.2.13-py3-none-any.whl
  • Upload date:
  • Size: 40.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.6

File hashes

Hashes for spotifython-0.2.13-py3-none-any.whl
Algorithm Hash digest
SHA256 99599c49f28f28324ae48017efc850c558dc15aca9d42f251c9683efc9636c89
MD5 580b079af17834eb8752c8289587aa66
BLAKE2b-256 04e220e6aaf09b523ad6b7a7cc2e3b0b0aebf5ef62662abb1291ebc646a9c83a

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

0.2.13 This release

2 files

0.2.12

2 files

0.2.11

2 files

0.2.10

2 files

0.2.9

2 files

0.2.8

2 files

0.2.7

2 files

0.2.6

2 files

0.2.5

2 files

0.2.4

2 files

0.2.3

2 files

0.2.2

2 files

0.2.0

2 files

0.1.6

2 files

0.1.5

2 files

0.1.4

2 files

0.1.3

2 files

0.1.2

2 files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page