Skip to main content

✨ Darsh ✨

A magically simple, yet extremely powerful Python data application engine.

PyPI - Version License Python Versions


💡 The Philosophy

Extremely simple on the surface. Extremely powerful underneath.

Darsh is designed to make Data Analytics feel less like writing boilerplate code and more like creating a premium modern product.

You should not feel like you are using FastAPI, Pandas, SVG, JavaScript, or CSS. Darsh absorbs all that complexity so you can focus entirely on your data and insights.

Three lines of code → Data → Analysis → Beautiful Interactive Web Application.


🚀 Quickstart

1. Install Darsh

pip install darsh

2. Build your first Dashboard

You don't need to manually design layouts, configure charts, or write HTML. Just load your data and let Darsh do the magic.

Create a file named app.py:

import darsh as da
import pandas as pd

# 1. Load your data (CSV, Excel, or DataFrame)
df = pd.read_csv("https://raw.githubusercontent.com/datasciencedojo/datasets/master/titanic.csv")

# 2. Let Darsh intelligently clean it and wrap it
data = da.data(df).clean()

# 3. Generate a magical interactive dashboard
da.initialize(title="Titanic Analytics")
da.dashboard(data)

# 4. Run the server!
if __name__ == "__main__":
    da.get_app().run(port=8501)

3. Run it

python app.py

Visit http://localhost:8501 in your browser to see your premium, interactive dashboard!


✨ Features

  • 🧠 Intelligent Dashboards: Call da.dashboard(data) and Darsh will automatically infer data types and generate KPI cards, Line Charts for dates, and Bar Charts for categories.
  • Instant Cross-Filtering: Click on any chart element (like a bar in a Bar Chart) and watch the entire dashboard instantly filter and recalculate in the browser. No server roundtrips required!
  • 🎨 Buttery Smooth Animations: SVG elements fluidly morph and transition when data is filtered.
  • 🛡️ Zero Frontend Knowledge Required: Darsh compiles your Python code into a secure JSON Abstract Syntax Tree (AST), which is natively rendered by our custom lightweight JavaScript engine.
  • 🧹 Smart Data Cleaning: data.clean() automatically handles duplicates, missing values, and infers datetime objects so you don't have to wrestle with Pandas.

👨‍💻 Creator

Darsh was created and designed by Satyam Rana, a Full-Stack Engineer, AI Practitioner, and Educator passionate about the intersections of technology, science, and meaningful innovation.


📄 License

This project is licensed under the MIT License.

Download files

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

Source Distribution

darsh-0.2.2.tar.gz (9.4 kB view details)

Uploaded Source

Built Distribution

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

darsh-0.2.2-py3-none-any.whl (9.8 kB view details)

Uploaded Python 3

File details

Details for the file darsh-0.2.2.tar.gz.

File metadata

  • Download URL: darsh-0.2.2.tar.gz
  • Upload date:
  • Size: 9.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/7.0.0 CPython/3.14.6

File hashes

Hashes for darsh-0.2.2.tar.gz
Algorithm Hash digest
SHA256 5bb94ef6ceb12dd9f17ebb79f1ef3d6085d121c7d047ee2fae4fb51d65dee540
MD5 995217cbf50e72836f34ca6c80cab526
BLAKE2b-256 0e6383343609418ecb99e3d5b075e9d8627df331f68b528948d451bc4bffd609

See more details on using hashes here.

File details

Details for the file darsh-0.2.2-py3-none-any.whl.

File metadata

  • Download URL: darsh-0.2.2-py3-none-any.whl
  • Upload date:
  • Size: 9.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/7.0.0 CPython/3.14.6

File hashes

Hashes for darsh-0.2.2-py3-none-any.whl
Algorithm Hash digest
SHA256 0a46352c22eec7967616f25b848c521b160e40fa7e6f5ea9d2c5e62c276ac41f
MD5 4865813734d860b1ad74934e23dd4aa1
BLAKE2b-256 c8b4869e591e342c22f21500a967a4ed48eecac6d6c6386f22041b26387966ce

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 Sentry Error logging StatusPage Status page