Commit Graph
100 Commits
Author SHA1 Message Date
Friedrich Lindenberg bd3a19ebc4 Fix python 2 support for StringIO. 2016-01-18 10:56:35 +01:00
Friedrich Lindenberg 5e9745b858 Merge pull request #148 from madprog/issue-147
dataset.freeze should not close provided fileobj
2016-01-18 10:33:06 +01:00
Friedrich Lindenberg 9d0b6503d7 Merge pull request #145 from twds/master
fix infinite recursion
2015-12-20 10:43:12 +01:00
Friedrich Lindenberg 00b4efd024 Merge pull request #144 from twds/master
Use fetchmany to prevent huge tables loaded at once
2015-12-14 22:19:02 +01:00
Friedrich Lindenberg 93162ac6fc add schema hint to create_column, refs #78 (thanks @smnorris) 2015-08-07 12:18:50 +02:00
Friedrich Lindenberg 7cf087d6a2 Merge pull request #134 from vguzmanp/patch-1
release lock in table.drop()
2015-07-07 22:07:14 +03:00
Friedrich Lindenberg 61b33d9d4f Use sha1 to generate index IDs. 2015-06-11 11:54:04 +02:00
Friedrich Lindenberg 1df4b281f9 Fix up sidebar, fixes #124. 2015-06-08 12:23:15 +02:00
Friedrich Lindenberg 0c04f647b2 re-introduce relative imports to unbork python 3. 2015-06-08 10:54:46 +02:00
Friedrich Lindenberg 085817b844 fix previous fix. hello monday morning 2015-06-08 10:13:48 +02:00
Friedrich Lindenberg 1d8928e4a0 Add facility to run tests directly, fixes #129. 2015-06-08 10:04:30 +02:00
Friedrich Lindenberg 22d26fad4b Fix markup. Damnn rST 2015-05-23 16:53:02 +02:00
Friedrich Lindenberg f2a26a8911 Secure ribbon :) 2015-05-23 16:43:18 +02:00
Friedrich Lindenberg 1103946acd Fix up docs a bit. 2015-05-23 16:38:53 +02:00
Friedrich Lindenberg aa4aebe73d Up version to 0.6. 2015-05-23 16:28:29 +02:00
Friedrich Lindenberg 56d5b232d8 Include support for custom result row types, fixes #41. 2015-05-23 16:15:17 +02:00
Friedrich Lindenberg 8b411636f3 ignore some local stuff 2015-05-23 15:56:42 +02:00
Friedrich Lindenberg 7f7cb41858 Handle column name validation more coherently, fixes #45. 2015-05-23 15:30:19 +02:00
Friedrich Lindenberg fd3d9f326c Cannot recall why this is using NullPool, hence removing to fix #65. 2015-05-23 15:15:00 +02:00
Friedrich Lindenberg f8241e809b Attempt to reproduce #111 on travis (linux). Issue does not appear on OS X. 2015-05-23 14:49:14 +02:00
Friedrich Lindenberg 0893ba5fb2 Use pip cache in travis. 2015-05-23 14:35:46 +02:00
Friedrich Lindenberg 07232fa1bd Fix tests by giving up on mysql-connector driver. 2015-05-23 14:35:28 +02:00
Friedrich Lindenberg a0eab8876e Remove space. 2015-05-23 13:41:08 +02:00
Friedrich Lindenberg 819c37d61d Make __getitem__ an alias for distinct(). Fixes #87. 2015-05-23 13:01:36 +02:00
Friedrich Lindenberg 5e5d69457e Add a program name to argparse. 2015-05-23 13:01:01 +02:00
Friedrich Lindenberg 295a5deb61 Remove invalid test of arg parser. 2015-05-23 12:45:25 +02:00
Friedrich Lindenberg 2a35c8d1b1 remove support for Python 2.6, test for 3.4 2015-05-22 18:19:51 +02:00
Friedrich Lindenberg 43453415c0 wat 2015-05-21 23:47:46 +02:00
Friedrich Lindenberg 537557285d Change signature of .upsert and .update on table according to: fixes #43. 2015-05-21 23:38:14 +02:00
Friedrich Lindenberg edef86126f Connect to an in-memory sqlite if no database is specified. 2015-05-21 23:37:37 +02:00
Friedrich Lindenberg 19cc76dd60 Don’t allow dots in column names, fixes #86. 2015-05-21 23:21:47 +02:00
Friedrich Lindenberg a95c7be33b pass schema into table constructors. 2015-05-21 22:07:03 +02:00
Friedrich Lindenberg e662d8bde7 Support for properly returning a query count. 2015-05-21 18:05:26 +02:00
Friedrich Lindenberg 5dad532478 Clean up imports. 2015-05-21 17:40:57 +02:00
Friedrich Lindenberg 3afcfb3b81 Introduce some sanity checking on table names, fixes #89. 2015-05-21 17:38:06 +02:00
Friedrich Lindenberg e9aec72bac Slurp result proxy in one go so the query doesn’t remain open. Fixes #15. 2015-05-21 17:17:14 +02:00
Friedrich Lindenberg 9361c8ef9d Remove datetime fix code. 2015-05-21 16:52:15 +02:00
Friedrich Lindenberg 55c33cbc71 Remove now-invalid import. 2015-05-21 16:52:03 +02:00
Friedrich Lindenberg c605841390 Switch to normality for slugs 2015-05-21 16:51:57 +02:00
Friedrich Lindenberg 01f85c11b9 Rename reflectMetadata to reflect_metadata, remove SQLite datetime fix. 2015-05-21 16:48:28 +02:00
Friedrich Lindenberg d3473fc4a6 Include tests from PR, fixes #105. 2015-05-21 16:47:36 +02:00
Friedrich Lindenberg bdb5284ea6 Merge pull request #121 from christophersu/add-dropcol-to-docs
Add drop_column to API documentation
2015-03-12 21:27:06 +01:00
Friedrich Lindenberg 3157b45820 Merge pull request #118 from saimn/patch-1
Reflect views.
2015-02-18 18:56:42 +02:00
Friedrich Lindenberg e5c1aa31b4 handle date.isoformat separately, refs #117 2015-01-23 13:14:08 +01:00
Friedrich Lindenberg bdcd371b5a Convert plain text queries to SQL to allow argument escaping.
Bump 0.5.6, refs #115.
2015-01-18 13:39:30 +01:00
Friedrich Lindenberg 18bd02419a better comment 2015-01-18 10:53:58 +01:00
Friedrich Lindenberg 77206b8dcf Merge pull request #113 from stefanw/issue-112
Make find_one behave more like find
2015-01-06 22:34:03 +01:00
Friedrich Lindenberg d2f36d6413 Merge pull request #110 from xrotwang/master
extended test coverage for the freeze package, thereby fixing some bugs.
2014-11-10 13:49:11 +02:00
Friedrich Lindenberg b2f882c473 Merge pull request #108 from vaal-/patch-1
fix typo
2014-10-06 16:33:21 +02:00
Friedrich Lindenberg c5105adced Merge pull request #107 from aniversarioperu/patch-0
Fixing typo in docstring for `query`
2014-10-05 11:10:35 +02:00
Friedrich Lindenberg 1bdd35ee84 fix logo link, fixes #104 2014-08-08 10:18:27 +02:00
Friedrich Lindenberg 347b9b8767 Merge pull request #102 from TkTech/patch-1
Fix _release_internal
2014-07-31 17:20:03 +02:00
Friedrich Lindenberg 9a91f3d113 Change documentation and update version. 2014-06-12 08:52:56 +03:00
Friedrich Lindenberg 75be7d3b62 Merge pull request #98 from victorkashirin/support_with_statement
Fix #90: added `with` statement support to the Database class.
2014-06-12 08:48:42 +03:00
Friedrich Lindenberg f5535fa085 Handle NULL dates, fixes #91. 2014-05-14 14:39:13 +02:00
Friedrich Lindenberg fcbaf977c0 Fix flake. 2014-05-12 19:44:15 +02:00
Friedrich Lindenberg d56b767479 Implement support for handling file objects as
input to the freeze function, fixes #79.
2014-05-12 19:35:44 +02:00
Friedrich Lindenberg 9c32d18607 fix flake8 errors 2014-04-20 14:07:13 +02:00
Friedrich Lindenberg e08565609e Up the version. 2014-03-29 19:17:26 +01:00
Friedrich Lindenberg 818de0d7db Merge pull request #81 from TkTech/patch-1
Update index.rst
2014-02-27 22:23:00 +01:00
Friedrich Lindenberg d5ae74afbf Merge pull request #80 from ode79/make_quickstart_examples_work
Make examples in quickstart all work.
2014-02-27 19:26:00 +01:00
Friedrich Lindenberg e7d317b38b Flakes are gone 2014-02-18 13:08:06 +01:00
Friedrich Lindenberg 294ab81576 up the release 2014-02-18 13:03:36 +01:00
Friedrich Lindenberg 5e90421e2d Fix Python3 support 2014-02-18 13:03:19 +01:00
Friedrich Lindenberg 6ef4cd7814 Revert to using OrderedDict. 2014-02-18 12:59:12 +01:00
Friedrich Lindenberg a963e4a5ed bugfix release 2014-02-16 13:57:33 +01:00
Friedrich Lindenberg 582af184de Extend docs. 2014-02-12 14:14:26 +01:00
Friedrich Lindenberg ff98190f3b Document 0.5 changes. 2014-02-12 14:06:49 +01:00
Friedrich Lindenberg bbaa90851e Even better in the syntaxness. 2014-02-12 13:58:04 +01:00
Friedrich Lindenberg 58645a5d66 Aim to fix Travis CI. 2014-02-12 13:53:30 +01:00
Friedrich Lindenberg a797e90357 Don't try to execute DDL in a transactional context. 2014-02-12 13:52:59 +01:00
Friedrich Lindenberg 7f881b440b Credit the Wehrmeyer. 2014-02-12 12:28:04 +01:00
Friedrich Lindenberg e26bf57c39 Merge pull request #64 from Aditya-upadhyay/bugfix/offsets_and_limit
fixed bug with offsets and limits.
2014-01-13 01:04:25 -08:00
Friedrich Lindenberg 06046aa16f Update to version 0.4.0 2014-01-05 18:43:25 +01:00
Friedrich Lindenberg 382703f753 Merge pull request #46 from 3onyc/issue-34
Implement SQLite datetime fix (Fixes #34)
2014-01-05 09:39:48 -08:00
Friedrich Lindenberg b431292188 fix test for ordereddicts 2014-01-05 18:36:11 +01:00
Friedrich Lindenberg 3abe9d2c8d Merge branch 'python-3' of github.com:stefanw/dataset into stefanw-python-3 2014-01-05 17:52:59 +01:00
Friedrich Lindenberg ec9a2c56d1 Merge commit '2566581442eff9b17ee439296e7c4e9c232cee26' 2014-01-05 16:01:32 +01:00
Friedrich Lindenberg 1fe1b163f6 Release 0.3.15. 2014-01-05 15:55:37 +01:00
Friedrich Lindenberg dc0a6f1f49 Merge pull request #60 from abhinav-upadhyay/fix-table-insert
Fix insert for tables that do not have any primary key.
2014-01-05 06:45:16 -08:00
Friedrich Lindenberg 2d526a2b73 Merge pull request #55 from cli248/upstream
Fix #51: change 'Text' to 'String' in create_table function
2013-12-07 02:25:18 -08:00
Friedrich Lindenberg d393523764 use row.copy() not copy.copy(row) 2013-12-05 13:11:04 +01:00
Friedrich Lindenberg ba07c2c998 Merge pull request #54 from cli248/upstream
add drop_column function
2013-12-04 13:10:11 -08:00
Friedrich Lindenberg a174225de3 Change code to use copy(). 2013-12-04 17:55:42 +01:00
Friedrich Lindenberg ff247f17cc Create a new dict before updating data. Fixes #53 2013-12-04 11:09:22 +01:00
Friedrich Lindenberg b7bbde45fa Fix tests; pass url query args to create_engine. Fixes #40 2013-11-15 23:23:03 +02:00
Friedrich Lindenberg 8ec494c515 Up the release to 0.3.14 2013-11-15 22:50:17 +02:00
Friedrich Lindenberg 65198dc74a Use Python-slugify to generate Freezefile slugs.
This lets me remove a lot of unneeded code from the utils, and the
dependency improves the quality a lot.
2013-11-15 22:50:17 +02:00
Friedrich Lindenberg 060691f818 Include Python-slugify to begin using their slugging function 2013-11-15 22:50:16 +02:00
Friedrich Lindenberg ea582d3fce Merge pull request #39 from diegoguimaraes/master
Fixing bug
2013-11-15 12:43:56 -08:00
Friedrich Lindenberg 2288202a4c Merge pull request #36 from gtsafas/patch-2
Some refactors I noticed when reading through the code
2013-11-15 12:28:24 -08:00
Friedrich Lindenberg 4856c16b1f Merge pull request #35 from 3onyc/issue-33
Use string comparison in create_table (Fixes issue #33)
2013-11-13 02:07:25 -08:00
Friedrich Lindenberg 6b8a40746c Merge pull request #31 from alasdairnicol/quickstart_freeze_examples
Fix freeze examples in the docs
2013-11-12 06:42:50 -08:00
Friedrich Lindenberg dc144a27b0 have find_one return a dict, not a tuple 2013-11-04 17:29:20 +01:00
Friedrich Lindenberg 70eece9e77 Support transforms, fixes #28 2013-09-19 19:25:28 +02:00
Friedrich Lindenberg 36cbd4e417 Mention driver packages, fixes #25 2013-09-19 19:14:46 +02:00
Friedrich Lindenberg a3613ef133 fixes #29: logger for command line app 2013-09-19 18:32:55 +02:00
Friedrich Lindenberg 9de60c388d update version 2013-09-18 12:54:27 +02:00
Friedrich Lindenberg 4ca0b4f167 Merge pull request #27 from dnatag/master
create table with custom primary_id
2013-09-18 03:49:44 -07:00
Friedrich Lindenberg 2d27a75c1a Merge pull request #26 from jonathaneunice/master
Made `freeze()` less persnickety
2013-08-21 07:27:50 -07:00