Python datasets: dataset databases for lazy people! Bumped into this project that provides a simple abstraction layer removes most direct SQL and an export mechanism to export data in JSON or CSV formats.
Installing datasets via pip would be straight forward : pip install dataset
Why datasets?
Say if you have opted to use sqlite, the below is how normal operations would look like:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 | |
Now the same with datasets can be reduced to:
1 2 3 4 5 6 | |
Isn't that sweet?
P.S: The ruby world also has something similar, do paw at Sequel::Dataset