This website requires JavaScript.
2870fdfb0b
Fix a couple of more iterator changes
Stefan Wehrmeyer
2013-12-18 11:32:58 +01:00
426095634c
Replace unicode with str, duck type encode
Stefan Wehrmeyer
2013-12-18 11:31:41 +01:00
ba7109a6b9
Add Py 2 and Py 3 classifiers
Stefan Wehrmeyer
2013-12-18 03:55:38 +01:00
74b900f1f6
Move from sqlalchemy-migrate to alembic
Stefan Wehrmeyer
2013-12-18 03:36:15 +01:00
5d3e8b90bf
Turn ResultIter class into Python 3 iterator
Stefan Wehrmeyer
2013-12-18 03:34:03 +01:00
23e484cbed
Handle Python 3 keys/values iterators
Stefan Wehrmeyer
2013-12-18 03:30:19 +01:00
88c0c1a15f
Remove basestring, unicode from code base
Stefan Wehrmeyer
2013-12-18 04:05:23 +01:00
b3520665d7
Replace old except syntax with new one
Stefan Wehrmeyer
2013-12-18 03:22:49 +01:00
ad72ca5c4c
Use new urllib.parse imports with fallbacks
Stefan Wehrmeyer
2013-12-18 03:22:22 +01:00
408145a98d
Fix syntax errors cause by old octal literals
Stefan Wehrmeyer
2013-12-18 03:22:00 +01:00
a75c1968b4
Only apply fix when the current engine has an SQLite dialect
3onyc
2013-12-10 14:06:06 +01:00
2d526a2b73
Merge pull request #55 from cli248/upstream
Friedrich Lindenberg
2013-12-07 02:25:18 -08:00
dac921a29e
modify testcase for create_table() function
Chen
2013-12-07 00:22:29 -05:00
4a86981026
chang "Text" to "String" in create_table() function, fix issue #51
Chen
2013-12-06 23:58:54 -05:00
d393523764
use row.copy() not copy.copy(row)
Friedrich Lindenberg
2013-12-05 11:09:29 +01:00
ba07c2c998
Merge pull request #54 from cli248/upstream
Friedrich Lindenberg
2013-12-04 13:10:11 -08:00
36b27c354b
add drop_column function
Chen
2013-12-04 14:44:01 -05:00
a174225de3
Change code to use copy().
Friedrich Lindenberg
2013-12-04 17:55:42 +01:00
ff247f17cc
Create a new dict before updating data. Fixes #53
Friedrich Lindenberg
2013-12-04 11:09:22 +01:00
07c290f691
Implement SQLite datetime fix
3onyc
2013-11-21 08:47:43 +01:00
b7bbde45fa
Fix tests; pass url query args to create_engine. Fixes #40
Friedrich Lindenberg
2013-11-15 23:23:03 +02:00
8ec494c515
Up the release to 0.3.14
Friedrich Lindenberg
2013-11-15 22:49:45 +02:00
65198dc74a
Use Python-slugify to generate Freezefile slugs.
Friedrich Lindenberg
2013-11-15 22:48:38 +02:00
060691f818
Include Python-slugify to begin using their slugging function
Friedrich Lindenberg
2013-11-15 22:39:01 +02:00
ea582d3fce
Merge pull request #39 from diegoguimaraes/master
Friedrich Lindenberg
2013-11-15 12:43:56 -08:00
2288202a4c
Merge pull request #36 from gtsafas/patch-2
Friedrich Lindenberg
2013-11-15 12:28:24 -08:00
bc16b9e325
Fixing bug
Diego Guimarães
2013-11-14 22:24:44 -02:00
7675198640
Some refactors I noticed when reading through the code
George "elb0w" Tsafas
2013-11-13 09:57:25 -05:00
4856c16b1f
Merge pull request #35 from 3onyc/issue-33
Friedrich Lindenberg
2013-11-13 02:07:25 -08:00
95ca93cff0
Use string comparison in create_table (Fixes issue #33 )
3onyc
2013-11-13 10:05:46 +01:00
6b8a40746c
Merge pull request #31 from alasdairnicol/quickstart_freeze_examples
Friedrich Lindenberg
2013-11-12 06:42:50 -08:00
c7b07d6ca8
Fix freeze examples in the docs
Alasdair Nicol
2013-11-12 14:14:53 +00:00
dc144a27b0
have find_one return a dict, not a tuple
Friedrich Lindenberg
2013-11-04 17:29:20 +01:00
70eece9e77
Support transforms, fixes #28
Friedrich Lindenberg
2013-09-19 19:25:28 +02:00
36cbd4e417
Mention driver packages, fixes #25
Friedrich Lindenberg
2013-09-19 19:14:46 +02:00
a3613ef133
fixes #29 : logger for command line app
Friedrich Lindenberg
2013-09-19 18:32:55 +02:00
9de60c388d
update version
Friedrich Lindenberg
2013-09-18 12:54:27 +02:00
4ca0b4f167
Merge pull request #27 from dnatag/master
Friedrich Lindenberg
2013-09-18 03:49:44 -07:00
257d767b6d
add options to create custom primary id and type with shorthand format
Yi Xie
2013-09-15 14:12:30 -04:00
95cc5dd411
simplify creat_table interface
Yi Xie
2013-09-13 09:42:35 -04:00
bfd75360be
create table with custom primary_id
Yi Xie
2013-09-08 11:35:43 -04:00
2d27a75c1a
Merge pull request #26 from jonathaneunice/master
Friedrich Lindenberg
2013-08-21 07:27:50 -07:00
93c05eb542
Added convenience check to `freeze(). If a whole table is passed as a result set, rather than a result set, calls result.all()` to automagically "do the right thing."
Jonathan Eunice
2013-08-20 13:55:42 -04:00
e488664efe
Support generation of static JSONP.
Friedrich Lindenberg
2013-08-19 22:45:05 +02:00
5a458da376
allow params in query()
Friedrich Lindenberg
2013-08-18 18:37:31 +02:00
ef45f8dd95
Allow query parameters on database.query().
Friedrich Lindenberg
2013-08-18 18:08:51 +02:00
51462678c6
new version for pypi
Friedrich Lindenberg
2013-08-12 12:09:55 +02:00
39d870a36a
Merge pull request #24 from abelsonlive/master
gka
2013-08-12 01:47:00 -07:00
1f77509017
update table.update to perform the same as upsert
Brian Abelson
2013-08-11 10:40:27 -04:00
b14b73e320
Merge pull request #23 from abelsonlive/master
gka
2013-08-11 01:55:44 -07:00
904e464dfa
allow keys arg for upsert to be a string
Brian Abelson
2013-08-10 21:34:00 -04:00
a228f48e23
Merge pull request #22 from scraperwiki/20-fix-logging
Friedrich Lindenberg
2013-08-06 06:53:06 -07:00
69815e65fc
Moved logging.basicConfig() so using dataset as a library doesn't interfere with the global logger
Paul Furley
2013-08-06 13:48:55 +01:00
39edde3a2c
Support postgres schemata, bump version
Friedrich Lindenberg
2013-07-25 10:18:20 +02:00
1dbf8ddc70
application should be able to overwrite environment setting
gka
2013-07-15 10:38:19 +02:00
3860b76dcf
Merge pull request #21 from mattack108/master
Friedrich Lindenberg
2013-07-15 00:35:04 -07:00
9c7cdf6723
No needs for positional args.
mattack108
2013-07-14 22:07:42 +01:00
a9be8300aa
Update docs.
mattack108
2013-07-14 22:05:52 +01:00
57a7c58f63
Test case when url comes as env variable.
mattack108
2013-07-14 21:51:35 +01:00
cf8f3dc4d2
Allow to use url defined as env variable.
mattack108
2013-07-14 21:50:52 +01:00
6df8870234
bumped version number
Gregor Aisch
2013-07-02 09:50:45 +02:00
f520193a9e
Merge pull request #17 from scraperdragon/upsert_all_key
Friedrich Lindenberg
2013-06-27 09:39:13 -07:00
3f7f07d61a
Merge pull request #16 from scraperdragon/patch-2
Friedrich Lindenberg
2013-06-27 09:37:49 -07:00
3b238084eb
test for upserting with all keys
David McKee
2013-06-27 12:13:28 +00:00
6533fd16e9
upsert with all keys
David McKee
2013-06-27 12:12:33 +00:00
79acee2371
Describe what happens when find_one has nothing to return.
scraperdragon
2013-06-27 11:47:04 +01:00
e10dc36219
Try to avoid some locking issues.
Friedrich Lindenberg
2013-06-14 10:33:57 +02:00
57c37ac453
Up version.
Friedrich Lindenberg
2013-06-13 12:02:56 +02:00
10dfcad00b
Merge branch 'refs/heads/feature/transactions'
Friedrich Lindenberg
2013-06-13 11:57:23 +02:00
36c5401f60
Merge pull request #14 from brettbeaudoin/master
Friedrich Lindenberg
2013-06-07 01:55:13 -07:00
80d79681a3
Merge pull request #13 from fmartingr/delete-on-docs
Friedrich Lindenberg
2013-06-07 01:52:56 -07:00
fffa633e84
Added support for "IN" operator of a WHERE clause.
Brett Beaudoin
2013-06-06 17:23:52 -06:00
449191178d
API documentation: added table.delete()
Felipe Martín
2013-06-06 15:50:27 +02:00
4f3f574d58
made reflect metadata a flag (fixes #9 )
Gregor Aisch
2013-05-24 23:50:28 +02:00
1a25fbcd77
Allow user to override freezefile.
Friedrich Lindenberg
2013-05-21 16:17:36 +02:00
db71b6d631
Re-write locking to support transactions.
Friedrich Lindenberg
2013-05-13 21:21:25 +02:00
33908b2699
Use engine for DDL
Friedrich Lindenberg
2013-05-13 20:14:57 +02:00
b5181a4105
Testing with transactions support.
Friedrich Lindenberg
2013-05-10 22:58:23 +02:00
bbfdb2e64b
renamed filter args to _filter to avoid confusion with built in filter()
Gregor Aisch
2013-04-30 16:36:19 +02:00
3b1e17a5c2
ignoring .pyo files
Gregor Aisch
2013-04-30 16:35:42 +02:00
df8941672e
up sqlalchemy dependency, refs #6
Friedrich Lindenberg
2013-04-30 09:45:30 +02:00
cfe4a0bef6
ensuring that table.all() works without id column (fixes #8 )
Gregor Aisch
2013-04-30 00:18:06 +02:00
310b9abd81
Add import of exception; fixes #5
Friedrich Lindenberg
2013-04-26 10:46:43 +02:00
79f46a0778
Copy over datafreeze documentation, adapt toc etc.
Friedrich Lindenberg
2013-04-22 17:44:55 +02:00
3ad013b1d1
find is now streaming large tables
Gregor Aisch
2013-04-12 16:42:22 +02:00
187ed2680f
ResultIter can now deal with generators of resultproxies
Gregor Aisch
2013-04-12 16:41:17 +02:00
47e7eb5193
improved documentation of freeze
Gregor Aisch
2013-04-09 01:10:16 +02:00
c41b92dfad
moved dataset.freeze doc to bottom of page
Gregor Aisch
2013-04-09 00:46:52 +02:00
96656d3f80
changed API of dataset.freeze()
Gregor Aisch
2013-04-09 00:26:59 +02:00
176f605119
moved str to Database conversion to freeze_export
Gregor Aisch
2013-04-09 00:20:54 +02:00
bb94b1b343
freeze() now accepts either db-urls or db instances
Gregor Aisch
2013-04-09 00:16:09 +02:00
fb18961e32
class Export expects 'common' dict as first parameter
Gregor Aisch
2013-04-09 00:15:10 +02:00
48fa1cbb27
pep8 autoformat
Gregor Aisch
2013-04-09 00:14:12 +02:00
875e0508f2
insert returns last_id (closes #4 )
Gregor Aisch
2013-04-06 03:06:51 +02:00
393a0b887b
tests
Gregor Aisch
2013-04-05 11:59:47 +02:00
7331078898
added test for create_column
Gregor Aisch
2013-04-05 11:58:16 +02:00
d58ec61b90
fixed bug in deletion of all rows
Gregor Aisch
2013-04-05 11:54:12 +02:00
87774731f6
testing deletion of all rows
Gregor Aisch
2013-04-05 11:53:50 +02:00
eea7a572a7
added test for update
Gregor Aisch
2013-04-05 11:50:50 +02:00
bbaf65f77c
added tests, pep8 format
Gregor Aisch
2013-04-05 11:46:45 +02:00