python-attrs
attrs
Blog
Docs
Changelog
Blog
Docs
Changelog
Overview
Branches
Benchmarks
Runs
Performance History
Latest Results
Fix pickling kw-only attrs exceptions
lin-hongkuan:codex/exception-kw-only-reduce
14 hours ago
Handle attrs.asdict sets of instances
lin-hongkuan:codex/asdict-set-of-instances
16 hours ago
update dev
main
6 days ago
Apply 1 week of cooldown for dev deps
main
20 days ago
Add `ne` validator This change adds a validator that raises `ValueError` if the initializer is called with a number equal to *val*. An example use case. I want a field that is a signed `int` of any value except for zero. I could do the following. ```python attrs.field( validator=attrs.validators.or_( attrs.validators.le(-1), attrs.validators.ge(1), ) ) ``` With this proposed `ne` validator I could do. ```python attrs.field(validator=attrs.validators.ne(0)) ```
jamesbeith:jamesbeith/ne-validator
22 days ago
Merge branch 'main' into fix/validate-init-aliases
uwezkhan:fix/validate-init-aliases
22 days ago
Merge branch 'main' into fix/init-alias-validation
uwezkhan:fix/init-alias-validation
22 days ago
Merge branch 'main' into fix/sized-validation
uwezkhan:fix/sized-validation
22 days ago
Latest Branches
CodSpeed Performance Gauge
0%
Fix pickling auto_exc exceptions with kw_only fields
#1573
14 hours ago
66a8ae9
lin-hongkuan:codex/exception-kw-only-reduce
CodSpeed Performance Gauge
0%
Handle attrs.asdict sets of instances
#1572
22 hours ago
844dfa9
lin-hongkuan:codex/asdict-set-of-instances
CodSpeed Performance Gauge
0%
Add `ne` validator
#1571
22 days ago
8538b59
jamesbeith:jamesbeith/ne-validator
© 2026 CodSpeed Technology
Home
Terms
Privacy
Docs