Wrapper for the public API of https://eucharistiefeier.de/lk/
Project description
directorium
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
Getting started
A sample usage would be:
from datetime import date
from directorium import Directorium
directorium = Directorium.from_request()
today = date.today()
events = directorium.get(today)
print(events)
Documentation
An automatically created documentation is available on the GitHub Pages of this project.
Contributing
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
Acknowledgments
Thanks a lot to the Salesians of Don Bosco for providing the API!
License
Released under MIT by @matthiasgi.
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
Built Distribution
File details
Details for the file directorium-0.2.0.tar.gz
.
File metadata
- Download URL: directorium-0.2.0.tar.gz
- Upload date:
- Size: 67.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.1.1 CPython/3.12.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | fbd80a2c8773df2d7c049622fdac867ea398faf41faf282e9691774dda1ca925 |
|
MD5 | cb84b99ddce3fdc2a608115fbf55800e |
|
BLAKE2b-256 | e1c9f3b0610cfd7510b5dffd04be98784ca0d168345af4a749a2af5e4daed0a4 |
File details
Details for the file directorium-0.2.0-py3-none-any.whl
.
File metadata
- Download URL: directorium-0.2.0-py3-none-any.whl
- Upload date:
- Size: 9.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.1.1 CPython/3.12.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7977c6549ab3bc7ab23e8fdaa94941c1408e413c2b60d68356d9593687d7378e |
|
MD5 | d0537d88e77e71545f13100e152f17d7 |
|
BLAKE2b-256 | 1fabe802f5f73c814a47de0e25596f1e4c9e6954ee4c235b0217c5d7b1df6efe |