Highlight dates on monthly calendar(s) from categorical event data
Project description
Categorical Colour Calendar
Highlight dates on a monthly calendar from categorical events
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
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file categorical-colour-calendar-0.0.1.tar.gz
.
File metadata
- Download URL: categorical-colour-calendar-0.0.1.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
Algorithm | Hash digest | |
---|---|---|
SHA256 | cf8daad10350646b402645aa3f70bed200879fb5621c7be2d36d44add0fa8b9a |
|
MD5 | 57563979e7d629bd6f42cabcdc0ee556 |
|
BLAKE2b-256 | 4cdaa8182c963d6f7e437aa0198c5412dcad125ba11e98a644f12388c480b397 |
File details
Details for the file categorical_colour_calendar-0.0.1-py3-none-any.whl
.
File metadata
- Download URL: categorical_colour_calendar-0.0.1-py3-none-any.whl
- Upload date:
- Size: 4.0 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
Algorithm | Hash digest | |
---|---|---|
SHA256 | c3472b87f0900d2fdb1786f5fdeed3476148b019bb8786e038ba69d061799d06 |
|
MD5 | ad7068a6f9ca7c2dbb89e699cfefd313 |
|
BLAKE2b-256 | 2f485c5734927f2e5e495b62b3f2a9e5f6635da73b02760a185956ff2bbf3989 |