APSW Project page:

    APSW is a really neat library that provides a thin wrapper on top of SQLite’s C interface, making it possible to use all of SQLite’s advanced features.

    Here are just a few reasons to use APSW, taken from the documentation:

    • APSW gives all functionality of SQLite, including virtual tables, virtual file system, blob i/o, backups and file control.
    • Connections can be shared across threads without any additional locking.
    • APSW can handle nested transactions.
    • Unicode is handled correctly.
    • APSW is faster.

    apsw_ext API notes

    extends the SqliteExtDatabase and inherits its advanced features.

    class (database, \*connect_kwargs*)

    • register_module(mod_name, mod_inst)

    • unregister_module(mod_name)

      Unregister a module.

    Note

    For example, instead of using peewee.DateTimeField, be sure you are importing and using .