Time-window

Latest version: v0.1.0

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

Scan your dependencies

0.1.0

New functionality.

Added
- Add the `ExpirableObject` class to the `helpers` module.
- Add the functions `utctimestamp_tzaware`, `utcnow_tzaware`, `utcfromtimestamp_tzaware`, `floor_seconds`, `utc_date_parse`, `utc_from_local_date_parse`, `utcdatetime_tzaware` to the `helpers` module.
- Add dependency to the `python-dateutil` library.
- Add the functions `time_window_from_timestamps` and `time_window_to_timestamps` to the `time_window` module.
- Add the methods `split_per_week` and `split_per_month` to the `TimeWindow` class.

0.0.1

The initial version of the library.

Added
- Add the functions `make_sequence` and `gaps_iterator` in the `helpers` module.
- Add the `TimeWindow` and `TimeWindowsCollection` classes in the `time_window` module.

Links

Releases

Has known vulnerabilities

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.