algomanim 0.2.2__tar.gz → 0.2.4__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.
Files changed (27) hide show
  1. {algomanim-0.2.2 → algomanim-0.2.4}/PKG-INFO +14 -5
  2. algomanim-0.2.4/README.md +32 -0
  3. {algomanim-0.2.2 → algomanim-0.2.4}/pyproject.toml +6 -1
  4. {algomanim-0.2.2 → algomanim-0.2.4}/src/algomanim/__init__.py +2 -3
  5. algomanim-0.2.4/src/algomanim/algomanim.py +1572 -0
  6. algomanim-0.2.4/src/algomanim/datastructures.py +31 -0
  7. algomanim-0.2.4/src/algomanim/examples/README.md +44 -0
  8. algomanim-0.2.4/src/algomanim/examples/__init__.py +0 -0
  9. algomanim-0.2.4/src/algomanim/examples/examples.py +925 -0
  10. algomanim-0.2.4/src/algomanim/examples/rend_no_poetry.sh +54 -0
  11. algomanim-0.2.4/src/algomanim/examples/rend_poetry.sh +53 -0
  12. algomanim-0.2.4/src/algomanim/examples/video_output/high_quality/.gitkeep +0 -0
  13. algomanim-0.2.4/src/algomanim/examples/video_output/low_quality/.gitkeep +0 -0
  14. algomanim-0.2.4/src/algomanim/examples/video_output/medium_quality/.gitkeep +0 -0
  15. algomanim-0.2.4/src/algomanim/svg/__init__.py +3 -0
  16. algomanim-0.2.4/src/algomanim/svg/arrows/radius_x10.svg +61 -0
  17. algomanim-0.2.4/src/algomanim/svg/arrows/radius_x12.svg +61 -0
  18. algomanim-0.2.4/src/algomanim/svg/arrows/radius_x14.svg +61 -0
  19. algomanim-0.2.4/src/algomanim/svg/arrows/radius_x16.svg +61 -0
  20. algomanim-0.2.4/src/algomanim/svg/arrows/radius_x18.svg +61 -0
  21. algomanim-0.2.4/src/algomanim/svg/arrows/radius_x20.svg +61 -0
  22. algomanim-0.2.4/src/algomanim/svg/arrows/template.svg +80 -0
  23. algomanim-0.2.4/src/algomanim/utils.py +125 -0
  24. algomanim-0.2.2/README.md +0 -23
  25. algomanim-0.2.2/src/algomanim/algomanim.py +0 -1361
  26. algomanim-0.2.2/src/algomanim/utils.py +0 -72
  27. {algomanim-0.2.2 → algomanim-0.2.4}/LICENSE +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.3
2
2
  Name: algomanim
3
- Version: 0.2.2
3
+ Version: 0.2.4
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
- ### ScreenShot
27
+ ### Screenshot
28
28
 
29
- ![screenshot](assets/screenshot.png)
29
+ ![Screenshot](assets/screenshot.png)
30
30
 
31
- ### Gif
31
+ ### GIF
32
32
 
33
- ![gif](assets/bubble_sort_gif.gif)
33
+ ![GIF](assets/bubble_sort_gif.gif)
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
+ ![Screenshot](assets/screenshot.png)
10
+
11
+ ### GIF
12
+
13
+ ![GIF](assets/bubble_sort_gif.gif)
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.2"
3
+ version = "0.2.4"
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
  ]