Skip to main content

A simple matplotlib based schedule plotter

Project description

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.

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.

Project details


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.15.tar.gz (4.0 kB view details)

Uploaded Source

File details

Details for the file plotschedule-0.15.tar.gz.

File metadata

  • Download URL: plotschedule-0.15.tar.gz
  • Upload date:
  • Size: 4.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.50.0 CPython/3.8.3

File hashes

Hashes for plotschedule-0.15.tar.gz
Algorithm Hash digest
SHA256 55c4410283607a791b0d4e945c292b22891bf0eb4ce003ba41a2b44c2e568ca1
MD5 bf2a904f1742665912427f8f78bdac88
BLAKE2b-256 5f5e6cc0f45f71aaa4486d4764cbfd81a8c8d0c15128d0652d49b5479a85862c

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page