algomanim 0.2.2__tar.gz → 0.2.3__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {algomanim-0.2.2 → algomanim-0.2.3}/PKG-INFO +14 -5
- algomanim-0.2.3/README.md +32 -0
- {algomanim-0.2.2 → algomanim-0.2.3}/pyproject.toml +6 -1
- {algomanim-0.2.2 → algomanim-0.2.3}/src/algomanim/__init__.py +2 -3
- {algomanim-0.2.2 → algomanim-0.2.3}/src/algomanim/algomanim.py +379 -133
- algomanim-0.2.3/src/algomanim/datastructures.py +31 -0
- algomanim-0.2.3/src/algomanim/examples/README.md +39 -0
- algomanim-0.2.3/src/algomanim/examples/__init__.py +0 -0
- algomanim-0.2.3/src/algomanim/examples/examples.py +888 -0
- algomanim-0.2.3/src/algomanim/examples/rend_no_poetry.sh +54 -0
- algomanim-0.2.3/src/algomanim/examples/rend_poetry.sh +53 -0
- algomanim-0.2.3/src/algomanim/examples/utils.py +33 -0
- algomanim-0.2.3/src/algomanim/examples/video_output/high_quality/.gitkeep +0 -0
- algomanim-0.2.3/src/algomanim/examples/video_output/low_quality/.gitkeep +0 -0
- algomanim-0.2.3/src/algomanim/examples/video_output/medium_quality/.gitkeep +0 -0
- algomanim-0.2.3/src/algomanim/svg/__init__.py +3 -0
- algomanim-0.2.3/src/algomanim/utils.py +155 -0
- algomanim-0.2.2/README.md +0 -23
- algomanim-0.2.2/src/algomanim/utils.py +0 -72
- {algomanim-0.2.2 → algomanim-0.2.3}/LICENSE +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.3
|
|
2
2
|
Name: algomanim
|
|
3
|
-
Version: 0.2.
|
|
3
|
+
Version: 0.2.3
|
|
4
4
|
Summary: Manim-powered algorithm tasks visualizations for LeetCode and beyond
|
|
5
5
|
License: MIT
|
|
6
6
|
Author: Benedict Abub
|
|
@@ -24,20 +24,29 @@ A Manim-based library for visualizing algorithms and explaining LeetCode-style s
|
|
|
24
24
|
|
|
25
25
|
## Demo
|
|
26
26
|
|
|
27
|
-
###
|
|
27
|
+
### Screenshot
|
|
28
28
|
|
|
29
|
-

|
|
30
30
|
|
|
31
|
-
###
|
|
31
|
+
### GIF
|
|
32
32
|
|
|
33
|
-

|
|
34
34
|
|
|
35
35
|
## Installation
|
|
36
36
|
|
|
37
37
|
```sh
|
|
38
|
+
# pip
|
|
38
39
|
pip install algomanim
|
|
40
|
+
|
|
41
|
+
# poetry
|
|
42
|
+
poetry add algomanim
|
|
39
43
|
```
|
|
40
44
|
|
|
45
|
+
## Examples
|
|
46
|
+
|
|
47
|
+
The package includes example render scripts to help you get started. You can find them in the algomanim.examples module after installation.
|
|
48
|
+
See [`examples documentation`](src/algomanim/examples/README.md) for details.
|
|
49
|
+
|
|
41
50
|
## License
|
|
42
51
|
|
|
43
52
|
MIT
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
# algomanim
|
|
2
|
+
|
|
3
|
+
A Manim-based library for visualizing algorithms and explaining LeetCode-style solutions.
|
|
4
|
+
|
|
5
|
+
## Demo
|
|
6
|
+
|
|
7
|
+
### Screenshot
|
|
8
|
+
|
|
9
|
+

|
|
10
|
+
|
|
11
|
+
### GIF
|
|
12
|
+
|
|
13
|
+

|
|
14
|
+
|
|
15
|
+
## Installation
|
|
16
|
+
|
|
17
|
+
```sh
|
|
18
|
+
# pip
|
|
19
|
+
pip install algomanim
|
|
20
|
+
|
|
21
|
+
# poetry
|
|
22
|
+
poetry add algomanim
|
|
23
|
+
```
|
|
24
|
+
|
|
25
|
+
## Examples
|
|
26
|
+
|
|
27
|
+
The package includes example render scripts to help you get started. You can find them in the algomanim.examples module after installation.
|
|
28
|
+
See [`examples documentation`](src/algomanim/examples/README.md) for details.
|
|
29
|
+
|
|
30
|
+
## License
|
|
31
|
+
|
|
32
|
+
MIT
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
[project]
|
|
2
2
|
name = "algomanim"
|
|
3
|
-
version = "0.2.
|
|
3
|
+
version = "0.2.3"
|
|
4
4
|
description = "Manim-powered algorithm tasks visualizations for LeetCode and beyond"
|
|
5
5
|
authors = [
|
|
6
6
|
{name = "Benedict Abub", email = "fkhurkhd2123dfs@tutamail.com"}
|
|
@@ -20,5 +20,10 @@ Repository = "https://github.com/benabub/algomanim"
|
|
|
20
20
|
requires = ["poetry-core>=1.0.0"]
|
|
21
21
|
build-backend = "poetry.core.masonry.api"
|
|
22
22
|
|
|
23
|
+
[tool.poetry]
|
|
24
|
+
packages = [
|
|
25
|
+
{ include = "algomanim", from = "src" }
|
|
26
|
+
]
|
|
27
|
+
|
|
23
28
|
[tool.poetry.group.dev.dependencies]
|
|
24
29
|
pytest = "^8.4.1"
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
from .algomanim import (
|
|
2
2
|
Array,
|
|
3
3
|
String,
|
|
4
|
+
LinkedList,
|
|
4
5
|
RelativeTextValue,
|
|
5
6
|
RelativeText,
|
|
6
7
|
CodeBlock,
|
|
@@ -8,15 +9,13 @@ from .algomanim import (
|
|
|
8
9
|
TitleLogo,
|
|
9
10
|
)
|
|
10
11
|
|
|
11
|
-
from . import utils
|
|
12
|
-
|
|
13
12
|
__all__ = [
|
|
14
13
|
"Array",
|
|
15
14
|
"String",
|
|
15
|
+
"LinkedList",
|
|
16
16
|
"RelativeTextValue",
|
|
17
17
|
"RelativeText",
|
|
18
18
|
"CodeBlock",
|
|
19
19
|
"TitleText",
|
|
20
20
|
"TitleLogo",
|
|
21
|
-
"utils",
|
|
22
21
|
]
|