Skip to main content

🤖 Iva - AI Code Assistant

PyPI version Python 3.8+ License: MIT

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

  1. Clone the repository:
git clone https://github.com/ItzCyzmiX/Iva.git
cd Iva
  1. 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

  1. Create a .env file in your working directory (where you'll run the iva command):
GROQ_API_KEY=your-api-key-here
  1. 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"
  1. 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 .env file or share your API key.

Tip: For permanent setup on Windows, you can set the environment variable through:

  1. Search for "Environment Variables" in Windows
  2. Click "Environment Variables..."
  3. Under "User variables" click "New"
  4. Variable name: GROQ_API_KEY
  5. 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)

Source distribution for iva-generator 0.1.2
File Size Uploaded
iva_generator-0.1.2.tar.gz 8.5 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for iva-generator 0.1.2
File Interpreter ABI Platform
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

Release history Release notifications | RSS feed

This release

0.1.2 This release

2 release files

0.1.1

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page