Skip to main content

Highlight dates on monthly calendar(s) from categorical event data

Project description

Categorical Colour Calendar

Highlight dates on a monthly calendar from categorical events Example

Setup

pip install categorical-colour-calendar

Usage

import pandas as pd
from cccalendar import draw_colour_calendar

dates = pd.date_range(start='2021-01-01', end='2021-05-01')
df = pd.Series(range(len(dates)), index=dates)
draw_colour_calendar(df, {})

Development

pip install -e .[dev]

To Do

  • Check Date/Datetime compatibility
  • Check DataFrame/Series compatibility
  • Multiple events on one day
  • Automatically assigned colours if not specified
  • Tests
  • Allow override of default sizing/scaling values
  • Test different Python versions
  • Return fig/axes (?)
  • Colour schemes

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

categorical-colour-calendar-0.0.2.tar.gz (4.5 kB view details)

Uploaded Source

Built Distribution

File details

Details for the file categorical-colour-calendar-0.0.2.tar.gz.

File metadata

  • Download URL: categorical-colour-calendar-0.0.2.tar.gz
  • Upload date:
  • Size: 4.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/49.2.1 requests-toolbelt/0.9.1 tqdm/4.56.0 CPython/3.8.6

File hashes

Hashes for categorical-colour-calendar-0.0.2.tar.gz
Algorithm Hash digest
SHA256 fc1619797caf6813d94409bdbdfc392e1b3a4a463bd861a577e4393728734348
MD5 0eff2d43a3d0510be58c6f015c6e243e
BLAKE2b-256 e1993c0bbf61853bbed51e8db7e9865c0c8df880f5538ddaa0c0701a8ca50ffe

See more details on using hashes here.

File details

Details for the file categorical_colour_calendar-0.0.2-py3-none-any.whl.

File metadata

  • Download URL: categorical_colour_calendar-0.0.2-py3-none-any.whl
  • Upload date:
  • Size: 4.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/49.2.1 requests-toolbelt/0.9.1 tqdm/4.56.0 CPython/3.8.6

File hashes

Hashes for categorical_colour_calendar-0.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 e1a351d85ca3d73415cbf0bdcc4fa6c35db70b9e2970f7430cacafcd114d3d0f
MD5 4fa499660fd1bd650b32f4355a151a5b
BLAKE2b-256 4e32ea3cd0cc5e55c13f451a4976e4b1efa77c865393131e49bf0e96990438f7

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