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(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.2.0.tar.gz (67.5 kB view details)

Uploaded Source

Built Distribution

directorium-0.2.0-py3-none-any.whl (9.6 kB view details)

Uploaded Python 3

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

Hashes for directorium-0.2.0.tar.gz
Algorithm Hash digest
SHA256 fbd80a2c8773df2d7c049622fdac867ea398faf41faf282e9691774dda1ca925
MD5 cb84b99ddce3fdc2a608115fbf55800e
BLAKE2b-256 e1c9f3b0610cfd7510b5dffd04be98784ca0d168345af4a749a2af5e4daed0a4

See more details on using hashes here.

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

Hashes for directorium-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 7977c6549ab3bc7ab23e8fdaa94941c1408e413c2b60d68356d9593687d7378e
MD5 d0537d88e77e71545f13100e152f17d7
BLAKE2b-256 1fabe802f5f73c814a47de0e25596f1e4c9e6954ee4c235b0217c5d7b1df6efe

See more details on using hashes here.

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