Fetch Meditation documentation
A Python package for fetching daily meditation content from various sources.
Installation
pip install fetch-meditation
Usage
from fetch_meditation import Jft, JftLanguage, JftSettings
# Create settings for English JFT
settings = JftSettings(language=JftLanguage.English)
# Get the appropriate JFT fetcher
jft = Jft.get_instance(settings)
# Fetch today's meditation
entry = jft.fetch()
# Print the meditation title and thought
print(f"Title: {entry.title}")
print(f"Thought: {entry.thought}")
Contents: