A wrapper package for the public API of https://eucharistiefeier.de/lk/. It is able to provide information from the liturgical calendar such as liturgical color and lectures. To start with the package just run:
pip install directorium
A sample usage would be:
from datetime import date
from directorium import Directorium
directorium = Directorium.from_request()
today = date.today()
events = directorium.get_date(today)
print(events)
An automatically created documentation is available on the GitHub Pages of this project.
You're more than invited to contribute to this project. Any kind of help is appreciated. Just open an issue or a pull request.
- Fork the project
- Add a python environment with
python -m venv .venv
- Activate the environment with
source .venv/bin/activate
- Install the development dependencies with
pip install -e .[development]
- Install the pre-commit hooks with
pre-commit install
- Create a new branch
- Make your changes (remember to add tests!) and commit them
- Install the test dependencies with
pip install -e .[test]
- Run the tests with
pytest
- Push your changes and open a pull request
Thanks a lot to the Salesians of Don Bosco for providing the API!
Released under MIT by @matthiasgi.