Fastlite

Latest version: v0.1.1

Safety actively analyzes 707299 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 1 of 3

0.1.1

Breaking Changes

- fastlite has been rewritten to now use apsw instead of sqlite3 ([47](https://github.com/AnswerDotAI/fastlite/pull/47)), thanks to [pydanny](https://github.com/pydanny)
- The key driver of this is that we found major concurrency and performance regressions in the python 3.12 sqlite3 module. However, there are many other good reasons also to switch to apsw. The python stdlib sqlite3 module is designed to focus on compatibility with the Python DB API, where apsw is designed to focus on compatibility with sqlite itself. We have found in production applications that with apsw's design it is far easier to get good performance and reliability compared to the stdlib module.

New Features

- Use new `sqlite_minutils.Table.result` attribute ([45](https://github.com/AnswerDotAI/fastlite/pull/45)), thanks to [pydanny](https://github.com/pydanny)
- Make get_last defensive ([39](https://github.com/AnswerDotAI/fastlite/pull/39)), thanks to [pydanny](https://github.com/pydanny)
- Rewrite insert() function to take advantage of RETURNING data ([37](https://github.com/AnswerDotAI/fastlite/pull/37)), thanks to [pydanny](https://github.com/pydanny)

Bugs Squashed

- Table.insert() with Falsy value generates an error ([42](https://github.com/AnswerDotAI/fastlite/issues/42))

0.0.13

New Features

- Add `xtra` param to all methods that use `xtra` instance var ([34](https://github.com/AnswerDotAI/fastlite/issues/34))

0.0.12

Breaking Changes

- Bump sqlite-minutils dependency to use sqlite transactions

New Features

- add enum support ([32](https://github.com/AnswerDotAI/fastlite/pull/32)), thanks to [hamelsmu](https://github.com/hamelsmu)

0.0.11

New Features

- add `import_file` ([24](https://github.com/AnswerDotAI/fastlite/issues/24))

0.0.10

New Features

- add markdown to doc output ([22](https://github.com/AnswerDotAI/fastlite/issues/22))
- Use fastcore asdict instead of dataclasses asdict ([17](https://github.com/AnswerDotAI/fastlite/pull/17)), thanks to [pydanny](https://github.com/pydanny)

Bugs Squashed

- Fix `__contains__` on tuple pk searches ([20](https://github.com/AnswerDotAI/fastlite/pull/20)), thanks to [pydanny](https://github.com/pydanny)
- Compound primary keys fail on `__contains__` when done with tuple ([19](https://github.com/AnswerDotAI/fastlite/issues/19))

0.0.9

New Features

- sqlite-minutil 3.37 compatibility

Page 1 of 3

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.