Skip to content

Commit 7f6e795

Browse files
committed
Merge pull request #71 from mgckind/1.3.0
1.3.0
2 parents 78ee80a + 03f8e77 commit 7f6e795

File tree

5 files changed

+27
-30
lines changed

5 files changed

+27
-30
lines changed

CHANGES.md

+7-7
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,24 @@
11
# Changes
22

33
## v1.3.0
4-
#### 2016-XXX-XX
4+
#### 2016-MAY-09
55
- Fixes a bug with python2/3 compatibility (see Pull-request #36)
66
- Removes ; from query for python API (query_* functions) issue #37
77
- Added execproc to run sql/pl procedures, see help execproc for more information (see PR #48)
88
- Fix show_index and describe_table commands and queries (no more repeated rows) (see PR #42 and #43)
99
- Case insensitive options (PR #45)
1010
- Reorganization of the structure of the code, this way is much simpler to develop (PR #49)
1111
- Conda installation
12-
- In-query python functions (beta)
12+
- In-query python functions (beta) write your own function and call it from query#67
1313
- Query and execution information in FITS header #50
1414
- Fix bug when loading sql from file #55
1515
- Dealing better with trailing white space #52
1616
- Fix several minor issues: #37, #40
17-
- configuration options at command line
18-
- Improved python API
19-
- Load big files
20-
- Fix find_tables (to include owners) and describe_table (dat_type) commands
21-
- Added unittest suites
17+
- configuration options at command line (reset and configuration per session) with --config
18+
- Improved python API , added some extra functions (pandas_to_db) and imprived docs#68
19+
- Load big files in chunks -- very useful to load big files in chunks without running into memory issues #66
20+
- Fix find_tables (to include owners) and describe_table (data_type) commands
21+
- Added unittest suites #65 #70
2222
- Added --no_refresh option in command line to quick start up
2323

2424

README.md

+12-13
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
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

66
Python Command Line Interpreter to access Oracle DES DB
77
using 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
6064
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
6266

63-
DESDB ~> load_table <filename>
67+
DESDB ~> load_table <filename> --tablename <mytable>
6468

6569
### Load SQL queries
6670
To 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

config/conda/meta.yaml

+6-8
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,15 @@
11
package:
22
name: easyaccess
3-
version: "1.3.0rc"
3+
version: "1.3.0"
44

55
source:
6-
fn: easyaccess-1.3.0-rc2.tar.gz
7-
md5: dbc19f823613ef1fbc35f6cc17ca0262
8-
url: https://pypi.python.org/packages/4c/4b/65e0d4b95ed47295d8593c6b6c19d4e7a99eba3f4ae7857ea8f56d101b9c/easyaccess-1.3.0-rc2.tar.gz
9-
#git_rev: '1.2.1b'
10-
#git_url: https://github.com/mgckind/easyaccess
6+
fn: easyaccess-1.3.0.tar.gz
7+
md5: f3160dcc95de2a0fe7c29a08c4aa14dd
8+
url: https://pypi.python.org/packages/22/a9/28586f7623f15ebbfea8c983300b9e3fd7201bf07ca0463a787a2f6329b3/easyaccess-1.3.0.tar.gz
119

1210

1311
build:
14-
number: 2
12+
number: 0
1513

1614

1715
requirements:
@@ -23,7 +21,7 @@ requirements:
2321
- python
2422
- future
2523
- termcolor
26-
- fitsio
24+
- fitsio >=0.9.8
2725
- pandas >=0.14
2826
- oracle-instantclient
2927
- cx_oracle

easyaccess/version.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
# versions.sort()
1818
# return versions[-1]
1919

20-
version_tag = (1, 3, 0, 'rc3')
20+
version_tag = (1, 3, 0)
2121
__version__ = '.'.join(map(str, version_tag[:3]))
2222

2323
if len(version_tag) > 3:

setup.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ def read(filename):
2424
#packages=find_packages(),
2525
packages=['easyaccess','easyaccess.eautils'],
2626
license='LICENSE.txt',
27-
description='Easy access to the DES DB. Enhance command line SQL interpreter client for DESDM',
27+
description='Easy access to the DES DB. Enhanced command line SQL interpreter client for DESDM',
2828
long_description=read('README.md'),
2929
url='https://github.com/mgckind/easyaccess',
3030
install_requires=['pandas >= 0.14','termcolor','fitsio >= 0.9.6','cx_Oracle','future >= 0.15.0'],

0 commit comments

Comments
 (0)