drgpt


Namedrgpt JSON
Version 2.7.2 PyPI version JSON
download
home_pagehttps://github.com/DrDataYE/drgpt
SummaryMulti-Provider AI Assistant for developers and power users
upload_time2025-07-11 12:31:16
maintainerNone
docs_urlNone
authorDrGPT Contributors
requires_python>=3.8
licenseNone
keywords ai gpt openai anthropic claude terminal cli assistant chatgpt artificial-intelligence command-line developer-tools productivity
VCS
bugtrack_url
requirements requests rich packaging openai anthropic pytest black flake8
Travis-CI No Travis.
coveralls test coverage No coveralls.
            <div align="center">
  <img src="./images/logo.png" alt="DrGPT Logo" width="200" height="200">
  
  # DrGPT - Multi-Provider AI Assistant

  [![Python Version](https://img.shields.io/badge/python-3.8%2B-blue)](https://www.python.org/downloads/)
  [![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)
  [![Code style: black](https://img.shields.io/badge/code%20style-black-000000.svg)](https://github.com/psf/black)
  
  **A powerful, extensible command-line AI assistant that supports multiple AI providers**
</div>

DrGPT is designed for developers, system administrators, and power users who want intelligent assistance directly in their terminal. It supports OpenAI, Anthropic, Google, and custom APIs.

## ✨ Features

- 🤖 **Multi-Provider Support**: OpenAI (GPT-4, GPT-4o-mini), Anthropic (Claude), Google (Gemini), and custom APIs
- 💻 **Interactive Shell Commands**: Generate and execute shell commands safely with confirmation
- 🔧 **Pure Code Generation**: Generate clean code without explanations in markdown format
- 📝 **Text Editor Integration**: Use your favorite editor for complex prompt composition
- 💬 **Interactive AI Interface**: Continuous chat mode with special commands and context
- 🎨 **Rich Output**: Beautiful markdown rendering, syntax highlighting, and formatted panels
- ⚡ **Streaming Responses**: Real-time response streaming with live formatting
- ⚙️ **Highly Configurable**: Extensive configuration options with elegant status displays
- 🔐 **Secure**: Encrypted API key storage and safe command execution
- 🚀 **Fast**: Optimized for speed with animated loading indicators
- 🌐 **Cross-Platform**: Full support for Windows, macOS, and Linux

## 🚀 Quick Start

### Installation

```bash
# Install from PyPI (recommended)
pip install drgpt

# Or install from source
git clone https://github.com/DrDataYE/drgpt.git
cd drgpt
pip install -e .
```

### Updating

```bash
# Update to latest version from GitHub
drgpt --update

# Check current version
drgpt --version
```

### Basic Setup

1. **Set your API key** (choose your preferred provider):

```bash
# OpenAI (recommended for beginners)
drgpt --provider openai --api-key YOUR_OPENAI_API_KEY

# Anthropic (Claude)
drgpt --provider anthropic --api-key YOUR_ANTHROPIC_API_KEY

# Google (Gemini)
drgpt --provider google --api-key YOUR_GOOGLE_API_KEY
```

2. **Start using DrGPT**:

```bash
drgpt "Explain how Python decorators work"
```

### Environment Variables

```bash
# Windows (PowerShell)
$env:OPENAI_API_KEY = "your-api-key-here"

# Linux/macOS
export OPENAI_API_KEY="your-api-key-here"
```

## 📖 Usage Guide

### 🤖 Basic AI Queries

```bash
# General questions with beautiful markdown rendering
drgpt "What is quantum computing?"

# Get help with programming (formatted code blocks)
drgpt "How do I implement a binary search in Python?"

# System administration
drgpt "How to monitor disk usage on Linux?"
```

### 💻 Pure Code Generation

Generate clean code without explanations:

```bash
# Generate Python function (code only)
drgpt -c "Create a function to calculate fibonacci numbers"  

# Generate JavaScript code
drgpt -c "Create a React component for user authentication"  

# Generate SQL query
drgpt -c "Write a query to find top 10 customers by revenue"  
```

### 🛠️ Interactive Shell Commands

Generate and execute shell commands safely:

```bash
# Generate shell command with execution options
drgpt -s "Install Docker on Ubuntu"  

# Output shows:
# Generated Command: sudo apt-get update && sudo apt-get install docker.io
# [E]xecute, [D]escribe, [A]bort (e/d/a):
```

Options:
- **[E]xecute**: Run the command with confirmation
- **[D]escribe**: Get detailed explanation
- **[A]bort**: Cancel safely

### 📝 Text Editor Integration

Use your preferred text editor for complex prompts:

```bash
# Open editor for input composition
drgpt -e  

# Supports: VS Code, nano, vim, notepad, gedit
# Respects EDITOR and VISUAL environment variables
```

### � Terminal Integration

Setup DrGPT aliases in your terminal for seamless AI assistance:

```bash
# Setup terminal aliases (one-time setup)
drgpt -i  

# After setup, use these shortcuts directly in your terminal:
! "What is machine learning?"              # Chat with AI
s: "Install Docker on Ubuntu"              # Shell commands with execution
c: "Create a Python sorting function"      # Code generation only
e:                                          # Open editor for complex prompts
```

**How it works:**
- `!` prefix - Direct AI chat responses
- `s:` prefix - Generate shell commands with execution options
- `c:` prefix - Generate clean code without explanations  
- `e:` - Open your default editor for complex prompt composition

**Platform Support:**
- **Windows**: PowerShell profile integration
- **macOS/Linux**: Bash/Zsh profile integration
- **Fish Shell**: Native function support

**Setup is automatic** - just run `drgpt -i` once and restart your terminal!

### 🎛️ Output Options

```bash
# Disable streaming for immediate formatted output
drgpt --no-streaming "Explain machine learning concepts"

# Get plain text output (no markdown formatting)
drgpt --no-markdown "Simple explanation without formatting"

# Save response to file
drgpt -o response.md "Generate API documentation"  
```

### 🔧 Provider Management

```bash
# List all available providers and models
drgpt --list-providers

# Switch providers and models
drgpt --provider anthropic --model claude-3-sonnet

# Check current status
drgpt --status
```

### ⚙️ Advanced Usage

```bash
# Custom temperature (creativity level)
drgpt --temperature 0.8 "Write a creative story about AI"

# Limit response length
drgpt --max-tokens 500 "Summarize machine learning"

# Combine multiple options
drgpt -c --no-streaming -o functions.py "Create utility functions for file operations"  # With shortcuts

# Chat session
drgpt -ch session_1 "Let's discuss Python programming"  
```

## 🛡️ Security Features

### Safe Command Execution
- **Confirmation Required**: All shell commands require user confirmation
- **Timeout Protection**: Commands timeout after 5 minutes
- **Error Handling**: Safe execution with proper error reporting
- **Abort Option**: Easy cancellation for any command

### Secure Configuration
- **Encrypted API Keys**: Secure local storage
- **Environment Variables**: Support for env-based configuration
- **No Data Logging**: No transmission beyond chosen AI provider

## 🌐 Cross-Platform Support

| Platform | Editors | Shell | Commands |
|----------|---------|-------|----------|
| **Windows** | notepad, VS Code, Notepad++ | PowerShell, CMD | Windows-specific |
| **macOS** | VS Code, nano, vim, vi | bash, zsh | macOS-specific |
| **Linux** | VS Code, nano, vim, gedit | bash, zsh, fish | Distribution-specific |

## ⚙️ Configuration

### Configuration File

DrGPT stores configuration in `~/.config/drgpt/config`.

### Supported Providers

| Provider | Models | API Key Required |
|----------|--------|------------------|
| OpenAI | gpt-4, gpt-4o, gpt-4o-mini, gpt-3.5-turbo | Yes |
| Anthropic | claude-3-haiku, claude-3-sonnet, claude-3-opus | Yes |
| Google | gemini-pro, gemini-pro-vision | Yes |
| Custom | User-defined | Optional |

## 🔧 Development

### Setting up Development Environment

```bash
# Clone the repository
git clone https://github.com/DrDataYE/drgpt.git
cd drgpt

# Create virtual environment
python -m venv venv
source venv/bin/activate  # On Windows: venv\\Scripts\\activate

# Install in development mode
pip install -e ".[dev]"

# Run tests
python tests/test_basic.py
```

### Project Structure

```
drgpt/
├── drgpt/                  # Main package
│   ├── core/              # Core functionality
│   │   ├── config.py      # Configuration management
│   │   ├── ai_interface.py # AI provider interface
│   │   └── manager.py     # Main manager class
│   ├── cli/               # Command-line interface
│   │   └── main.py        # CLI implementation
│   └── __init__.py        # Package initialization
├── tests/                 # Test suite
├── docs/                  # Documentation
├── ADVANCED_FEATURES.md   # Detailed feature guide
├── README.md              # This file
└── setup.py              # Package setup
```


## 📷 Screenshots

![Interactive Chat Mode](./images/chat_mode.jpg)
*Example of interactive chat session in AI interface.*

![Shell Mode Execution](./images/shell_mode.jpg)
*Example of safe shell command generation and execution.*

![Code Generation Mode](./images/code_mode.jpg)
*Example of pure code generation in markdown output.*

## 🎯 Use Cases

## ⚡ CLI Shortcuts

DrGPT provides convenient shortcuts for frequently used options:

| Long Option | Short | Description |
|-------------|-------|-------------|
| `--code` | `-c` | Generate code only (no explanations) |
| `--shell` | `-s` | Generate shell commands with execution options |
| `--editor` | `-e` | Open text editor for input composition |
| `--interface` | `-i` | Setup terminal aliases (!, s:, c:, e:) |
| `--chat` | `-ch` | Start or continue a chat session |
| `--output` | `-o` | Save response to file |

**Examples with shortcuts:**
```bash
# Instead of: drgpt --code "Create a Python function"
drgpt -c "Create a Python function"

# Instead of: drgpt --shell "List all processes"
drgpt -s "List all processes"

# Instead of: drgpt --editor
drgpt -e

# Instead of: drgpt --interface
drgpt -i  # Setup terminal aliases

# Instead of: drgpt --output result.md "Explain AI"
drgpt -o result.md "Explain AI"

# Combine shortcuts:
drgpt -c -o code.py "Create a web scraper"
```

## 🎯 Use Cases

### For Developers
```bash
# Code generation workflow
drgpt -e        
drgpt -c "Implement user authentication with JWT"  
drgpt -c "Create database migration for user roles"  
```

### For System Administrators
```bash
# System management workflow
drgpt -s "Setup nginx with SSL certificate"  
drgpt -s "Configure automatic backups"      
drgpt -s "Monitor system performance"       
```

### For Learning and Exploration
```bash
# Interactive learning session
drgpt -i  
! What is Kubernetes?
! code: Show me a simple Kubernetes deployment
! shell: Install kubectl on my system
```

## 🤝 Contributing

We welcome contributions! Please see our [Contributing Guide](CONTRIBUTING.md) for details.

## 📄 License

This project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.

## 🎉 What's New in v2.7.2

- **Enhanced Code Mode**: Pure code generation without explanations
- **Interactive Shell**: Safe command execution with confirmations
- **Editor Integration**: Use any text editor for prompt composition
- **Interactive Interface**: Continuous chat with special commands
- **Cross-Platform**: Full Windows, macOS, and Linux support
- **Security Features**: Safe command execution and secure configuration

---

**DrGPT v2.7.2** - The most advanced command-line AI assistant for developers and power users! 🚀

            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/DrDataYE/drgpt",
    "name": "drgpt",
    "maintainer": null,
    "docs_url": null,
    "requires_python": ">=3.8",
    "maintainer_email": null,
    "keywords": "ai, gpt, openai, anthropic, claude, terminal, cli, assistant, chatgpt, artificial-intelligence, command-line, developer-tools, productivity",
    "author": "DrGPT Contributors",
    "author_email": "DrGPT Contributors <drdataye@gmail.com>",
    "download_url": "https://files.pythonhosted.org/packages/ed/c2/28de8728422c82297013c954f01fd192e1ca1f15768717106f5c657b1a02/drgpt-2.7.2.tar.gz",
    "platform": null,
    "description": "<div align=\"center\">\r\n  <img src=\"./images/logo.png\" alt=\"DrGPT Logo\" width=\"200\" height=\"200\">\r\n  \r\n  # DrGPT - Multi-Provider AI Assistant\r\n\r\n  [![Python Version](https://img.shields.io/badge/python-3.8%2B-blue)](https://www.python.org/downloads/)\r\n  [![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)\r\n  [![Code style: black](https://img.shields.io/badge/code%20style-black-000000.svg)](https://github.com/psf/black)\r\n  \r\n  **A powerful, extensible command-line AI assistant that supports multiple AI providers**\r\n</div>\r\n\r\nDrGPT is designed for developers, system administrators, and power users who want intelligent assistance directly in their terminal. It supports OpenAI, Anthropic, Google, and custom APIs.\r\n\r\n## \u2728 Features\r\n\r\n- \ud83e\udd16 **Multi-Provider Support**: OpenAI (GPT-4, GPT-4o-mini), Anthropic (Claude), Google (Gemini), and custom APIs\r\n- \ud83d\udcbb **Interactive Shell Commands**: Generate and execute shell commands safely with confirmation\r\n- \ud83d\udd27 **Pure Code Generation**: Generate clean code without explanations in markdown format\r\n- \ud83d\udcdd **Text Editor Integration**: Use your favorite editor for complex prompt composition\r\n- \ud83d\udcac **Interactive AI Interface**: Continuous chat mode with special commands and context\r\n- \ud83c\udfa8 **Rich Output**: Beautiful markdown rendering, syntax highlighting, and formatted panels\r\n- \u26a1 **Streaming Responses**: Real-time response streaming with live formatting\r\n- \u2699\ufe0f **Highly Configurable**: Extensive configuration options with elegant status displays\r\n- \ud83d\udd10 **Secure**: Encrypted API key storage and safe command execution\r\n- \ud83d\ude80 **Fast**: Optimized for speed with animated loading indicators\r\n- \ud83c\udf10 **Cross-Platform**: Full support for Windows, macOS, and Linux\r\n\r\n## \ud83d\ude80 Quick Start\r\n\r\n### Installation\r\n\r\n```bash\r\n# Install from PyPI (recommended)\r\npip install drgpt\r\n\r\n# Or install from source\r\ngit clone https://github.com/DrDataYE/drgpt.git\r\ncd drgpt\r\npip install -e .\r\n```\r\n\r\n### Updating\r\n\r\n```bash\r\n# Update to latest version from GitHub\r\ndrgpt --update\r\n\r\n# Check current version\r\ndrgpt --version\r\n```\r\n\r\n### Basic Setup\r\n\r\n1. **Set your API key** (choose your preferred provider):\r\n\r\n```bash\r\n# OpenAI (recommended for beginners)\r\ndrgpt --provider openai --api-key YOUR_OPENAI_API_KEY\r\n\r\n# Anthropic (Claude)\r\ndrgpt --provider anthropic --api-key YOUR_ANTHROPIC_API_KEY\r\n\r\n# Google (Gemini)\r\ndrgpt --provider google --api-key YOUR_GOOGLE_API_KEY\r\n```\r\n\r\n2. **Start using DrGPT**:\r\n\r\n```bash\r\ndrgpt \"Explain how Python decorators work\"\r\n```\r\n\r\n### Environment Variables\r\n\r\n```bash\r\n# Windows (PowerShell)\r\n$env:OPENAI_API_KEY = \"your-api-key-here\"\r\n\r\n# Linux/macOS\r\nexport OPENAI_API_KEY=\"your-api-key-here\"\r\n```\r\n\r\n## \ud83d\udcd6 Usage Guide\r\n\r\n### \ud83e\udd16 Basic AI Queries\r\n\r\n```bash\r\n# General questions with beautiful markdown rendering\r\ndrgpt \"What is quantum computing?\"\r\n\r\n# Get help with programming (formatted code blocks)\r\ndrgpt \"How do I implement a binary search in Python?\"\r\n\r\n# System administration\r\ndrgpt \"How to monitor disk usage on Linux?\"\r\n```\r\n\r\n### \ud83d\udcbb Pure Code Generation\r\n\r\nGenerate clean code without explanations:\r\n\r\n```bash\r\n# Generate Python function (code only)\r\ndrgpt -c \"Create a function to calculate fibonacci numbers\"  \r\n\r\n# Generate JavaScript code\r\ndrgpt -c \"Create a React component for user authentication\"  \r\n\r\n# Generate SQL query\r\ndrgpt -c \"Write a query to find top 10 customers by revenue\"  \r\n```\r\n\r\n### \ud83d\udee0\ufe0f Interactive Shell Commands\r\n\r\nGenerate and execute shell commands safely:\r\n\r\n```bash\r\n# Generate shell command with execution options\r\ndrgpt -s \"Install Docker on Ubuntu\"  \r\n\r\n# Output shows:\r\n# Generated Command: sudo apt-get update && sudo apt-get install docker.io\r\n# [E]xecute, [D]escribe, [A]bort (e/d/a):\r\n```\r\n\r\nOptions:\r\n- **[E]xecute**: Run the command with confirmation\r\n- **[D]escribe**: Get detailed explanation\r\n- **[A]bort**: Cancel safely\r\n\r\n### \ud83d\udcdd Text Editor Integration\r\n\r\nUse your preferred text editor for complex prompts:\r\n\r\n```bash\r\n# Open editor for input composition\r\ndrgpt -e  \r\n\r\n# Supports: VS Code, nano, vim, notepad, gedit\r\n# Respects EDITOR and VISUAL environment variables\r\n```\r\n\r\n### \ufffd Terminal Integration\r\n\r\nSetup DrGPT aliases in your terminal for seamless AI assistance:\r\n\r\n```bash\r\n# Setup terminal aliases (one-time setup)\r\ndrgpt -i  \r\n\r\n# After setup, use these shortcuts directly in your terminal:\r\n! \"What is machine learning?\"              # Chat with AI\r\ns: \"Install Docker on Ubuntu\"              # Shell commands with execution\r\nc: \"Create a Python sorting function\"      # Code generation only\r\ne:                                          # Open editor for complex prompts\r\n```\r\n\r\n**How it works:**\r\n- `!` prefix - Direct AI chat responses\r\n- `s:` prefix - Generate shell commands with execution options\r\n- `c:` prefix - Generate clean code without explanations  \r\n- `e:` - Open your default editor for complex prompt composition\r\n\r\n**Platform Support:**\r\n- **Windows**: PowerShell profile integration\r\n- **macOS/Linux**: Bash/Zsh profile integration\r\n- **Fish Shell**: Native function support\r\n\r\n**Setup is automatic** - just run `drgpt -i` once and restart your terminal!\r\n\r\n### \ud83c\udf9b\ufe0f Output Options\r\n\r\n```bash\r\n# Disable streaming for immediate formatted output\r\ndrgpt --no-streaming \"Explain machine learning concepts\"\r\n\r\n# Get plain text output (no markdown formatting)\r\ndrgpt --no-markdown \"Simple explanation without formatting\"\r\n\r\n# Save response to file\r\ndrgpt -o response.md \"Generate API documentation\"  \r\n```\r\n\r\n### \ud83d\udd27 Provider Management\r\n\r\n```bash\r\n# List all available providers and models\r\ndrgpt --list-providers\r\n\r\n# Switch providers and models\r\ndrgpt --provider anthropic --model claude-3-sonnet\r\n\r\n# Check current status\r\ndrgpt --status\r\n```\r\n\r\n### \u2699\ufe0f Advanced Usage\r\n\r\n```bash\r\n# Custom temperature (creativity level)\r\ndrgpt --temperature 0.8 \"Write a creative story about AI\"\r\n\r\n# Limit response length\r\ndrgpt --max-tokens 500 \"Summarize machine learning\"\r\n\r\n# Combine multiple options\r\ndrgpt -c --no-streaming -o functions.py \"Create utility functions for file operations\"  # With shortcuts\r\n\r\n# Chat session\r\ndrgpt -ch session_1 \"Let's discuss Python programming\"  \r\n```\r\n\r\n## \ud83d\udee1\ufe0f Security Features\r\n\r\n### Safe Command Execution\r\n- **Confirmation Required**: All shell commands require user confirmation\r\n- **Timeout Protection**: Commands timeout after 5 minutes\r\n- **Error Handling**: Safe execution with proper error reporting\r\n- **Abort Option**: Easy cancellation for any command\r\n\r\n### Secure Configuration\r\n- **Encrypted API Keys**: Secure local storage\r\n- **Environment Variables**: Support for env-based configuration\r\n- **No Data Logging**: No transmission beyond chosen AI provider\r\n\r\n## \ud83c\udf10 Cross-Platform Support\r\n\r\n| Platform | Editors | Shell | Commands |\r\n|----------|---------|-------|----------|\r\n| **Windows** | notepad, VS Code, Notepad++ | PowerShell, CMD | Windows-specific |\r\n| **macOS** | VS Code, nano, vim, vi | bash, zsh | macOS-specific |\r\n| **Linux** | VS Code, nano, vim, gedit | bash, zsh, fish | Distribution-specific |\r\n\r\n## \u2699\ufe0f Configuration\r\n\r\n### Configuration File\r\n\r\nDrGPT stores configuration in `~/.config/drgpt/config`.\r\n\r\n### Supported Providers\r\n\r\n| Provider | Models | API Key Required |\r\n|----------|--------|------------------|\r\n| OpenAI | gpt-4, gpt-4o, gpt-4o-mini, gpt-3.5-turbo | Yes |\r\n| Anthropic | claude-3-haiku, claude-3-sonnet, claude-3-opus | Yes |\r\n| Google | gemini-pro, gemini-pro-vision | Yes |\r\n| Custom | User-defined | Optional |\r\n\r\n## \ud83d\udd27 Development\r\n\r\n### Setting up Development Environment\r\n\r\n```bash\r\n# Clone the repository\r\ngit clone https://github.com/DrDataYE/drgpt.git\r\ncd drgpt\r\n\r\n# Create virtual environment\r\npython -m venv venv\r\nsource venv/bin/activate  # On Windows: venv\\\\Scripts\\\\activate\r\n\r\n# Install in development mode\r\npip install -e \".[dev]\"\r\n\r\n# Run tests\r\npython tests/test_basic.py\r\n```\r\n\r\n### Project Structure\r\n\r\n```\r\ndrgpt/\r\n\u251c\u2500\u2500 drgpt/                  # Main package\r\n\u2502   \u251c\u2500\u2500 core/              # Core functionality\r\n\u2502   \u2502   \u251c\u2500\u2500 config.py      # Configuration management\r\n\u2502   \u2502   \u251c\u2500\u2500 ai_interface.py # AI provider interface\r\n\u2502   \u2502   \u2514\u2500\u2500 manager.py     # Main manager class\r\n\u2502   \u251c\u2500\u2500 cli/               # Command-line interface\r\n\u2502   \u2502   \u2514\u2500\u2500 main.py        # CLI implementation\r\n\u2502   \u2514\u2500\u2500 __init__.py        # Package initialization\r\n\u251c\u2500\u2500 tests/                 # Test suite\r\n\u251c\u2500\u2500 docs/                  # Documentation\r\n\u251c\u2500\u2500 ADVANCED_FEATURES.md   # Detailed feature guide\r\n\u251c\u2500\u2500 README.md              # This file\r\n\u2514\u2500\u2500 setup.py              # Package setup\r\n```\r\n\r\n\r\n## \ud83d\udcf7 Screenshots\r\n\r\n![Interactive Chat Mode](./images/chat_mode.jpg)\r\n*Example of interactive chat session in AI interface.*\r\n\r\n![Shell Mode Execution](./images/shell_mode.jpg)\r\n*Example of safe shell command generation and execution.*\r\n\r\n![Code Generation Mode](./images/code_mode.jpg)\r\n*Example of pure code generation in markdown output.*\r\n\r\n## \ud83c\udfaf Use Cases\r\n\r\n## \u26a1 CLI Shortcuts\r\n\r\nDrGPT provides convenient shortcuts for frequently used options:\r\n\r\n| Long Option | Short | Description |\r\n|-------------|-------|-------------|\r\n| `--code` | `-c` | Generate code only (no explanations) |\r\n| `--shell` | `-s` | Generate shell commands with execution options |\r\n| `--editor` | `-e` | Open text editor for input composition |\r\n| `--interface` | `-i` | Setup terminal aliases (!, s:, c:, e:) |\r\n| `--chat` | `-ch` | Start or continue a chat session |\r\n| `--output` | `-o` | Save response to file |\r\n\r\n**Examples with shortcuts:**\r\n```bash\r\n# Instead of: drgpt --code \"Create a Python function\"\r\ndrgpt -c \"Create a Python function\"\r\n\r\n# Instead of: drgpt --shell \"List all processes\"\r\ndrgpt -s \"List all processes\"\r\n\r\n# Instead of: drgpt --editor\r\ndrgpt -e\r\n\r\n# Instead of: drgpt --interface\r\ndrgpt -i  # Setup terminal aliases\r\n\r\n# Instead of: drgpt --output result.md \"Explain AI\"\r\ndrgpt -o result.md \"Explain AI\"\r\n\r\n# Combine shortcuts:\r\ndrgpt -c -o code.py \"Create a web scraper\"\r\n```\r\n\r\n## \ud83c\udfaf Use Cases\r\n\r\n### For Developers\r\n```bash\r\n# Code generation workflow\r\ndrgpt -e        \r\ndrgpt -c \"Implement user authentication with JWT\"  \r\ndrgpt -c \"Create database migration for user roles\"  \r\n```\r\n\r\n### For System Administrators\r\n```bash\r\n# System management workflow\r\ndrgpt -s \"Setup nginx with SSL certificate\"  \r\ndrgpt -s \"Configure automatic backups\"      \r\ndrgpt -s \"Monitor system performance\"       \r\n```\r\n\r\n### For Learning and Exploration\r\n```bash\r\n# Interactive learning session\r\ndrgpt -i  \r\n! What is Kubernetes?\r\n! code: Show me a simple Kubernetes deployment\r\n! shell: Install kubectl on my system\r\n```\r\n\r\n## \ud83e\udd1d Contributing\r\n\r\nWe welcome contributions! Please see our [Contributing Guide](CONTRIBUTING.md) for details.\r\n\r\n## \ud83d\udcc4 License\r\n\r\nThis project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.\r\n\r\n## \ud83c\udf89 What's New in v2.7.2\r\n\r\n- **Enhanced Code Mode**: Pure code generation without explanations\r\n- **Interactive Shell**: Safe command execution with confirmations\r\n- **Editor Integration**: Use any text editor for prompt composition\r\n- **Interactive Interface**: Continuous chat with special commands\r\n- **Cross-Platform**: Full Windows, macOS, and Linux support\r\n- **Security Features**: Safe command execution and secure configuration\r\n\r\n---\r\n\r\n**DrGPT v2.7.2** - The most advanced command-line AI assistant for developers and power users! \ud83d\ude80\r\n",
    "bugtrack_url": null,
    "license": null,
    "summary": "Multi-Provider AI Assistant for developers and power users",
    "version": "2.7.2",
    "project_urls": {
        "Bug Reports": "https://github.com/DrDataYE/drgpt/issues",
        "Changelog": "https://github.com/DrDataYE/drgpt/blob/main/CHANGELOG.md",
        "Documentation": "https://github.com/DrDataYE/drgpt/blob/main/README.md",
        "Homepage": "https://github.com/DrDataYE/drgpt",
        "Source": "https://github.com/DrDataYE/drgpt"
    },
    "split_keywords": [
        "ai",
        " gpt",
        " openai",
        " anthropic",
        " claude",
        " terminal",
        " cli",
        " assistant",
        " chatgpt",
        " artificial-intelligence",
        " command-line",
        " developer-tools",
        " productivity"
    ],
    "urls": [
        {
            "comment_text": null,
            "digests": {
                "blake2b_256": "ac54fd8c24f89f4b1b1b2b7cfd606c89ab4c8a0be3360c3102fccebfb6044135",
                "md5": "a1f170e2ada52c0653ac7975a1ff4d26",
                "sha256": "53a006fa7f035e03fbca0d7f50a0bc8170306461b72a7152cf0bb073b7998a7a"
            },
            "downloads": -1,
            "filename": "drgpt-2.7.2-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "a1f170e2ada52c0653ac7975a1ff4d26",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.8",
            "size": 34261,
            "upload_time": "2025-07-11T12:31:14",
            "upload_time_iso_8601": "2025-07-11T12:31:14.576419Z",
            "url": "https://files.pythonhosted.org/packages/ac/54/fd8c24f89f4b1b1b2b7cfd606c89ab4c8a0be3360c3102fccebfb6044135/drgpt-2.7.2-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": null,
            "digests": {
                "blake2b_256": "edc228de8728422c82297013c954f01fd192e1ca1f15768717106f5c657b1a02",
                "md5": "945cff8897169230dd1d03a349a92cde",
                "sha256": "0a44b64518a6dfe3cec6566c51236d7eea9d70c30510c6bdc8742cc74bad2aad"
            },
            "downloads": -1,
            "filename": "drgpt-2.7.2.tar.gz",
            "has_sig": false,
            "md5_digest": "945cff8897169230dd1d03a349a92cde",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.8",
            "size": 189824,
            "upload_time": "2025-07-11T12:31:16",
            "upload_time_iso_8601": "2025-07-11T12:31:16.091060Z",
            "url": "https://files.pythonhosted.org/packages/ed/c2/28de8728422c82297013c954f01fd192e1ca1f15768717106f5c657b1a02/drgpt-2.7.2.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2025-07-11 12:31:16",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "DrDataYE",
    "github_project": "drgpt",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": false,
    "requirements": [
        {
            "name": "requests",
            "specs": [
                [
                    ">=",
                    "2.28.0"
                ]
            ]
        },
        {
            "name": "rich",
            "specs": [
                [
                    ">=",
                    "13.0.0"
                ]
            ]
        },
        {
            "name": "packaging",
            "specs": [
                [
                    ">=",
                    "21.0"
                ]
            ]
        },
        {
            "name": "openai",
            "specs": [
                [
                    ">=",
                    "1.0.0"
                ]
            ]
        },
        {
            "name": "anthropic",
            "specs": [
                [
                    ">=",
                    "0.25.0"
                ]
            ]
        },
        {
            "name": "pytest",
            "specs": [
                [
                    ">=",
                    "7.0.0"
                ]
            ]
        },
        {
            "name": "black",
            "specs": [
                [
                    ">=",
                    "22.0.0"
                ]
            ]
        },
        {
            "name": "flake8",
            "specs": [
                [
                    ">=",
                    "5.0.0"
                ]
            ]
        }
    ],
    "lcname": "drgpt"
}
        
Elapsed time: 0.49666s