Skip to main content

Draw monthly calendars and highlight dates

Project description

Categorical Colour Calendar

Library for drawing monthly calendars and highlighting dates from categorical events

Example

Example For more examples see the docs

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
  • Tests
  • Allow override of default sizing/scaling values
  • Test different Python versions
  • Return fig/axes
  • Docs

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

Uploaded Source

Built Distribution

File details

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

File metadata

  • Download URL: categorical-colour-calendar-0.0.4.tar.gz
  • Upload date:
  • Size: 6.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.4.tar.gz
Algorithm Hash digest
SHA256 64c5d4ca5de9f7fab1bcff6eb99298219e845c87b44c111807e62a29b2361532
MD5 5e591520ac134d0169032f5b0682998c
BLAKE2b-256 70100cc734a0271604600b18f78e5078e2dd734c39872b0d115c8be8a9203492

See more details on using hashes here.

File details

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

File metadata

  • Download URL: categorical_colour_calendar-0.0.4-py3-none-any.whl
  • Upload date:
  • Size: 4.8 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.4-py3-none-any.whl
Algorithm Hash digest
SHA256 aa2d03740e391e4b149c2fe2b3886ad7bb2b918de4e962255830c73f255abfd1
MD5 6151088ec1942977477498b1fb0d28d4
BLAKE2b-256 ffe8a7f653db3f705cb14cc95fc067f685b92f6f408107fa8757a08d6bfee6b4

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