Automatically animates changes in widget positions
Project description
PosAni
Automatically animates changes in widget positions.
Installation
Pin the minor version.
poetry add kivy-garden-posani@~0.3
pip install "kivy-garden-posani>=0.3,<0.4"
Usage
from kivy_garden import posani
posani.activate(widget)
Install if you prefer not to manually activate each individual widget. All the widgets created after the installation will be automatically "activated".
posani.install()
To install on a specific type of widgets:
posani.install(target="WidgetClassName")
Q&A
Why is it implemented through a widget's canvas rather than just updating the widget's position?
Many layouts, such as BoxLayout and GridLayout, constrain the positions of their children, so moving a widget to an arbitrary position isn't always possible.
Why does it not animate widget sizes?
It used to until version 0.1.x but this feature was dropped in version 0.2.0.
The reason is that scaling a widget using kivy.graphics.Scale produces visually unappealing results.
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file kivy_garden_posani-0.3.2.tar.gz.
File metadata
- Download URL: kivy_garden_posani-0.3.2.tar.gz
- Upload date:
- Size: 2.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d4a6915644190e32ce2763ca55444c0c022eddde6af1a6e366fd7e753879043f
|
|
| MD5 |
d32dd901dbf8088985fe6fcc5cedc6f5
|
|
| BLAKE2b-256 |
a21c029f3e26cc5796dcf2fd73fc89e1584127ef289281f7b16bc71b3b333729
|
Provenance
The following attestation bundles were made for kivy_garden_posani-0.3.2.tar.gz:
Publisher:
release.yml on gottadiveintopython/posani
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
kivy_garden_posani-0.3.2.tar.gz -
Subject digest:
d4a6915644190e32ce2763ca55444c0c022eddde6af1a6e366fd7e753879043f - Sigstore transparency entry: 835932722
- Sigstore integration time:
-
Permalink:
gottadiveintopython/posani@271773c19ea8fbe20f53344d8b4592e569b4ef10 -
Branch / Tag:
refs/tags/v0.3.2 - Owner: https://github.com/gottadiveintopython
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@271773c19ea8fbe20f53344d8b4592e569b4ef10 -
Trigger Event:
push
-
Statement type:
File details
Details for the file kivy_garden_posani-0.3.2-py3-none-any.whl.
File metadata
- Download URL: kivy_garden_posani-0.3.2-py3-none-any.whl
- Upload date:
- Size: 3.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
91a7fe61407cf241f9400461b767d7d4563f60c8102f4f3b9f367b9ffb7cc42a
|
|
| MD5 |
ae82b4ba0168eb8945abe94621b38c33
|
|
| BLAKE2b-256 |
b5ee0b3c9551cfcc6579335525f54d6676f275e563e2f18384254fc7290edcdd
|
Provenance
The following attestation bundles were made for kivy_garden_posani-0.3.2-py3-none-any.whl:
Publisher:
release.yml on gottadiveintopython/posani
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
kivy_garden_posani-0.3.2-py3-none-any.whl -
Subject digest:
91a7fe61407cf241f9400461b767d7d4563f60c8102f4f3b9f367b9ffb7cc42a - Sigstore transparency entry: 835932753
- Sigstore integration time:
-
Permalink:
gottadiveintopython/posani@271773c19ea8fbe20f53344d8b4592e569b4ef10 -
Branch / Tag:
refs/tags/v0.3.2 - Owner: https://github.com/gottadiveintopython
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@271773c19ea8fbe20f53344d8b4592e569b4ef10 -
Trigger Event:
push
-
Statement type: