Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/timstaley/pysovo
This project has moved, see link ->
https://github.com/timstaley/pysovo
deprecated-repo
Last synced: about 10 hours ago
JSON representation
This project has moved, see link ->
- Host: GitHub
- URL: https://github.com/timstaley/pysovo
- Owner: timstaley
- License: other
- Created: 2012-01-19T12:46:22.000Z (almost 13 years ago)
- Default Branch: master
- Last Pushed: 2016-01-01T16:07:53.000Z (almost 9 years ago)
- Last Synced: 2023-03-22T11:11:30.390Z (over 1 year ago)
- Topics: deprecated-repo
- Language: Python
- Homepage: https://github.com/4pisky/fourpisky-core
- Size: 187 KB
- Stars: 4
- Watchers: 2
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.rst
Awesome Lists containing this project
README
======
pysovo
======**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) `_.Installation:
-------------
From the command line::git clone [email protected]:timstaley/pysovo.git
cd pysovo
pip install .Setup:
------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 ``$HOME/.vo_alerts/email_acc``
and the file permissions are set so that only you have read access. Your password
will also be weakly obfuscated using base64 encoding... warning::
The email routines have only been tested with Gmail-
the server handshake may need hacking at for other email services.Testing:
--------
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,
e.g. ::ipython integration_tests/sendmail_test.py
To do:
------
- Implement email reading, for 2 way communication with AMI.