Sagebox Procedural GUI for Python
Project description
Pybox - Easy-to-Use, Procedural GUI Designed for Rapid, Creative Development (and Fun)
Write plain linear, procedural code with no boilerplate.
Pybox is a GUI architecture and toolset for Python that lets you add windows, GUI controls, and graphical output using simple linear, procedural code, without any boilerplate or the overhead of an event-driven framework.
Pybox was created to bring back the simplicity of creating fun-with-graphics programs, while providing the power and scalability to build full-scale applications with advanced GUI controls.
Pybox Github Project — Click to see the Github Page where there are many examples and the future roadmap.
YouTube Examples — These examples are for the Rust version, but most work in Python already. Pybox Github page
Features
- Procedural, linear programming style
- No macros or boilerplate
- Console-mode support with add-on GUI-Control integration
- Compatible with other GUI libraries
- Accepts all Python native types for all functions
- Designed to stay out of the way of your existing Python code
Installation
You can install the package directly with pip:
pip install pybox-gui
importing pybox
import pybox
Dependencies
numpy (any version)
Sample "Hello World" Full-Program Example
This program creates a Hello World program using a graphic window. Creating a graphic window is not required to use Sagebox, and is just one of many features.
You can also create controls (e.g. sliders, buttons, checkboxes) with one line of code, either in a console-only program or with more graphics features such as the graphics window created in the example.
import pybox
win = pybox.new_window(); # Create a default graphic window (not required)
win.write("Hello World",font=100,center=True) # Write "Hello World" in large font, centered in window
pybox.exit_button() # bring up a button in small window to press, letting the
# user know the program has ended.
See the github page for examples with graphics and easy-to-use controls — Pybox Github page
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 Distributions
Built Distributions
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 pybox_gui-0.1.2-cp312-cp312-win_amd64.whl.
File metadata
- Download URL: pybox_gui-0.1.2-cp312-cp312-win_amd64.whl
- Upload date:
- Size: 2.8 MB
- Tags: CPython 3.12, Windows x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
565073a895f650b75d3398f9c0d75eb9584fea8eab3aff85547117fb6ca34cf9
|
|
| MD5 |
bb9013fc82d380e514f77933fb4ed771
|
|
| BLAKE2b-256 |
15372df9dd687ba5eca21dff772e3b7a321b223c2d2ac56adc3824fcb116407b
|
File details
Details for the file pybox_gui-0.1.2-cp311-cp311-win_amd64.whl.
File metadata
- Download URL: pybox_gui-0.1.2-cp311-cp311-win_amd64.whl
- Upload date:
- Size: 2.8 MB
- Tags: CPython 3.11, Windows x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
82ccb447be5caaee511b34250c9e2e863659092a619cba57976c192d7e23df6c
|
|
| MD5 |
6aaf95577fbafc20883e1b810ccc0dfc
|
|
| BLAKE2b-256 |
dcdfd6d9b759b53d436bf954bbd0378ec4f0f57efc88e2a014a90ba4a2e20697
|
File details
Details for the file pybox_gui-0.1.2-cp310-cp310-win_amd64.whl.
File metadata
- Download URL: pybox_gui-0.1.2-cp310-cp310-win_amd64.whl
- Upload date:
- Size: 2.8 MB
- Tags: CPython 3.10, Windows x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
65d766da34385db8b107dfc4d2ae06b8c85183ea5693382f595624f416345503
|
|
| MD5 |
aea7d15addca72933d0d36740c662efd
|
|
| BLAKE2b-256 |
bbc58d082e6b72614ab0c3fb1d95b1d349b0135afc96975f91c70e63c2e2f0e3
|
File details
Details for the file pybox_gui-0.1.2-cp39-cp39-win_amd64.whl.
File metadata
- Download URL: pybox_gui-0.1.2-cp39-cp39-win_amd64.whl
- Upload date:
- Size: 2.8 MB
- Tags: CPython 3.9, Windows x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ab6d6ab6296631413a5caba9578f75dd5ffee55911f4ed86fb40ce70d49fc7f3
|
|
| MD5 |
d88e13c31898c188bce6022b5751fa32
|
|
| BLAKE2b-256 |
b40e2b9af5866e364aacc17beed550ff3c55d799d804fc8f8c8ba6f9e23d5697
|
File details
Details for the file pybox_gui-0.1.2-cp37-cp37m-win_amd64.whl.
File metadata
- Download URL: pybox_gui-0.1.2-cp37-cp37m-win_amd64.whl
- Upload date:
- Size: 2.8 MB
- Tags: CPython 3.7m, Windows x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
29c4624c53e49f923af732c3310858291313bdc7b0198b9a4f71edea11c8dee1
|
|
| MD5 |
c5d0f566e29394fdf0636c5bf8dd17ee
|
|
| BLAKE2b-256 |
e1f5acd65786f89701fc5feca2805fa3c9f921d3d7f420b300d5b1d6cefb35e7
|