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.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| tekore-6.2.0.tar.gz | 271.5 kB | Without provenance | Details for tekore-6.2.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| tekore-6.2.0-py3-none-any.whl | Python 3 | none | any | Details for tekore-6.2.0-py3-none-any.whl |
Total release size: 347.2 kB
Release files / tekore-6.2.0.tar.gz
| Download URL | tekore-6.2.0.tar.gz |
|---|---|
| Size | 271.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
28bb06404e897aa66d7cbca2699c33ba7fdf7833a527c2b91226f44208e6930b
|
|
BLAKE2b-256 checksum How to use checksums |
b4bd0e1cfd14de8a58bef6ed3fc007abf31d88e2c9511b5c8131bc5fa4d32091
|
| 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.0-py3-none-any.whl
| Download URL | tekore-6.2.0-py3-none-any.whl |
|---|---|
| Size | 75.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
00380de5ee1f08ff9778d959cec9fb71cf33270f4d2ccccece0d22728a87d9b5
|
|
BLAKE2b-256 checksum How to use checksums |
75bc20b750ccdbb595d4bebb3c2a1a1f41e9901d4769a35507f46d24b334a754
|
| 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.0
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.