Skip to main content

WebOQL — Web-based OQL scenario editor and executor

Project description

WebOQL — Web-based OQL Scenario Editor

AI Cost Tracking

PyPI Version Python License AI Cost Human Time Model

  • 🤖 LLM usage: $0.7500 (5 commits)
  • 👤 Human dev: ~$360 (3.6h @ $100/h, 30min dedup)

Generated on 2026-04-15 using openrouter/qwen/qwen3-coder-next


Web-based editor and executor for OQL (Operation Query Language) scenarios.

Features

  • File Browser: Browse and select OQL scenario files from the scenarios directory
  • Code Editor: Edit scenario files with syntax highlighting
  • Execution: Run scenarios using OqlOS runtime in mock or real mode
  • Live Preview: Real-time execution logs and status updates

Installation

Development Mode

make install

With Development Dependencies

make dev

Usage

Start the Server

make run

The editor will be available at http://localhost:8203

Production Mode

make run-prod

API Endpoints

  • GET /api/v1/editor/files - List all scenario files
  • GET /api/v1/editor/file/{path} - Read file content
  • POST /api/v1/editor/file/{path} - Write file content
  • POST /api/v1/editor/execute - Execute a scenario

Configuration

Environment variables:

  • WEB_PORT - Server port (default: 8203)
  • HARDWARE_MODE - Hardware mode: mock|real (default: mock)

Development

Build Distribution Packages

make build

Run Tests

make test

Clean Build Artifacts

make clean

Publishing

Publish to PyPI

make publish

Publish to Test PyPI

make publish-test

Project Structure

weboql/
├── weboql/
│   ├── __init__.py
│   ├── main.py          # FastAPI application entry point
│   └── api/
│       ├── __init__.py
│       ├── editor.py    # Editor API endpoints
│       └── static/
│           └── editor.html  # Web interface
├── pyproject.toml       # Project configuration
├── Makefile            # Build and deployment automation
└── README.md           # This file

License

Licensed under Apache-2.0.

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

weboql-0.1.2.tar.gz (11.5 kB view details)

Uploaded Source

Built Distribution

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

weboql-0.1.2-py3-none-any.whl (10.9 kB view details)

Uploaded Python 3

File details

Details for the file weboql-0.1.2.tar.gz.

File metadata

  • Download URL: weboql-0.1.2.tar.gz
  • Upload date:
  • Size: 11.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.7

File hashes

Hashes for weboql-0.1.2.tar.gz
Algorithm Hash digest
SHA256 9716ed60aa0d6c6acb142909c8307a786cb7f298f27d32030a56807e29c642a6
MD5 c63d33a11575b32f54345e7477edc015
BLAKE2b-256 3888e0aed9e86743e5f0b613ace398758d710da4801ec293b27d30d89a8d4bc3

See more details on using hashes here.

File details

Details for the file weboql-0.1.2-py3-none-any.whl.

File metadata

  • Download URL: weboql-0.1.2-py3-none-any.whl
  • Upload date:
  • Size: 10.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.7

File hashes

Hashes for weboql-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 e29c8fa5f776f4b2184f51f39f7234439728e469eb325f2c6b84213522659174
MD5 39cb19176ca71110e9903290f1feaf78
BLAKE2b-256 4973b14b8131e6515413277bb924cb69df5a684ed75b41952e3caaf8d06fcf28

See more details on using hashes here.

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