Skip to main content

Pre-built Unicode braille spinner animations as raw frame data

Project description

unicode-animations

Python port of gunnargray-dev/unicode-animations.

18 pre-built Unicode braille spinner animations as raw frame data, plus grid utilities for building custom spinners. Zero dependencies.

Install

uv add unicode-animations

Usage

from unicode_animations import spinners

spinner = spinners["helix"]
print(spinner.frames)    # tuple of animation frames
print(spinner.interval)  # ms between frames

Custom spinners with the grid API

from unicode_animations import make_grid, grid_to_braille

grid = make_grid(4, 2)   # 4 rows × 2 cols (one braille char)
grid[0][0] = True
grid[3][1] = True
print(grid_to_braille(grid))  # ⡁

CLI demo

uv run python -m unicode_animations          # cycle through all spinners
uv run python -m unicode_animations helix    # preview one
uv run python -m unicode_animations --list   # list all names

Available spinners

braille · braillewave · dna · scan · rain · scanline · pulse · snake · sparkle · cascade · columns · orbit · breathe · waverows · checkerboard · helix · fillsweep · diagswipe

License

MIT

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

unicode_animations-0.1.1.tar.gz (12.9 kB view details)

Uploaded Source

Built Distribution

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

unicode_animations-0.1.1-py3-none-any.whl (5.4 kB view details)

Uploaded Python 3

File details

Details for the file unicode_animations-0.1.1.tar.gz.

File metadata

  • Download URL: unicode_animations-0.1.1.tar.gz
  • Upload date:
  • Size: 12.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.5.1

File hashes

Hashes for unicode_animations-0.1.1.tar.gz
Algorithm Hash digest
SHA256 c3a77044131167af95004dc65184c83918b983228c07fde7405e58c22d56f422
MD5 9a5e85dee0546b6e6905fcd369f04981
BLAKE2b-256 a3303b8b3b608ebc5f066aac2343cc734479a338619c575a6087f02b4b027e22

See more details on using hashes here.

File details

Details for the file unicode_animations-0.1.1-py3-none-any.whl.

File metadata

File hashes

Hashes for unicode_animations-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 a54fa4342f10fce5b44812ad746616fce632c121493a645186f45d0090ea8613
MD5 f676c0186a659cb788c41ecc14977bbf
BLAKE2b-256 cc274cf651650d52774144e3e59cbdf4c0b0c27f10e91dc83a1d4920cca72dc3

See more details on using hashes here.

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