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.2.0.tar.gz (63.8 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.2.0-py3-none-win_amd64.whl (61.6 kB view details)

Uploaded Python 3Windows x86-64

File details

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

File metadata

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

File hashes

Hashes for libspotifyctl-0.2.0.tar.gz
Algorithm Hash digest
SHA256 53c2072955813a96df571577ac6bb17580c6948f2d0c02911467e3fe7aa1cb54
MD5 0937f5439c6f64e7759418846715dbff
BLAKE2b-256 4cd17e315ae351d74eb40751813cdc7b00f9d22dc7a8bfc3bbabf9fe852bb8af

See more details on using hashes here.

Provenance

The following attestation bundles were made for libspotifyctl-0.2.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.2.0-py3-none-win_amd64.whl.

File metadata

  • Download URL: libspotifyctl-0.2.0-py3-none-win_amd64.whl
  • Upload date:
  • Size: 61.6 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.2.0-py3-none-win_amd64.whl
Algorithm Hash digest
SHA256 3fc3672391f7e6f8f324a5fa6574c99ccbb7f7fa91bfd5eeb4a5297800c58d06
MD5 9103ff9a7f1668982172af3cab1f03d1
BLAKE2b-256 23bceba24977bebf1867e2cf9915e7ec418e96a5afdb9bea1044d2da8563e58c

See more details on using hashes here.

Provenance

The following attestation bundles were made for libspotifyctl-0.2.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