Skip to main content

Instant code generation & execution from prompts.

Project description

🦖
Ranno

Ranno is a minimalist AI-Bridge that turns plain English into executable Python - instantly. Just describe what you want, and Ranno generates, understands your data, and runs the code for you.

🔗 PyPI Package  |  🆔 pip install ranno or uv add ranno


🐍 SDK

Installation

pip install ranno
# or
uv add ranno

Generate Code (No Execution)

from ranno import gn

# Without Data
gn("Create a list of 10 dinosaurs and print it")

# With Data
gn("Find the average price", data="data.csv")

Execute Code Instantly (Auto-Backup)

from ranno import ex

# Without Data
ex("Print hello world 5 times")

# With Data
ex("Plot the correlation between price and category", data="data.csv")

Custom Configuration (API & Model)

from ranno import cf, gn, ex

# Set custom credentials and model
my_config = cf(api_key="your_api_key", model="model_name")

# Run with custom config
gn("Explain quantum physics", config=my_config)

# Excute with custom config
ex("Plot the correlation between price and category", data="data.csv", config=my_config)

Features

FEATURE DESCRIPTION
🧠 AI Code Generation Turns plain English prompts into full, runnable Python scripts
🔍 AI File Intelligence Detects file types (CSV, Excel, JSON) accurately, even without extensions
📊 Auto Schema Extraction Reads columns and first 5 rows to build perfect AI context automatically
🧪 Instant Execution Runs AI-generated Python code directly with automated error handling
⚙️ Custom Configuration Override default API keys and Models per request using cf()
🛡️ Shadow Copy Integrity Creates a hidden copy. snapshot before execution; restores on failure
🦎 Ultra Minimalism Three functions (gn, ex, cf) is all you need - zero boilerplate

🏗️ System Architecture

# COMPONENT DESCRIPTION STACK
1️⃣ Ranno SDK The client-side library handling data prep and execution Python, Pandas, Magika
2️⃣ AI Bridge API Serverless backend for secure code generation FastAPI, Vercel, Gemini 3.1

Made with 🦖 by Saptarshi Roy

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

ranno-0.3.0.tar.gz (3.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

ranno-0.3.0-py3-none-any.whl (4.2 kB view details)

Uploaded Python 3

File details

Details for the file ranno-0.3.0.tar.gz.

File metadata

  • Download URL: ranno-0.3.0.tar.gz
  • Upload date:
  • Size: 3.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.13

File hashes

Hashes for ranno-0.3.0.tar.gz
Algorithm Hash digest
SHA256 f44055c6fa66ba9df99c8aafd6d922d15ddbefb6ce8cba0f05480b4b06cc9c68
MD5 03304422211bd26bb19179dc4a730b18
BLAKE2b-256 ac35b2e02f191332d50d19c75172848bcf59a0a5e43d605dc0f9b734c242c4b5

See more details on using hashes here.

File details

Details for the file ranno-0.3.0-py3-none-any.whl.

File metadata

  • Download URL: ranno-0.3.0-py3-none-any.whl
  • Upload date:
  • Size: 4.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.13

File hashes

Hashes for ranno-0.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 5ad1e5026812c704787d587e3f9936527bc855ada7d515d8e9aa285ebddf4066
MD5 f3ebe3f3dcfae8642a1f5617d6b27f9f
BLAKE2b-256 00c97010ab83b4438273385592e1f208c90a5b2aeb7d85cc0b6b5a41d832582e

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page