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.4500 (3 commits)
  • 👤 Human dev: ~$310 (3.1h @ $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.1.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.1-py3-none-any.whl (10.9 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: weboql-0.1.1.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.1.tar.gz
Algorithm Hash digest
SHA256 06c6145610b0b4c8088d6f4ef03afb2c482b7c2e73ffaa636f142e44283b29bb
MD5 ff6161c0a010c9eb7e3c994eedaae824
BLAKE2b-256 a32b44b36837732c7eef7dbf23319013d55b51fbf1e340d7d0fc71a695a16792

See more details on using hashes here.

File details

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

File metadata

  • Download URL: weboql-0.1.1-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.1-py3-none-any.whl
Algorithm Hash digest
SHA256 4c517fd7402b2bb983a16cd55ceb268bf21b5b9d72d75158ca27b6950c3bd916
MD5 88fb24968cb168b6c3375a6d0a3ab7fb
BLAKE2b-256 27c6f5b649f0180983daa010fdf4ae484511f15f763b88059ea37638c2e3564a

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