animflow
pip install animflow
Come inside:
- Fully customizable way of displaying and storing animation:
- Utilize custom animation for drawing enjoyer.
- Utilize
{key}for pivoting enjoyer. - Utilize zipping for enterprising enjoyer.
Tutorial
First of all, make animations via convert.py file.
Socket
Make an animflow socket server. Type into your terminal:
animflow --animation "Path/to/animation"
Then, on another python file.
from animflow.parser import _test_connector
_test_connector()
# Basic example CLI for this:
# ---------------------------
# cmd: HELP
# cmd: SHOW
# cmd: SELECT {"animation_name": "(Your animation)"}
Pure Python
anim = Animation("Path/to/test.tar.xz")
anim.name = "animation_name" # Its name is currently `test`, we change it to `animation_name`.
displayer = Displayer()
displayer.add_animation(anim)
moving_label = QLabel()
moving_label.setText("This will be move instead")
# All kwargs below are optional.
kwargs = {
"title" = "Never gonna give you up", # Window title, default is `animflow`
"delay" = 300, # Delay in 300ms.
"animation" = "animation_name", # Start with animation `animation_name`.
"auto_shutdown" = True, # Will shutdown itself when the program is done.
"container" = CustomQWidget(), # A class object from QWidget.
"move_widget" = moving_label, # A class object with will be move instead of default window.
"run_event_loop" = True, # Run the Qt event loop, meaning it will block the main thread
}
displayer.display(**kwargs)
Metadata
Release files for animflow 0.3.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| animflow-0.3.0.tar.gz | 38.0 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| animflow-0.3.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 65.4 kB
Release files / animflow-0.3.0.tar.gz
| Download URL | animflow-0.3.0.tar.gz |
|---|---|
| Size | 38.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
65104d88fd7ba8aec5f032df238e5d432c944cc35e87e2516cf929cbf6d064a4
|
|
BLAKE2b-256 checksum How to use checksums |
a9836ab68c28364f3bc9fef4381bb6d6c3fb1c9b15ec20eeadc5ba9d0cfc379c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
uv/0.12.10 {"installer":{"name":"uv","version":"0.12.10","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|
Release files / animflow-0.3.0-py3-none-any.whl
| Download URL | animflow-0.3.0-py3-none-any.whl |
|---|---|
| Size | 27.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
98a0b533404a29680158a52a3cc1615b2ddd66eb4590a9bfc62d264edb7512aa
|
|
BLAKE2b-256 checksum How to use checksums |
61f7943291f1551ce7431b5c75995c4ccbf2263d669e297a4cff6812d0e6f3c1
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
uv/0.12.10 {"installer":{"name":"uv","version":"0.12.10","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|