Dataclocklib

Latest version: v0.2.0

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

Scan your dependencies

Page 1 of 2

0.2.0

Added

- PyPalettes library dependency, providing 2500+ palettes.
- Colormap reverse flag parameter added to dataclock function.
- Chart polar spine color parameter added to dataclock.
- Chart polar grid color parameter added to dataclock.

Changed

- Wedge label logic moved to `dataclocklib.utility.add_wedge_labels`.
- Temporal aggregation logic moved to `dataclocklib.utility.aggregate_temporal_columns`.

0.1.8

Added

- Basic overview guide on documentation site
- Dynamic 'optimal' figure size calculation based on total wedge count.
- Dynamic chart annotation font scaling & spacing adjustment.
- Dynamic polar axis label font scaling based on number of rings.
- Configuration files (`dataclocklib/config/`) for default chart title & subtitle creation.
- Dataclock *kwargs* `**fg_kw` added, which aligns with `pyplot.subplots`.
- Figure size (figsize) parameter will be overwritten and must be modified with the returned Figure object.

Changed

- Moved custom types to `dataclocklib.typing`.
- `ColorMap` type changed to `CmapNames`.
- Moved colorbar logic to `dataclocklib.utility.add_colorbar`.
- Dataclock arguments; `chart_title`, `chart_subtitle`, `chart_period`, `chart_source` are keyword only.

0.1.7

Added

- Extra unit tests:
- Test aggregation values for different chart modes.
- Test figure generation for different chart modes.
- Test custom chart annotation text values.
- Error handling for empty DataFrame & wrong data type.

Changed

- Parameter 'default_text' triggers default chart title and subtitle annotations if chart_title & chart_subtitle are None.
- Parameter 'chart_period' for optional annotation below subtitle for dataset reporting period.
- Raises ValueError if data[date_column] Series does not have not a 'datetime64[ns]' data type.
- Raises ValueError if data is an empty DataFrame.

Fixed

- Ring & wedge value generation inefficiencies (~75% improvement).
- Redundant inner loop for wedge bar creation.
- Divide by zero error when passed an empty DataFrame.
- Leap year ring values changed from 53 to 52 in 'YEAR_WEEK' mode.

0.1.6

Changed

- Tutorial updates & improvements.

0.1.5

Added

- Jupyter Notebook Tutorial for documentation.

0.1.4

Added

- PyPI deployment.
- Pytest functions added.

Page 1 of 2

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.