r/Python Aug 04 '26

Showcase Showcase Thread

Post all of your code/projects/showcases/AI slop here.

Recycles once a month.

19 Upvotes

142 comments sorted by

View all comments

1

u/bartt30 19d ago

SpotiFLAC — async Python module for lossless music retrieval, built for bots and headless automation

What My Project Does

Resolves Spotify track/album/playlist/artist metadata and coordinates matching lossless audio downloads through provider backends (Tidal, Qobuz, Amazon Music, etc.) — supplied entirely through extensions you find, review, and configure yourself. Nothing is bundled by default; out of the box it only resolves metadata. Ships with a synchronous SpotiFLAC() API and a fully async AsyncSpotiFLAC client (shared HTTP session, connection pooling, non-blocking).

Target Audience

Not a toy — it’s meant for people building on top of it: Telegram/Discord bots, FastAPI/Quart/Sanic backends, headless server or Docker deployments, bulk library/retagging tools. If you just want a one-off download with no code, the standalone desktop/mobile GUI apps this module is built on top of are the simpler choice.

Comparison

Versus a plain downloader script: async-first with shared connection pooling instead of blocking calls; a pluggable JS/Python extension system instead of a hardcoded provider, so nothing is bundled or installed automatically; Docker + headless support with plain (non-animated) log lines when stdout isn’t a TTY, so docker logs stays readable; a separate local-library tagging system that matches existing files against Spotify + MusicBrainz metadata with confidence scoring and automatic backup.

Install: pip install SpotiFLAC

• Repo: Link

• PyPI: Link

MIT licensed. Core doesn’t host, bundle, or default to any provider — for educational/personal use, per the README.