diff --git a/CHANGES.md b/CHANGES.md index 4151196..82041c5 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -1,5 +1,14 @@ # Changes + +## v1.3.1 +#### 2016-MAY-24 +- Adds optional purge to drop_table (see PR #74) +- Fix a bug setting prefetch parameters using config set #76 +- Improve import functionality for inline queries (see PR #78) +- Add option to upload files in chunk of memory (in addition to the chunk by rows), using --memsize option. + This calculates an approximate number of rows to upload on each trip, avoiding memory issues. (see PR #79) + ## v1.3.0 #### 2016-MAY-09 - Fixes a bug with python2/3 compatibility (see Pull-request #36) diff --git a/README.md b/README.md index 116d7e0..d380fe6 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -# easyaccess latest release License pypi version +# easyaccess latest release License pypi version ![help_screen](data/help_screenshot.png) 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 (Using des credentials) -**Current version = 1.3.0** +**Current version = 1.3.1** ## Requirements @@ -29,7 +29,7 @@ For a short tutorial (To be completed) check [here](http://deslogin.cosmology.il - Very flexible configuration - Smart tab completion for commands, table names, column names and file paths accordingly - write output results to csv, tab, fits files or HDF5 files -- load tables from csv, fits or hdf5 directly into DB (memory friendly) +- load tables from csv, fits or hdf5 directly into DB (memory friendly by using number of rows or memory limit) - intrinsic db commands to describe tables, own schema, quota and more - It can be imported as module from python, extense python API - 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 To load a table it needs to be in a csv format with columns names in the first row the name of the table is taken from filename or with optional argument --tablename - DESDB ~> load_table --tablename + DESDB ~> load_table --tablename --chunksize --memsize + +The --chunsize and --memsize are optional arguments to facilitate uploading big files. ### Load SQL queries To load SQL queries just run: diff --git a/easyaccess/version.py b/easyaccess/version.py index 5be4213..a65b385 100644 --- a/easyaccess/version.py +++ b/easyaccess/version.py @@ -17,7 +17,7 @@ # versions.sort() # return versions[-1] -version_tag = (1, 3, 0) +version_tag = (1, 3, 1) __version__ = '.'.join(map(str, version_tag[:3])) if len(version_tag) > 3: diff --git a/setup.py b/setup.py index 965cfce..9e694e3 100644 --- a/setup.py +++ b/setup.py @@ -20,9 +20,9 @@ def read(filename): author='Matias Carrasco Kind', author_email='mcarras2@illinois.edu', scripts=['bin/easyaccess'], - py_modules=['easyaccess','easyaccess.eautils', 'easyaccess.version','easyaccess.config_ea'], + py_modules=['easyaccess','easyaccess.eautils', 'easyaccess.version','easyaccess.config_ea', 'tests'], #packages=find_packages(), - packages=['easyaccess','easyaccess.eautils'], + packages=['easyaccess','easyaccess.eautils','tests'], license='LICENSE.txt', description='Easy access to the DES DB. Enhanced command line SQL interpreter client for DESDM', long_description=read('README.md'),