Datify

Latest version: v1.1.0

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

Scan your dependencies

1.1.0

- Major RegExps fix.
- Marked a bunch of methods as deprecated. The 1.1.0 update rebuilds the logic of Datify without breaking the
existing functionality, but the **2.0.0 version will break the old code**. From this version, the usage of the code
marked as deprecated will raise DeprecationWarnings. Consider removing the deprecated functionality usage.
- Major reconsidering of the logic of Datify based on the [Dart implementation](https://github.com/mitryp/datifyDart).
- Completely rewritten the parsing logic.
- Now the class doesn't raise exceptions when the date is not found.
- Now the methods are null-safe.
- Replaced the old configuration dictionary with the `DatifyConfig` class **(no backwards compatibility)**.
See the documentation for more information.
- Added unit tests.
- Updated the README.
- Removed the russian README file.
- Added `example/example.py`.

The list of the deprecated methods:
- is_date_part
- is_date
- find_date
- is_day
- set_day
- is_digit_month
- is_alpha_month
- get_alpha_month
- set_month
- is_year
- set_year
- date_or_tuple
- setup_variables

**These methods will be removed in the 2.0.0 release.** Until then, the usage of these methods will produce
DeprecationWarnings.

1.0.4

- Fixed a mistake in README

1.0.3

- Extended the example in the README

1.0.2

- Added the documentation link in README

1.0.1

- Formatted with `dart format .`.

1.0.0

- Initial version.
- Fully rewritten the [Python implementation](https://github.com/mitryp/datify) of Datify in Dart.
- Major logic and core improvements.
- Written the unit tests to cover all expected cases of the usage.

Links

Releases

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.