Metadata-Version: 2.4
Name: llama-dashboard
Version: 0.1.0
Summary: Web dashboard for monitoring and interacting with the LlamaAI Ecosystem.
Project-URL: Homepage, https://github.com/yourusername/llama-dashboard-pkg
Project-URL: Bug Tracker, https://github.com/yourusername/llama-dashboard-pkg/issues
Project-URL: Documentation, https://yourusername.github.io/llama-dashboard-pkg/
Author-email: Your Name <your.email@example.com>
License: MIT License
        
        Copyright (c) 2024 Your Name # Replace with current year and your name/organization
        
        Permission is hereby granted, free of charge, to any person obtaining a copy
        of this software and associated documentation files (the "Software"), to deal
        in the Software without restriction, including without limitation the rights
        to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
        copies of the Software, and to permit persons to whom the Software is
        furnished to do so, subject to the following conditions:
        
        The above copyright notice and this permission notice shall be included in all
        copies or substantial portions of the Software.
        
        THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
        IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
        FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
        AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
        LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
        OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
        SOFTWARE. 
License-File: LICENSE
Classifier: Development Status :: 3 - Alpha
Classifier: Intended Audience :: Developers
Classifier: Intended Audience :: End Users/Desktop
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Topic :: Internet :: WWW/HTTP :: Dynamic Content :: CGI Tools/Libraries
Classifier: Topic :: Scientific/Engineering :: Artificial Intelligence
Classifier: Topic :: Scientific/Engineering :: Visualization
Classifier: Topic :: Software Development :: Libraries :: Python Modules
Requires-Python: >=3.8
Requires-Dist: cryptography>=3.4.6
Requires-Dist: httpx>=0.24.0
Requires-Dist: loguru>=0.7.0
Requires-Dist: numpy>=1.21.0
Requires-Dist: pandas>=1.5.0
Requires-Dist: pydantic>=1.10.0
Requires-Dist: streamlit>=1.20.0
Provides-Extra: all
Requires-Dist: azure-cosmos>=4.0.0; extra == 'all'
Requires-Dist: azure-storage-blob>=12.10.0; extra == 'all'
Requires-Dist: black>=23.3.0; extra == 'all'
Requires-Dist: google-auth>=2.0.0; extra == 'all'
Requires-Dist: google-cloud-bigquery>=3.0.0; extra == 'all'
Requires-Dist: google-cloud-firestore>=2.0.0; extra == 'all'
Requires-Dist: google-cloud-storage>=2.0.0; extra == 'all'
Requires-Dist: httpx; extra == 'all'
Requires-Dist: isort>=5.12.0; extra == 'all'
Requires-Dist: mkdocs-material>=9.1.6; extra == 'all'
Requires-Dist: mkdocs>=1.4.2; extra == 'all'
Requires-Dist: mkdocstrings[python]>=0.20.0; extra == 'all'
Requires-Dist: mlx>=0.6.0; extra == 'all'
Requires-Dist: mypy>=1.2.0; extra == 'all'
Requires-Dist: pre-commit>=3.3.1; extra == 'all'
Requires-Dist: pyodbc>=4.0.0; extra == 'all'
Requires-Dist: pytest-cov>=4.1.0; extra == 'all'
Requires-Dist: pytest-mock>=3.10.0; extra == 'all'
Requires-Dist: pytest>=7.3.1; extra == 'all'
Requires-Dist: ruff>=0.0.260; extra == 'all'
Provides-Extra: azure
Requires-Dist: azure-cosmos>=4.0.0; extra == 'azure'
Requires-Dist: azure-storage-blob>=12.10.0; extra == 'azure'
Requires-Dist: pyodbc>=4.0.0; extra == 'azure'
Provides-Extra: dev
Requires-Dist: black>=23.3.0; extra == 'dev'
Requires-Dist: httpx; extra == 'dev'
Requires-Dist: isort>=5.12.0; extra == 'dev'
Requires-Dist: mypy>=1.2.0; extra == 'dev'
Requires-Dist: pre-commit>=3.3.1; extra == 'dev'
Requires-Dist: pytest-cov>=4.1.0; extra == 'dev'
Requires-Dist: pytest-mock>=3.10.0; extra == 'dev'
Requires-Dist: pytest>=7.3.1; extra == 'dev'
Requires-Dist: ruff>=0.0.260; extra == 'dev'
Provides-Extra: docs
Requires-Dist: mkdocs-material>=9.1.6; extra == 'docs'
Requires-Dist: mkdocs>=1.4.2; extra == 'docs'
Requires-Dist: mkdocstrings[python]>=0.20.0; extra == 'docs'
Provides-Extra: gcp
Requires-Dist: google-auth>=2.0.0; extra == 'gcp'
Requires-Dist: google-cloud-bigquery>=3.0.0; extra == 'gcp'
Requires-Dist: google-cloud-firestore>=2.0.0; extra == 'gcp'
Requires-Dist: google-cloud-storage>=2.0.0; extra == 'gcp'
Provides-Extra: mlx
Requires-Dist: mlx>=0.6.0; extra == 'mlx'
Provides-Extra: security
Description-Content-Type: text/markdown

