1- # easyaccess <a href =" https://github.com/mgckind/easyaccess/releases/tag/1.2 .0 " > <img src =" https://img.shields.io/badge/release-v1.2 .0-blue.svg " alt =" latest release " /></a > <a href =" https://github.com/mgckind/easyaccess/blob/master/LICENSE.txt " ><img src =" https://img.shields.io/badge/license-NCSA%20License-blue.svg " alt =" License " /> </a > <a href =" https://pypi.python.org/pypi/easyaccess/1.2 .0 " ><img src =" https://img.shields.io/badge/pypi-v1.2 .0-orange.svg " alt =" pypi version " /></a >
1+ # easyaccess <a href =" https://github.com/mgckind/easyaccess/releases/tag/1.3 .0 " > <img src =" https://img.shields.io/badge/release-v1.3 .0-blue.svg " alt =" latest release " /></a > <a href =" https://github.com/mgckind/easyaccess/blob/master/LICENSE.txt " ><img src =" https://img.shields.io/badge/license-NCSA%20License-blue.svg " alt =" License " /> </a > <a href =" https://pypi.python.org/pypi/easyaccess/1.3 .0 " ><img src =" https://img.shields.io/badge/pypi-v1.3 .0-orange.svg " alt =" pypi version " /></a >
22![ help_screen] ( data/help_screenshot.png )
33
4- Refactored version of trivialAccess for accessing the DES DB
4+ Enhanced command line SQL interpreter client for astronomical databases.
55
66Python Command Line Interpreter to access Oracle DES DB
77using cx_Oracle
@@ -10,7 +10,7 @@ For a short tutorial (To be completed) check [here](http://deslogin.cosmology.il
1010(Using des credentials)
1111
1212
13- ** Current version = 1.2 .0**
13+ ** Current version = 1.3 .0**
1414
1515## Requirements
1616
@@ -25,19 +25,23 @@ For a short tutorial (To be completed) check [here](http://deslogin.cosmology.il
2525- ** Note that you need to install python-future for python2/3 compatibility**
2626
2727## Some * nice* features
28- - Nice output format
28+ - Nice output format (using pandas)
2929- Very flexible configuration
3030- Smart tab completion for commands, table names, column names and file paths accordingly
3131- write output results to csv, tab, fits files or HDF5 files
32- - load tables from csv or fits directly into DB
32+ - load tables from csv, fits or hdf5 directly into DB (memory friendly)
3333- intrinsic db commands to describe tables, own schema, quota and more
34- - It can be imported as module
34+ - It can be imported as module from python, extense python API
3535- Can run command directly from command line
3636- Load sql query from file and/or from editor
3737- Show the execution plan of a query if required
38+ - Can run python functions inline query
3839- Many more
3940
41+ ## Conda installation
42+ Now easyaccess can be installed using [ conda] ( http://conda.pydata.org/docs/install/quick.html ) out of the box!
4043
44+ conda install easyaccess -c mgckind
4145
4246## Interactive interpreter
4347
@@ -58,9 +62,9 @@ The file types supported so far are: .csv, .tab, .fits, and .h5. Any other exten
5862
5963### Load tables
6064To load a table it needs to be in a csv format with columns names in the first row
61- the name of the table is taken from filename
65+ the name of the table is taken from filename or with optional argument --tablename
6266
63- DESDB ~> load_table <filename>
67+ DESDB ~> load_table <filename> --tablename <mytable>
6468
6569### Load SQL queries
6670To load SQL queries just run:
@@ -96,8 +100,3 @@ Much of the functionality provided through the interpreter is also available dir
96100
97101 easyaccess --help
98102
99- ## TODO
100- - There is a bug with some versions of readline
101- - Other small changes when loading tables
102- - Self-upgrade
103- - Refactor the code so that it isn't in one huge file
0 commit comments