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.4.tar.gz (70.6 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.4-py3-none-win_amd64.whl (68.3 kB view details)

Uploaded Python 3Windows x86-64

File details

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

File metadata

  • Download URL: libspotifyctl-0.3.4.tar.gz
  • Upload date:
  • Size: 70.6 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.4.tar.gz
Algorithm Hash digest
SHA256 ef860e054f583a253f583d717303f4ba610780a202ed5e974a1a4a1960695af2
MD5 aa214d0f60cce08dd4557b3b681535be
BLAKE2b-256 d0f4d8045e6c00499cd7129f526341f803550e3626569cf29a45dde836cc1c65

See more details on using hashes here.

Provenance

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

File metadata

  • Download URL: libspotifyctl-0.3.4-py3-none-win_amd64.whl
  • Upload date:
  • Size: 68.3 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.4-py3-none-win_amd64.whl
Algorithm Hash digest
SHA256 d41b7756e15f66072d61e04d0223e8ac247f191d5402370a8a4da8a850e6afe7
MD5 3ea4f426ef977f7f28d39f98ed38d989
BLAKE2b-256 a7729518a3825b521c37de2533c933bc8565f3197507a1420c196a729c6d3203

See more details on using hashes here.

Provenance

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