GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - aipescience/votable2sql: Tool to convert VOTables into SQL dumps

BranchesTags
Open more actions menu

Latest commit

 

History

4 Commits
4 Commits

Folders and files

NameName
Last commit message
Last commit date
votable_to_sql
votable_to_sql
 
 
.gitignore
.gitignore
 
 
README.rst
README.rst
 
 
setup.py
setup.py
 
 

Repository files navigation

votable2sql

Setup

pip install git+https://github.com/aipescience/votable2sql

Usage

usage: votable2sql [-h] [-o OUTPUT] [-d DIALECT] [-s SKIP] [--schema SCHEMA]
                   [--table TABLE]
                   votable

Tool to convert VOTables into SQL dumps

positional arguments:
  votable               VOTable file to be processed

optional arguments:
  -h, --help            show this help message and exit
  -o OUTPUT, --output OUTPUT
                        Output file [default: STDOUT]
  -d DIALECT, --dialect DIALECT
                        SQL dialect, e.g. sql, mysql [default: sql]
  -s SKIP, --skip SKIP  Skip column
  --schema SCHEMA       Schema to use
  --table TABLE         Table to use

Examples

# writes the sql dump to STDOUT
votable2sql test.votable.xml

# writes the sql dump to test.sql
votable2sql test.votable.xml -o test.sql

# writes a MySQL dump
votable2sql test.votable.xml -d mysql

# writes a MySQL dump skipping `vx`, `vy` and `vz`
votable2sql test.votable.xml -d mysql -s vx -s vy -s vz

About

Tool to convert VOTables into SQL dumps

Resources

Readme
Activity
Custom properties

Stars

0 stars

Watchers

6 watching

Forks

0 forks
Report repository

Releases

Packages

Contributors

Languages

You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.