Skip to main content

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
  • loadfx CLI with doctor
  • 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

loadfx-2.1.0.tar.gz (13.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

loadfx-2.1.0-py3-none-any.whl (15.8 kB view details)

Uploaded Python 3

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

Hashes for loadfx-2.1.0.tar.gz
Algorithm Hash digest
SHA256 81837b52bca09e1450996abdf6a69580ca557c49b358164efd77801535fa73b8
MD5 5559bad0493d2e2968c3422dd64e3eb7
BLAKE2b-256 1fd3fde0c556fbd59e01eadc012ef955bb5993618b23b7ec0b8f7016851026e5

See more details on using hashes here.

Provenance

The following attestation bundles were made for loadfx-2.1.0.tar.gz:

Publisher: publish.yml on tivalsdeveloper-oss/loadfx

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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

Hashes for loadfx-2.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 0c752ccd0e4ea2405bcf6c25779d6bbbd471e422788a360fba1d5f8dd870cd9a
MD5 14850e3560638dbf80f9ed1379999d7f
BLAKE2b-256 794c246cefdf6eb2823c05b5821d9fc938a7f0c94842c13b2438c36eb4524583

See more details on using hashes here.

Provenance

The following attestation bundles were made for loadfx-2.1.0-py3-none-any.whl:

Publisher: publish.yml on tivalsdeveloper-oss/loadfx

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page