WebOQL — Web-based OQL Scenario Editor
AI Cost Tracking
- 🤖 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 filesGET /api/v1/editor/file/{path}- Read file contentPOST /api/v1/editor/file/{path}- Write file contentPOST /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)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| weboql-0.1.2.tar.gz | 11.5 kB | Without provenance | Details for weboql-0.1.2.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| weboql-0.1.2-py3-none-any.whl | Python 3 | none | any | Details for weboql-0.1.2-py3-none-any.whl |
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
|
Security for weboql 0.1.2
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.