mendevi.cli.parse¶
Parse and verify some user input.
Classes
Parse the callback function. |
|
Parse the ram copy format. |
|
Parse the pixel format. |
|
Parse the resolution. |
Functions
|
Ensure that the expression provided is valid. |
|
Find or create the database and extract all the videos. |
Details
- class mendevi.cli.parse.CallBackType[source]
Parse the callback function.
- class mendevi.cli.parse.CopyRamType[source]
Parse the ram copy format.
- class mendevi.cli.parse.PixelParamType[source]
Parse the pixel format.
- class mendevi.cli.parse.ResolutionParamType[source]
Parse the resolution.
- mendevi.cli.parse.parse_expr(expr: str | None, prt: Printer, start_msg: str) None[source]
Ensure that the expression provided is valid.
- mendevi.cli.parse.parse_videos_database(prt: Printer, videos: tuple[str], database: str | None = None, *, _quiet: bool = False) tuple[list[Path], Path][source]
Find or create the database and extract all the videos.
Parameters¶
- prtcontext_verbose.Printer
The Printer instance to verbose the process.
- videostuple[str]
The full pseudo pathlike video pointers.
- databasestr, optional
The provided link to the video.
Returns¶
- videoslist[pathlib.Path]
All the existing unfolded video files.
- databasepathlib.Path
The existing database path.