Skip to main content

🦖
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

Metadata

Release files for ranno 0.3.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for ranno 0.3.1
File Size Uploaded
ranno-0.3.1.tar.gz 3.8 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for ranno 0.3.1
File Interpreter ABI Platform
ranno-0.3.1-py3-none-any.whl Python 3 none any Details

Total release size: 8.1 kB

Release files / ranno-0.3.1.tar.gz

Download URL ranno-0.3.1.tar.gz
Size 3.8 kB
Tags Source
SHA-256 checksum
How to use checksums
3efa4cf6be40a6657a5b869383966666d21d4b43d0e3443828a5aa0147a2efa4
BLAKE2b-256 checksum
How to use checksums
fae303e837565f2238f70502f007fc222411da4f1fe16857c8d497225d9e0a76
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.13.13

Release files / ranno-0.3.1-py3-none-any.whl

Download URL ranno-0.3.1-py3-none-any.whl
Size 4.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
df6b366a42c639b237dfe0ecaef92b0d542ada53f139998f7201527e78532592
BLAKE2b-256 checksum
How to use checksums
ce5dff3544fd240535b160abd555b5d6cd26c2032f16c1c3ed0bc10f1237fb82
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.13.13

Release history Release notifications | RSS feed

0.5.0

2 release files

0.4.1

2 release files

0.4.0

2 release files

0.3.3

2 release files

0.3.2

2 release files

This release

0.3.1 This release

2 release files

0.3.0

2 release files

0.2.2

2 release files

0.2.1

2 release files

0.2.0

2 release files

0.1.3

2 release files

0.1.2

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