Skip to main content

Lightweight observation web application

Project description

Observe Web App

test pypi version python support version size gh license code style: black

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, this project focuses on the ddeutil-workflow data orchestration tool first :dart:.

[!WARNING] This project is the best fit integration with ddeutil-workflow package. The first propose is monitor and observe from worker nodes that deploy the workflow application on a target self-hosted.

:round_pushpin: Installation

pip install ddeutil-observe

I added this feature to the main milestone.

:egg: 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:
ddeutil-observe:python3.12 3.13 :x:

:beers: Getting Started

This project implement the best scalable FastAPI web application structure. For the first phase, I will use the SQLite be a backend database that keep authentication and workflows data.

Main Page

Workflow Release Page

:cookie: Configuration

Environment Component Default Description
OBSERVE_CORE_TIMEZONE Core UTC
OBSERVE_SQLALCHEMY_DB_ASYNC_URL Core sqlite+aiosqlite:///./observe.db
OBSERVE_CORE_ACCESS_SECRET_KEY Core
OBSERVE_CORE_ACCESS_TOKEN_EXPIRE_MINUTES Core
OBSERVE_CORE_REFRESH_SECRET_KEY Core
OBSERVE_CORE_REFRESH_TOKEN_EXPIRE_MINUTES Core
OBSERVE_WEB_ADMIN_USER Web observe An username of superuser
OBSERVE_WEB_ADMIN_PASS Web observe An password of superuser
OBSERVE_WEB_ADMIN_EMAIL Web observe@mail.com An email of superuser
OBSERVE_LOG_DEBUG_MODE Log true Logging mode
OBSERVE_LOG_SQLALCHEMY_DEBUG_MODE Log true Database Logging mode that will logging every execution statement before and after connection

:rocket: Deployment

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

[!NOTE] If this package already deploy, it able to use uvicorn ddeutil.workflow.api:app --host 127.0.0.1 --port 88 --workers 4

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

ddeutil_observe-0.0.5.tar.gz (26.1 kB view details)

Uploaded Source

Built Distribution

ddeutil_observe-0.0.5-py3-none-any.whl (35.6 kB view details)

Uploaded Python 3

File details

Details for the file ddeutil_observe-0.0.5.tar.gz.

File metadata

  • Download URL: ddeutil_observe-0.0.5.tar.gz
  • Upload date:
  • Size: 26.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.12.6

File hashes

Hashes for ddeutil_observe-0.0.5.tar.gz
Algorithm Hash digest
SHA256 23223c1e8c778f1e95f342d790f32a068697c6b574c19d576b27e76dfb1a7006
MD5 72b2c1210bfbc369ae8f252e6da2552f
BLAKE2b-256 7c71b6d8b95b1f2397c1a56d331eb9d52e877f5cb8cb2f7922c8d4a217b8de9e

See more details on using hashes here.

File details

Details for the file ddeutil_observe-0.0.5-py3-none-any.whl.

File metadata

File hashes

Hashes for ddeutil_observe-0.0.5-py3-none-any.whl
Algorithm Hash digest
SHA256 e66c6d39c276933da0fea14c61b17c0ca17bbbbdb99cc2a36c4e483983cbb155
MD5 6965860ed00d5424a5d5304bf9960573
BLAKE2b-256 6f317c5aec6ad13fc892f0fd11898bb90b644d09f04a9e899c0e5f62adc1d04f

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page