See details at https://pypi.org/project/codevideorenderer/1.2.1/.
What's Changed
Additions π
-
Add the
__version__variable to__init__.py -
Add the
__all__variable toconfig.py,renderer.py,typing.py, andutils.py -
Add the
formatter_styleparameter to theCameraFollowCursorCVclass -
Add beautification for terminal error messages
-
Add parameter descriptions and type annotations for all functions and classes
-
Add the
__getattribute__function to theCameraFollowCursorCVclass to prevent data modification by changing attributes -
Add the CodeVideoRendererFont font to support Chinese characters
-
Add the
NOT_AVAILABLE_CHARACTERSvariable toconfig.py -
Add the
Parametersclass to theCameraFollowCursorCVclass for managing and retrieving parameters -
Add
version.pyto manage package version
Changes π§Ή
-
Change the function name format from
aaa_bbb(snake_case) toaaaBbb(camelCase) -
Change the
PygmentsLanguageclass to aLiteraltype -
Refactor the
default_progress_barfunction into theDefaultProgressBarclass -
Split
CameraFollowCursorCVR.pyintorenderer.py,typing.py, andutils.py -
Modify the whitespace handling logic to improve rendering speed
-
Make partial modifications to the parameters and descriptions of the
CameraFollowCursorCVclass -
Modify some terminal output content
-
Update the value of
CODE_OFFSETinconfig.py
Fixes π
- Fix the code offset issue caused by @gaojj2000 in #5
- Fix the
code_line_rectangleoffset issue that occurs when code offset happens
Deletions ποΈ
- Remove the
DEFAULT_CODE_FORMATTER_STYLE,AVAILABLE_CHARACTERS, andEMPTY_CHARACTERvariables fromconfig.py