Skip to main content

A Pygame-Based UI Element Framework

pigUI is a modular, event-driven framework built on Pygame designed for creating ui / ui-styles(ux). It provides all the necessary low-level components—from a robust UI manager and specialized widgets to a smooth Bézier curve drawing utility—to quickly prototype and build graphical programming tools.


✨ Features Overview

  • Hierarchical UI Management: The UIManager handles element layering, rendering order, and ensures input blocking (only the top/active element, like a dragged node or a text input, receives events).
  • Intuitive Event Handling: The Events class abstracts raw Pygame events (mouse clicks, double-clicks, wheel scroll, keyboard input) into simple, clean state variables.
  • Specialized UI Widgets: Includes complex, ready-to-use components like UITextInput (with key repeat and validation), UIDropDown, UIMenuBar, and an UIColorPicker.
  • Customizable Aesthetics: The separation of logic (UIElement) and visuals (UXElement/UXWrapper) allows for easy theme changes and custom component rendering.

🛠️ Installation and Setup

Prerequisites

You need Python 3.x installed.

Install

PyNodle requires Pygame and NumPy (used for array manipulation in the color picker and potentially other areas).

pip install -r requirements.txt

The package

pip install jmpUI

🚀 Usage and Extending

The application's core logic runs in app.py. The UIManager (UIM) manages every component you create.

Implementing Custom Interactions

All custom components should inherit from UIElement and override the appropriate callback methods.

🤝 Contributing

We welcome contributions, bug reports, and feature requests! Please feel free to open an issue or submit a pull request.

📜 License

This project is licensed under the GPL V3 License.

Metadata

Release files for jmpUI 0.1.60

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for jmpUI 0.1.60
File Size Uploaded Provenance
jmpui-0.1.60.tar.gz 53.4 kB With provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for jmpUI 0.1.60
File Interpreter ABI Platform
jmpui-0.1.60-py3-none-any.whl Python 3 none any Details

Total release size: 99.2 kB

Release files / jmpui-0.1.60.tar.gz

Download URL jmpui-0.1.60.tar.gz
Size 53.4 kB
Tags Source
SHA-256 checksum
How to use checksums
abd7a4166d4af34eb5bb8a242ae73b9f051728c00b384aa8a3a31baa1d031f95
BLAKE2b-256 checksum
How to use checksums
cb06d12be8e5f4088744a8124f565cc34539b045e4d15d75449fe820ea707f53
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.7

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Dec 10, 2025.

Transparency log

Release files / jmpui-0.1.60-py3-none-any.whl

Download URL jmpui-0.1.60-py3-none-any.whl
Size 45.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
44fb743313a5e8824c30647b7b789aeaf99f3897370f60b7ad832af193854a02
BLAKE2b-256 checksum
How to use checksums
d0ad76be51105cb0e27e4ddd3ab400a3c34b2adc2ee1e83cd811d114f1d6a3c8
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.7

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Dec 10, 2025.

Transparency log

Security for jmpUI 0.1.60

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.

Full provenance

All 2 files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for jmpui-0.1.60.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Dec 10, 2025.

Transparency log

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.

Release history Release notifications | RSS feed

This release

0.1.60 This release

2 release files Full provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page