Exoviz is a 2.7 python program, which creates an empty SQLite database and fills it with data from the Open Exoplanet Catalogue. https://github.com/OpenExoplanetCatalogue/open_exoplanet_catalogue. It preserves relations between the bodies in systems by separating system, star , binary, planet data in 4 tables related with foreign keys. The Exoviz is also a Flask application - web front-end interface, to provide a visualisation for each planet system . File "models.py" contains all the tags for each model and you can freely remove some of them or add yours to then build your own database, with data you need for the specific calculations, a game or a personal web page.
###Used python modules:
- lxml
- peewee
- flask
- apscheduler
- logging
0.1.3 (Alpha)
- Update issue (sometimes flask app crashes while autoupdating)
Tested with Ubuntu 14.4
Before launching this program please make sure you have done the following preparations:
-
Install python 2.7 on your system . https://www.python.org/downloads/
-
Exoscanner is a python 2.7 code. It uses some modules which are not included in the standart python package. You have to install them manualy with pip.
$ sudo apt-get install python-pip
$ pip install peewee
$ pip install lxml
$ pip install flask
$ pip install apscheduler
-
Download Exoviz folder or clone it with git on your computer.
-
Download data from The OEC and build the sql lite database : go to EXOVIZ folder and type in the terminal:
$ python control.py
chose "create database" option Wait ubntil it is done and exits then launch the main app
$ python flask1.py
- Check it out in your browser by typing http:/localhost:8080
- better update algoritm (in progress)
- advanced logging (in progress)
Contacts
- [Yury Milto] [email protected]