Commit Graph
97 Commits
Author SHA1 Message Date
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
Friedrich Lindenberg e488664efe Support generation of static JSONP. 2013-08-19 22:45:05 +02:00
Friedrich Lindenberg 5a458da376 allow params in query() 2013-08-18 18:37:31 +02:00
Friedrich Lindenberg ef45f8dd95 Allow query parameters on database.query(). 2013-08-18 18:09:07 +02:00
Friedrich Lindenberg 51462678c6 new version for pypi 2013-08-12 12:09:55 +02:00
Friedrich Lindenberg a228f48e23 Merge pull request #22 from scraperwiki/20-fix-logging
Don't modify the root logger if being used as a library
2013-08-06 06:53:06 -07:00
Friedrich Lindenberg 39edde3a2c Support postgres schemata, bump version 2013-07-25 10:18:20 +02:00
Friedrich Lindenberg 3860b76dcf Merge pull request #21 from mattack108/master
Allow env variable for database connection
2013-07-15 00:35:04 -07:00
Friedrich Lindenberg f520193a9e Merge pull request #17 from scraperdragon/upsert_all_key
Permit upsert with all columns as keys
2013-06-27 09:39:13 -07:00
Friedrich Lindenberg 3f7f07d61a Merge pull request #16 from scraperdragon/patch-2
Describe what happens when find_one has nothing to return.
2013-06-27 09:37:49 -07:00
Friedrich Lindenberg e10dc36219 Try to avoid some locking issues. 2013-06-14 10:33:57 +02:00
Friedrich Lindenberg 57c37ac453 Up version. 2013-06-13 12:02:56 +02:00
Friedrich Lindenberg 10dfcad00b Merge branch 'refs/heads/feature/transactions' 2013-06-13 11:57:23 +02:00
Friedrich Lindenberg 36c5401f60 Merge pull request #14 from brettbeaudoin/master
Added support for "IN" operator of a WHERE clause.
2013-06-07 01:55:13 -07:00
Friedrich Lindenberg 80d79681a3 Merge pull request #13 from fmartingr/delete-on-docs
API documentation: added table.delete()
2013-06-07 01:52:56 -07:00
Friedrich Lindenberg 1a25fbcd77 Allow user to override freezefile. 2013-05-21 16:17:36 +02:00
Friedrich Lindenberg db71b6d631 Re-write locking to support transactions. 2013-05-13 21:21:25 +02:00
Friedrich Lindenberg 33908b2699 Use engine for DDL 2013-05-13 20:14:57 +02:00
Friedrich Lindenberg b5181a4105 Testing with transactions support. 2013-05-10 22:58:23 +02:00
Friedrich Lindenberg df8941672e up sqlalchemy dependency, refs #6 2013-04-30 09:45:30 +02:00
Friedrich Lindenberg 310b9abd81 Add import of exception; fixes #5 2013-04-26 10:46:43 +02:00
Friedrich Lindenberg 79f46a0778 Copy over datafreeze documentation, adapt toc etc. 2013-04-22 17:44:55 +02:00
Friedrich Lindenberg 3cff900564 Update intro to mention datafreeze. 2013-04-05 00:15:57 +02:00
Friedrich Lindenberg 5cfa9abfb0 Adapt data freeze code base to integrate with dataset.persistence 2013-04-04 23:53:37 +02:00
Friedrich Lindenberg c2d606bc6f Import datafreeze source code. 2013-04-04 23:05:19 +02:00
Friedrich Lindenberg fea6eda35a combine two texts 2013-04-03 22:51:31 +02:00
Friedrich Lindenberg 75230128f2 Copy edit some of the docs. 2013-04-03 22:47:28 +02:00
Friedrich Lindenberg f3533de1a7 merge. 2013-04-03 22:27:06 +02:00
Friedrich Lindenberg 82153522cb Document delete() and all() 2013-04-02 00:20:02 +02:00
Friedrich Lindenberg 963aefe9da merge 2013-04-02 00:14:10 +02:00
Friedrich Lindenberg e58ffdafde Some additional doc. 2013-04-02 00:10:07 +02:00
Friedrich Lindenberg 26b40c8055 More verbose comments in database. 2013-04-01 22:39:18 +02:00
Friedrich Lindenberg bf8a267ecc Fix up setup.py 2013-04-01 22:39:04 +02:00
Friedrich Lindenberg 6ee58e850d Add tables property to database. 2013-04-01 22:09:16 +02:00
Friedrich Lindenberg 0f81dbe52c More unit tests for table. 2013-04-01 22:03:01 +02:00
Friedrich Lindenberg 7c5779da80 More tests on table 2013-04-01 19:56:14 +02:00
Friedrich Lindenberg 8a97902762 Build up test cases a bit 2013-04-01 19:46:17 +02:00
Friedrich Lindenberg 2c17baa6a3 Begin porting tests. 2013-04-01 19:38:02 +02:00
Friedrich Lindenberg 8e8d676369 Fix description 2013-04-01 19:28:30 +02:00
Friedrich Lindenberg b723b7da7c Refactor to simplify 2013-04-01 19:28:22 +02:00
Friedrich Lindenberg d3fe91bc73 Moved everything into the OO api, not really tested … 2013-04-01 19:06:14 +02:00
Friedrich Lindenberg 30867fad21 Refactor more stuff up to an object. 2013-04-01 18:05:41 +02:00
Friedrich Lindenberg 14e68f26ab Begin moving things into the objects. 2013-04-01 17:30:52 +02:00
Friedrich Lindenberg 6d15886989 Final part of refactor. 2013-04-01 17:29:58 +02:00
Friedrich Lindenberg f216a6066e Make "persistence" a module. 2013-04-01 17:29:45 +02:00
Friedrich Lindenberg 22255c3894 Continue to refactor the import for "dataset" 2013-04-01 17:29:30 +02:00
Friedrich Lindenberg ef535a4855 Refactor imports. 2013-04-01 17:28:29 +02:00
Friedrich Lindenberg b24e9ae50e Rename db file as well. 2013-04-01 17:04:33 +02:00
Friedrich Lindenberg 4bcf52c182 Merge branch 'refs/heads/master' into HEAD 2013-04-01 17:02:10 +02:00
Friedrich Lindenberg 1d3102e5bc Rename to dataset. 2013-04-01 16:58:57 +02:00
Friedrich Lindenberg ec7741223b Bump version 2013-03-31 01:56:00 +01:00
Friedrich Lindenberg 8a92787af4 Inline long_desc 2013-03-31 01:54:55 +01:00
Friedrich Lindenberg 3375e1a1c7 Bump version for pypi 2013-03-30 22:44:34 +01:00
Friedrich Lindenberg abd0dc6372 More high-tech engineering in sqla 2013-03-30 22:43:50 +01:00
Friedrich Lindenberg 3feaeff87a Try to fix up some cheeseshop stuff 2013-03-30 22:40:58 +01:00
Friedrich Lindenberg 7340fe524b Fix URL 2013-03-30 22:30:17 +01:00
Friedrich Lindenberg c27f8155bd More documentation, getting ready to put this on
PyPi.
2013-03-30 22:28:32 +01:00
Friedrich Lindenberg 867008c016 Remove a memory leak. 2013-02-27 23:10:16 +01:00
Friedrich Lindenberg 624aee295a Handle missing schema... 2012-12-24 22:47:45 +01:00
Friedrich Lindenberg b4389f0493 Filters for distinct() 2012-12-24 19:54:47 +01:00
Friedrich Lindenberg 71f7695808 Change error message 2012-10-23 14:51:55 +02:00
Friedrich Lindenberg 15e89f3f89 Minor fixes re offenesparlament.de 2012-08-12 11:54:32 +02:00
Friedrich Lindenberg f74ef1d33c Delete support 2012-07-23 15:27:51 +02:00
Friedrich Lindenberg ddcdfea48f Update schema to be thread-safe 2012-07-23 15:27:42 +02:00
Friedrich Lindenberg 2c0f88ea74 Write indexes. 2012-03-16 22:56:52 +01:00
Friedrich Lindenberg 36507c35f8 CSV dumping option 2012-01-30 09:41:31 +01:00
Friedrich Lindenberg a569502a9b limit pool size only for postgres 2012-01-21 21:38:31 +01:00
Friedrich Lindenberg b389980f47 support order by 2012-01-08 23:41:18 +01:00
Friedrich Lindenberg c61d4c6df7 Create columns before querying them. 2012-01-04 00:55:39 +01:00
Friedrich Lindenberg 6bbe8a0486 Various fixes:
* Functions for finding one or multiple entries, with internal
  pagination.
* Limit engine pool size to 1
* Don't block connections.
2012-01-04 00:15:10 +01:00
Friedrich Lindenberg a4b816704b ignore egg details 2011-12-22 19:47:06 +01:00
Friedrich Lindenberg 74e716127d attempt to fix markdown 2011-12-22 19:39:59 +01:00
Friedrich Lindenberg 8a5581dff0 add examples 2011-12-22 19:34:59 +01:00
Friedrich Lindenberg a21c993538 Split into three code files. 2011-12-22 19:03:54 +01:00
Friedrich Lindenberg f9be8771ff Utility for "update()" and some fixes. 2011-12-22 14:55:55 +01:00
Friedrich Lindenberg c0d3761e1e core utility functions from webstore 2011-12-22 12:12:27 +01:00
Friedrich Lindenberg 43c9905c1b basic python package 2011-12-21 11:52:52 +01:00
Friedrich Lindenberg 7940d32803 basic plan 2011-12-21 09:33:10 +01:00