Skip to main content

Offline (no Web API) library for reading from and controlling Spotify on Windows

Project description

libspotifyctl — Python bindings

Offline (no Web API) Python bindings for reading from and controlling Spotify on Windows.

Thin ctypes wrapper over the libspotifyctl.dll C ABI — no node-gyp-style per-Python-version builds. One wheel (py3-none-win_amd64) serves all CPython 3.9+ on 64-bit Windows.

Install

pip install libspotifyctl

Quick start

import time
from libspotifyctl import SpotifyClient

with SpotifyClient() as c:
    c.on_state_changed(lambda s: print(f"{s.artist}{s.title}"))
    time.sleep(30)

See the project repo for the full API and the underlying C library: https://github.com/ColdMeekly/spotifyctl

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

libspotifyctl-0.3.0.tar.gz (70.3 kB view details)

Uploaded Source

Built Distribution

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

libspotifyctl-0.3.0-py3-none-win_amd64.whl (68.1 kB view details)

Uploaded Python 3Windows x86-64

File details

Details for the file libspotifyctl-0.3.0.tar.gz.

File metadata

  • Download URL: libspotifyctl-0.3.0.tar.gz
  • Upload date:
  • Size: 70.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for libspotifyctl-0.3.0.tar.gz
Algorithm Hash digest
SHA256 94f73cf2eb68ddfb7e8aa98729ecc28f5719c4b5e64fa47b4def1cc8f74a3de8
MD5 188232bc4d1418d3af70d5efa8d6014f
BLAKE2b-256 7686fca2e53a0017d4b4ae6e2d299c8246cfa06dac32d2d7b25248fef6f12d4e

See more details on using hashes here.

Provenance

The following attestation bundles were made for libspotifyctl-0.3.0.tar.gz:

Publisher: ci.yml on ColdMeekly/spotifyctl

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file libspotifyctl-0.3.0-py3-none-win_amd64.whl.

File metadata

  • Download URL: libspotifyctl-0.3.0-py3-none-win_amd64.whl
  • Upload date:
  • Size: 68.1 kB
  • Tags: Python 3, Windows x86-64
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for libspotifyctl-0.3.0-py3-none-win_amd64.whl
Algorithm Hash digest
SHA256 f040132229e7a3f7272638b5b6f1cbcfe26d9bd5d4941f2a578fad7b581c527f
MD5 3041203407de7c1ce004693644e94989
BLAKE2b-256 86db00e4bb25e0590a66e662f4eb1d1a314c9aa6c7ea9e0e4f093a9f00c1715b

See more details on using hashes here.

Provenance

The following attestation bundles were made for libspotifyctl-0.3.0-py3-none-win_amd64.whl:

Publisher: ci.yml on ColdMeekly/spotifyctl

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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