[PR #1504] [CLOSED] add iredis to CLI Enhancements. IRedis is part of dbcli. #1318

Closed
opened 2025-11-06 13:13:50 -06:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/vinta/awesome-python/pull/1504
Author: @laixintao
Created: 2/28/2020
Status: Closed

Base: masterHead: add-iredis


📝 Commits (1)

  • 2382e99 add iredis to CLI Enhancements. IRedis is part of dbcli.

📊 Changes

1 file changed (+1 additions, -0 deletions)

View changed files

📝 README.md (+1 -0)

📄 Description

https://github.com/laixintao/iredis

Interactive Redis: A Terminal Client for Redis with AutoCompletion and Syntax Highlighting.

image

Features

  • Advanced code completion. If you run command KEYS then run DEL, IRedis will auto-complete your command based on KEYS result.
  • Command validation. E.g. try CLUSTER MEET IP PORT, iredis will validate IP and PORT for you.
  • Command highlighting, fully based on redis grammar. Any valid command in IRedis shell is a valid redis command.
  • Human-friendly result display.
  • peek command to check the key's type then automatically call get/lrange/sscan, etc, depending on types. You don't need to call the type command then type another command to get the value. peek will also display the key's length and memory usage.
  • Ctrl + C to cancel the current typed command, this won't exit iredis, exactly like bash behaviour. Use Ctrl + D to send a EOF to exit iredis.
  • Says "Goodbye!" to you when you exit!
  • Ctrl + R to open reverse-i-search to search through your command history.
  • Auto suggestions. (Like fish shell.)
  • Support --encode=utf-8, to decode Redis' bytes responses.
  • Command hint on bottom, include command syntax, supported redis version, and time complexity.
  • Offcial docs with built-in HELP command, try HELP SET!
  • Written in pure Python, but IRedis was packaged into a single binary with
    PyOxidizer, you can use cURL to
    download and run, it just works, even you don't have a Python interpreter.
  • For full features, please see: iredis.io/show

What's the difference between this Python project and similar ones?

There is no other redis-cli alternative currently.

--

Anyone who agrees with this pull request could vote for it by adding a 👍 to it, and usually, the maintainer will merge it when votes reach 20.


🔄 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/vinta/awesome-python/pull/1504 **Author:** [@laixintao](https://github.com/laixintao) **Created:** 2/28/2020 **Status:** ❌ Closed **Base:** `master` ← **Head:** `add-iredis` --- ### 📝 Commits (1) - [`2382e99`](https://github.com/vinta/awesome-python/commit/2382e99295adc2854e4828d5d43e8b4c171d1e1b) add iredis to CLI Enhancements. IRedis is part of dbcli. ### 📊 Changes **1 file changed** (+1 additions, -0 deletions) <details> <summary>View changed files</summary> 📝 `README.md` (+1 -0) </details> ### 📄 Description https://github.com/laixintao/iredis Interactive Redis: A Terminal Client for Redis with AutoCompletion and Syntax Highlighting. <img width="806" alt="image" src="https://user-images.githubusercontent.com/9675939/75509878-0c4e4500-5a24-11ea-84cd-44062b65ba82.png"> ## Features - Advanced code completion. If you run command `KEYS` then run `DEL`, IRedis will auto-complete your command based on `KEYS` result. - Command validation. E.g. try `CLUSTER MEET IP PORT`, iredis will validate IP and PORT for you. - Command highlighting, fully based on redis grammar. Any valid command in IRedis shell is a valid redis command. - Human-friendly result display. - `peek` command to check the key's type then automatically call `get`/`lrange`/`sscan`, etc, depending on types. You don't need to call the `type` command then type another command to get the value. `peek` will also display the key's length and memory usage. - <kbd>Ctrl</kbd> + <kbd>C</kbd> to cancel the current typed command, this won't exit iredis, exactly like bash behaviour. Use <kbd>Ctrl</kbd> + <kbd>D</kbd> to send a EOF to exit iredis. - Says "Goodbye!" to you when you exit! - <kbd>Ctrl</kbd> + <kbd>R</kbd> to open **reverse-i-search** to search through your command history. - Auto suggestions. (Like [fish shell](http://fishshell.com/).) - Support `--encode=utf-8`, to decode Redis' bytes responses. - Command hint on bottom, include command syntax, supported redis version, and time complexity. - Offcial docs with built-in `HELP` command, try `HELP SET`! - Written in pure Python, but IRedis was packaged into a single binary with [PyOxidizer](https://github.com/indygreg/PyOxidizer), you can use cURL to download and run, it just works, even you don't have a Python interpreter. - For full features, please see: [iredis.io/show](https://www.iredis.io/show/) ## What's the difference between this Python project and similar ones? There is no other redis-cli alternative currently. -- Anyone who agrees with this pull request could vote for it by adding a :+1: to it, and usually, the maintainer will merge it when votes reach **20**. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
GiteaMirror added the pull-request label 2025-11-06 13:13:50 -06:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/awesome-python#1318