Skip to main content

Python library for drawing simple monthly calendar images with events.

Project description

drawcal

Python library for drawing simple monthly calendar images with events.

drwacal clendar image

Installation

Install from PyPI:

$ pip install -U drawcal

Quickstart

Generate a calendar image for a given events file:

$ drawcal --events events.json --month 3 --year 2025

Python:

>>> from drawcal import draw_calendar
>>> draw_calendar(month, year, events=events, outfile=outfile)

Events format

drawcal expects a JSON file containing a list of events, where each event is a list of dates in M/D/YYYY format:

[
  ["3/1/2025", "3/2/2025", "3/3/2025"],
  ["3/14/2025", "3/15/2025"]
]

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

drawcal-0.5.9.tar.gz (550.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

drawcal-0.5.9-py3-none-any.whl (552.9 kB view details)

Uploaded Python 3

File details

Details for the file drawcal-0.5.9.tar.gz.

File metadata

  • Download URL: drawcal-0.5.9.tar.gz
  • Upload date:
  • Size: 550.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.8.10

File hashes

Hashes for drawcal-0.5.9.tar.gz
Algorithm Hash digest
SHA256 8b53a9d1cbe8e310581c4a537799ebdd38bd9fb0beccd9367d3ea5eff7dad0f6
MD5 63d26f93cacf351b0a8756a0adcf50f7
BLAKE2b-256 98a979582a4f297c9dd446a266a486db5c942fb7ece0df9ae6d179d04d52c878

See more details on using hashes here.

File details

Details for the file drawcal-0.5.9-py3-none-any.whl.

File metadata

  • Download URL: drawcal-0.5.9-py3-none-any.whl
  • Upload date:
  • Size: 552.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.8.10

File hashes

Hashes for drawcal-0.5.9-py3-none-any.whl
Algorithm Hash digest
SHA256 58544b18f52403ecf21f9ff5df5e8b97522051ed76ee7a8c99cdb1a79360c3e1
MD5 7d0cdd5bb1d97baf44e7e7341c8e8c43
BLAKE2b-256 3deadc8847a71d025d14173afa41e807568b19e85978a76cc0a2f237dcdf02aa

See more details on using hashes here.

Supported by

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