EZInput: A Cross-Environment Python Library for Easy UI Generation in Scientific Computing
Bruno M. Saraiva, Iván Hidalgo-Cenalmor, António D. Brito, Damián Martínez, Tayla Shakespeare, Guillaume Jaquemet, Ricardo Henriques · 2026
Read EZInput: A Cross-Environment Python Library for Easy UI Generation in Scientific Computing by Bruno M. Saraiva, Iván Hidalgo-Cenalmor, António D. Brito, Damián Martínez, Tayla Shakespeare, Guillaume Jaquemet, Ricardo Henriques (2026) in the Tower of Babel, a free online library of public-domain works preserved in clean, searchable text. No sign-up. The full text is served as a plain-text file at a predictable URL, where text is present: https://antarctic-labs.com/tower-of-babel/arxiv-2601-08859.txt.
Introduction
Bruno Saraiva and six co-authors build a tool that gives code a face users can click. Science code oft needs many set values to run. In plain code, a user must type those values and know code terms. Each lab tool looks unlike the next, and set values are lost when a run ends. That loss hurts repeat work.
Their tool is called EZInput. It makes the same click form in many code homes, from a note page to a full app. Set values are saved, shared, and used again with ease. A reader who writes science code gets a way to cut dull input work. It also helps peers run the same code with the same set up.
Catalog record
| CREATOR | Bruno M. Saraiva, Iván Hidalgo-Cenalmor, António D. Brito, Damián Martínez, Tayla Shakespeare, Guillaume Jaquemet, Ricardo Henriques |
|---|---|
| YEAR | 2026 |
| COLLECTION | PAPERS |
| FORMAT | TXT |
| FILE SIZE | 33 KB |
| VERSION | 1.0 |
| LICENSE | http://creativecommons.org/licenses/by/4.0/ |
| RIGHTS | CC BY |
| SOURCE | arXiv |
Source: https://arxiv.org/abs/2601-08859
Browse the full library · About the Tower of Babel
Full text
The opening of the work, from the library's hosted text:
EZInput: A Cross-Environment Python Library for Easy UI Generation in Scientific Computing Bruno M. Saraiva, Iván Hidalgo-Cenalmor, António D. Brito, Damián Martínez, Tayla Shakespeare, Guillaume Jaquemet, Ricardo Henriques Abstract Researchers face a persistent barrier when applying computational algorithms with parameter configuration typically demanding programming skills, interfaces differing across environments, and settings rarely persisting between sessions. This fragmentation forces repetitive input, slows iterative exploration, and undermines reproducibility because parameter choices are difficult to record, share, and reuse. We present EZInput, a cross-runtime environment Python library enabling algorithm developers to automatically generate graphical user interfaces that make their computational tools accessible to end-users without programming expertise. EZInput employs a declarative specification system where developers define input requirements and validation constraints once; the library then handles environment detection, interface rendering, parameter validation, and session persistence across Jupyter notebooks, Google Colab, and terminal environments. This "write once, run anywhere" architecture enables researchers to prototype in notebooks and deploy identical parameter configurations for batch execution on remote systems without code changes or manual transcription. Parameter persistence, inspired by ImageJ/FIJI and adapted to Python workflows, saves and restores user configurations via lightweight YAML files, eliminating redundant input and producing shareable records that enhance reproducibility. EZInput supports diverse input types essential for scientific computing and it also includes built-in validation that ensures data integrity and clear feedback that reduces user friction. \leadauthor Saraiva EZInput keywords User Interface | Python | Jupyter Notebook | Terminal User Interface | Scientific Computing {corrauthor} (B. M. Saraiva) bsaraiva and itqb.unl.pt; (G. Jaquemet) guillaume.jacquemet and abo.fi; (R. Henriques) ricardo.henriques and itqb.unl.pt Main Figure 1: EZInput framework architecture and workflow integration. The EZInput library implements a declarative parameter specification system that automatically generates graphical user interfaces across multiple computational environments, both Jupyter notebooks and terminal environments, without additional interface development. Parameter persistence mechanism inspired by ImageJ/FIJI ( Schneider et al. 2012 ; Schindelin et al. 2012 ) , where user configurations are automatically saved to lightweight configuration files, enabling rapid iteration and reproducible analysis across sessions. Computational algorithms represent essential tools for extracting quantitative insights from scientific data, yet their widespread adoption remains constrained by the challenge of creating accessible interfaces. Algorithm developers often lack the time to build user-friendly graphical interfaces, while end-users may lack the programming skills to directly apply sophisticated computational methods. This accessibility gap prevents powerful algorithms from reaching their intended audiences. While powerful algorithms are being created, their adoption by non-programming users has been hampered by interfaces demanding programmatic expertise, creating a dichotomy between algorithm development and practical application. Recent community efforts have begun addressing this challenge, with notable successes in specific domains such as ZeroCostDL4Mic and DL4MicEverywhere for deep learning in microscopy ( von Chamier et al. 2021 ; Hidalgo-Cenalmor et al. 2024 ) and napari for interactive image visualisation ( Sofroniew et al. 2025 ) . However, these solutions typically target specific computational environments or application domains. What remains missing is a framework enabling developers to write interface specifications once and deploy them anywhere at the same time as it automatically maintains parameter configurations that enhance reproducibility and facilitate systematic testing across different parameter combinations. Traditional approaches to bridging this accessibility gap have typically followed two distinct paths, each with inherent limitations. The first involves developing bespoke graphical user interfaces (GUIs) for individual algorithms, exemplified by tools such as CellProfiler for bioimage analysis ( McQuin et al. 2018 ) and Orange for data mining ( Demšar et al. 2013 ) . Although these provide accessible entry points for non-programmers, they require substantial additional development effort, create fragmented user experiences across tools, and often constrain users to predefined workflows that limit algorithmic flexibility. Critically, such bespoke solutions typically target a single computational environment, preventing developers from easily distributing their tools to users working in different contexts. The second approach utilises notebook environments such as Jupyter ( Kluyver et al. 2016 ) , which offer more accessible entry points and have become the de facto standard for exploratory data analysis. However, notebook-based approaches still necessitate direct code manipulation for parameter configuration and critically lack persistent parameter settings essential for iterative workflows. This absence of parameter memory forces users to repeatedly input configurations across sessions, diminishing productivity in exploratory research contexts where rapid iteration over parameter spaces is fundamental, and making systematic testing across parameter combinations unnecessarily cumbersome. ImageJ and its distribution FIJI have demonstrated the value of parameter persistence through their parameter memory systems, which automatically retain user settings across sessions, enabling rapid experimental iterations that significantly enhance productivity in image analysis pipelines ( Schneider et al. 2012 ; Schindelin et al. 2012 ) . This functionality has proven particularly valuable in microscopy workflows, where researchers frequently fine-tune processing parameters across diverse datasets. However, translating this functionality to the Python ecosystem has proven challenging due to architectural differences in development frameworks and the absence of a unified parameter management system that operates consistently across computational environments. Existing Python GUI frameworks such as ipywidgets provide building blocks for notebook interfaces but cannot be easily deployed elsewhere as they were developed with only jupyter notebooks in mind. Here, we present EZInput, a cross-runtime environment Python library that bridges this accessibility gap by enabling algorithm developers to create user-friendly interfaces with minimal effort, making their tools accessible to end-users without programming expertise across diverse computational environments . The framework employs a declarative specification system where developers define input requirements and constraints once, after which EZInput automatically manages interface rendering, validation, and parameter persistence across Jupyter notebooks, Google Colab, and terminal environments (Fig. 1 ). This "write once, run anywhere" architecture eliminates the need for parallel development of multiple interfaces while maintaining full feature parity across environments. EZInput adapts ImageJ/FIJI’s parameter memory concept to modern Python workflows through lightweight configuration files that automatically save and restore user settings across sessions, enabling the rapid iteration essential for exploratory data analysis . Unlike previous solutions that sacrifice either accessibility or algorithmic sophistication, EZInput preserves both through an architecture that separates interface concerns from computational logic, allowing algorithm developers to focus on their scientific domain as the library handles all aspects of user interaction, validation, and parameter management. Figure 2: EZInput enables seamless cross-application user interfaces through unified declarative specifications. The framework demonstrates consistent interface generation across computational environments without requiring environment-specific code modifications. Underlying Python code demonstrating the declarative specification system that generates both interfaces. A single parameter definition block specifies labels and inputs, with EZInput automatically handling environment detection and appropriate interface rendering. This "write once, run anywhere" approach eliminates the need for parallel development of multiple interfaces whilst maintaining full feature parity across environments. Parameter persistence functionality ensures that user configurations remain consistent between Jupyter and terminal environments, enabling seamless transitions between interactive exploration and production workflows. 0.0.1 Declarative Interface Specification and Automatic Environment Detection EZInput implements a declarative parameter specification system that fundamentally separates interface content definition from presentation logic (Fig. 2 ). Developers specify input requirements through a simple, intuitive API where each parameter is defined by its type (integer range, float range, text input, file path, dropdown selection, checkbox), label, constraints (minimum/maximum values, valid options, file extensions), and optional default values. The library’s core architecture automatically detects the execution