v0.0.4
v0.0.4 (2023.09.30)
This release has been tested on Windows, macOS, and ubuntu for Python 3.7 to 3.11.
As with v0.0.3
, breaking changes should be expected in a future release so don't import from any sub-modules and use keyword arguments liberally. A quick-start template is below:
# pip install git+https://github.com/Bilbottom/db-query-profiler@v0.0.4
import db_query_profiler
def main() -> None:
db_conn = ... # TODO: Create your database connection
db_query_profiler.time_queries(
conn=db_conn,
repeat=5,
directory="queries" # TODO: Link your directory
)
if __name__ == "__main__":
main()
What's Changed
- Added and improved the unit tests
- Made the database protocol more flexible (which may be reverted later)