Skip to main content

EngineAI's Platform SDK

Project description

Engine AI Platform SDK

PyPI version Python versions License: MIT

A powerful Python library for building data-driven applications and interactive dashboards. The Engine AI Platform SDK empowers developers to transform raw data into compelling visualizations and insights with minimal effort.

🚀 Features

  • Extensive Widget Library: Charts, tables, maps, tiles, and more
  • Flexible Layouts: Grid systems, cards, tabs, and collapsible sections
  • Data Connectors: Built-in support for DuckDB, Snowflake, and HTTP APIs
  • Interactive Components: Buttons, selectors, search, and navigation
  • Time Series Support: Advanced time-based visualizations with playback
  • Geographic Visualizations: Maps with country-level data and styling
  • Command Line Interface: Streamlined workflow for dashboard management

📋 Requirements

  • Python 3.10 or higher

🛠️ Installation

Install the SDK from PyPI:

pip install engineai.sdk

Or use uv for faster installation:

uv add engineai.sdk

🎯 Quick Start

1. Create or select a workspace: Set up your organizational container (authentication will be handled automatically)

engineai workspace create my-workspace "My Workspace"

2. Create an application: Set up a container for your dashboards

engineai app create my-workspace my-app "My App"

3. Create a dashboard: Set up a dashboard

engineai dashboard create my-workspace my-app first-dashboard "My First Dashboard"

4. Build Your Dashboard

Create a python file dashboard.py to customize your dashboard:

"""My first dashboard using Engine AI SDK."""

import pandas as pd

from engineai.sdk.dashboard.dashboard import Dashboard
from engineai.sdk.dashboard.widgets import pie

data = pd.DataFrame(
    {
        "region": [
            "North America",
            "Europe",
            "Asia Pacific",
            "Latin America",
            "Africa",
        ],
        "sales": [45000, 32000, 28000, 15000, 8000],
    }
)

pie_widget = pie.Pie(
    data=data,
    title="Sales by Region - Q4 2024",
    series=pie.Series(
        category_column="region",  # This column defines the pie slices
        data_column="sales",  # This column defines the slice sizes
    ),
)

if __name__ == "__main__":
    Dashboard(
        workspace_slug="my-workspace",
        app_slug="my-app",
        slug="first-dashboard",
        content=pie_widget,
    )

2. Publish Your Dashboard

Deploy your dashboard to the Engine AI platform:

python dashboard.py

Congratulations! 🎉 You've successfully created your first interactive dashboard with the Engine AI SDK. This minimal example demonstrates how easy it is to get started with data visualization using the Engine AI platform.

📖 Documentation

📄 License

This project is licensed under the MIT License.

🤝 Support


Built by the Engine AI team

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

engineai_sdk-0.136.3.tar.gz (195.7 kB view details)

Uploaded Source

Built Distribution

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

engineai_sdk-0.136.3-py3-none-any.whl (437.0 kB view details)

Uploaded Python 3

File details

Details for the file engineai_sdk-0.136.3.tar.gz.

File metadata

  • Download URL: engineai_sdk-0.136.3.tar.gz
  • Upload date:
  • Size: 195.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for engineai_sdk-0.136.3.tar.gz
Algorithm Hash digest
SHA256 363c6ec5ec39760ab659c24fc35b58fccf5ba248ae11a7b5b277c282bccd6fb1
MD5 d85c4b4c772c4bf1bd0f46a3960d5e8c
BLAKE2b-256 5632c10781ed4fd8fab4ff656e7b5584a88612715db7319491877ed7e8321b1e

See more details on using hashes here.

Provenance

The following attestation bundles were made for engineai_sdk-0.136.3.tar.gz:

Publisher: release-production.yaml on engineai-dev/platform-sdk

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file engineai_sdk-0.136.3-py3-none-any.whl.

File metadata

  • Download URL: engineai_sdk-0.136.3-py3-none-any.whl
  • Upload date:
  • Size: 437.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for engineai_sdk-0.136.3-py3-none-any.whl
Algorithm Hash digest
SHA256 198ef71133acef8aadffb970aa6775f5c7d4ea550d49b8e3ea9706a7114bddde
MD5 b63025640ae730ddb9b142309ae01469
BLAKE2b-256 ccd6b1999a4d9fa5ae61509ef270dc52ac8f21f6d7f3b9ddec7cd161ae4e0f72

See more details on using hashes here.

Provenance

The following attestation bundles were made for engineai_sdk-0.136.3-py3-none-any.whl:

Publisher: release-production.yaml on engineai-dev/platform-sdk

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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