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.8.tar.gz (550.2 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.8-py3-none-any.whl (552.7 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: drawcal-0.5.8.tar.gz
  • Upload date:
  • Size: 550.2 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.8.tar.gz
Algorithm Hash digest
SHA256 bdc9c21ba30df3e38a2920cc005dd20f90c58d200f5e71ac4e70f17810912d27
MD5 699886ffa657cf06a33e3231727417b9
BLAKE2b-256 a9e92150ec701934fdc93183f532f53ec3066049051af9c8894d230283e4beed

See more details on using hashes here.

File details

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

File metadata

  • Download URL: drawcal-0.5.8-py3-none-any.whl
  • Upload date:
  • Size: 552.7 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.8-py3-none-any.whl
Algorithm Hash digest
SHA256 59be6acec68853fed20f8dbe5ba71128effdecb1724b94af0d4c3bf06d8ac87b
MD5 c895352e0136a1f86416cfc0eff0d1a9
BLAKE2b-256 9be97d84d4def63c83d84edaf77beea02ec84ef084ef692186dbe31de75efc09

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