| ▲ | apsw: Another Python SQLite Wrapper(github.com) | ||||||||||||||||||||||
| 32 points by tosh 3 hours ago | 8 comments | |||||||||||||||||||||||
| ▲ | Retr0id an hour ago | parent | next [-] | ||||||||||||||||||||||
In a sentence, I'd say apsw is "the SQLite lover's SQLite library". The python stdlib one tries to provide a generic interface ("DBAPI") which is great if you want to be able to swap to a different database engine later, but it's bad for actually getting the most out of SQLite. | |||||||||||||||||||||||
| ▲ | arc-in-space an hour ago | parent | prev | next [-] | ||||||||||||||||||||||
This library is great, and recently saved a project of mine. Figuring out what was going on with some of python's sqlite3 quirks was too much of a hassle, meanwhile this more or less just worked the way I expected it to. Because of this experience I started defaulting to it over sqlite3 for other projects as well. (This documentation page explains the library's intent: https://rogerbinns.github.io/apsw/pysqlite.html) | |||||||||||||||||||||||
| |||||||||||||||||||||||
| ▲ | mont_tag 2 hours ago | parent | prev | next [-] | ||||||||||||||||||||||
Thank you HackerNews. I learned something new and will be using APSW for my next Sqlite project. | |||||||||||||||||||||||
| ▲ | scosman 2 hours ago | parent | prev [-] | ||||||||||||||||||||||
It’s a great wrapper, but we should add a year. Not exactly new. | |||||||||||||||||||||||
| |||||||||||||||||||||||