378 Commits

Author SHA1 Message Date
Greg Troszak 89ef187b3c Properly handle connection pools with txs. 2017-12-09 08:22:07 -08:00
Daniel Schep 01d0132c1f Raise an error if selecting column that exists more than once
This caused a pretty major bug for us

also, closes #108
2017-12-07 11:48:38 -05:00
kennethreitz fcd41c36c9 v5.3
Signed-off-by: Kenneth Reitz <me@kennethreitz.org>
2017-09-28 18:55:39 -04:00
kennethreitz 024a1fbc03 last makefile change
Signed-off-by: Kenneth Reitz <me@kennethreitz.org>
2017-09-17 11:13:46 -04:00
kennethreitz 5d2d4eb78f improvements to ci, hopefully
Signed-off-by: Kenneth Reitz <me@kennethreitz.org>
2017-09-17 11:10:27 -04:00
kennethreitz 1fe34f3af6 3.6
Signed-off-by: Kenneth Reitz <me@kennethreitz.org>
2017-09-17 11:05:45 -04:00
kennethreitz c35b357059 make travis magically work, hopefully
Signed-off-by: Kenneth Reitz <me@kennethreitz.org>
2017-09-17 11:05:24 -04:00
kennethreitz a305510dca sp
Signed-off-by: Kenneth Reitz <me@kennethreitz.org>
2017-09-17 10:41:32 -04:00
kennethreitz d1b5b7f96d add some extras for databases
Signed-off-by: Kenneth Reitz <me@kennethreitz.org>
2017-09-17 10:40:05 -04:00
kennethreitz d3cecff0b1 Merge branch 'master' of github.com:kennethreitz/records 2017-09-17 10:37:00 -04:00
kennethreitz 4da28d91cf migrate to pipfile
fixes #114

Signed-off-by: Kenneth Reitz <me@kennethreitz.org>
2017-09-17 10:36:52 -04:00
kennethreitz b75bcc26ae Update README.rst 2017-09-05 12:59:44 -04:00
kennethreitz 984cfdace1 v0.5.2
Signed-off-by: Kenneth Reitz <me@kennethreitz.org>
v0.5.2
2017-09-02 14:06:28 -04:00
kennethreitz e4031d8a61 Update README.rst 2017-09-02 14:05:39 -04:00
kennethreitz e00e630a3e Merge pull request #113 from dschep/master
Make pandas support optional, as it is with tablib
2017-09-02 14:04:54 -04:00
Daniel Schep b8691b0985 Make pandas support optional, as it is with tablib
For the same reasons as with kennethreitz/tablib#307, it's preferable
that pandas support not be included by default.

