Skip to main content

Custom loading animations for Streamlit - replaces the default spinner with polished alternatives

Project description

st-custom-static

PyPI version Python versions License Build

Drop-in replacements for Streamlit's default loading animation. Swap out the running man with one of 13 polished alternatives in seconds.

Install

pip install st-custom-static
st-install --icon italic-h-sweep

Streamlit's version is auto-detected. Restart any running apps to apply the change.

Restore the original

st-install --restore

Available icons

Name Preview
italic-h-sweep italic H with a light sweep
italic-h-striped italic H with column-by-column stripe wave
italic-h-wave italic H bars filling sequentially
italic-h-scan italic H ghost outline with scanning line
italic-h-sequential italic H bars lighting up left to right
italic-h-cascade italic H with per-stripe cascade
three-dots Three Dots
bar-chart Bar Chart
progress-ring Progress Ring
spinning-sync Spinning Sync
pulsing-dot Pulsing Dot
rotating-gear Rotating Gear
hourglass Hourglass

Supported Streamlit versions

1.45.1, 1.46.1, 1.47.1, 1.48.1, 1.49.1, 1.50.0, 1.51.0, 1.52.0, 1.53.1, 1.54.0, 1.55.0, 1.56.0, 1.57.0

Pin a specific version if auto-detection is wrong:

st-install --icon italic-h-sweep --version 1.57.0

Use in a project

Add to pyproject.toml or requirements.txt:

st-custom-static

Then run st-install --icon <name> once after pip install.

Manual build

Clone and build from source using the scripts in manual-build/.

How it works

Pre-built zips are published as GitHub Releases per version/icon combination. st-install downloads the matching zip, backs up Streamlit's original static/ folder, and replaces it with the custom build. The CI workflow in this repo rebuilds those zips automatically when icons or workflow config changes.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

st_custom_static-0.1.0.tar.gz (32.1 kB view details)

Uploaded Source

Built Distribution

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

st_custom_static-0.1.0-py3-none-any.whl (16.8 kB view details)

Uploaded Python 3

File details

Details for the file st_custom_static-0.1.0.tar.gz.

File metadata

  • Download URL: st_custom_static-0.1.0.tar.gz
  • Upload date:
  • Size: 32.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for st_custom_static-0.1.0.tar.gz
Algorithm Hash digest
SHA256 4968195a5abd02051586c61cef28033e25f566e16d8039f84f2c772b7fb504a3
MD5 908c6e896690117fab1b193b6ed081dd
BLAKE2b-256 b2df7a85cef5ab3f5cf5d2aa6e7c1947e58e78fafb1c6e24203679b88e67d13f

See more details on using hashes here.

Provenance

The following attestation bundles were made for st_custom_static-0.1.0.tar.gz:

Publisher: publish.yml on lperezmo/st-custom-static

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

File details

Details for the file st_custom_static-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for st_custom_static-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 72423028297724334dbf655c11d73e7e3b5b5a29324eefe11719a4873d3bca53
MD5 08f7a70cadf690097c948e4ff76c46c8
BLAKE2b-256 12627c4db582f63e904e47d0105275a2ff973f4e8d2e351f513dbe34247fc990

See more details on using hashes here.

Provenance

The following attestation bundles were made for st_custom_static-0.1.0-py3-none-any.whl:

Publisher: publish.yml on lperezmo/st-custom-static

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 Pingdom Monitoring Sentry Error logging StatusPage Status page