Skip to main content

Wrapper for the public API of https://eucharistiefeier.de/lk/

Project description

Tests Build documentation Publish Package

GitHub release License issues - directorium

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_date(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.

  1. Fork the project
  2. Add a python environment with python -m venv .venv
  3. Activate the environment with source .venv/bin/activate
  4. Install the development dependencies with pip install -e .[development]
  5. Install the pre-commit hooks with pre-commit install
  6. Create a new branch
  7. Make your changes (remember to add tests!) and commit them
  8. Install the test dependencies with pip install -e .[test]
  9. Run the tests with pytest
  10. 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

directorium-0.1.2.tar.gz (66.9 kB view hashes)

Uploaded Source

Built Distribution

directorium-0.1.2-py3-none-any.whl (9.5 kB view hashes)

Uploaded Python 3

Supported by

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