keeya.py - AI-Powered Python Code Generation
Project description
🚀 keeya.py - AI-Powered Python Code Generation
Transform natural language into executable Python code for data analysis, cleaning, and machine learning.
✨ Features
- 🤖 Natural Language to Code: Generate Python code from plain English
- 🧹 Smart Data Cleaning: Automatically handle missing values, duplicates, and data types
- 📊 Instant Analysis: Get comprehensive statistics and insights
- 📈 Auto Visualizations: Generate relevant plots based on your data
- 🎯 ML Pipeline Generation: Build complete machine learning workflows
- 🔒 Safe & Secure: Review code before execution, powered by Google Gemini
🚀 Quick Start
Installation
pip install keeya
Setup (One-time)
import keeya
keeya.setup() # Enter your free Gemini API key
Basic Usage
import pandas as pd
import keeya
# Load your data
df = pd.read_csv('data.csv')
# Generate code for any task
code = keeya.generate("create a function to calculate fibonacci numbers")
# Clean your data
cleaned_code = keeya.clean(df)
# Analyze your data
analysis = keeya.analyze(df)
# Create visualizations
viz_code = keeya.visualize(df)
# Build ML pipeline
ml_code = keeya.train(df, target='target_column')
🎯 Why Keeya?
- Simple: One consistent API across all functions
- Smart: Context-aware code generation based on your actual data
- Safe: Always returns code for you to review and execute
- Free: Powered by Google Gemini's free tier
- Fast: Get results in seconds, not hours
🔑 Getting Your API Key
- Visit Google AI Studio
- Click "Create API Key"
- Copy the key and paste it when running
keeya.setup()
📖 Documentation
Run keeya.help() for detailed usage information and examples.
🤝 Contributing
Contributions are welcome! Please feel free to submit a Pull Request.
📄 License
This project is licensed under the MIT License - see the LICENSE file for details.
⚠️ Disclaimer
Keeya generates code using AI. Always review generated code before executing in production environments.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file keeya-1.0.2.tar.gz.
File metadata
- Download URL: keeya-1.0.2.tar.gz
- Upload date:
- Size: 11.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
48ab16ea0b3a486bdd1550f6f0ffeaba402c98f62d7b2570ad84dc79fc461f35
|
|
| MD5 |
8fe28deb212ddf41eccf16247d6dd915
|
|
| BLAKE2b-256 |
75cb2125211f7c27403733607373542c0cd33230920cf195b607345fe08949fe
|
File details
Details for the file keeya-1.0.2-py3-none-any.whl.
File metadata
- Download URL: keeya-1.0.2-py3-none-any.whl
- Upload date:
- Size: 10.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
bfda2ba9923cbb91a3e6930304be95ec43be34173723063f95d032729cb80493
|
|
| MD5 |
6a97ef749bd998ae68791b283b1faaf8
|
|
| BLAKE2b-256 |
2941a99a8848e899418856a286fd5addd01d7b27aa04d8cbf51a9667e7ededd4
|