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

Uploaded Source

Built Distribution

File details

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

File metadata

  • Download URL: categorical-colour-calendar-0.0.3.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.3.tar.gz
Algorithm Hash digest
SHA256 d5e56b314e37d0c7b41b8d7aeb1c267bd812ce1769f5b831cb0af962dca7529c
MD5 770150d647fa6ef24375a06a60d3e2b3
BLAKE2b-256 c2550950f29c8eee573ae1acfd84f244318af9993e548d4cd0f02d7ab2a33de5

See more details on using hashes here.

File details

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

File metadata

  • Download URL: categorical_colour_calendar-0.0.3-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.3-py3-none-any.whl
Algorithm Hash digest
SHA256 8d4e8991bc22cc76684e90ba645b2607bf2a74813df82e03ad25ab638fb663fe
MD5 a947d2b79d123c0aa82c237e9f5cfdf3
BLAKE2b-256 040d07bfac61e2e24ea381aab180296564043470366ccd46a9c3902383a1c90c

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