Skip to main content

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:

Result

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

plotschedule-0.17.tar.gz (3.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

plotschedule-0.17-py3-none-any.whl (4.6 kB view details)

Uploaded Python 3

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

Hashes for plotschedule-0.17.tar.gz
Algorithm Hash digest
SHA256 5f187b689f0473236dba84e1e67441873455d8d2e6cd4a5b38cd58cea89e1e82
MD5 395dcd8dc6bc5c12a1de1545db1bde15
BLAKE2b-256 6a709231a101be88115d679a452b81d52b1c149a83b03c798c74772be9e7c044

See more details on using hashes here.

Provenance

The following attestation bundles were made for plotschedule-0.17.tar.gz:

Publisher: release.yml on sspickle/plotschedule

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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

Hashes for plotschedule-0.17-py3-none-any.whl
Algorithm Hash digest
SHA256 b73d78d90e6118e7027590c718a932197e0bf0951455fcd5621ae64a1e62de44
MD5 c23ddd4a21c9560acdaa0c22d087209b
BLAKE2b-256 4592923062214b24d2bdc159ce99544413667f35b8f6745485cb6e5d6e7e051d

See more details on using hashes here.

Provenance

The following attestation bundles were made for plotschedule-0.17-py3-none-any.whl:

Publisher: release.yml on sspickle/plotschedule

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Release history Release notifications | RSS feed

0.18

2 files

This release

0.17 This release

2 files

0.16

2 files

0.15

1 file

0.14

1 file

0.12

1 file

0.11

1 file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page