castsΒΆ
This module contains logic for casting string values to native python types.
Except for str2bool() and str2timedelta(), these are mostly just thin wrappers around built-in methods,
and only provided for convenience.
Functions
|
Parse a string into a boolean value. |
|
Parse a string into a date value using ISO format. |
|
Parse a string into a datetime value using ISO format. |
|
Parse a string into a float value. |
|
Parse a string into an integer value. |
|
Parse a JSON string into a Python object. |
|
Parse a string into a Path object. |
|
Parse a string into a time value using ISO format. |
|
Parse a string into a timedelta. |
|
Parse a string into a URL ParseResult object. |