loadfx 2.1
Zero-dependency Python terminal effects and UI toolkit.
Install
python -m pip install loadfx
Highlights
- 24+ built-in loading effects and custom frames
- Progress bars with ETA and speed
- Text colors, formatting, RGB, rainbow and gradient effects
- Typing, banners and boxes
- List, dictionary and nested menus
- Multi-select menus
- Tables, panels, trees and dashboard primitives
- Terminal forms, file browser, command palette and app shell
- Notifications and structured logging
- Built-in themes and task runner
- Typewriter, slide, fade-in and glitch animations
- Keyboard callback registry and plugin base class
loadfxCLI withdoctor- Python 3.8+
- Zero runtime dependencies
Quick start
from loadfx import Loader, TextFX, Menu
import time
print(TextFX.rainbow("LOADFX"))
with Loader("Starting", effect="wave"):
time.sleep(1)
choice = Menu({"Start":"start", "Settings":"settings", "Exit":"exit"}).show()
print(choice)
Loading effects
from loadfx import Loader
with Loader("Processing", effect="matrix"):
time.sleep(2)
Loader("Processing", frames=["[ ]", "[= ]", "[== ]", "[===]"]).start()
Effects include dots, spinner, line, arrows, bounce, pulse, circle, square, braille, clock, wave, bars, blocks, grow, shrink, orbit, arc, snake, ping, heart, star, matrix, scan, and moon.
Progress
from loadfx import ProgressBar
bar = ProgressBar(100, show_eta=True, show_speed=True)
for i in range(101):
bar.update(i)
Forms
from loadfx import Form
form = Form("Create Account")
form.input("username", required=True)
form.password("password", required=True)
form.input("email", required=True)
result = form.show()
App shell
from loadfx import App
App("My App").header("LOADFX").main("Hello terminal").footer("Ready").run()
Widgets and tools
from loadfx import Table, Panel, Tree, FileBrowser, CommandPalette
Table(["Name", "Status"], [["loadfx", "Active"]], style="rounded").show()
Panel("Terminal toolkit", title="loadfx").show()
Tree("Project").add("src/loadfx").add("tests").show()
Themes and animations
from loadfx import Theme, Animation
Theme.use("cyberpunk")
Animation.fade_in("Welcome")
Animation.glitch("SYSTEM")
CLI
loadfx version
loadfx effects
loadfx themes
loadfx demo
loadfx doctor
API
Loader, Spinner, ProgressBar, TextFX, Menu, MultiMenu, Table, Panel, Tree, Dashboard, Terminal, notify, Logger, Theme, Tasks, Animation, Form, FileBrowser, CommandPalette, keyboard, Plugin, and App.
License
MIT — Tivalsdeveloper
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
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 loadfx-2.1.0.tar.gz.
File metadata
- Download URL: loadfx-2.1.0.tar.gz
- Upload date:
- Size: 13.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via:
twine/7.0.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
81837b52bca09e1450996abdf6a69580ca557c49b358164efd77801535fa73b8
|
|
| MD5 |
5559bad0493d2e2968c3422dd64e3eb7
|
|
| BLAKE2b-256 |
1fd3fde0c556fbd59e01eadc012ef955bb5993618b23b7ec0b8f7016851026e5
|
Provenance
The following attestation bundles were made for loadfx-2.1.0.tar.gz:
Publisher:
publish.yml on tivalsdeveloper-oss/loadfx
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
loadfx-2.1.0.tar.gz -
Subject digest:
81837b52bca09e1450996abdf6a69580ca557c49b358164efd77801535fa73b8 - Sigstore transparency entry: 2438269489
- Sigstore integration time:
-
Permalink:
tivalsdeveloper-oss/loadfx@d13a1a43c4b40dedf1a894a72339abf504f4a479 -
Branch / Tag:
refs/tags/v2.1.0 - Owner: https://github.com/tivalsdeveloper-oss
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@d13a1a43c4b40dedf1a894a72339abf504f4a479 -
Trigger Event:
release
-
Statement type:
File details
Details for the file loadfx-2.1.0-py3-none-any.whl.
File metadata
- Download URL: loadfx-2.1.0-py3-none-any.whl
- Upload date:
- Size: 15.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via:
twine/7.0.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0c752ccd0e4ea2405bcf6c25779d6bbbd471e422788a360fba1d5f8dd870cd9a
|
|
| MD5 |
14850e3560638dbf80f9ed1379999d7f
|
|
| BLAKE2b-256 |
794c246cefdf6eb2823c05b5821d9fc938a7f0c94842c13b2438c36eb4524583
|
Provenance
The following attestation bundles were made for loadfx-2.1.0-py3-none-any.whl:
Publisher:
publish.yml on tivalsdeveloper-oss/loadfx
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
loadfx-2.1.0-py3-none-any.whl -
Subject digest:
0c752ccd0e4ea2405bcf6c25779d6bbbd471e422788a360fba1d5f8dd870cd9a - Sigstore transparency entry: 2438269526
- Sigstore integration time:
-
Permalink:
tivalsdeveloper-oss/loadfx@d13a1a43c4b40dedf1a894a72339abf504f4a479 -
Branch / Tag:
refs/tags/v2.1.0 - Owner: https://github.com/tivalsdeveloper-oss
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@d13a1a43c4b40dedf1a894a72339abf504f4a479 -
Trigger Event:
release
-
Statement type: