transientNamer.cl_utils module

Documentation for transientNamer can be found here: http://transientNamer.readthedocs.org/en/stable

Usage:

transientNamer [-c] cone [ | mysql ] [-o directory] [-s pathToSettingsFile] transientNamer [-c] search [ | mysql ] [-o directory] [-s pathToSettingsFile] transientNamer [-c] new [ | mysql ] [-o directory] [-s pathToSettingsFile] transientNamer [-i] notes [-s pathToSettingsFile]

Commands:

cone perform a conesearch on the TNS search perform a name search on the TNS new list newly reported TNS objects notes download astronotes amd cache in local directory

Arguments:

ra dec arcsecRadius name the name of the object the search for (TNS or survey name) render output format for results. Options include json, csv, table, markdown, yaml tableNamePrefix the prefix for the tables to write the mysql insert statements for directory path to the directory to save the output to reportedInLastDays download and parse data reported within the last days mysql generate mysql insert scripts

Options:
-h, --help

show this help message

-v, --version

show version

-s pathToSettingsFile, --settings=pathToSettingsFile

the settings file

-c, --withComments

return TNS comments in result sets

-i, --import

parse and import the content of the astronotes into a MySQL database

-o directory, --output=directory

output to files in the directory path

tab_complete(text, state)[source]
main(arguments=None)[source]

The main function used when ``cl_utils.py`` is run as a single script from the cl, or when installed as a cl command