Metadata-Version: 2.1
Name: ddeutil-observe
Version: 0.0.1
Summary: Lightweight observation web application
Author-email: ddeutils <korawich.anu@gmail.com>
License: MIT
Project-URL: Homepage, https://github.com/ddeutils/ddeutil-observe/
Project-URL: Source Code, https://github.com/ddeutils/ddeutil-observe/
Keywords: data,observe,utility,webserver,fastapi
Classifier: Topic :: Utilities
Classifier: Natural Language :: English
Classifier: Development Status :: 4 - Beta
Classifier: Intended Audience :: Developers
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 3 :: Only
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Requires-Python: >=3.9.13
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: fmtutil
Requires-Dist: ddeutil-io
Requires-Dist: python-dotenv==1.0.1
Requires-Dist: fastapi==0.112.2
Requires-Dist: uvicorn==0.30.6
Requires-Dist: jinja2==3.1.4
Requires-Dist: sqlalchemy==2.0.32
Provides-Extra: test
Requires-Dist: httpx==0.27.2; extra == "test"

# Observe Web App

The **Lightweight observation web application** project was created for easy to
make a observation web application that getting log, or trigger status from any
data framework formats and endpoint APIs, it project will focus on the
`ddeutil-workflow` data orchestration tool.

> [!WARNING]
> This project is the best fit with `ddeutil-workflow` package. The first propose
> is monitor and observe from worker nodes that deploy workflow application.

## Installation

```shell
pip install ddeutil-observe
```

> I added this feature to the main milestone.
>
> **Docker Images** supported:
>
> | Docker Image               | Python Version | Support |
> |----------------------------|----------------|---------|
> | ddeutil-observe:latest     | `3.9`          | :x:     |
> | ddeutil-observe:python3.10 | `3.10`         | :x:     |
> | ddeutil-observe:python3.11 | `3.11`         | :x:     |
> | ddeutil-observe:python3.12 | `3.12`         | :x:     |

## Getting Started

This project implement the best scalable FastAPI web application structure.

## Configuration

| Environment              | Component | Default  | Description                              |
|--------------------------|-----------|----------|------------------------------------------|
| `OBSERVE_LOG_DEBUG_MODE` | Log       | true     | Logging mode of this observe application |

## Deployment

```shell
(env) $ uvicorn src.ddeutil.observe.app:app --host 127.0.0.1 --port 88
```
