Awesome-pattern-matching

Latest version: v0.24.4

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

Scan your dependencies

Page 4 of 5

0.11.0

- Make `MatchResult` inherit from `collections.Mapping` such that it can be used as `**kwargs`

0.10.0

- Add `Maybe`, `NoneOf`, `Object`
- Handle exception in `Transformed` which makes it suitable for transforming and extracting data

0.9.0

- Add kwargs to `Arguments`
- Add `at_least` and `at_most` to `Length`
- Add pampy style matching
- `case_distinction` now supports overloading based on typing annotations
- Add `IsTruish`
- Add more examples to user guide / readme

0.8.0

Add declarative style using function overloading: `case_distinction` – See README, test cases, and commit.

0.7.0

Added different matching styles (see README).

Capturing is now more readable using `>>` or ``.

0.6.0

* Add experimental `String` matcher
* Add `multimatch`, `strict`, and `argresult` options to `match` function

Page 4 of 5

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.