* pandas wheels weigh in at 130M which counts for a lot when working
with environments like AWS Lambda which are limited to 256M.
* Some people can't use wheels and having to compile pandas
siginificantly slows down their build proceses and CI pipelines.
2017-09-02 12:43:02 -04:00
kennethreitz ea98fbf3aa Merge pull request #112 from seanbehan/master
Fix indentation error
2017-09-02 00:54:00 -04:00
Sean Behan d7025002d6 Fix indentation error 2017-09-01 21:05:42 -04:00
kennethreitz 5e65bd8b66 Update HISTORY.rst 2017-09-01 15:52:36 -04:00
kennethreitz ecb1e17737 Update HISTORY.rst 2017-09-01 15:52:27 -04:00
kennethreitz d7648ba26e use tablib[pandas]
Signed-off-by: Kenneth Reitz <me@kennethreitz.org>
v0.5.1
2017-09-01 15:43:55 -04:00
kennethreitz 9ea2c75144 Update README.rst 2017-08-30 13:53:21 -04:00
kennethreitz dd581ff21a Update records.py 2017-08-30 13:51:20 -04:00
kennethreitz 431deb91f3 Merge pull request #110 from waldyrious/patch-2
LICENSE: add title
2017-08-30 13:43:32 -04:00
Waldir Pimenta 95d0a3389b LICENSE: add title
The title is not legally mandated, but for humans it's quite useful; it also works as additional metadata, and is part of the recommended license template text (see http://choosealicense.com/licenses/isc/ and https://opensource.org/licenses/isc-license)
2017-08-30 07:39:57 -01:00
kennethreitz 0a1b78184b Update README.rst 2017-08-28 10:14:05 -04:00
kennethreitz 386e47f0bf Update README.rst 2017-08-28 01:12:25 -04:00
kennethreitz 6461ecbbc9 Update README.rst 2017-08-27 23:12:53 -04:00
kennethreitz 6741096688 Update README.rst 2017-08-27 04:06:50 -04:00
kennethreitz 3d478e1506 Merge pull request #103 from restran/master
add support for bulk insert and update.
2017-08-27 04:04:33 -04:00
kennethreitz 4241bb7d95 Update README.rst 2017-08-27 04:01:20 -04:00
kennethreitz d3ec59349f Update README.rst 2017-08-27 04:00:34 -04:00
kennethreitz 118a944589 Update README.rst 2017-08-22 20:24:01 -04:00
kennethreitz 1e2e03b3fd cleanup 2017-07-28 22:16:44 -04:00
restran 0421d96a1a add support for bulk insert and update. 2017-04-18 15:58:04 +08:00
kennethreitz 0e4a6493d4 Merge pull request #97 from RazerM/fix_get_table_names
Reuse engine for get_table_names, use inspection instead of metadata reflection
2017-02-04 13:27:32 -06:00
kennethreitz 9ab584822b Merge pull request #99 from Stranger6667/simple-improvement
Return value immediately
2017-02-04 13:26:16 -06:00
kennethreitz 94cfc6c144 Merge pull request #101 from ragne/master
Fixed accidental StopIteration bubbling in RecordCollection.__iter__
2017-02-04 13:25:38 -06:00
Edward Makhlin 93cb81991a Fixed accidental StopIteration bubbling in RecordCollection.__iter__
For more info check this PEP: https://www.python.org/dev/peps/pep-0479/
2017-02-04 01:21:49 +03:00
Dmitry Dygalo 39283b6e07 Return value immediately 2017-01-25 10:05:39 +01:00
Frazer McLean aa6587f665 Remove unused import 2017-01-24 20:58:53 +01:00
Frazer McLean 2b3213c06f Reuse engine for get_table_names, use inspection instead of metadata.
Resolves #74.
2017-01-24 20:24:43 +01:00
kennethreitz 27d8efd200 Merge pull request #91 from TomFaulkner/patch-1
CLI function docstring requires format should be optional
2017-01-06 13:54:16 -05:00
kennethreitz 4be104d024 travis.yml 2016-12-20 13:04:48 -05:00
kennethreitz 99eaf62867 updated readme with shields 2016-12-20 13:04:43 -05:00
kennethreitz 42a7e78dc0 fix dir for super 2016-12-20 13:02:30 -05:00
TomFaulkner 39036fcb8a CLI function docstring requires format should be optional
Changed line 327 to have format as optional parameter as lines 385-389 imply should be the case.
Old: records <query> <format> [<params>...] [--url=<url>]
New: records <query> [<format>] [<params>...] [--url=<url>]
2016-12-19 15:15:28 -06:00
kennethreitz 292bd56fa3 Merge pull request #87 from vsandeepsrivastav/master
re was imported but never used so removed the same, line 20 in the o…
2016-12-14 10:42:11 -08:00
vsandeepsrivastav 5c24ea7ea0 re was imported but never used so removed the same, line 20 in the original file needed two blank lines before function definition added the same and extra spaces around the operator in line 34 removed the same. 2016-12-14 16:20:17 +05:30
kennethreitz 4038d9dc21 Merge pull request #43 from whit537/one
add a .first method to RecordCollections
2016-11-22 01:42:40 -05:00