SiLA 2 Studio
OpenAPI to SiLA 2 driver in under two minutes
Drop a Swagger / OpenAPI spec. Get a runnable Python SiLA 2 driver scaffold - server, gRPC, feature definitions, Dockerfile, tests. Free hosted tool by QPillars. Open-source generator under the hood.
The Problem
Writing a SiLA 2 driver from scratch is a multi-week senior-engineer project. You learn the XSD schema, hand-write the Feature Definition, run the SiLA 2 code generator, wire the gRPC servicer, fix the type mismatches, and only then start integrating the instrument. Most teams never get past the FDL.
2-4 wks
typical senior-engineer effort to scaffold a SiLA 2 driver by hand
~2 min
end-to-end with Studio - upload, review, download
CHF 0
hosted version is free; the generator is open source
What Studio gives you
The shortest path from instrument API to addressable SiLA 2 driver.
OpenAPI in, SiLA 2 out
Drop a Swagger / OpenAPI 3.0 or 3.1 spec. Studio parses it, maps tags to SiLA 2 Features, operations to Commands and Properties, and emits XSD-valid Feature Definition (FDL) files - all in the browser flow, no install.
Runnable package, not just files
The downloaded bundle is a complete Python package: server.py, __main__.py, per-feature implementation stubs with NotImplementedError markers, generated SiLA 2 base classes, Dockerfile, docker-compose.yml, tests, and a pyproject.toml. Run uv sync and the driver boots.
Override layer, no code edits
Rename features, exclude operations, mark properties as observable - all in the review screen, before generation. The generated bundle reflects the choices; the original spec stays untouched. Iterate without touching code.
Open generator under the hood
The transformation core is openapi-to-sila2 - the open-source library QPillars maintains. The Studio is the polished, hosted entry point; teams who need full control can use the library directly in their own pipelines or CI.
How it works
Four steps, two minutes, one downloadable Python package.
Upload your OpenAPI spec
Drop a YAML or JSON file (OpenAPI 3.0 / 3.1). Studio parses and validates it in the browser; nothing about the spec is stored on a database. Bundles auto-expire after 24 hours.
Review the proposed SiLA 2 mapping
Studio shows the feature breakdown - one feature per OpenAPI tag, commands and properties listed by operation. Tweak names, exclude what you do not need, mark properties as observable.
Generate and download the bundle
Studio runs the FDL generator and sila2-codegen, packages a runnable Python project, and returns a signed download link. Zip size: typically a few KB.
Fill in the NotImplementedError stubs
Each command lands as a NotImplementedError in feature_implementations/. Replace each body with the call to your instrument SDK or HTTP client. The SiLA 2 plumbing, gRPC servicer, and discovery are already wired.
Generate your first SiLA 2 driver now
No sign-up, no install, no credit card. Drop an OpenAPI spec, download the bundle, read the NotImplementedError stubs. Two minutes from URL to runnable scaffold.