PyGalGen has been integrated into Planemo This tool will not receive further updates. Please use planemo instead.
Usage documentation: https://planemo.readthedocs.io/en/latest/writing_standalone.html?highlight=argparse#creating-galaxy-tools-from-python-scripts-using-argparse
Toolkit used for generation and validation of Galaxy tool definition files of python programs
The tool can be installed by pip using this command:
pip install pygalgen
PyGalGen is restricted to python programs because of the way it extracts the necessary information. It is further restricted to programs that use the argparse built-in python module and initialise a single argument parser in one location.