Skip to content

Commit 4d8fa99

Browse files
committed
Merge pull request #80 from mgckind/1.3.1
version 1.3.1
2 parents 11c641f + 9467bbb commit 4d8fa99

File tree

4 files changed

+18
-7
lines changed

4 files changed

+18
-7
lines changed

CHANGES.md

+9
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,14 @@
11
# Changes
22

3+
4+
## v1.3.1
5+
#### 2016-MAY-24
6+
- Adds optional purge to drop_table (see PR #74)
7+
- Fix a bug setting prefetch parameters using config set #76
8+
- Improve import functionality for inline queries (see PR #78)
9+
- Add option to upload files in chunk of memory (in addition to the chunk by rows), using --memsize option.
10+
This calculates an approximate number of rows to upload on each trip, avoiding memory issues. (see PR #79)
11+
312
## v1.3.0
413
#### 2016-MAY-09
514
- Fixes a bug with python2/3 compatibility (see Pull-request #36)

README.md

+6-4
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
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>
1+
# easyaccess <a href="https://github.com/mgckind/easyaccess/releases/tag/1.3.1"> <img src="https://img.shields.io/badge/release-v1.3.1-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.1"><img src="https://img.shields.io/badge/pypi-v1.3.1-orange.svg" alt="pypi version"/></a>
22
![help_screen](data/help_screenshot.png)
33

44
Enhanced command line SQL interpreter client for astronomical databases.
@@ -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.3.0**
13+
**Current version = 1.3.1**
1414

1515
## Requirements
1616

@@ -29,7 +29,7 @@ For a short tutorial (To be completed) check [here](http://deslogin.cosmology.il
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, fits or hdf5 directly into DB (memory friendly)
32+
- load tables from csv, fits or hdf5 directly into DB (memory friendly by using number of rows or memory limit)
3333
- intrinsic db commands to describe tables, own schema, quota and more
3434
- It can be imported as module from python, extense python API
3535
- Can run command directly from command line
@@ -64,7 +64,9 @@ The file types supported so far are: .csv, .tab, .fits, and .h5. Any other exten
6464
To load a table it needs to be in a csv format with columns names in the first row
6565
the name of the table is taken from filename or with optional argument --tablename
6666

67-
DESDB ~> load_table <filename> --tablename <mytable>
67+
DESDB ~> load_table <filename> --tablename <mytable> --chunksize <number of rows to read/upload> --memsize <memory in MB to read at a time>
68+
69+
The --chunsize and --memsize are optional arguments to facilitate uploading big files.
6870

6971
### Load SQL queries
7072
To load SQL queries just run:

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)
20+
version_tag = (1, 3, 1)
2121
__version__ = '.'.join(map(str, version_tag[:3]))
2222

2323
if len(version_tag) > 3:

setup.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,9 @@ def read(filename):
2020
author='Matias Carrasco Kind',
2121
author_email='[email protected]',
2222
scripts=['bin/easyaccess'],
23-
py_modules=['easyaccess','easyaccess.eautils', 'easyaccess.version','easyaccess.config_ea'],
23+
py_modules=['easyaccess','easyaccess.eautils', 'easyaccess.version','easyaccess.config_ea', 'tests'],
2424
#packages=find_packages(),
25-
packages=['easyaccess','easyaccess.eautils'],
25+
packages=['easyaccess','easyaccess.eautils','tests'],
2626
license='LICENSE.txt',
2727
description='Easy access to the DES DB. Enhanced command line SQL interpreter client for DESDM',
2828
long_description=read('README.md'),

0 commit comments

Comments
 (0)