NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
PyPI · #4528 most downloaded on PyPI
Validation and parsing library
Last release 5 years ago
no release in 18 months
Release timing varies
gaps range from 2 weeks to 1.6 years
Rarely documented
notes for 6 of the last 60 stable releases
Nothing withdrawn
no release was ever pulled
15 years old
75 releases · first in 2012
Nothing published for this version
Nothing published for this version
Use ToInt and ToFloat for constructor int and float respectively.
Use ToInt and ToFloat for constructor int and float respectively.
Nothing published for this version
One column per quarter.
WithRepr – use it to return custom representation, like
WithRepr – use it to return custom representation, like <Email>
Strip a lot from dict, like keys()
Trafarets are not mutable
DataError has new code attribute, self.failure has code argument
OnError has code argument too
New DataError.to_struct method that returns errors in more consistent way
String, AnyString, Bytes, FromBytes(encoding=utf-8)
Int, ToInt, Float, ToFloat
ToDecimal
Iterable that acts like a List, but works with any iterable
New Date, ToDate and DateTime, ToDateTime trafarets
StrBool trafaret renamed to ToBool
Visitor trafaret was deleted
Test coverage
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Date catches TypeError in cases like None
Date catches TypeError in cases like None
default Key implementations for Dict will return original key name in case of incorrect value
Or is immutable now
fixes for OnError, DeepKey
default Key implementations for Dict will return original key name in case of incorrect value
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
deprecate String regex argument in favor to Regexp and RegexpRaw usage
added And trafaret and & shortcut operation.
change >> behaviour. From now on Trafaret does not use self.converters and use And trafaret instead
added RegxpRaw and Regexp trafarets. RegexpRaw returns re.Match object and Regexp returns match string.
deprecate String regex argument in favor to Regexp and RegexpRaw usage
Dict now takes allow_extra, allow_extra_trafaret and ignore_extra keyword arguments as preferred alternative to methods
added trafaret.constructor. Now you can use construct and C from this package.
added trafaret.constructor. Now you can use construct and C from this package.
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Your coding agent can read these notes before it upgrades. Set up the MCP server →