Skip to main content

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. It loads only for the languages the installation is configured for - the device's own lang plus secondary_langs in mycroft.conf - that it supports. If none of them is one of the 7, it never loads at all: initialize() builds no index, registers no bus events, and logs a clear message rather than silently serving English (or any other) content.

For each configured, supported language it builds its own story index, and each search is answered from the index of the language it was made in: the pipeline plugin's lang field, else the language of the session the search came from, else the device's own. A single device builds one index, as before. A HiveMind hub serving users in several languages lists them in secondary_langs:

{
  "lang": "en-US",
  "secondary_langs": ["da-DK", "de-DE"]
}

A search in a language the installation doesn't serve gets no answer at all. A search with no title ("tell me a story") gets a random story at 0.9, and titles match regardless of case.

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

Metadata

Release files for ovos-skill-andersen-tales 0.1.7

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for ovos-skill-andersen-tales 0.1.7
File Size Uploaded
ovos_skill_andersen_tales-0.1.7.tar.gz 31.6 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for ovos-skill-andersen-tales 0.1.7
File Interpreter ABI Platform
ovos_skill_andersen_tales-0.1.7-py3-none-any.whl Python 3 none any Details

Total release size: 62.5 kB

Release files / ovos_skill_andersen_tales-0.1.7.tar.gz

Download URL ovos_skill_andersen_tales-0.1.7.tar.gz
Size 31.6 kB
Tags Source
SHA-256 checksum
How to use checksums
5f8deb6b5e1c857750a70f9a6b80db38b382a5a88bfa3fd5addf4020ee39eccf
BLAKE2b-256 checksum
How to use checksums
dad97b0d3c0dbc380da8c61bb4bd9ae942bbf61d3a1d1ddcda59bd7aa485e33c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Sep 30, 2026.

Transparency log

Release files / ovos_skill_andersen_tales-0.1.7-py3-none-any.whl

Download URL ovos_skill_andersen_tales-0.1.7-py3-none-any.whl
Size 30.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
14b7b3f3b3141fd24c08106f0c9480a31d21ca26521ed39d630c947a54169bfb
BLAKE2b-256 checksum
How to use checksums
82dc8394a852f4f1035ede4342c0cf95917fd53563f24cb89d57df7c19d7dd83
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Sep 30, 2026.

Transparency log

Release history Release notifications | RSS feed

0.1.8

2 release files

This release

0.1.7 This release

2 release files

0.1.6

2 release files

0.1.5

2 release files

0.1.4

2 release files

0.1.3

2 release files

0.1.2

2 release files

0.1.1

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page