Giter VIP home page Giter VIP logo

oec_tables's Introduction

Open Exoplanet Catalogue Tables

This is an attempt to convert the OEC into a relative SQL DATABASE.

The main repository: https://github.com/ziphead/Exoscanner

Stable versions will be pushed here.

Everyone is welcomed to help me with the development.

Exoscanner

Exoscanner is a python program, which creates mysql tables in your database and fills them with data from the Open Exoplanet Catalogue. https://github.com/OpenExoplanetCatalogue/open_exoplanet_catalogue. It preserves relations between bodies in systems by separating system, star , binary, planet data into 4 tables related with foreign keys. Exoscanner is not a replacement for The OEC. Maybe another instance or a tool to make your own exoplanet SQL database. File "models.py" contains all the tags for each model and you can freely remove some of them or add yours then built your own database with data you need for specific calculations or for a personal web page.

alt tag

Used python modules:

  • lxml
  • peewee

Version

0.1.0 (Alpha)

Issues

  • separation tag value overwrites in database (in progress)

Installation

Tested with Ubuntu 14.4

Before launching this program please make sure you have done the following preparations:

  1. Working mysql server on your localhost or on a distant server.

  2. Exoscanner cooks tables only. You'll need to create a new database or use an existing one. Give mysql user the priviliges to insert, delete and alter table.

  3. Exoscanner is a python 2.7 code. It uses two libraries which are not icluded 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
  1. Download Exoscanner folder then download and extract open exoplanet catalogue (https://github.com/OpenExoplanetCatalogue/oec_gzip/raw/master/systems.xml.gz)

  2. Open models.py and type your mysql database name, username and password

  3. launch exo.py

$ python exo.py
  1. Check out
$ python control.py

Development

  • Control module (in progress)
  • Update pattern to keep db up-to-date.

Contacts

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.