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.3.tar.gz (70.5 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.3-py3-none-win_amd64.whl (68.1 kB view details)

Uploaded Python 3Windows x86-64

File details

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

File metadata

  • Download URL: libspotifyctl-0.3.3.tar.gz
  • Upload date:
  • Size: 70.5 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.3.tar.gz
Algorithm Hash digest
SHA256 76e67937aafeac6cea4af2a341dfc22aa6a6044e28a1267d7eb7b89f2f3b25d2
MD5 ba843bd4f1aaa641c779782ab3cde228
BLAKE2b-256 96b9087f6de1eeef55b0534e723fc422495c698cc45cec27442963ae9641d1f4

See more details on using hashes here.

Provenance

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

File metadata

  • Download URL: libspotifyctl-0.3.3-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.3-py3-none-win_amd64.whl
Algorithm Hash digest
SHA256 4a3581f61d95ab72d85e9fccfd47624dbbf44e08ee6b6da394f07c9d515286a9
MD5 5fc2fc93897d48ce1d7e990ac3f8ec05
BLAKE2b-256 9b719964bda3878f714f275268557fcdcbb42903eab66106bfd178403bd351c8

See more details on using hashes here.

Provenance

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