Skip to main content

This library wraps the popular Python library "REMI" (https://github.com/rawpython/remi) to make easy UI by simply calling functions with arguments for UI placement. Quick Remi enables building building large UI in the least lines of code using pure Python. No HTML or javascript knowledge required.

USAGE:

pip install quickremi

from quickremi.gui import gui as G

Build Frame or Container frame1 = G.create_container(window, H=40, W=45, L=52, T=20, bg='lightblue')

Build Labels lbl = G.create_label(frame1, H=50, W=75, L=5, T=2, bg='ivory')

Build Buttons btn= G.create_button(frame1, H=10, W=15, L=5, T=20, bg='teal', command=clicked_button)

Use the function help menu to read their respective documentation. In all functions, frame, H, W, L, T are positional (mandatory) arguments that determine their position within a container. Other arguments like background colours, font family, size, font colour, text alignment, justifications, border width, radius, style and border colour etc. are optional and can be changed as per use.

Height, Width, Left and Top are % values by default and hence scale as per the size of the device of display. The arugment 'fs' (font size) also scales as per the display device.

Other Widgets in the package: - Drop Down - List Items - Slider - Image - File Uploader - Table - Progress Bar - Entry Field - Date Picker - Label Checkbox (Radio Button) - Spinbox

All the above widgets follow the same syntax. - Frame, Height, Width, Left, Top, and other kwargs whose documentation is available in the help menu.

Widgets like Drop Down, Slider, List Items, Entry Field have listeners which read the input values entered by user.

Example 1: For: Drop Down or Entry or Slider etc.

lst = ['Tiger', 'Lion', 'Jaguar'] dd = G.create_dropdown(frame1, lst, 20, 50, 5, 5, command=on_selection)

Listner function

def on_selection(widget, value): # value will now hold the value of the user selection between tiger lion and jaguar. print(value)

Example 2: For List Items, the listener functions in a different way. Following is the example usage.

lst = ['Apple', 'Mango', 'Guava'] lv = G.create_listview(frame1, lst, 20, 50, 5, 5, command=on_value_selection)

Listener function

def on_value_selection(widget, value): # value is the index number. Hence lv[val].get_text() is used to fetch the actual text value.
val = lv.children[value].get_text()
print(val)

All the other widget operations revolve around these two examples.

Metadata

Release files for quickremi 1.1

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

Source distribution (sdist)

Source distribution for quickremi 1.1
File Size Uploaded Provenance Actions
quickremi-1.1.tar.gz 12.4 kB Without provenance Details for quickremi-1.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for quickremi 1.1
File Interpreter ABI Platform Actions
quickremi-1.1-py3-none-any.whl Python 3 none any Details for quickremi-1.1-py3-none-any.whl

Total release size: 29.0 kB

Release files / quickremi-1.1.tar.gz

Download URL quickremi-1.1.tar.gz
Size 12.4 kB
Tags Source
SHA-256 checksum
How to use checksums
3f1a2c3eb540089d17d5bfd3badedae0673b50405c5d226ff8ab6b5a8fad036e
BLAKE2b-256 checksum
How to use checksums
7670b7b5cf2d5d705e6ec19f945d8316a9dfcd30847e06b956e5e3c5eed7225d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.9.13

Release files / quickremi-1.1-py3-none-any.whl

Download URL quickremi-1.1-py3-none-any.whl
Size 16.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
eaa0499d6c1a732cf1bab2d43cff1aa36a1298c2771d2188ad97335fcec0a752
BLAKE2b-256 checksum
How to use checksums
a143183a3aaf25af3024e9cd172e0d8e5f634b6e4d3841c68d29f5c735798cce
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.9.13

Security for quickremi 1.1

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.

No provenance found

None of the files in this release were uploaded with provenance metadata.

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

1.1 This release

2 release files No 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