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 use CFFI to make a pure Python wrapper around the official libspotify library. It works on CPython 2.7 and 3.2+, as well as PyPy 2.6+ and PyPy3 2.5+. It is known to work on Linux and OS X. 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 Number of PyPI downloads Travis CI 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.0.2.tar.gz (151.3 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.0.2-cp34-cp34m-macosx_10_6_intel.whl (1.9 MB view details)

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

pyspotify-2.0.2-cp27-none-macosx_10_6_intel.whl (1.9 MB view details)

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

File details

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

File metadata

  • Download URL: pyspotify-2.0.2.tar.gz
  • Upload date:
  • Size: 151.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for pyspotify-2.0.2.tar.gz
Algorithm Hash digest
SHA256 46211fcf7746de027515ecf2c41cd779c5fe7f9103fce52cff33f3726c3bc8b5
MD5 064c4bb06429d7d5483719fcb6c3d0c1
BLAKE2b-256 2234b153b1b5f97cf96d04b27b11aab566070feed2ef5175c52e7306c5245b64

See more details on using hashes here.

File details

Details for the file pyspotify-2.0.2-cp34-cp34m-macosx_10_6_intel.whl.

File metadata

File hashes

Hashes for pyspotify-2.0.2-cp34-cp34m-macosx_10_6_intel.whl
Algorithm Hash digest
SHA256 7b199f910862a7b2b6f69a76752a159ab4e8b9ce1eebfdb04108c85c85d2a876
MD5 1b96e1f0c88adadefd9acb0713fd1710
BLAKE2b-256 43e0ea59f22d19b0e190f6ce0718c4a4c24d3c8503aaf8a92b311dc25cafd501

See more details on using hashes here.

File details

Details for the file pyspotify-2.0.2-cp27-none-macosx_10_6_intel.whl.

File metadata

File hashes

Hashes for pyspotify-2.0.2-cp27-none-macosx_10_6_intel.whl
Algorithm Hash digest
SHA256 5d6a0de40e3519b1ec81f5dcc510b462c9603555ee70f6550abd674befb5e4c3
MD5 b9c4d8ce8412696e8be6e4c7cc783ca7
BLAKE2b-256 3687cf1676e414124cfd595f4a0b58aade94bac56e1e8f16f4902a946f6cfda5

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