
Research
2025 Report: Destructive Malware in Open Source Packages
Destructive malware is rising across open source registries, using delays and kill switches to wipe code, break builds, and disrupt CI/CD.
clock-plot
Advanced tools
This package provides a simple way to visualize patterns in timeseries data mapping 24 hours onto a polar plot
clock_plot provides a simple way to visualize timeseries data mapping 24 hours onto the 360 degrees of a polar plot. For usage, please see the examples.ipynb Jupyter notebook

To install this package run:
pip install clock_plot
Time features are automatically generated for your timeseries. These features include:
| Feature | Type | Description | Example Values |
|---|---|---|---|
| year | int | Calendar year | 2022 |
| month | str | Calendar month | "January" |
| year_month | int | Calendar year and month in the format YYYYMM | 202201 |
| day | int | Day of calendar year | 25 |
| date | str | Expressed in the format YYYY-MM-DD | "2022-01-25" |
| week | int | ISO week of the calendar year | 5 |
| dayofweek | str | Short version of day of week | "Tue" |
| weekend | str | Either "weekday" or "weekend", where "weekend" is Saturday and Sunday | "weekend" (Sat/Sun) "weekday" (Mon-Fri) |
| hour | int | Hour of the day in 24 clock | 14 |
| minute | int | Minute of the hour | 42 |
| degrees | int | Angle around 24 hour clock-face measured in degrees | 341 |
| season | str | Season of the year defined based on month, with Winter being Dec-Feb | "Winter" (Dec-Feb) "Spring" (Mar-May) "Summer" (Jun-Aug) "Autumn" (Sep-Nov) |
These can be used to filter your data and format your plot.
For example you could filter for a particular year, plot seasons with different colors and weekday vs weekend days with different line dashes. Examples of this are given in examples.ipynb
Radar/polar plots (of which clock plots are a special case) are much maligned by visualisation experts, and for good reason. Whilst some of the common limitations are overcome with clock plots, two key ones remain:
Clock plots are therefore most suited for cases where understanding absolute values is less important and one or more of the following is true:
Note that they are particularly poorly suited to:
If you're not sure which is best for a particular use case, you can quickly toggle between a clock plot and a linear plot by adding mode="line" to your clock_plot call.
FAQs
This package provides a simple way to visualize patterns in timeseries data mapping 24 hours onto a polar plot
We found that clock-plot demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 2 open source maintainers collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Research
Destructive malware is rising across open source registries, using delays and kill switches to wipe code, break builds, and disrupt CI/CD.

Security News
Socket CTO Ahmad Nassri shares practical AI coding techniques, tools, and team workflows, plus what still feels noisy and why shipping remains human-led.

Research
/Security News
A five-month operation turned 27 npm packages into durable hosting for browser-run lures that mimic document-sharing portals and Microsoft sign-in, targeting 25 organizations across manufacturing, industrial automation, plastics, and healthcare for credential theft.