THIS PROJECT HAS MOVED
The current version of this codebase can be found at https://github.com/4pisky/fourpisky-core. This repository is preserved only to avoid breaking links in the literature.
Basic tools to do things with VOEvents. (e.g. pick out certain events, then send email alerts or new VOEvents, etc.)
pysovo is not really meant as a general release, it is very much tailored to our specific needs. However, it may serve as a reference example to others wishing to get started with VOEvents. (And if you want to send custom formatted emails, it's your lucky day.)
For an example of how pysovo is being applied, see Staley et al (2012).
From the command line:
git clone email@example.com:timstaley/pysovo.git cd pysovo pip install .
If you want to use the email alert facility, you should run:
>$ python input_email_settings.py
This will prompt you for username, password, etc. You can mostly accept default
settings if using a gmail login. Note that the password input will not be
echoed to the terminal if running from a regular python interpreter, but it
seems that ipython insists on displaying it for you.
The details are saved under
and the file permissions are set so that only you have read access. Your password
will also be weakly obfuscated using base64 encoding.
The email routines have only been tested with Gmail- the server handshake may need hacking at for other email services.
There are currently a few unit tests, try
nosetests -svx from the
pysovo package folder.
Also see the
integration_tests folder - the easiest way to get these to
run prior to installation is to use ipython from the root project folder,
- Implement email reading, for 2 way communication with AMI.