# llama-dashboard

[![PyPI version](https://img.shields.io/pypi/v/llama_dashboard.svg)](https://pypi.org/project/llama_dashboard/)
[![License](https://img.shields.io/github/license/llamasearchai/llama-dashboard)](https://github.com/llamasearchai/llama-dashboard/blob/main/LICENSE)
[![Python Version](https://img.shields.io/pypi/pyversions/llama_dashboard.svg)](https://pypi.org/project/llama_dashboard/)
[![CI Status](https://github.com/llamasearchai/llama-dashboard/actions/workflows/llamasearchai_ci.yml/badge.svg)](https://github.com/llamasearchai/llama-dashboard/actions/workflows/llamasearchai_ci.yml)

**Llama Dashboard (llama-dashboard)** provides a web-based dashboard application for visualizing data and monitoring systems within the LlamaSearch AI ecosystem. It connects to various data sources to present information graphically.

## Key Features

- **Web Application:** A dashboard application, likely built with a framework like Flask or Streamlit (`app.py`).
- **Data Source Connectors:** Components to fetch data from different sources (databases, APIs, logs) (`data_sources.py`).
- **Visualization:** Displays data using charts, graphs, and tables.
- **Core Module:** Manages application setup and data fetching logic (`core.py`).
- **Configurable:** Allows defining data sources, visualization types, and refresh rates (`config.py`).

## Installation

```bash
pip install llama-dashboard
# Or install directly from GitHub for the latest version:
# pip install git+https://github.com/llamasearchai/llama-dashboard.git
```

## Usage

*(Instructions on how to run the dashboard application will be added here.)*

```bash
# Example command to run the dashboard
llama-dashboard run --config dashboard_config.yaml
# Then access via http://localhost:8050 (or similar)
```

## Architecture Overview

```mermaid
graph TD
    A[User (Web Browser)] --> B{Dashboard Web App (app.py)};
    B -- Requests Data --> C{Core Module (core.py)};
    C --> D{Data Source Interface (data_sources.py)};
    D -- Fetches Data --> E[(Data Source 1: DB)];
    D -- Fetches Data --> F[(Data Source 2: API)];
    D -- Fetches Data --> G[(Data Source 3: Logs)];
    E --> D;
    F --> D;
    G --> D;
    D --> C;
    C -- Formats Data --> B;
    B -- Renders UI / Visualizations --> A;

    H[Configuration (config.py)] -- Configures --> C;
    H -- Configures --> D;

    style B fill:#f9f,stroke:#333,stroke-width:2px
    style E fill:#ccf,stroke:#333,stroke-width:1px
    style F fill:#ccf,stroke:#333,stroke-width:1px
    style G fill:#ccf,stroke:#333,stroke-width:1px
```

1.  **User Interface:** The user accesses the dashboard through a web browser.
2.  **Web Application:** Handles user requests and renders the dashboard UI.
3.  **Core Module:** Orchestrates data fetching based on the dashboard configuration.
4.  **Data Source Interface:** Connects to and retrieves data from various configured backends.
5.  **Data Formatting:** Data is processed and formatted for visualization.
6.  **Rendering:** The web application displays the data using charts and other UI elements.
7.  **Configuration:** Defines data sources, connection details, visualization types, refresh intervals, etc.

## Configuration

*(Details on configuring data source connections (DB URIs, API endpoints/keys), dashboard layouts, chart types, etc., will be added here.)*

## Development

### Setup

```bash
# Clone the repository
git clone https://github.com/llamasearchai/llama-dashboard.git
cd llama-dashboard

# Install in editable mode with development dependencies
pip install -e ".[dev]"
```

### Testing

```bash
pytest tests/
```

### Contributing

Contributions are welcome! Please refer to [CONTRIBUTING.md](CONTRIBUTING.md) and submit a Pull Request.

## License

This project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.
