Releases: Bilbottom/db-query-profiler
v0.0.6
What's Changed
- Improve docs and drop Python 3.7 support by @Bilbottom in #47
- [pre-commit.ci] pre-commit autoupdate by @pre-commit-ci in #65
- Align config with other repos by @Bilbottom in #66
Full Changelog: v0.0.5...v0.0.6
v0.0.5
v0.0.5 (2023.11.04)
This adds a release workflow to publish the package to PyPI.
Full Changelog
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/[email protected]
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)
Full Changelog
v0.0.3
v0.0.3 (2023.09.10)
This release has been tested on Windows, macOS, and ubuntu for Python 3.7 to 3.11.
As with v0.0.2
, 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/[email protected]
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
- Significantly update the pre-commit config
- Fail pytest if the coverage is too low
- Add conditional imports and fiddle with protocol method types
Full Changelog
v0.0.2
v0.0.2 (2023.08.19)
This release has been tested on Windows, macOS, and ubuntu for Python 3.7 to 3.11.
As with v0.0.1
, 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/[email protected]
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
- Add more unit tests, and tests on macOS and Ubuntu
- Clarify time interval (seconds) in docstrings and stdout
- Update scope, grammar, and typos
- Add extra hooks to pre-commit
- Adjust the flexibility of the requirements
- Switch to Poetry for package management and deployment
Full Changelog
v0.0.1
Initial release for the public 🎉
This release has been tested on Windows and macOS for Python 3.7 to 3.11.
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/[email protected]
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()