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 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.1.0.tar.gz (151.6 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.0-cp37-cp37m-macosx_10_14_x86_64.whl (1.8 MB view details)

Uploaded CPython 3.7mmacOS 10.14+ x86-64

pyspotify-2.1.0-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.0-cp27-cp27m-macosx_10_14_x86_64.whl (1.8 MB view details)

Uploaded CPython 2.7mmacOS 10.14+ x86-64

pyspotify-2.1.0-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.0.tar.gz.

File metadata

  • Download URL: pyspotify-2.1.0.tar.gz
  • Upload date:
  • Size: 151.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/3.7.3

File hashes

Hashes for pyspotify-2.1.0.tar.gz
Algorithm Hash digest
SHA256 f5d103eb509f8f034fab2b585cd9cc2923f2d8ffccabed8e151651d15ce2423b
MD5 26960b5fe71008f9aa5e2738e94dc65a
BLAKE2b-256 7a3c977f64d38d0fce3a9926d889db079c21b075e255e07cbc882c0acf13791c

See more details on using hashes here.

File details

Details for the file pyspotify-2.1.0-cp37-cp37m-macosx_10_14_x86_64.whl.

File metadata

  • Download URL: pyspotify-2.1.0-cp37-cp37m-macosx_10_14_x86_64.whl
  • Upload date:
  • Size: 1.8 MB
  • Tags: CPython 3.7m, macOS 10.14+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/3.7.3

File hashes

Hashes for pyspotify-2.1.0-cp37-cp37m-macosx_10_14_x86_64.whl
Algorithm Hash digest
SHA256 bb360c508f029598c18f83159e5037c0a2c5c2944835233388f3941223f2c5e8
MD5 7038aa5553ca9bc471e3895f945eacc3
BLAKE2b-256 1f1dbd424b28ff8aefaa3ef70428caa6d7f8a7ee5ee0caead0eb7e981b9bbc02

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pyspotify-2.1.0-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/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/3.7.3

File hashes

Hashes for pyspotify-2.1.0-cp37-cp37m-macosx_10_6_intel.whl
Algorithm Hash digest
SHA256 09f5766114e94b7a3235306613a9d09224608ced0819a3ba781ecff8fbb39b63
MD5 29a14c34933c8eb34f73266ed341ca33
BLAKE2b-256 d6ad5f9f9285427e291deec88e610e53a4a435f8d91d036c31c82843f5163ab9

See more details on using hashes here.

File details

Details for the file pyspotify-2.1.0-cp27-cp27m-macosx_10_14_x86_64.whl.

File metadata

  • Download URL: pyspotify-2.1.0-cp27-cp27m-macosx_10_14_x86_64.whl
  • Upload date:
  • Size: 1.8 MB
  • Tags: CPython 2.7m, macOS 10.14+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/3.7.3

File hashes

Hashes for pyspotify-2.1.0-cp27-cp27m-macosx_10_14_x86_64.whl
Algorithm Hash digest
SHA256 b19e5672bf0aa976d69e91ffeae11e2facef4bf2186f552a218472632fccd83b
MD5 646d10080bef08945db37d4f9263042e
BLAKE2b-256 5ff0694deb2cacc35136a0ee5a7b28d66cc5493fa5e302ee0e38d8fcf080096f

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pyspotify-2.1.0-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/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/3.7.3

File hashes

Hashes for pyspotify-2.1.0-cp27-cp27m-macosx_10_6_intel.whl
Algorithm Hash digest
SHA256 f68b719847a2ae526dce957bcd21723c8e9fdfa70b1a60b8ed77cfa4d4834f22
MD5 8a52df8581efc7eb2258dfcb3962c43d
BLAKE2b-256 3a7a26cea2df4a78350a636c1a821ce0f21c0adbc8fc09c6e7cc66d986242ab7

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