manim
manim copied to clipboard
Module creation and CLI interface cleaning
Overview: What does this pull request change?
Cleaning and documenting Runtime module creation and Scene-class search
- Old version had knowledge of Scene and did had CLI control flow baked in.
- New version put CLI control flow back into caller file. Module creation does only one job.
- New functions are type agnostig and generic
Version checker:
- Old checker connects to internet every time when rendering is stopped
- New version caches information into file and fetch information from internet only once a day.
Motivation and Explanation: Why and how do your changes improve the library?
- Code quality and function documentation and typing
- Little changes to CLI UX.
Related issue
https://github.com/ManimCommunity/manim/issues/4264
Reviewer Checklist
- [ ] The PR title is descriptive enough for the changelog, and the PR is labeled correctly
- [ ] If applicable: newly added non-private functions and classes have a docstring including a short summary and a PARAMETERS section
- [ ] If applicable: newly added functions and classes are tested