No project description provided
Project description
manim-table
A simple library to create and animate tables in ManimGL.
Installation
You can install the library via pip:
pip install manim-table
Usage
Here is how you create a basic table.
from manimlib import Scene, Write
from manim_table import Table
class TableExample(Scene):
def construct(self):
data = [
["Name", "Age", "City"],
["Alice", "25", "New York"],
["Bob", "30", "Paris"],
]
# Create the table
table = Table(data)
# Animate it
self.play(Write(table))
Modifying the Table
You can add or remove rows and columns with animations.
# Add a new row
new_row, anims = table.add_row(["Charlie", "35", "London"])
self.play(AnimationGroup(*anims, lag_ratio=0.05))
# Delete a row (index starts at 1 for data rows)
deleted_row, anims = table.delete_row(1)
self.play(AnimationGroup(*anims, lag_ratio=0.05))
Styling
You can easily change colors and styles.
from manimlib import BLUE, RED
# Style the header
table.set_header_background_color(BLUE)
# Style specific cells (row, column)
# Row 0 is header, Row 1 is first data row
table.get_cell(1, 1).set_font_color(RED)
Project details
Release history Release notifications | RSS feed
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 manim_table-1.1.0.tar.gz.
File metadata
- Download URL: manim_table-1.1.0.tar.gz
- Upload date:
- Size: 8.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d99000cd6d51e2bf1d4bf947f28f05e55cf8b69fc74acf4761b17cd608965c5b
|
|
| MD5 |
1fc9a1b7684bf1d5bf47d156d34506fb
|
|
| BLAKE2b-256 |
65b22e0ea28cfb8142a4cd7e60502788c31adaee02b1bf4b3da93ff6ba4a9833
|
Provenance
The following attestation bundles were made for manim_table-1.1.0.tar.gz:
Publisher:
ci.yaml on philippe2803/manim-table
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
manim_table-1.1.0.tar.gz -
Subject digest:
d99000cd6d51e2bf1d4bf947f28f05e55cf8b69fc74acf4761b17cd608965c5b - Sigstore transparency entry: 829215402
- Sigstore integration time:
-
Permalink:
philippe2803/manim-table@7ddee0be20ba4a8f0de83c261cf4be4149175b41 -
Branch / Tag:
refs/heads/main - Owner: https://github.com/philippe2803
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
ci.yaml@7ddee0be20ba4a8f0de83c261cf4be4149175b41 -
Trigger Event:
push
-
Statement type:
File details
Details for the file manim_table-1.1.0-py3-none-any.whl.
File metadata
- Download URL: manim_table-1.1.0-py3-none-any.whl
- Upload date:
- Size: 10.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 |
692975d19d04c39902c16de586e8ae2151f34d36e73cf112d0fc9ec321def6e1
|
|
| MD5 |
0a8de90374a98739e9386758f087c080
|
|
| BLAKE2b-256 |
eaf9348772d9276f8825b9ddbaaa298e68b02b5c2b94bd6a1ab3ca5f06804782
|
Provenance
The following attestation bundles were made for manim_table-1.1.0-py3-none-any.whl:
Publisher:
ci.yaml on philippe2803/manim-table
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
manim_table-1.1.0-py3-none-any.whl -
Subject digest:
692975d19d04c39902c16de586e8ae2151f34d36e73cf112d0fc9ec321def6e1 - Sigstore transparency entry: 829215405
- Sigstore integration time:
-
Permalink:
philippe2803/manim-table@7ddee0be20ba4a8f0de83c261cf4be4149175b41 -
Branch / Tag:
refs/heads/main - Owner: https://github.com/philippe2803
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
ci.yaml@7ddee0be20ba4a8f0de83c261cf4be4149175b41 -
Trigger Event:
push
-
Statement type: