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 >
2
2
![ help_screen] ( data/help_screenshot.png )
3
3
4
- Refactored version of trivialAccess for accessing the DES DB
4
+ Enhanced command line SQL interpreter client for astronomical databases.
5
5
6
6
Python Command Line Interpreter to access Oracle DES DB
7
7
using cx_Oracle
@@ -10,7 +10,7 @@ For a short tutorial (To be completed) check [here](http://deslogin.cosmology.il
10
10
(Using des credentials)
11
11
12
12
13
- ** Current version = 1.2 .0**
13
+ ** Current version = 1.3 .0**
14
14
15
15
## Requirements
16
16
@@ -25,19 +25,23 @@ For a short tutorial (To be completed) check [here](http://deslogin.cosmology.il
25
25
- ** Note that you need to install python-future for python2/3 compatibility**
26
26
27
27
## Some * nice* features
28
- - Nice output format
28
+ - Nice output format (using pandas)
29
29
- Very flexible configuration
30
30
- Smart tab completion for commands, table names, column names and file paths accordingly
31
31
- 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)
33
33
- 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
35
35
- Can run command directly from command line
36
36
- Load sql query from file and/or from editor
37
37
- Show the execution plan of a query if required
38
+ - Can run python functions inline query
38
39
- Many more
39
40
41
+ ## Conda installation
42
+ Now easyaccess can be installed using [ conda] ( http://conda.pydata.org/docs/install/quick.html ) out of the box!
40
43
44
+ conda install easyaccess -c mgckind
41
45
42
46
## Interactive interpreter
43
47
@@ -58,9 +62,9 @@ The file types supported so far are: .csv, .tab, .fits, and .h5. Any other exten
58
62
59
63
### Load tables
60
64
To 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
62
66
63
- DESDB ~> load_table <filename>
67
+ DESDB ~> load_table <filename> --tablename <mytable>
64
68
65
69
### Load SQL queries
66
70
To load SQL queries just run:
@@ -96,8 +100,3 @@ Much of the functionality provided through the interpreter is also available dir
96
100
97
101
easyaccess --help
98
102
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