{"id":25171384,"url":"https://github.com/basemax/firstredispython","last_synced_at":"2025-07-27T22:34:23.902Z","repository":{"id":151535349,"uuid":"378528487","full_name":"BaseMax/FirstRedisPython","owner":"BaseMax","description":"A tiny python web application based on Flask to set, get, expire, delete keys of Redis database easily with direct link at the browser.","archived":false,"fork":false,"pushed_at":"2021-06-20T01:08:03.000Z","size":24,"stargazers_count":10,"open_issues_count":0,"forks_count":2,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-07-19T06:32:19.754Z","etag":null,"topics":["flask","flask-api","flask-application","flask-redis","python","python-redis","python-redis-tutorial","python3","redis"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/BaseMax.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2021-06-20T00:26:16.000Z","updated_at":"2024-01-02T11:08:00.000Z","dependencies_parsed_at":"2023-07-10T14:00:21.509Z","dependency_job_id":null,"html_url":"https://github.com/BaseMax/FirstRedisPython","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/BaseMax/FirstRedisPython","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BaseMax%2FFirstRedisPython","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BaseMax%2FFirstRedisPython/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BaseMax%2FFirstRedisPython/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BaseMax%2FFirstRedisPython/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/BaseMax","download_url":"https://codeload.github.com/BaseMax/FirstRedisPython/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BaseMax%2FFirstRedisPython/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":267436663,"owners_count":24086898,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-07-27T02:00:11.917Z","response_time":82,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["flask","flask-api","flask-application","flask-redis","python","python-redis","python-redis-tutorial","python3","redis"],"created_at":"2025-02-09T09:20:00.822Z","updated_at":"2025-07-27T22:34:23.895Z","avatar_url":"https://github.com/BaseMax.png","language":"Python","readme":"# First Redis Python (CRUD)\n\nA tiny **python** web application based on **Flask** to set, get, expire, delete keys of **Redis** database easily with direct link at the browser.\n\n## Using\n\n```\nflask run\n```\n\n## Routes\n\n**Set a new key with value:**\n`http://127.0.0.1:5000/set/name/Max`\n\n**Update the value of a key:**\n`http://127.0.0.1:5000/update/name/NewMax`\n\n**Get value of a key:**\n`http://127.0.0.1:5000/get/name`\n\n**Set value to a key with expire time:**\n`http://127.0.0.1:5000/set/name/Max/5`\n\n**Set expire time on a key:**\n`http://127.0.0.1:5000/expire/name/10`\n\n**Delete a key:**\n`http://127.0.0.1:5000/delete/name`\n\n**Note:** You do not have to put `/` at the last of the URL, this is not allowed.\n\n### References\n\n- https://redis.io/commands/expire\n- https://stackoverflow.com/questions/36000981/storing-keys-with-prefix-that-expire-in-redis\n- https://redis-py.readthedocs.io/en/stable/\n- https://realpython.com/python-redis/\n- https://stackoverflow.com/questions/36000981/storing-keys-with-prefix-that-expire-in-redis\n- https://redis-py.readthedocs.io/en/stable/_modules/redis/client.html#Redis.expire\n- https://medium.com/@ashok.tankala/how-to-write-your-own-redis-key-expire-listener-in-python-53e531a97f36\n\n© Copyright Max Base, 2021\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbasemax%2Ffirstredispython","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbasemax%2Ffirstredispython","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbasemax%2Ffirstredispython/lists"}