lineapy.cli package


lineapy.cli.cli module

lineapy.cli.cli.remove_annotations_file_extension(filename: str) str[source]

Remove ‘.annotations.yaml’ or ‘.yaml’.

lineapy.cli.cli.setup_ipython_dir() None[source]

Set the ipython directory to include the lineapy extension.

If IPython configure files exist, we copy them to temp the folder and append a line to add lineapy into extra_extensions. If they do not exist, we create new config files in the temp folder and add a line to specify extra_extensions.

Module contents