Skip to main content

Brothers Grimm fairy tales provider skill for ovos-common-reading-pipeline-plugin

Project description

Grimm Tales (provider)

A provider skill for ovos-common-reading-pipeline-plugin, delivering the Brothers Grimm's fairy tales.

"He who is too well off is always longing for something new." — from "The Mouse, the Bird, and the Sausage," Brothers Grimm

Tests PyPI version

This skill has no standalone voice interface. It registers no intents and never speaks. It only answers ovos.common_reading.* bus messages, so you also need ovos-common-reading-pipeline-plugin installed and added to your pipeline config for it to be useful at all.

Install

pip install ovos-skill-grimm-tales ovos-common-reading-pipeline-plugin

Languages

Sourced live from grimmstories.com, which supports 8 languages here: EN, DA, DE, ES, FR, IT, NL, PT.

Grimmstories.com actually offers 20 languages total - the other 12 (FI, HU, VI, TR, PL, RO, RU, UK, EL, ZH, JA, KO) aren't included here yet since they fall outside OVOS's actively-tracked language set. Portuguese is Grimm-only among the 8 supported here - no equivalent Andersen source exists in Portuguese.

This provider does not translate. On any other device language, it doesn't just decline to answer searches - it never loads at all: initialize() checks the device's language against SUPPORTED_LANGUAGES before building any index or registering any bus events, and logs a clear message if the language isn't supported, rather than silently serving English (or any other) content. Set your device to one of the 8 supported languages to use this provider.

Author/collection name and collection_hint aliases are also per-language, not hardcoded English - "the Brothers Grimm" only makes sense to announce on an English device; a Danish device hears "Brødrene Grimm" instead, and a Danish user saying "brødrene grimm" as a collection_hint matches correctly (not just by luck, the way it would have if we'd only shipped English aliases). See locale/<lang>/collection.voc (aliases) and locale/<lang>/collection_meta.json (author/collection name), loaded via OVOS's own resource file resolution rather than Python constants - see ovos-common-reading-pipeline-plugin#26 for the full reasoning. This also means every supported language has its own locale/<lang>/skill.json, so the Skills Store can see this provider genuinely supports 8 languages, not just English.

Collection hints

Responds to collection_hint values in the device's own language - e.g. "grimm"/"the brothers grimm" on English, "grimm"/"brødrene grimm" on Danish, "grimm"/"die gebrüder grimm" on German - matched fuzzily against that language's own alias list (see locale/<lang>/collection.voc).

Content type

Identifies as content_type: "story" or "tale". A search with a content_type hint for anything else (e.g. "article", "poem") gets no response from this provider.

Credits

Content sourced from grimmstories.com. Scraping/caching logic ported from ovos-skill-fairytales and ovos-skill-andersen-tales.

Category

Entertainment

Tags

#stories #fairytales #grimm #provider

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

ovos_skill_grimm_tales-0.1.3.tar.gz (27.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

ovos_skill_grimm_tales-0.1.3-py3-none-any.whl (28.7 kB view details)

Uploaded Python 3

File details

Details for the file ovos_skill_grimm_tales-0.1.3.tar.gz.

File metadata

  • Download URL: ovos_skill_grimm_tales-0.1.3.tar.gz
  • Upload date:
  • Size: 27.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.14

File hashes

Hashes for ovos_skill_grimm_tales-0.1.3.tar.gz
Algorithm Hash digest
SHA256 502402e38466d75fd8cd425cc12e721d5e58c0697d68304d1edce14afbc05c03
MD5 04408e8d2573c11a239e21da76a68902
BLAKE2b-256 128542a9d37280547f5f3462578f5a4dbf694552a977c704e8f63912f3cf017f

See more details on using hashes here.

Provenance

The following attestation bundles were made for ovos_skill_grimm_tales-0.1.3.tar.gz:

Publisher: publish.yml on andlo/ovos-skill-grimm-tales

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file ovos_skill_grimm_tales-0.1.3-py3-none-any.whl.

File metadata

File hashes

Hashes for ovos_skill_grimm_tales-0.1.3-py3-none-any.whl
Algorithm Hash digest
SHA256 1a878331a2d66492bc3b6d31e489e0a42a4c8043bd286b1e05f1edbc8e508dbb
MD5 a97da8a44f84c2c0d6967a2eb3253d4d
BLAKE2b-256 c21cf8c35d6e257d222778f8b1a3b3d17666fa63e717c4b7afdf7b268c2a8e49

See more details on using hashes here.

Provenance

The following attestation bundles were made for ovos_skill_grimm_tales-0.1.3-py3-none-any.whl:

Publisher: publish.yml on andlo/ovos-skill-grimm-tales

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

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