Add your description here
Project description
Ymery
Build interactive GUI applications with YAML instead of code.
Ymery lets you create Dear ImGui applications using declarative YAML files, powered by Dear ImGui Bundle for Python.
Why Ymery?
Traditional GUI development with ImGui requires writing repetitive boilerplate code. Every button, slider, or layout change means modifying and recompiling your application.
Origins
Ymery emerged from building an audio viewing and analysis tool with imgui-bundle. We discovered that live data observation and manipulation was a central pattern - UI components constantly consuming and updating data in real-time. This led us to separate concerns in an MVC-like direction: the UI as a tree structure consuming an equivalent data tree, similar to React's approach in the web world.
While most UI elements directly manipulate or observe data tree nodes, the framework also supports event generation and handling. We're also exploring a broader vision: an "Ymery browser" where you write interactive applications with Python and YAML instead of HTML and JavaScript.
These concepts are in early alpha. We'd love to hear your thoughts and suggestions.
For architectural details, see docs/design/main.md.
Ymery changes this:
- Declarative - Define your UI in YAML, not code
- Rapid iteration - Edit layouts without recompiling
- No programming required - Create simple UIs with just YAML
- Modular - Reusable widget definitions with imports
- Data-driven - Separate UI structure from application logic
Quick Example
Create a simple GUI in app.yaml:
app:
window_title: "Hello Ymery"
widget: builtin.text
data: greeting
data:
greeting:
metadata:
label: "Welcome to Ymery!"
Run it:
ymery --main app
That's it. No Python code, no compilation - just a YAML file describing what you want.
Who is Ymery for?
- Python developers who prefer declarative approaches
- ImGui users frustrated with boilerplate code
- Data scientists needing quick interactive tools
- Game developers prototyping UI and tools
- Anyone who wants to experiment with ImGui without writing code
Framework or Library?
Both. Ymery provides structure and patterns (like a framework) but you can use it flexibly, picking what you need (like a library). Use it however it serves you best.
Project Status
⚠️ Early Alpha - Ymery is experimental. APIs will change, features are incomplete, and breaking changes should be expected. We welcome feedback and contributions!
Installation
pip install ymery
Requires Python 3.12+
Examples
Check out the demo directory for examples:
demo/classic/- Classic ImGui demo widgetsdemo/hello-imgui/- Basic Hello ImGui examplesdemo/hello-imgui-full/- Full-featured application layout
Run any demo:
ymery --layouts-path demo/hello-imgui-full --main app
Documentation
- Ymery Lang Reference - YAML syntax and widget reference
- Design Overview - Architecture and design patterns
For more examples, explore the YAML files in the demo directories.
How It Works
- Write YAML - Define your UI structure, widgets, and data
- Import modules - Compose UIs from reusable components
- Run - Ymery renders your YAML as a native ImGui application
- Iterate - Change the YAML and see updates immediately
Contributing
We're in early development and actively seeking feedback:
- Try Ymery with your use cases
- Report issues and suggest features
- Share what works and what doesn't
Your input helps shape Ymery's direction.
License
[Add license information]
Credits
Built on top of:
- Dear ImGui by Omar Cornut
- Dear ImGui Bundle by Pascal Thomet
- HelloImGui by Pascal Thomet
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file ymery-0.0.68.tar.gz.
File metadata
- Download URL: ymery-0.0.68.tar.gz
- Upload date:
- Size: 358.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
69e0878c9cd7b4c2b4c0d3580f559abf2ee278b662bddc97e6330819f34a853b
|
|
| MD5 |
07936721c35d4082af0b039d590d0ac0
|
|
| BLAKE2b-256 |
802cf48ec7b9e031aeef9b8b46043ebf0d99ed1eb788753e803d82154cadc466
|
File details
Details for the file ymery-0.0.68-py3-none-any.whl.
File metadata
- Download URL: ymery-0.0.68-py3-none-any.whl
- Upload date:
- Size: 421.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
86f589229b35f89c447cd0c20dc03e3d69fb911ba753aa1a528e4418d416cd45
|
|
| MD5 |
6502a63cecd3d018825d7c3cf146c831
|
|
| BLAKE2b-256 |
abe77762b82bd771fd769aa73bb6393ef06d7b9322976c86b4a669257269469d
|