Dataclass-csv

Latest version: v1.4.0

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

Scan your dependencies

Page 2 of 3

1.1.0

* Added support for boolean values.
* Docstrings

1.0.1

* Fixed issue when parsing headers on a CSV file with trailing white spaces.

1.0.0

* When a data does not pass validation it shows the line number in the CSV file where the data contain errors.
* Improved error handling.
* Changed the usage of the `accept_whitespaces` decorator.
* Updated documentation.

0.1.7

* Added support for default values from `default_factory` in the field's metadata. This allows adding mutable default values to the dataclass properties.

0.1.6

* Added support for reader default values from the default property of the `dataclasses.field`.
* Added support for allowing string values with only white spaces in a class level using the `accept_whitespaces` decorator or through the `dataclasses.field` metadata.
* Added support for specifying date format using the `dataclasses.field` metadata.

0.1.5

* Support for parsing datetime values.
* Better handling when default values are set to `None`

Page 2 of 3

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.