Enasis Network Project Basics#
Documentation Welcome#
Welcome to the project documentation. Below you will find the most common functions and classes within the library, but you may click your way further into the project from there. You can also view the source code.Project Badges#
Project Makefile#
- enbasics.makefile.makefile(path: Path | str = 'Makefile', *, name: str | None = None, version: str | None = None, method: Literal['stdout', 'print'] = 'stdout', color: int | None = 7) None[source]#
Print the Makefile summary in the human friendly format.
- Parameters:
path – Complete or relative path to the makefile.
name – Name of the project to show in the console.
version – Version of projects to show beside name.
method – Which method for standard output is used.
color – Optional color override default ANSI gray.
- enbasics.makefile.makeout(string: str, prefix: Literal['text', 'base', 'more'] | None = None, method: Literal['stdout', 'print'] = 'stdout', color: int | None = 7) None[source]#
Print the ANSI colorized string to the standard output.
Note
This function is forgiving due to use with Makefile.
- Parameters:
string – String processed using inline directives.
prefix – Determine if and which prefix prepended.
method – Which method for standard output is used.
color – Optional color override default ANSI gray.