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

Uploaded CPython 3.7mmacOS 10.15+ x86-64

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

Uploaded CPython 2.7mmacOS 10.15+ x86-64

pyspotify-2.1.2-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.2.tar.gz.

File metadata

  • Download URL: pyspotify-2.1.2.tar.gz
  • Upload date:
  • Size: 153.1 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.2.tar.gz
Algorithm Hash digest
SHA256 5f80d3ca9b0b5d8aefb40513e96d655fb4c9f0f6e94c147bd6bf15ab9759ade7
MD5 e3398d54386cff53e43aeb565b885375
BLAKE2b-256 5c6d69c7c9876f322697e41d7439b1a7b494ccf073d3d78c20de068f563920dd

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pyspotify-2.1.2-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.2-cp37-cp37m-macosx_10_15_x86_64.whl
Algorithm Hash digest
SHA256 e5fe2a80684ac8736e0749f739627dc5ff0ae224d0ef4fb9cb0067def99e4cdc
MD5 1ddff17ade9e7aa1f9ae31c76f8f8023
BLAKE2b-256 0c623dca54f4e92b77a8cbf630fb420b738b04f20a41fa98ead148880f6fc6e2

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pyspotify-2.1.2-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.2-cp37-cp37m-macosx_10_6_intel.whl
Algorithm Hash digest
SHA256 e1ca252cc313abc0d14310dc4b5a04b29eea4c7342c1e0376bf0b7de9e8c05da
MD5 e386473a40265b515fe1a6208e600d09
BLAKE2b-256 e24385b4b5b66ce2cf691601ab6dd605f861c015d704defd2a6b4f6e1ab12bb5

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pyspotify-2.1.2-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.2-cp27-cp27m-macosx_10_15_x86_64.whl
Algorithm Hash digest
SHA256 3743f45326ba2e4a7b0483fd8cd97c0c1fa30d85b835a4b7ebf2d22c293cd67e
MD5 e4d6d04d1f2f3862521d451564dd7e62
BLAKE2b-256 794454fabbfe90b9c659b526ec8cf1545f509a5a05f47580eab024c4a1fa40e5

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pyspotify-2.1.2-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.2-cp27-cp27m-macosx_10_6_intel.whl
Algorithm Hash digest
SHA256 0df527892cf1b3e2b7b12398e02be41317ec82b5ff25cbdde902d59fc36b8e51
MD5 e9e109604ae4c17d224cca2ef1da4b3c
BLAKE2b-256 91cb79700f9f99d0dda60c49d81216115ffe98aed44e284a79e3b99572ed6aa7

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