Who owns the async client?
Connection reuse and cleanup in Python libraries.
Independent developer tools, libraries and notes from The Open Odyssey.
An asynchronous Python library for Spotify catalogue data, playlists and connected players.
If you find it useful, give the project a star on GitHub.
import asyncio
from spotapi import Public
async def main():
results = await Public.search(
"Daft Punk", limit=5
)
for track in results.tracks:
print(track.name)
asyncio.run(main())
python -m pip install spotapiConnection reuse and cleanup in Python libraries.
A small design rule for typed Python APIs.
Share what you build, report issues, or help maintain our projects.
Relevant sponsorships help fund maintenance and documentation.