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.1.tar.gz (152.7 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.1-cp37-cp37m-macosx_10_15_x86_64.whl (1.8 MB view details)

Uploaded CPython 3.7mmacOS 10.15+ x86-64

pyspotify-2.1.1-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.1-cp27-cp27m-macosx_10_15_x86_64.whl (1.8 MB view details)

Uploaded CPython 2.7mmacOS 10.15+ x86-64

pyspotify-2.1.1-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.1.tar.gz.

File metadata

  • Download URL: pyspotify-2.1.1.tar.gz
  • Upload date:
  • Size: 152.7 kB
  • Tags: Source
  • 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.37.0 CPython/3.7.5rc1

File hashes

Hashes for pyspotify-2.1.1.tar.gz
Algorithm Hash digest
SHA256 1d2018cfa760a60f12c0af19dd2a6e93753931e7f5c1fdc468adc26365ef6f5d
MD5 cfde62fb2aecf202fd7bcf9ca6ca9406
BLAKE2b-256 43d17837293ea175af3be84d5d0ec3c07ee5fb24c3054fa97daec7c90599d232

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pyspotify-2.1.1-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.1-cp37-cp37m-macosx_10_15_x86_64.whl
Algorithm Hash digest
SHA256 52fabacf7328f782b33301c6e4ae22b5ad68d866e6f750f7cd6d28953d50618f
MD5 23a7ae489764473b0f17416acc64693c
BLAKE2b-256 f00928a775bd0acc693fdd58a0e1b7c808e090c1ba5c1d403a11516a6fd00965

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pyspotify-2.1.1-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.1-cp37-cp37m-macosx_10_6_intel.whl
Algorithm Hash digest
SHA256 4af340924aa84a1d443616d741de8764045b291d66b225eaf18ce506c34cf48d
MD5 862a1017312c208600fc06a921307350
BLAKE2b-256 dc55fec827e50d94a1f16e329ba899fc29b6f9ebf267d610c00c80b6b3a1af6a

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pyspotify-2.1.1-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.1-cp27-cp27m-macosx_10_15_x86_64.whl
Algorithm Hash digest
SHA256 8f8cc6df9eabae6e9f9ea84c01df585c3f5aae4db8ee92bf0eef246d5f7af3e5
MD5 5fdce81ddbe5d1888b605fb37978cef5
BLAKE2b-256 38dfed084292e6f51b8046d918b1e40947f82231c4493870f834d594756862fe

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pyspotify-2.1.1-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.1-cp27-cp27m-macosx_10_6_intel.whl
Algorithm Hash digest
SHA256 0a66e89b06cc84d73862d7ef092790e9314fe290572df451d281229b892e68dd
MD5 9c2ef3fabed31e079a6e9cb98a8ab556
BLAKE2b-256 04665b68b48bf0588bfce1ecde4e9997745e63c3e9eec3088502b2995dc98e6d

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