Skip to main content

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.

Metadata

Release files for weboql 0.1.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for weboql 0.1.2
File Size Uploaded
weboql-0.1.2.tar.gz 11.5 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for weboql 0.1.2
File Interpreter ABI Platform
weboql-0.1.2-py3-none-any.whl Python 3 none any Details

Total release size: 22.4 kB

Release files / weboql-0.1.2.tar.gz

Download URL weboql-0.1.2.tar.gz
Size 11.5 kB
Tags Source
SHA-256 checksum
How to use checksums
9716ed60aa0d6c6acb142909c8307a786cb7f298f27d32030a56807e29c642a6
BLAKE2b-256 checksum
How to use checksums
3888e0aed9e86743e5f0b613ace398758d710da4801ec293b27d30d89a8d4bc3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.13.7

Release files / weboql-0.1.2-py3-none-any.whl

Download URL weboql-0.1.2-py3-none-any.whl
Size 10.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
e29c8fa5f776f4b2184f51f39f7234439728e469eb325f2c6b84213522659174
BLAKE2b-256 checksum
How to use checksums
4973b14b8131e6515413277bb924cb69df5a684ed75b41952e3caaf8d06fcf28
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.13.7

Release history Release notifications | RSS feed

This release

0.1.2 This release

2 release files

0.1.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page