Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,10 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](http://keepachangelog.com/)
and this project adheres to [Semantic Versioning](http://semver.org/).

## v7.3.0 - 2025-04-21
* Added the `ensure_type()` function
* Some docs updates

## v7.2.0 - 2025-04-19
* Renamed the `demo` package to `buzz_demo` to avoid name collision

Expand Down
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ include:
* checking many conditions and reporting which ones failed (`check_expressions()`)
* catching exceptions wrapping them in clearer exception types with better error messages (`handle_errors()`)
* checking that values are defined and raising errors if not (`enforce_defined()`)
* checking that values are a certain type and raising errors if not (`ensure_type()`)
* checking conditions and raising errors on failure (`require_condition()`)

py-buzz also provides an exception class, Buzz, that can be used as a base class
Expand Down
2 changes: 1 addition & 1 deletion docs/mkdocs.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Configuration for mkdocs

site_name: py-buzz documentation
site_url: http://py-buzz.readthedocs.io/en/latest/
site_url: https://dusktreader.github.io/py-buzz
repo_url: https://github.com/dusktreader/py-buzz
docs_dir: source
theme:
Expand Down
4 changes: 2 additions & 2 deletions docs/source/demo.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,12 +39,12 @@ If you want to run the demo but not include its dependencies in your system pyth
or an activated virtual environment, you can execute the demo with uv:

```bash
uv run --with=py-buzz[demo] py-buzz-demo
uvx --from=py-buzz[demo] py-buzz-demo
```


## Check out the source

You can also examine the demo source to examine how `py-buzz` is used.

Check out the [source code on Github](https://github.com/dusktreader/py-buzz/tree/main/src/demo).
Check out the [source code on Github](https://github.com/dusktreader/py-buzz/tree/main/src/buzz_demo).
Loading