Skip to main content

pyeaze

pyeaze is a Python package for animating values with easing functions. It supports float, int, and hex color values (specified as strings), and can animate multiple values at the same time.

Installation

Use the package manager pip to install pyeaze.

pip install pyeaze

Usage

Animating single value,

import pyeaze

anim = Animator(current_value=0, target_value=100, duration=1, fps=60, easing='ease', reverse=False)

for value in anim:
    print(value)

Animating multiple values,

anim.add_animator(current_value='#e01a6d', target_value='#ffffff', easing='ease')
anim.add_animator(current_value='#006effff', target_value='#ffffff00', easing='ease')

for value, color1, color2 in anim:
    print(value, color1, color2)

More information

Release files for pyeaze 0.8.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for pyeaze 0.8.1
File Size Uploaded
pyeaze-0.8.1.tar.gz 6.2 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for pyeaze 0.8.1
File Interpreter ABI Platform
pyeaze-0.8.1-py3-none-any.whl Python 3 none any Details

Total release size: 11.6 kB

Release files / pyeaze-0.8.1.tar.gz

Download URL pyeaze-0.8.1.tar.gz
Size 6.2 kB
Tags Source
SHA-256 checksum
How to use checksums
18b0c5f865cf7aaedb5a660b89d3198540e76d1d05a1e16e10d4e49d98b15f91
BLAKE2b-256 checksum
How to use checksums
a96567e97851a1473f372c7f9fe67990710fa8285b8333fdabba827f182b68d8
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.10.3

Release files / pyeaze-0.8.1-py3-none-any.whl

Download URL pyeaze-0.8.1-py3-none-any.whl
Size 5.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
d78e25ee249bc98fd9a8f56f5b3eaa5199203ad7a921519ea54d849b1ae5bac2
BLAKE2b-256 checksum
How to use checksums
77da65564a5b2428200de3a251d9d8444059d0646dfa3854745217fe80e763b4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.10.3

Release history Release notifications | RSS feed

This release

0.8.1 This release

2 release files

0.8

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page