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.1.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.1-py3-none-win_amd64.whl (68.2 kB view details)

Uploaded Python 3Windows x86-64

File details

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

File metadata

  • Download URL: libspotifyctl-0.3.1.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.1.tar.gz
Algorithm Hash digest
SHA256 8d1103a386277789febaf9ff443d8babe49b215f7c00b62718c97a8917da4ee1
MD5 f39e0bd1684753ee352fcff0dd04ff1e
BLAKE2b-256 2d70e812bc5bbcaa87e72080c61eb92342d97b0ab5da0714d72a4d49e038fea6

See more details on using hashes here.

Provenance

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

File metadata

  • Download URL: libspotifyctl-0.3.1-py3-none-win_amd64.whl
  • Upload date:
  • Size: 68.2 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.1-py3-none-win_amd64.whl
Algorithm Hash digest
SHA256 f80c864d6730ffda5bea460d16a53adaf28c1c76f0541c04cb63d700814c71d8
MD5 f8c2f2bc372aa3a8c9a21f5f49f3b8da
BLAKE2b-256 448999dee36d67b5195543863bde9cac36ed6a86f73624249aec3ef6ffb2f53b

See more details on using hashes here.

Provenance

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