# AIVim - AI-Enhanced Text Editor
AIVim is an AI-enhanced version of Vim built in Python, offering intelligent code assistance and generation capabilities while maintaining the core modal editing experience. Combining the power of different AI models with familiar Vim interactions, AIVim helps developers understand, improve, and generate code more efficiently.
## Features
### Modal Editing
- **Normal Mode**: Navigate and edit text using Vim-style commands
- **Insert Mode**: Type and modify text directly
- **Visual Mode**: Select text for operations
- **Command Mode**: Enter commands with the `:` prefix
- **NLP Mode**: Edit code using natural language that's automatically translated to code
- **Enhanced NLP Mode**: Now with improved keyboard handling:
- **Enter**: Creates a new line (like standard editing)
- **Shift+Enter**: Process current file NLP sections only
- **Ctrl+Enter**: Process entire script with all tabs as context
### AI-Powered Assistance
- **Code Explanation**: Understand complex code with detailed explanations
- **Code Improvement**: Get AI-powered refactoring and optimization suggestions with diff-style presentation
- **Code Generation**: Generate new code based on natural language descriptions
- **Custom AI Queries**: Ask questions about your code and receive contextual answers
- **Code Analysis**: Get complexity analysis and bug detection for your code
- **Natural Language Programming**: Edit code using natural language that's automatically translated to code
- **Multi-Provider Support**: Choose between OpenAI, Anthropic Claude, or local LLM models
- **Model Selection UI**: Interactive dialog for selecting AI providers and specific models
- **Command-Line Control**: Use `:model` command to view and change AI models directly
### Editor Features
- **Vim-Style Commands**: Familiar commands like `dd` (delete line), `yy` (yank line), `p` (paste)
- **Multi-Tab Interface**: View and compare original and AI-improved code in tabs
- **Version History**: Automatic tracking of file changes with metadata
- **File Backups**: Automatic backup creation when applying improvements (with timestamps)
- **Loading Indicators**: Visual feedback when AI operations are in progress
- **Line Numbers**: Display line numbers for easier navigation and reference
- **Enhanced Command Feedback**: Improved error handling and status messaging
- **Performance Logging**: Better handling of model performance metrics and logs
- **Status Line**: Displays current mode, filename, cursor position, and tab information
- **Syntax Highlighting**: Basic syntax highlighting for improved code readability
- **Animated Loading**: Visual indicators during AI operations to show progress
### Web Interface
- **Browser Access**: Access AIVim from a web browser via Flask
- **Code Editor**: Edit and modify code directly in the browser
- **AI Operations**: Access all AI capabilities through the web interface
- **Results Display**: View AI-generated output in a dedicated results area
## AI Commands
AIVim provides the following AI-specific commands:
| Command | Description |
|---------|-------------|
| `:explain <start> <end>` | Get an explanation of lines `start` through `end` |
| `:improve <start> <end>` | Get improvement suggestions for lines `start` through `end` |
| `:generate <line> <description>` | Generate code at `line` based on the `description` |
| `:analyze <start> <end>` | Analyze code complexity and detect bugs in lines `start` through `end` |
| `:ai <query>` | Ask a custom question about the current file |
| `:model` | Show AI model selector popup with arrow key navigation |
| `:model <provider>` | Set the AI model provider directly (openai, claude, local) |
| `:set model=<provider>` | Legacy command to set the AI model provider |
| `:nlp` | Enter NLP mode |
| `nl` | Enter NLP mode by pressing 'n' then 'l' in normal mode |
| `#nlp <query>` | Single line AI query |
| `#nlp` | Mark lines for multi-line AI query |
| `Enter` | In NLP mode, creates a new line just like in INSERT mode |
| `Shift+Enter` | In NLP mode, processes only the current file NLP sections |
| `Ctrl+Enter` | In NLP mode, sends entire script with all tabs as context to AI |
| `:nlpmark <start> <end>` | Mark lines `start` through `end` as an NLP section |
| `:nlptranslate` | Force translation of NLP sections (now with improved feedback) |
## Tab Navigation Commands
| Command | Description |
|---------|-------------|
| `:nexttab` or `:n` | Switch to the next tab |
| `:prevtab` or `:N` | Switch to the previous tab |
| `:tabnew` | Create a new empty tab |
| `:tabnew <filename>` | Create a new tab and open the specified file |
| `:tabclose` | Close the current tab |
## Vim Commands Supported
| Command | Description |
|---------|-------------|
| `dd` | Delete current line |
| `yy` | Yank (copy) current line |
| `p` | Paste after cursor |
| `P` | Paste before cursor |
| `o` | Open new line below cursor and enter insert mode |
| `O` | Open new line above cursor and enter insert mode |
| `x` | Delete character under cursor |
| `s` | Delete character under cursor and enter insert mode |
| `u` | Undo last change |
| `Ctrl+r` | Redo |
| `i` | Enter insert mode |
| `v` | Enter visual mode |
| `nl` | Enter NLP mode (press 'n' then 'l') |
| `Ctrl+X Ctrl+N` | Enter NLP mode from insert mode |
| `gg` | Go to first line |
| `G` or `Shift+G` | Go to last line |
| `$` | Go to end of line |
| `/pattern` | Search forward for pattern |
| `?pattern` | Search backward for pattern |
| `n` | Find next search match |
| `N` | Find previous search match |
| `:%s/old/new/g` | Replace all occurrences of 'old' with 'new' |
| `:<line_number>` | Jump to line number (integer expected) |
| `:$` | Jump to last line of the file |
## Usage
### Basic Editing
- Press `i` to enter insert mode, `ESC` to return to normal mode
- Use `:w` to save, `:q` to quit, `:wq` to save and quit
- Navigation works with arrow keys (primary) or `h`, `j`, `k`, `l` keys (alternative)
- Jump to specific lines with `:1`, `:14`, `:$`, or use `G`/`Shift+G` (last line)
- Search for text with `/pattern` (forward) or `?pattern` (backward)
- Use `n` to find next match, `N` to find previous match
- Replace text with `:%s/old/new/g` syntax
### NLP Mode
- Enter NLP mode with command `:nlp` or by pressing `n` then `l` in normal mode
- In insert mode, use `Ctrl+X` then `Ctrl+N` to switch to NLP mode
- Write code using natural language comments that will be automatically translated to code
- Mark NLP sections in your code with special comments:
```
# NLP-BEGIN
# Create a function that calculates the factorial of a number
# NLP-END
```
Or with the new inline format:
```
#nlp Calculate factorial of a number recursively
```
- The editor will automatically detect comment blocks and translate them to code
- Changes are applied after you stop typing (debounce delay)
- **Enhanced keyboard shortcuts**:
- `Enter` creates a new line just like in INSERT mode
- `Shift+Enter` processes only the current file's NLP sections
- `Ctrl+Enter` processes the entire script with all tabs as context
- Use `:nlpmark <start> <end>` to manually mark a section for translation
- Force immediate translation with `:nlptranslate` command (improved with visual feedback)
- All open files in tabs are considered context for better code generation
### AI Features
1. Navigate to the code you want to work with
2. In normal mode, type `:explain 10 20` to explain lines 10-20
3. Use `:improve 10 20` to get improvement suggestions:
- A new tab opens showing a colorized diff view of proposed changes
- Review the modifications in the diff view
- To apply the changes, switch back to the original tab and confirm
- A backup of the original file is automatically created with a timestamp
4. Generate code with `:generate 5 "Create a function that calculates factorial"` - It will be inserted at the line 5 of your current file.
5. Analyze code with `:analyze 10 20` to identify complexity issues and potential bugs
6. Ask questions with `:ai query How does this algorithm work?`
7. Switch between AI providers:
- Use `:model` to open an interactive model selector with arrow key navigation
- Use `:model openai` to directly switch to OpenAI
- Use `:model claude` to directly switch to Anthropic Claude
- Use `:model local` to directly switch to local LLM
- Legacy: `:set model=openai`, `:set model=claude`, or `:set model=local`
## Installation from GitHub/Source
To install AIVim:
```bash
# Install from source
git clone https://github.com/danimoya/aivim-editor.git
cd AIVim-Editor
pip install -r requirements.txt
# Run AIVim
python -m aivim.run_editor <file>
```
To make an alias for current session or install in .bash_profile, try something like:
```bash
alias aivim="python -m aivim.run_editor"
```
#### System-wide Installation
To make AIVim available as a system-wide command (`aivim`), follow these steps:
```bash
# For temporary use in current session
alias aivim='python -m aivim.run_editor'
# For permanent installation, add to your shell configuration
echo 'alias aivim="python -m aivim.run_editor"' >> ~/.bashrc
# Or for Zsh
echo 'alias aivim="python -m aivim.run_editor"' >> ~/.zshrc
# Apply changes without restarting the terminal
source ~/.bashrc # or source ~/.zshrc
```
For a more robust system-wide installation, create a symbolic link:
```bash
# Create a symbolic link in a directory that's in your PATH
sudo ln -s "$(which python) $(pwd)/run_editor.py" /usr/local/bin/aivim
sudo chmod +x /usr/local/bin/aivim
# Now you can run AIVim from anywhere
aivim myfile.py
```
### VENV Installation
To isolate "aivim" from system Python libraries, do the following:
```bash
python -m venv aivim
source aivim/bin/activate
pip install aivim
pip install anthropic llama-cpp-python
```
### Configuration File
Instead of setting environment variables, you can create a configuration file for storing API keys. AIVim will automatically check the following locations for a config file:
1. `~/.aivim/config`
2. `~/.config/aivim/config`
3. `~/.aivimrc`
4. `./aivim.config` (in the current directory)
Create a configuration file with the following format:
```ini
# AIVim Configuration File
[General]
# Choose your default AI model provider: openai, claude, or local
default_model = openai
[OpenAI]
# Your OpenAI API key (get it from https://platform.openai.com/account/api-keys)
api_key = your_openai_api_key_here
[Anthropic]
# Your Anthropic Claude API key (get it from https://console.anthropic.com/)
api_key = your_anthropic_api_key_here
[LocalLLM]
# Path to your local model file (generally a .gguf file)
model_path = /path/to/your/local/model.gguf
```
To create this configuration file:
```bash
# Create a config directory
mkdir -p ~/.config/aivim
# Create and edit the configuration file
nano ~/.config/aivim/config
# Set proper permissions to protect your API keys
chmod 600 ~/.config/aivim/config
```
When AIVim starts, it will display information about the config file it loaded and the AI model being used in the status bar.
## Setting Up Local LLM Support
AIVim supports using local LLM models via llama-cpp-python:
```bash
# Install the local LLM package
pip install llama-cpp-python
# Download a small model using the provided script
python download_local_model.py --model tinyllama
# Or list available models
python download_local_model.py --list
# Once downloaded, you can use it by setting the model:
# Inside AIVim: :model local (or :model to show the selector)
```
The download_local_model.py script supports several small models suitable for local execution:
| Model | Size | Description |
|-------|------|-------------|
| tinyllama | ~1GB | Small but capable model for code assistance |
| phi2 | ~1.7GB | Microsoft compact yet powerful model |
| stablelm | ~1.5GB | Stability AI efficient language model |
## Web Interface
AIVim also includes a web interface for easy access:
```bash
# Start the web server
python main.py
# Access AIVim in your browser at:
# http://0.0.0.0:5000
```
The web interface provides access to all the AI-powered features through a more traditional web IDE experience. It communicates with the same AI services backend as the terminal-based editor.
## Embedding AIVim
AIVim can be embedded into other Python applications:
```python
from aivim import embed_editor
# Open a file in the embedded editor
embed_editor("path/to/file.py")
# Or create a new file
embed_editor()
```
## Requirements
- Python 3.8 or higher
- OpenAI API key (set as OPENAI_API_KEY environment variable)
- Optional: Anthropic API key (set as ANTHROPIC_API_KEY environment variable)
- Optional: Local LLM model (set model path as LLAMA_MODEL_PATH environment variable)
- curses library (included with Python on most systems)
## License
This project is licensed under the MIT License - see the LICENSE file for details.
Raw data
{
"_id": null,
"home_page": null,
"name": "aivim",
"maintainer": null,
"docs_url": null,
"requires_python": ">=3.8",
"maintainer_email": null,
"keywords": "vim, editor, ai, code-generation, code-improvement, nlp",
"author": null,
"author_email": "Daniel Moya <daniel.moya@dimensigon.com>",
"download_url": "https://files.pythonhosted.org/packages/58/93/3801804cebd67d0949ddb1b23861cb8f27839512c34e5b7182f0ab0755c9/aivim-0.3.3.4.tar.gz",
"platform": null,
"description": "\n# AIVim - AI-Enhanced Text Editor\n\nAIVim is an AI-enhanced version of Vim built in Python, offering intelligent code assistance and generation capabilities while maintaining the core modal editing experience. Combining the power of different AI models with familiar Vim interactions, AIVim helps developers understand, improve, and generate code more efficiently.\n\n## Features\n\n### Modal Editing\n- **Normal Mode**: Navigate and edit text using Vim-style commands\n- **Insert Mode**: Type and modify text directly\n- **Visual Mode**: Select text for operations \n- **Command Mode**: Enter commands with the `:` prefix\n- **NLP Mode**: Edit code using natural language that's automatically translated to code\n - **Enhanced NLP Mode**: Now with improved keyboard handling:\n - **Enter**: Creates a new line (like standard editing)\n - **Shift+Enter**: Process current file NLP sections only\n - **Ctrl+Enter**: Process entire script with all tabs as context\n\n### AI-Powered Assistance\n- **Code Explanation**: Understand complex code with detailed explanations\n- **Code Improvement**: Get AI-powered refactoring and optimization suggestions with diff-style presentation\n- **Code Generation**: Generate new code based on natural language descriptions\n- **Custom AI Queries**: Ask questions about your code and receive contextual answers\n- **Code Analysis**: Get complexity analysis and bug detection for your code\n- **Natural Language Programming**: Edit code using natural language that's automatically translated to code\n- **Multi-Provider Support**: Choose between OpenAI, Anthropic Claude, or local LLM models\n - **Model Selection UI**: Interactive dialog for selecting AI providers and specific models\n - **Command-Line Control**: Use `:model` command to view and change AI models directly\n\n### Editor Features\n- **Vim-Style Commands**: Familiar commands like `dd` (delete line), `yy` (yank line), `p` (paste)\n- **Multi-Tab Interface**: View and compare original and AI-improved code in tabs\n- **Version History**: Automatic tracking of file changes with metadata\n- **File Backups**: Automatic backup creation when applying improvements (with timestamps)\n- **Loading Indicators**: Visual feedback when AI operations are in progress\n- **Line Numbers**: Display line numbers for easier navigation and reference\n- **Enhanced Command Feedback**: Improved error handling and status messaging\n- **Performance Logging**: Better handling of model performance metrics and logs\n- **Status Line**: Displays current mode, filename, cursor position, and tab information\n- **Syntax Highlighting**: Basic syntax highlighting for improved code readability\n- **Animated Loading**: Visual indicators during AI operations to show progress\n\n### Web Interface\n- **Browser Access**: Access AIVim from a web browser via Flask\n- **Code Editor**: Edit and modify code directly in the browser\n- **AI Operations**: Access all AI capabilities through the web interface\n- **Results Display**: View AI-generated output in a dedicated results area\n\n## AI Commands\n\nAIVim provides the following AI-specific commands:\n\n| Command | Description |\n|---------|-------------|\n| `:explain <start> <end>` | Get an explanation of lines `start` through `end` |\n| `:improve <start> <end>` | Get improvement suggestions for lines `start` through `end` |\n| `:generate <line> <description>` | Generate code at `line` based on the `description` |\n| `:analyze <start> <end>` | Analyze code complexity and detect bugs in lines `start` through `end` |\n| `:ai <query>` | Ask a custom question about the current file |\n| `:model` | Show AI model selector popup with arrow key navigation |\n| `:model <provider>` | Set the AI model provider directly (openai, claude, local) |\n| `:set model=<provider>` | Legacy command to set the AI model provider |\n| `:nlp` | Enter NLP mode |\n| `nl` | Enter NLP mode by pressing 'n' then 'l' in normal mode |\n| `#nlp <query>` | Single line AI query |\n| `#nlp` | Mark lines for multi-line AI query |\n| `Enter` | In NLP mode, creates a new line just like in INSERT mode |\n| `Shift+Enter` | In NLP mode, processes only the current file NLP sections |\n| `Ctrl+Enter` | In NLP mode, sends entire script with all tabs as context to AI |\n| `:nlpmark <start> <end>` | Mark lines `start` through `end` as an NLP section |\n| `:nlptranslate` | Force translation of NLP sections (now with improved feedback) |\n\n## Tab Navigation Commands\n\n| Command | Description |\n|---------|-------------|\n| `:nexttab` or `:n` | Switch to the next tab |\n| `:prevtab` or `:N` | Switch to the previous tab |\n| `:tabnew` | Create a new empty tab |\n| `:tabnew <filename>` | Create a new tab and open the specified file |\n| `:tabclose` | Close the current tab |\n\n## Vim Commands Supported\n\n| Command | Description |\n|---------|-------------|\n| `dd` | Delete current line |\n| `yy` | Yank (copy) current line |\n| `p` | Paste after cursor |\n| `P` | Paste before cursor |\n| `o` | Open new line below cursor and enter insert mode |\n| `O` | Open new line above cursor and enter insert mode |\n| `x` | Delete character under cursor |\n| `s` | Delete character under cursor and enter insert mode |\n| `u` | Undo last change |\n| `Ctrl+r` | Redo |\n| `i` | Enter insert mode |\n| `v` | Enter visual mode |\n| `nl` | Enter NLP mode (press 'n' then 'l') |\n| `Ctrl+X Ctrl+N` | Enter NLP mode from insert mode |\n| `gg` | Go to first line |\n| `G` or `Shift+G` | Go to last line |\n| `$` | Go to end of line |\n| `/pattern` | Search forward for pattern |\n| `?pattern` | Search backward for pattern |\n| `n` | Find next search match |\n| `N` | Find previous search match |\n| `:%s/old/new/g` | Replace all occurrences of 'old' with 'new' |\n| `:<line_number>` | Jump to line number (integer expected) |\n| `:$` | Jump to last line of the file |\n\n## Usage\n\n### Basic Editing\n- Press `i` to enter insert mode, `ESC` to return to normal mode\n- Use `:w` to save, `:q` to quit, `:wq` to save and quit\n- Navigation works with arrow keys (primary) or `h`, `j`, `k`, `l` keys (alternative)\n- Jump to specific lines with `:1`, `:14`, `:$`, or use `G`/`Shift+G` (last line)\n- Search for text with `/pattern` (forward) or `?pattern` (backward)\n- Use `n` to find next match, `N` to find previous match\n- Replace text with `:%s/old/new/g` syntax\n\n### NLP Mode\n- Enter NLP mode with command `:nlp` or by pressing `n` then `l` in normal mode\n- In insert mode, use `Ctrl+X` then `Ctrl+N` to switch to NLP mode\n- Write code using natural language comments that will be automatically translated to code\n- Mark NLP sections in your code with special comments:\n ```\n # NLP-BEGIN\n # Create a function that calculates the factorial of a number\n # NLP-END\n ```\n Or with the new inline format:\n ```\n #nlp Calculate factorial of a number recursively\n ```\n- The editor will automatically detect comment blocks and translate them to code\n- Changes are applied after you stop typing (debounce delay)\n- **Enhanced keyboard shortcuts**:\n - `Enter` creates a new line just like in INSERT mode\n - `Shift+Enter` processes only the current file's NLP sections\n - `Ctrl+Enter` processes the entire script with all tabs as context\n- Use `:nlpmark <start> <end>` to manually mark a section for translation\n- Force immediate translation with `:nlptranslate` command (improved with visual feedback)\n- All open files in tabs are considered context for better code generation\n\n### AI Features\n1. Navigate to the code you want to work with\n2. In normal mode, type `:explain 10 20` to explain lines 10-20\n3. Use `:improve 10 20` to get improvement suggestions:\n - A new tab opens showing a colorized diff view of proposed changes\n - Review the modifications in the diff view\n - To apply the changes, switch back to the original tab and confirm\n - A backup of the original file is automatically created with a timestamp\n4. Generate code with `:generate 5 \"Create a function that calculates factorial\"` - It will be inserted at the line 5 of your current file.\n5. Analyze code with `:analyze 10 20` to identify complexity issues and potential bugs\n6. Ask questions with `:ai query How does this algorithm work?`\n7. Switch between AI providers:\n - Use `:model` to open an interactive model selector with arrow key navigation\n - Use `:model openai` to directly switch to OpenAI\n - Use `:model claude` to directly switch to Anthropic Claude\n - Use `:model local` to directly switch to local LLM\n - Legacy: `:set model=openai`, `:set model=claude`, or `:set model=local`\n\n## Installation from GitHub/Source\n\nTo install AIVim:\n\n```bash\n# Install from source\ngit clone https://github.com/danimoya/aivim-editor.git\ncd AIVim-Editor\npip install -r requirements.txt\n\n# Run AIVim\npython -m aivim.run_editor <file>\n```\n\nTo make an alias for current session or install in .bash_profile, try something like:\n```bash\nalias aivim=\"python -m aivim.run_editor\"\n```\n\n#### System-wide Installation\n\nTo make AIVim available as a system-wide command (`aivim`), follow these steps:\n\n```bash\n# For temporary use in current session\nalias aivim='python -m aivim.run_editor'\n\n# For permanent installation, add to your shell configuration\necho 'alias aivim=\"python -m aivim.run_editor\"' >> ~/.bashrc\n# Or for Zsh\necho 'alias aivim=\"python -m aivim.run_editor\"' >> ~/.zshrc\n\n# Apply changes without restarting the terminal\nsource ~/.bashrc # or source ~/.zshrc\n```\n\nFor a more robust system-wide installation, create a symbolic link:\n\n```bash\n# Create a symbolic link in a directory that's in your PATH\nsudo ln -s \"$(which python) $(pwd)/run_editor.py\" /usr/local/bin/aivim\nsudo chmod +x /usr/local/bin/aivim\n\n# Now you can run AIVim from anywhere\naivim myfile.py\n```\n\n### VENV Installation\n\nTo isolate \"aivim\" from system Python libraries, do the following:\n\n```bash\npython -m venv aivim\nsource aivim/bin/activate\npip install aivim\npip install anthropic llama-cpp-python\n```\n\n### Configuration File\n\nInstead of setting environment variables, you can create a configuration file for storing API keys. AIVim will automatically check the following locations for a config file:\n\n1. `~/.aivim/config`\n2. `~/.config/aivim/config`\n3. `~/.aivimrc`\n4. `./aivim.config` (in the current directory)\n\nCreate a configuration file with the following format:\n\n```ini\n# AIVim Configuration File\n\n[General]\n# Choose your default AI model provider: openai, claude, or local\ndefault_model = openai\n\n[OpenAI]\n# Your OpenAI API key (get it from https://platform.openai.com/account/api-keys)\napi_key = your_openai_api_key_here\n\n[Anthropic]\n# Your Anthropic Claude API key (get it from https://console.anthropic.com/)\napi_key = your_anthropic_api_key_here\n\n[LocalLLM]\n# Path to your local model file (generally a .gguf file)\nmodel_path = /path/to/your/local/model.gguf\n```\n\nTo create this configuration file:\n\n```bash\n# Create a config directory\nmkdir -p ~/.config/aivim\n\n# Create and edit the configuration file\nnano ~/.config/aivim/config\n\n# Set proper permissions to protect your API keys\nchmod 600 ~/.config/aivim/config\n```\n\nWhen AIVim starts, it will display information about the config file it loaded and the AI model being used in the status bar.\n\n## Setting Up Local LLM Support\n\nAIVim supports using local LLM models via llama-cpp-python:\n\n```bash\n# Install the local LLM package\npip install llama-cpp-python\n\n# Download a small model using the provided script\npython download_local_model.py --model tinyllama\n\n# Or list available models\npython download_local_model.py --list\n\n# Once downloaded, you can use it by setting the model:\n# Inside AIVim: :model local (or :model to show the selector)\n```\n\nThe download_local_model.py script supports several small models suitable for local execution:\n\n| Model | Size | Description |\n|-------|------|-------------|\n| tinyllama | ~1GB | Small but capable model for code assistance |\n| phi2 | ~1.7GB | Microsoft compact yet powerful model |\n| stablelm | ~1.5GB | Stability AI efficient language model |\n\n## Web Interface\n\nAIVim also includes a web interface for easy access:\n\n```bash\n# Start the web server\npython main.py\n\n# Access AIVim in your browser at:\n# http://0.0.0.0:5000\n```\n\nThe web interface provides access to all the AI-powered features through a more traditional web IDE experience. It communicates with the same AI services backend as the terminal-based editor.\n\n## Embedding AIVim\n\nAIVim can be embedded into other Python applications:\n\n```python\nfrom aivim import embed_editor\n\n# Open a file in the embedded editor\nembed_editor(\"path/to/file.py\")\n\n# Or create a new file\nembed_editor()\n```\n\n## Requirements\n\n- Python 3.8 or higher\n- OpenAI API key (set as OPENAI_API_KEY environment variable)\n- Optional: Anthropic API key (set as ANTHROPIC_API_KEY environment variable)\n- Optional: Local LLM model (set model path as LLAMA_MODEL_PATH environment variable)\n- curses library (included with Python on most systems)\n\n## License\n\nThis project is licensed under the MIT License - see the LICENSE file for details.\n\n",
"bugtrack_url": null,
"license": "MIT",
"summary": "AI-enhanced Vim-like text editor with code assistance and generation",
"version": "0.3.3.4",
"project_urls": {
"Bug Tracker": "https://github.com/danimoya/AIVim-Editor/issues",
"Homepage": "https://github.com/danimoya/AIVim-Editor"
},
"split_keywords": [
"vim",
" editor",
" ai",
" code-generation",
" code-improvement",
" nlp"
],
"urls": [
{
"comment_text": null,
"digests": {
"blake2b_256": "d806798bb98e39dc61ac7a23e06e31ebc1ab727b56eaca4d9ea9013af428e4f9",
"md5": "05ee694ed2d72763029a2ee9fc29debd",
"sha256": "85190350578313b4039f2f093dd84e2949e04045d40995f6eb00522cedcc1525"
},
"downloads": -1,
"filename": "aivim-0.3.3.4-py3-none-any.whl",
"has_sig": false,
"md5_digest": "05ee694ed2d72763029a2ee9fc29debd",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.8",
"size": 84468,
"upload_time": "2025-07-20T18:36:57",
"upload_time_iso_8601": "2025-07-20T18:36:57.717061Z",
"url": "https://files.pythonhosted.org/packages/d8/06/798bb98e39dc61ac7a23e06e31ebc1ab727b56eaca4d9ea9013af428e4f9/aivim-0.3.3.4-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": null,
"digests": {
"blake2b_256": "58933801804cebd67d0949ddb1b23861cb8f27839512c34e5b7182f0ab0755c9",
"md5": "2797134953d6fd237eaea101ce269614",
"sha256": "97afefb7a5241b9f211512236c5554bd512d20537197284c7977f7e972e5bbab"
},
"downloads": -1,
"filename": "aivim-0.3.3.4.tar.gz",
"has_sig": false,
"md5_digest": "2797134953d6fd237eaea101ce269614",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.8",
"size": 110119,
"upload_time": "2025-07-20T18:36:58",
"upload_time_iso_8601": "2025-07-20T18:36:58.908155Z",
"url": "https://files.pythonhosted.org/packages/58/93/3801804cebd67d0949ddb1b23861cb8f27839512c34e5b7182f0ab0755c9/aivim-0.3.3.4.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2025-07-20 18:36:58",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "danimoya",
"github_project": "AIVim-Editor",
"github_not_found": true,
"lcname": "aivim"
}