Skip to main content

Python wrapper for libspotify

This project has been archived.

The maintainers of this project have marked this project as archived. No new releases are expected.

Project description

pyspotify provides a Python interface to Spotify’s online music streaming service.

With pyspotify you can access music metadata, search in Spotify’s library of 20+ million tracks, manage your Spotify playlists, and play music from Spotify. All from your own Python applications.

pyspotify uses CFFI to make a pure Python wrapper around the official libspotify library. It works on CPython 2.7 and 3.5+, as well as PyPy 2.7 and 3.5+. It is known to work on Linux and macOS. Windows support should be possible, but is awaiting a contributor with the interest and knowledge to maintain it.

libspotify’s deprecation

Note that as of May 2015 libspotify is officially deprecated by Spotify and is no longer actively maintained.

Spotify has published newer libraries intended for Android and iOS development, as well as web APIs to access track metadata and manage playlists. Though, for making apps with Spotify playback capabilities, on any other platform than Android and iOS, there is currently no alternative to libspotify.

libspotify has been the main way of integrating with Spotify since 2009, and is today a part of numerous open source projects and commercial applications, including many receivers and even cars. There’s no guarantees, but one can hope that the large deployment of libspotify means that the library will continue to work with the Spotify service for a long time into the future.

Project resources

Latest PyPI version CircleCI build status Test coverage

Project details


Download files

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

Source Distribution

pyspotify-2.1.3.tar.gz (157.2 kB view details)

Uploaded Source

Built Distributions

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

pyspotify-2.1.3-cp37-cp37m-macosx_10_15_x86_64.whl (1.8 MB view details)

Uploaded CPython 3.7mmacOS 10.15+ x86-64

pyspotify-2.1.3-cp37-cp37m-macosx_10_6_intel.whl (1.9 MB view details)

Uploaded CPython 3.7mmacOS 10.6+ Intel (x86-64, i386)

pyspotify-2.1.3-cp27-cp27m-macosx_10_15_x86_64.whl (1.8 MB view details)

Uploaded CPython 2.7mmacOS 10.15+ x86-64

pyspotify-2.1.3-cp27-cp27m-macosx_10_6_intel.whl (1.9 MB view details)

Uploaded CPython 2.7mmacOS 10.6+ Intel (x86-64, i386)

File details

Details for the file pyspotify-2.1.3.tar.gz.

File metadata

  • Download URL: pyspotify-2.1.3.tar.gz
  • Upload date:
  • Size: 157.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.41.0 CPython/3.8.0

File hashes

Hashes for pyspotify-2.1.3.tar.gz
Algorithm Hash digest
SHA256 6ae31d8ccd7e1f138a80f08c766173b2ced12d196732f68aee4ae023b7a9ad2a
MD5 521b3f8fb90c50256e98c9a7726bf4ca
BLAKE2b-256 fe1d83d088397d95eacf6281ae748886d024aab50efdea50aedf8f294fc53aa7

See more details on using hashes here.

File details

Details for the file pyspotify-2.1.3-cp37-cp37m-macosx_10_15_x86_64.whl.

File metadata

  • Download URL: pyspotify-2.1.3-cp37-cp37m-macosx_10_15_x86_64.whl
  • Upload date:
  • Size: 1.8 MB
  • Tags: CPython 3.7m, macOS 10.15+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/2.0.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.6.0 requests-toolbelt/0.9.1 tqdm/4.38.0 CPython/3.7.5

File hashes

Hashes for pyspotify-2.1.3-cp37-cp37m-macosx_10_15_x86_64.whl
Algorithm Hash digest
SHA256 f6122797197552740bb2bb5d0b6dada51ef4a52bc87cc09ebda35c2040b65f1c
MD5 47eec046711543f8d2202183689f8282
BLAKE2b-256 f502a257197e276ca25bf9629ee97b23cdf9e42bd9143e7c7a032d285f627c41

See more details on using hashes here.

File details

Details for the file pyspotify-2.1.3-cp37-cp37m-macosx_10_6_intel.whl.

File metadata

  • Download URL: pyspotify-2.1.3-cp37-cp37m-macosx_10_6_intel.whl
  • Upload date:
  • Size: 1.9 MB
  • Tags: CPython 3.7m, macOS 10.6+ Intel (x86-64, i386)
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/2.0.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.6.0 requests-toolbelt/0.9.1 tqdm/4.38.0 CPython/3.7.5

File hashes

Hashes for pyspotify-2.1.3-cp37-cp37m-macosx_10_6_intel.whl
Algorithm Hash digest
SHA256 7ba75c3ad1c8e4fa3578cce0660d4d4b1411735d6aed86dc26e2fba4f823e4bf
MD5 c64b179289c87c58bc61d5efef2649f9
BLAKE2b-256 8f0e06b22f18a2fe69bfd3c1f229bd7d4a854fbbdd01899eed59371b1d50ff42

See more details on using hashes here.

File details

Details for the file pyspotify-2.1.3-cp27-cp27m-macosx_10_15_x86_64.whl.

File metadata

  • Download URL: pyspotify-2.1.3-cp27-cp27m-macosx_10_15_x86_64.whl
  • Upload date:
  • Size: 1.8 MB
  • Tags: CPython 2.7m, macOS 10.15+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/2.0.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.6.0 requests-toolbelt/0.9.1 tqdm/4.38.0 CPython/3.7.5

File hashes

Hashes for pyspotify-2.1.3-cp27-cp27m-macosx_10_15_x86_64.whl
Algorithm Hash digest
SHA256 457de7918ba41e41dad0e40dc2b8345ddfed60c04363904ea63ce0587bed6168
MD5 65095ce427330653a5058305cca12aae
BLAKE2b-256 f410bdd96f5253e201c0a36383908df5b10feec670b6655552a3b13cc878b30c

See more details on using hashes here.

File details

Details for the file pyspotify-2.1.3-cp27-cp27m-macosx_10_6_intel.whl.

File metadata

  • Download URL: pyspotify-2.1.3-cp27-cp27m-macosx_10_6_intel.whl
  • Upload date:
  • Size: 1.9 MB
  • Tags: CPython 2.7m, macOS 10.6+ Intel (x86-64, i386)
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/2.0.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.6.0 requests-toolbelt/0.9.1 tqdm/4.38.0 CPython/3.7.5

File hashes

Hashes for pyspotify-2.1.3-cp27-cp27m-macosx_10_6_intel.whl
Algorithm Hash digest
SHA256 403cf27d866f5ba9d25ec91ff5134f7876a30a74c8719575baa5e6be2b127937
MD5 a87f4e512e29ad1642668290eb8e43c9
BLAKE2b-256 00bf5b3686015ec2a0ce5713fd8511ef45f08793d8dc94844979de4d3aa75823

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page