Exception Classes

expandobjects.main.main()[source]

This is the main command line entry point to this library. After a pip install, a binary will be available on the Python bin path called “expand_objects”, which provides an entry point into this function.

Currently this function accepts two positional arguments: 1. The name of the file to be expanded 2. An optional output name. If not provided, the output file will be expanded.idf (in the input file directory)

Example usage: $ expand_objects /path/to/my.idf /path/to/expanded_file_name.idf

expandobjects.main.sub_worker(these_argv, raise_exceptions=False, print_error_messages=True)[source]

This does the heavy lifting of processing command line args and preparing for an actual expansion

expandobjects.main.usage(binary_name)[source]

Provides a usage string that can be printed to terminal or otherwise