pyeaze


Namepyeaze JSON
Version 0.8.1 PyPI version JSON
download
home_page
SummaryA package for animating values with easing functions
upload_time2023-04-27 06:35:55
maintainer
docs_urlNone
authorVasigaran
requires_python
license
keywords python animation animate ease easing motion
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            
# **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](https://pip.pypa.io/en/stable/) to install pyeaze.

```bash
pip install pyeaze
```

# Usage

Animating single value,
```python
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,
```python
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](https://github.com/VasigaranAndAngel/pyeaze)

            

Raw data

            {
    "_id": null,
    "home_page": "",
    "name": "pyeaze",
    "maintainer": "",
    "docs_url": null,
    "requires_python": "",
    "maintainer_email": "",
    "keywords": "python,animation,animate,ease,easing,motion",
    "author": "Vasigaran",
    "author_email": "vasigaranvip195@gmail.com",
    "download_url": "https://files.pythonhosted.org/packages/a9/65/67e97851a1473f372c7f9fe67990710fa8285b8333fdabba827f182b68d8/pyeaze-0.8.1.tar.gz",
    "platform": null,
    "description": "\r\n# **pyeaze**\r\n\r\n**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.\r\n\r\n# Installation\r\n\r\nUse the package manager [pip](https://pip.pypa.io/en/stable/) to install pyeaze.\r\n\r\n```bash\r\npip install pyeaze\r\n```\r\n\r\n# Usage\r\n\r\nAnimating single value,\r\n```python\r\nimport pyeaze\r\n\r\nanim = Animator(current_value=0, target_value=100, duration=1, fps=60, easing='ease', reverse=False)\r\n\r\nfor value in anim:\r\n    print(value)\r\n```\r\n\r\nAnimating multiple values,\r\n```python\r\nanim.add_animator(current_value='#e01a6d', target_value='#ffffff', easing='ease')\r\nanim.add_animator(current_value='#006effff', target_value='#ffffff00', easing='ease')\r\n\r\nfor value, color1, color2 in anim:\r\n    print(value, color1, color2)\r\n```\r\n\r\n[More information](https://github.com/VasigaranAndAngel/pyeaze)\r\n",
    "bugtrack_url": null,
    "license": "",
    "summary": "A package for animating values with easing functions",
    "version": "0.8.1",
    "split_keywords": [
        "python",
        "animation",
        "animate",
        "ease",
        "easing",
        "motion"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "77da65564a5b2428200de3a251d9d8444059d0646dfa3854745217fe80e763b4",
                "md5": "f8a06e8cda253aead3420dbc20084c2b",
                "sha256": "d78e25ee249bc98fd9a8f56f5b3eaa5199203ad7a921519ea54d849b1ae5bac2"
            },
            "downloads": -1,
            "filename": "pyeaze-0.8.1-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "f8a06e8cda253aead3420dbc20084c2b",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": null,
            "size": 5405,
            "upload_time": "2023-04-27T06:35:53",
            "upload_time_iso_8601": "2023-04-27T06:35:53.242678Z",
            "url": "https://files.pythonhosted.org/packages/77/da/65564a5b2428200de3a251d9d8444059d0646dfa3854745217fe80e763b4/pyeaze-0.8.1-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "a96567e97851a1473f372c7f9fe67990710fa8285b8333fdabba827f182b68d8",
                "md5": "35d0c262d6d1837463e5ad9122782fc8",
                "sha256": "18b0c5f865cf7aaedb5a660b89d3198540e76d1d05a1e16e10d4e49d98b15f91"
            },
            "downloads": -1,
            "filename": "pyeaze-0.8.1.tar.gz",
            "has_sig": false,
            "md5_digest": "35d0c262d6d1837463e5ad9122782fc8",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": null,
            "size": 6188,
            "upload_time": "2023-04-27T06:35:55",
            "upload_time_iso_8601": "2023-04-27T06:35:55.915065Z",
            "url": "https://files.pythonhosted.org/packages/a9/65/67e97851a1473f372c7f9fe67990710fa8285b8333fdabba827f182b68d8/pyeaze-0.8.1.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2023-04-27 06:35:55",
    "github": false,
    "gitlab": false,
    "bitbucket": false,
    "lcname": "pyeaze"
}
        
Elapsed time: 0.94398s