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 (Sandboxed)

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
🧪 Sandboxed Execution Runs AI code in an isolated environment with pd, np pre-loaded
⚙️ 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.2.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.2.1
File Size Uploaded Provenance Actions
ranno-0.2.1.tar.gz 4.1 kB Without provenance Details for ranno-0.2.1.tar.gz

Built distribution (wheel)

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

Total release size: 8.5 kB

Release files / ranno-0.2.1.tar.gz

Download URL ranno-0.2.1.tar.gz
Size 4.1 kB
Tags Source
SHA-256 checksum
How to use checksums
f229d01a797512c597a7c7d545331b95819ae3bd4e0bcaf09e630da898390870
BLAKE2b-256 checksum
How to use checksums
a6c09cc57a13073222640283da7eaee69ac81dea0d4525e05ed1f5d20c33224a
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.2.1-py3-none-any.whl

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

Security for ranno 0.2.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

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