Skip to content
Snippets Groups Projects
chausman's avatar
Charlotte Hausman authored
- pin zope.sqlalchemy to 2.0
1d166971
History

Contacts Wrester

This is a utility program that looks up email addresses for the principal investigator and coauthors for a project using the PST and OPT databases.

The OPT database is involved because users of the OPT can choose whether or not they want to be contacted on a project-by-project basis.

The actual email addresses are kept with the user profiles in the my.nrao.edu database, which is the PST.

The program is intended to be used by other software, so the output format is JSON.

Example run:

$ contacts_wrest 13B-014
["somebody@somewhere.edu", "a.coauthor@important.edu"]