Skip to main content

logo

python version monthly downloads

Welcome to the Python Package Index page of Tekore! We provide a client for the Spotify Web API for Python, complete with all available endpoints and authentication methods, async support and loads of additional features. Tekore allows you to interact with the API effortlessly. Here’s five lines to get you full access and start playing your top songs.

import tekore as tk

conf = (client_id, client_secret, redirect_uri)
token = tk.prompt_for_user_token(*conf, scope=tk.scope.every)

spotify = tk.Spotify(token)
tracks = spotify.current_user_top_tracks(limit=10)
spotify.playback_start_tracks([t.id for t in tracks.items])

See our online documentation on Read The Docs for tutorials, examples, package reference and a detailed description of features. If you’ve found a bug or would like to propose a feature, please submit an issue on GitHub. Join our Discord community to ask for help or discuss just about anything related to Tekore. You can also ask a question on Stack Overflow.

Installation

Tekore can be installed from the Package Index via pip.

$ pip install tekore

Changelog

A detailed changelog can be found on our RTD documentation’s Release notes.

Versioning

When requiring Tekore in projects or other packages, please pin the version down to at least a specific major release to avoid compatibility issues. For example:

setup(
    install_requires=[
        'tekore~=4.0'
    ]
)

Tekore provides both stable and beta endpoints of the Web API. However, beta endpoints may be changed by Spotify without prior notice, so older versions of the library may have unintended issues. Because of this, Tekore follows a modified form of Semantic Versioning. Incompatible changes in the library are still introduced in major versions, and new features and endpoints are added in minor versions. But endpoints removed by Spotify are removed in minor versions and changes to endpoints are implemented as bugfixes. See the Web API documentation for further information on beta endpoints.

Metadata

Release files for tekore 6.2.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for tekore 6.2.1
File Size Uploaded Provenance Actions
tekore-6.2.1.tar.gz 272.9 kB Without provenance Details for tekore-6.2.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for tekore 6.2.1
File Interpreter ABI Platform Actions
tekore-6.2.1-py3-none-any.whl Python 3 none any Details for tekore-6.2.1-py3-none-any.whl

Total release size: 348.9 kB

Release files / tekore-6.2.1.tar.gz

Download URL tekore-6.2.1.tar.gz
Size 272.9 kB
Tags Source
SHA-256 checksum
How to use checksums
c91effdd7d1350f53a1b05c31050c81418a2b2ed8655037f17ceb2fc35ae295d
BLAKE2b-256 checksum
How to use checksums
006375f5ac1939aba05576caf4ff0a6277381c0b62d7f6ef5576c6395a4439a0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.13.0

Release files / tekore-6.2.1-py3-none-any.whl

Download URL tekore-6.2.1-py3-none-any.whl
Size 76.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
ee4e17ef44d559ceaa5baea8ea0f2894dfba0487397ad09a92f2a77616bfcfef
BLAKE2b-256 checksum
How to use checksums
800998d159d3d367918e3a448124fe32fdd0920244d7c6295607de1234869060
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.13.0

Security for tekore 6.2.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

6.2.1 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page