ff98cfc5d44b16108ced4adce79e1b1eec93f1c6
update_many
The ChunkedInsert object is great for speeding up inserts. This commit does the same for updates. It chunks up updates then sends them to the table's `update_many` in bundles that contain updates to the same fields. In doing this the ChunkedInsert and new ChunkedUpdate were refactored to inherit from a common `_Chunker` object that does most of the chunking logic. This should also make it simple to add a ChunkedUpsert object.
dataset: databases for lazy people
In short, dataset makes reading and writing data in databases as simple as reading and writing JSON files.
To install dataset, fetch it with pip:
$ pip install dataset
Note: as of version 1.0, dataset is split into two packages, with the data export features now extracted into a stand-alone package, datafreeze. See the relevant repository here.
Description
Upgraded dataset version from https://github.com/pudo/dataset/. This one uses new SQLAlchemy2.
870 KiB
Languages
Python
99.5%
Makefile
0.5%
