[PR #747] [MERGED] add RedisCacheHandler #1009

Closed
opened 2026-02-28 00:03:13 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/spotipy-dev/spotipy/pull/747
Author: @ooyamatakehisa
Created: 11/22/2021
Status: Merged
Merged: 11/22/2021
Merged by: @stephanebruckert

Base: masterHead: redis-cache-handler


📝 Commits (3)

  • 4018028 add RedisCacheHandler
  • c820bdb add the explanation for customized chache handlers
  • d467161 update the dependency and chengelog

📊 Changes

4 files changed (+45 additions, -2 deletions)

View changed files

📝 CHANGELOG.md (+2 -1)
📝 docs/index.rst (+5 -0)
📝 setup.py (+1 -0)
📝 spotipy/cache_handler.py (+37 -1)

📄 Description

I used redis for token caching in my project, so I contribute this.
This may be useful when using multiple servers.
I'm not sure if I should include redis-py library to dependency of this project because redis library is not directly necessary for main functions of spotipy and only necessary for RedisCacheHandler.
May I have your help?


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/spotipy-dev/spotipy/pull/747 **Author:** [@ooyamatakehisa](https://github.com/ooyamatakehisa) **Created:** 11/22/2021 **Status:** ✅ Merged **Merged:** 11/22/2021 **Merged by:** [@stephanebruckert](https://github.com/stephanebruckert) **Base:** `master` ← **Head:** `redis-cache-handler` --- ### 📝 Commits (3) - [`4018028`](https://github.com/spotipy-dev/spotipy/commit/40180284db29c0cfbe418b0c802b86cf1b87f9ff) add RedisCacheHandler - [`c820bdb`](https://github.com/spotipy-dev/spotipy/commit/c820bdb15f03d0650917ead2d9a782d198754bbb) add the explanation for customized chache handlers - [`d467161`](https://github.com/spotipy-dev/spotipy/commit/d467161536771d8dc05cef698be8859628e1424d) update the dependency and chengelog ### 📊 Changes **4 files changed** (+45 additions, -2 deletions) <details> <summary>View changed files</summary> 📝 `CHANGELOG.md` (+2 -1) 📝 `docs/index.rst` (+5 -0) 📝 `setup.py` (+1 -0) 📝 `spotipy/cache_handler.py` (+37 -1) </details> ### 📄 Description I used redis for token caching in my project, so I contribute this. This may be useful when using multiple servers. I'm not sure if I should include redis-py library to dependency of this project because redis library is not directly necessary for main functions of spotipy and only necessary for `RedisCacheHandler`. May I have your help? --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-02-28 00:03:13 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/spotipy#1009
No description provided.