A simple schedule plotter
The csv/xlsx file needs to have columns "begin", "end", "days", and whatever text you want in the schedule boxes:
| begin | end | days | Label1 | Label2 | Label3 | |
|---|---|---|---|---|---|---|
| 0 | 08:00 AM | 08:50 AM | MW | One | Two | Three |
| 1 | 10:00 AM | 11:50 AM | TRF | Yes | No | Maybe |
| 2 | 03:00 PM | 03:50 PM | MWF | Foo | Bar | Baz |
For this CSV you could use this command line:
plotschedule --output bar.png --title "My Schedule" example/foo.csv --labels Label1 Label2 Label3
And you'd get this output:
You can also add a color column and use matplotlib colors.
You can add a hatch column to shade individual blocks with a matplotlib hatch
pattern ('///', 'xx', '..', and so on). Hatching is drawn on top of the
block's fill, so it marks a block without spending the colour channel — useful
when colour already means something else. Leave the cell blank for no hatch.
Changes: 0.11 now works with excel too!
Changes: 0.12 allow for times that are already converted into 'float' hours (e.g. 8:30 AM -> 8.5, etc.)
Changes: 0.14 (yeah, skip 0.13!) reorganize init.py to put the function an module scope.
Changes: 0.15 Added --sheet argument to pull a particular sheet from an excel file.
Changes: 0.17 Added per-block hatch support. Packaging moved to pyproject.toml/uv
and the first tests were added.
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file plotschedule-0.17.tar.gz.
File metadata
- Download URL: plotschedule-0.17.tar.gz
- Upload date:
- Size: 3.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via:
twine/6.1.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5f187b689f0473236dba84e1e67441873455d8d2e6cd4a5b38cd58cea89e1e82
|
|
| MD5 |
395dcd8dc6bc5c12a1de1545db1bde15
|
|
| BLAKE2b-256 |
6a709231a101be88115d679a452b81d52b1c149a83b03c798c74772be9e7c044
|
Provenance
The following attestation bundles were made for plotschedule-0.17.tar.gz:
Publisher:
release.yml on sspickle/plotschedule
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
plotschedule-0.17.tar.gz -
Subject digest:
5f187b689f0473236dba84e1e67441873455d8d2e6cd4a5b38cd58cea89e1e82 - Sigstore transparency entry: 2264850825
- Sigstore integration time:
-
Permalink:
sspickle/plotschedule@49c98d5c82199ff5af84ff3a4bb498a24dfdf6e8 -
Branch / Tag:
refs/tags/v0.17 - Owner: https://github.com/sspickle
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@49c98d5c82199ff5af84ff3a4bb498a24dfdf6e8 -
Trigger Event:
push
-
Statement type:
File details
Details for the file plotschedule-0.17-py3-none-any.whl.
File metadata
- Download URL: plotschedule-0.17-py3-none-any.whl
- Upload date:
- Size: 4.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via:
twine/6.1.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b73d78d90e6118e7027590c718a932197e0bf0951455fcd5621ae64a1e62de44
|
|
| MD5 |
c23ddd4a21c9560acdaa0c22d087209b
|
|
| BLAKE2b-256 |
4592923062214b24d2bdc159ce99544413667f35b8f6745485cb6e5d6e7e051d
|
Provenance
The following attestation bundles were made for plotschedule-0.17-py3-none-any.whl:
Publisher:
release.yml on sspickle/plotschedule
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
plotschedule-0.17-py3-none-any.whl -
Subject digest:
b73d78d90e6118e7027590c718a932197e0bf0951455fcd5621ae64a1e62de44 - Sigstore transparency entry: 2264851105
- Sigstore integration time:
-
Permalink:
sspickle/plotschedule@49c98d5c82199ff5af84ff3a4bb498a24dfdf6e8 -
Branch / Tag:
refs/tags/v0.17 - Owner: https://github.com/sspickle
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@49c98d5c82199ff5af84ff3a4bb498a24dfdf6e8 -
Trigger Event:
push
-
Statement type: