🤖 Iva - AI Code Assistant
Iva is a powerful AI-powered code assistant that helps developers generate code and project structures using natural language descriptions.
✨ Features
- 🚀 Generate complete project structures from natural language
- 💻 Interactive CLI with rich formatting
- 🔧 Smart code generation and bug fixing
- 📁 Project scaffolding for various frameworks
- 🌐 Cross-platform support
- 🤖 Support for multiple LLM models
📦 Installation
From PyPI (Recommended)
pip install iva-generator
From Source
- Clone the repository:
git clone https://github.com/ItzCyzmiX/Iva.git
cd Iva
- Install in development mode:
pip install -e .
🚀 Quick Start
Using the CLI
# If installed from PyPI
iva
# If installed from source
python -m iva
Using in Your Code
from iva_generator import AIFileGenerator
# Initialize the generator
generator = AIFileGenerator()
# Generate code
generator.run("Create a Flask API with authentication", output_dir="my_project")
💡 Examples
Creating a Basic API
$ iva
What would you like me to do? Create a FastAPI backend with user authentication
Output directory: ./my_api
✅ Files generated successfully!
Generating a React Component
$ iva
What would you like me to do? Create a React todo list component with TypeScript
Output directory: ./components
✅ Files generated successfully!
🔑 Environment Variables
- Create a
.envfile in your working directory (where you'll run theivacommand):
GROQ_API_KEY=your-api-key-here
- Or set environment variables in your system:
Windows (PowerShell):
$env:GROQ_API_KEY="your-api-key-here"
Windows (Command Prompt):
set GROQ_API_KEY=your-api-key-here
Linux/MacOS:
export GROQ_API_KEY="your-api-key-here"
- Or set them in your Python code:
import os
os.environ["GROQ_API_KEY"] = "your-api-key-here"
from iva_generator import AIFileGenerator
generator = AIFileGenerator()
Note: Get your Groq API key from Groq's website. Never commit your
.envfile or share your API key.
Tip: For permanent setup on Windows, you can set the environment variable through:
- Search for "Environment Variables" in Windows
- Click "Environment Variables..."
- Under "User variables" click "New"
- Variable name:
GROQ_API_KEY- Variable value:
your-api-key-here
📝 License
This project is licensed under the MIT License - see the LICENSE file for details.
🙏 Acknowledgments
📫 Contact
ItzCyzmiX - @ItzCyzmiX - itzmedigamingx@gmail.com
Project Link: https://github.com/ItzCyzmiX/Iva
Release files for iva-generator 0.1.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| iva_generator-0.1.2.tar.gz | 8.5 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| iva_generator-0.1.2-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 18.0 kB
Release files / iva_generator-0.1.2.tar.gz
| Download URL | iva_generator-0.1.2.tar.gz |
|---|---|
| Size | 8.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
d952ee2840c1ea24ccda1f4147d9cceecaea0e8ed00e3ad914e608ecfdf2793f
|
|
BLAKE2b-256 checksum How to use checksums |
83647050afe3d8dfe52a9ca7bfe7dbd099bd4fb95977e6bb19dfbb876cd5095f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.13.1
|
Release files / iva_generator-0.1.2-py3-none-any.whl
| Download URL | iva_generator-0.1.2-py3-none-any.whl |
|---|---|
| Size | 9.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
96cb46dc195718aeb700047bc1e6b8806e441cb72e46e5f050332cf9a6c11b7b
|
|
BLAKE2b-256 checksum How to use checksums |
4fb111499a501256bf33633dc372f093211f5415845c2ca613b75c4d6b61d921
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.13.1
|