This project follows PEP 440 and Semantic Versioning (SemVer). In addition to the guarantees specified by SemVer, for versions before 1.0, this project guarantees backwards compatibility of the API for patch version updates (0.y.z).
The recommended version specifier is parsetypes ~= x.y
for version 1.0 and later, and parsetypes ~= 0.y.z
for versions prior to 1.0.
- Improved documentation
- Added the arguments
allow_negative
andallow_sign
(bothTrue
by default) toparser.parse_int()
, for parity withparser.is_int()
which already had these arguments
- Made the previously public but undocumented instance variables of TypeParser that corresponded to the constructor arguments private instead
- Added public properties to TypeParser for accessing or modifying the same settings in a controlled manner
- Added
Nullable
to automatic imports viafrom parsetypes import *
(previously onlyTypeParser
andreduce_types
were imported)
- Fixed documentation
- Added
parser.convert()
- Fixed documentation
- Added support for Python version 3.9; previously only 3.10 and 3.11 were supported
- Updated documentation
- Initial version