LabDeck Ecosystem

MD Python

LabDeck's integrated Python work environment โ€” full CPython support, visual GUI designers, and tight coupling with MatDeck documents and scripting.

LabDeck / MatDeck Visual IDE Multi-framework GUI

What Is MD Python?

MD Python is not a separate open-source pip package โ€” it is the Python mode inside LabDeck (MatDeck). It gives you a classical Python IDE that runs standard .py files and uses normal libraries (tkinter, NumPy, Kivy, PySide2, Flet, etc.), but embeds that workflow inside LabDeck's document system alongside GUI designers, plotting, and MatDeck Script.

Think of it as Python + visual tools in one product, aimed at users who build GUIs, scripts, and technical documents without switching between many separate applications.

MD Python vs MD Python Designer

MD Python is the language/IDE layer. MD Python Designer is the subscription product that unlocks full drag-and-drop GUI builders and specialized IDEs. Lite MD Python Designer includes limited access; the full suite adds unlimited widgets and all designer modes.

What you get

  • Standard Python โ€” run .py files; import any library you install or bundle with LabDeck.
  • Visual GUI designers โ€” generate Tkinter, CustomTkinter, Kivy, PySide2, Flet, or MD Script UIs from a canvas.
  • Combined documents โ€” mix Python, GUI projects, MatDeck Script, and notes in one .md document.
  • Copy/paste between modes โ€” move GUI layouts between framework designers in a few clicks.
  • Specialized IDEs โ€” tailored editing for Tkinter, PySide2, Kivy, and related stacks (full subscription).

Supported GUI targets from MD Python

OutputTypical useGuide
TkinterSimple desktop toolsTkinter
Custom TkinterModern desktop UICustomTkinter
KivyMobile & touchKivy
PySide2Professional Qt appsPyQt / PySide
FletFlutter / web / mobileFlet
MatDeck ScriptLabDeck-native scriptingโ€”

Typical workflow

  1. Open MD Python Designer or Lite edition from LabDeck.
  2. Design the GUI visually in the designer for your chosen framework.
  3. Export or run generated Python โ€” refine logic in the MD Python IDE.
  4. Optionally combine with MatDeck plots, math, or instrumentation in the same document.
  5. Distribute as ordinary Python (PyInstaller, etc.) โ€” LabDeck is not required at runtime for pure exported .py apps.
concept โ€” exported app runs like normal Python
# After export from MD Python Designer, you run like any project:
python my_app.py

# Or package for end users:
pyinstaller --onefile --windowed my_app.py

Installation & access

MD Python is obtained through LabDeck, not via pip install md-python.

how to start
# 1. Download LabDeck / MD Python Designer from LabDeck
# 2. Lite edition โ€” free, limited widgets (e.g. 5 on canvas)
# 3. Full MD Python Designer โ€” paid year subscription, all designers
# See: https://labdeck.com/products/md-python-designer/

Practical advice

  • Treat generated code as a starting point โ€” refactor into modules as the app grows.
  • Learn the underlying framework (Tkinter, Qt, etc.) so you can maintain exports long-term.
  • PySide2 output may need import updates for PySide6 on new projects.
  • Use Lite to learn; upgrade when you need unlimited widgets or multiple designers in one workflow.

โœ“ Strengths

  • All-in-one: IDE + GUI designers + MatDeck features
  • Many frameworks from one visual tool
  • Fast layout for forms and dialogs
  • Still standard Python under the hood

โœ— Weaknesses

  • Commercial; not in PyPI ecosystem
  • Smaller community than Qt/tkinter alone
  • Generated code needs review for large apps
  • Less suitable if you avoid vendor tooling entirely
Use it when

You want LabDeck's visual GUI designers and a unified document/IDE experience, and you are fine with a commercial toolchain. For free-only stacks, use pip libraries and Qt Designer or PAGE instead.