cxotime.scripts.make_converters#

Make cxotime/converters.py from functions in convert.py.

This script is run by hand to update the converters.py file in the cxotime package:

$ python -m cxotime.scripts.make_converters > cxotime/converters.py

This is a one-time operation if a new converter is added to convert.py. The file may need to be ruff formatted.

Functions#

make_docstring(fmt_in, fmt_out)

Make a docstring for a converter function.

main()

Make the converters.py file.