Sagebox Procedural GUI for Python
Project description
Sagebox - A High-Performance, Procedural GUI Designed for Rapid, Creative Development (and Fun)
Write plain linear, procedural code with no boilerplate.
Sagebox (aka 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.
Sagebox 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.
Sagebox 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. Sagebox 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 sagebox
importing Sagebox
import sagebox
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 sagebox
win = sagebox.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
sagebox.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 — Sagebox 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 sagebox-0.1.1-cp312-cp312-win_amd64.whl.
File metadata
- Download URL: sagebox-0.1.1-cp312-cp312-win_amd64.whl
- Upload date:
- Size: 3.0 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 |
cfbbfd409eba8aee08e1ffdeaed11bce9c50306ef8d5053eac16c499ba9b76a9
|
|
| MD5 |
3b8b2ca346fe84f96d278685fd0dd257
|
|
| BLAKE2b-256 |
92c20582588224e37652c5674430ac3540c4000365f2d812ca2259b85640c319
|
File details
Details for the file sagebox-0.1.1-cp311-cp311-win_amd64.whl.
File metadata
- Download URL: sagebox-0.1.1-cp311-cp311-win_amd64.whl
- Upload date:
- Size: 3.0 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 |
cb9a2f4ef4c3323a36c18f9bdc2b2707ce4f640b82fb34c4f1e98a8246419533
|
|
| MD5 |
31472a7f879540f162c8d9463f016367
|
|
| BLAKE2b-256 |
03ac0f1a06f2ce40507c18c57f555d0f209be0587d38b667c5138edf02528214
|
File details
Details for the file sagebox-0.1.1-cp310-cp310-win_amd64.whl.
File metadata
- Download URL: sagebox-0.1.1-cp310-cp310-win_amd64.whl
- Upload date:
- Size: 3.0 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 |
9d64c3212c2c5d3c52e2fa0f2a98e4194e25214be68ea46851de3edfab99ce12
|
|
| MD5 |
7bd71977bebf763a363f555555eb57c8
|
|
| BLAKE2b-256 |
f36057999c67261bd8aecfaf26cddc520cba47fdbb0222c99b7107669a6fc486
|
File details
Details for the file sagebox-0.1.1-cp39-cp39-win_amd64.whl.
File metadata
- Download URL: sagebox-0.1.1-cp39-cp39-win_amd64.whl
- Upload date:
- Size: 3.0 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 |
428838b9c7f5aaa1cece917c6fe06e36e7a827e19bbd53f6d555e9b7ceb7d048
|
|
| MD5 |
eb461723170f7ac8ee550a8d6decc7d5
|
|
| BLAKE2b-256 |
be2f6b0d995e87a2b7d1d08f89901cb6c7b9e2df12fc8bcd2120af2443f59523
|
File details
Details for the file sagebox-0.1.1-cp37-cp37m-win_amd64.whl.
File metadata
- Download URL: sagebox-0.1.1-cp37-cp37m-win_amd64.whl
- Upload date:
- Size: 3.0 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 |
31dd8607af3fdd187e4f46d5b91583b49d8064b3f9f0a76e0afe09ca3d3d408d
|
|
| MD5 |
3808b2e47f7ed42af63cd189291aa323
|
|
| BLAKE2b-256 |
c4cc07062c6ceca9e2439f605d1ecb7eb4c64f6e1f8fbd808b4ced58d2b567e2
|