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.137.3.tar.gz (197.9 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.137.3-py3-none-any.whl (440.8 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for engineai_sdk-0.137.3.tar.gz
Algorithm Hash digest
SHA256 d3a30a58afa43feb52c770924e76b07635659a3077437fcca6bb39ee42f56332
MD5 bee4af7c7bdbf901d1c59406d4f3142e
BLAKE2b-256 b60ad1cd83bf13c0165a3c73ba0588301985ed5aba9e4227b5391a2088475538

See more details on using hashes here.

Provenance

The following attestation bundles were made for engineai_sdk-0.137.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.137.3-py3-none-any.whl.

File metadata

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

File hashes

Hashes for engineai_sdk-0.137.3-py3-none-any.whl
Algorithm Hash digest
SHA256 643f9a519ed00fecb7f2fd8369a474dfb4bb82110a19e1532e24a1947a7cf69a
MD5 9c8261fe0e5319d38b583b15f0cc5ec7
BLAKE2b-256 ce19780d7991ee19c3765173bc00aa5d22a0fc1597a2fcd80a9d4fc92bc9dc99

See more details on using hashes here.

Provenance

The following attestation bundles were made for engineai_sdk-0.137.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