Skip to main content

Hans Christian Andersen fairy tales provider skill for ovos-skill-common-tales

Project description

Andersen Tales (provider)

A provider skill for ovos-common-reading-pipeline-plugin, delivering Hans Christian Andersen's fairy tales.

"Life itself is the most wonderful fairy tale of all." — Hans Christian Andersen

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-andersen-tales ovos-common-reading-pipeline-plugin

Languages

Sourced live from andersenstories.com, which offers exactly 7 languages: EN, DA, DE, ES, FR, IT, NL.

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 7 supported languages to use this provider.

Author/collection name and collection_hint aliases are also per-language, not hardcoded English - a Danish device announces "H.C. Andersen" / "H.C. Andersens Eventyr" instead of the English "Hans Christian Andersen" / "Andersen's Fairy Tales". 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 7 languages, not just English.

Collection hints

Responds to collection_hint values in the device's own language - e.g. "andersen"/"hans christian andersen" on English, "andersen"/"h.c. andersen" on Danish - matched fuzzily against that language's own alias list (see locale/<lang>/collection.voc).

Content type

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

Credits

Content sourced from andersenstories.com. Scraping/caching logic ported from ovos-skill-fairytales.

Category

Entertainment

Tags

#stories #fairytales #andersen #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_andersen_tales-0.1.3.tar.gz (25.9 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_andersen_tales-0.1.3-py3-none-any.whl (27.5 kB view details)

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for ovos_skill_andersen_tales-0.1.3.tar.gz
Algorithm Hash digest
SHA256 09c1f5e0f74413c747a81b0010911d0c769546079514e9e0869f37d42ce730ee
MD5 9ccc321db6626220050f8d03e962c653
BLAKE2b-256 029448a3f1c8d5cfda1ce50d04b259e817fa4ca4fbe42706f706a2a52eb970aa

See more details on using hashes here.

Provenance

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

Publisher: publish.yml on andlo/ovos-skill-andersen-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_andersen_tales-0.1.3-py3-none-any.whl.

File metadata

File hashes

Hashes for ovos_skill_andersen_tales-0.1.3-py3-none-any.whl
Algorithm Hash digest
SHA256 3355509b3b8d5d440a1642e60fa29a8548a101457e96d75f47cda65fabaddd26
MD5 c9815336ed9769e7bae180f66988947e
BLAKE2b-256 97ac939354c2d54bc2fd12d22bd23c6aeed7d1b89796594a60ff14ba9bc7fa63

See more details on using hashes here.

Provenance

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

Publisher: publish.yml on andlo/ovos-skill-andersen-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