No description
Find a file
Kumi a8d1a8b4c3
feat(ci/cd): Transition CI/CD to Forgejo for PyPI publishing
Migrated the CI/CD pipeline for PyPI package publishing from GitLab CI to Forgejo workflows. This change introduces a new `release.yml` workflow in the `.forgejo/workflows` directory, designed to trigger on tagged commits with a version identifier. The new workflow uses a Node.js container to manage the Python environment setup and package publication. By switching to Forgejo, we aim to consolidate CI/CD processes and improve integration within our development workflow.

This migration removes the previous `.gitlab-ci.yml` file, reflecting a shift away from GitLab CI in our project infrastructure.
2024-05-28 12:25:22 +02:00
.forgejo/workflows feat(ci/cd): Transition CI/CD to Forgejo for PyPI publishing 2024-05-28 12:25:22 +02:00
src/kalente feat: bump version to 0.1.4 and set default logo SVG 2024-05-28 12:23:03 +02:00
.gitignore Update .gitignore and add .gitlab-ci.yml 2023-09-01 19:00:47 +02:00
LICENSE feat: Add .gitignore, LICENSE, README, pyproject.toml, and kalente source files 2023-08-31 21:43:48 +02:00
pyproject.toml feat: bump version to 0.1.4 and set default logo SVG 2024-05-28 12:23:03 +02:00
README.md Remove logo data from templates, add logo args 2024-02-14 20:57:17 +01:00
requirements-dev.txt Remove logo data from templates, add logo args 2024-02-14 20:57:17 +01:00

Kalente

Kalente logo

Kalente is a simple Python script for generating PDF calendars.

It can be used to generate weekly and monthly calendars at the moment, and it will be extended to support yearly calendars as well.

Currently, Kalente can only generate calendars in English, but support for other languages will be added in the future. Also, calendars are currently generated in A4 landscape format, but support for other formats will be added in the future. If you can help with any of these, please feel free to open a pull request.

Requirements

Kalente should work with any Python version from 3.8 onwards.

It also requires wkhtmltopdf to be installed on your system. You can find instructions on how to install it on your system on the project's website.

Installation

First, set up a virtual environment for Kalente:

python -m venv venv

Then, activate the virtual environment:

source venv/bin/activate

You can install Kalente using pip:

pip install kalente

Usage

Kalente can be used as a command line tool to generate calendars. You can generate weekly calendars using the following command:

kalente --type weekly --date 2021-01-01 --output weekly.pdf

This will generate a weekly calendar for the week of January 1st, 2021. The calendar will be saved to the file weekly.pdf.

You can also generate monthly calendars using the following command:

kalente --type monthly --date 2021-08-01 --output monthly.pdf

This will generate a monthly calendar for August 2021 and save it to the file monthly.pdf.

You can also use the --help option to get more information about the available options:

kalente --help

For example, you may want to look into the --end-date and --count options to generate calendars for multiple weeks or months.

License

Kalente is licensed under the MIT license. See the LICENSE file for more information.