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

It is part of Emkay, OpenVoiceOS in the browser, and works on any OpenVoiceOS.

Build 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

Where the stories come from

This provider publishes nothing itself: it finds the stories where they are already published, and every story says where it came from. The source of each search answer is the site the text is read from, and the pipeline says it after the last sentence ("And that's the end. It came from Wikisource.").

  • andersenstories.com – on a device (any OpenVoiceOS), as it always was: 7 languages, EN, DA, DE, ES, FR, IT, NL.
  • Wikisource – the free library of public-domain texts. A browser may not read andersenstories.com (the site doesn't allow other web pages to read it), but it may read Wikisource, so in a browser – Emkay – the stories come from Wikisource. On a device Wikisource is the fallback when the site can't be reached.
Language Wikisource edition Stories
Danish Andersen's own Danish text (Forfatter:Hans Christian Andersen, "Eventyr og historier") about 80
English Hans Andersen's Fairy Tales about 95
French Contes d’Andersen, Nouveaux Contes d’Andersen, Contes danois about 55
Italian Quaranta novelle about 40

German, Spanish and Dutch have no Andersen collection on Wikisource yet that can be read aloud as it is, so a browser has no Andersen in those languages. A story added to one of the pages above is found the next time the index is built (once a week). The texts on Wikisource are in the public domain; see each page for its edition and translator.

Languages

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 has stories in (above). If none of them is one of those, 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 several 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

Stories from andersenstories.com and Wikisource and its volunteers, who transcribe and proofread the public-domain editions. Scraping/caching logic ported from ovos-skill-fairytales.

Category

Entertainment

Tags

#stories #fairytales #andersen #provider #wikisource

Metadata

Release files for ovos-skill-andersen-tales 0.2.0

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.2.0
File Size Uploaded Provenance Actions
ovos_skill_andersen_tales-0.2.0.tar.gz 69.3 kB With provenance Details for ovos_skill_andersen_tales-0.2.0.tar.gz

Built distribution (wheel)

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

Total release size: 133.8 kB

Release files / ovos_skill_andersen_tales-0.2.0.tar.gz

Download URL ovos_skill_andersen_tales-0.2.0.tar.gz
Size 69.3 kB
Tags Source
SHA-256 checksum
How to use checksums
c8e0f3bf6bd2dc281e6107c63d8d67caba9f3f8503745614ab89291ab27b0c5f
BLAKE2b-256 checksum
How to use checksums
fd87c75d1f916cc53f9e7a3b15a76bc628f08f77b85ccc2fccba25010af6433d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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 Nov 21, 2026.

Transparency log

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

Download URL ovos_skill_andersen_tales-0.2.0-py3-none-any.whl
Size 64.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
f18ebc500c83e19b8c2977e37c36c6e1c79d7f3b2b11f0d35ba27e40df836d8a
BLAKE2b-256 checksum
How to use checksums
0a414e56e18a8e0c3abbc0acf9d3008cec09bfc5db565d89fed9ab66580823b7
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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 Nov 21, 2026.

Transparency log

Security for ovos-skill-andersen-tales 0.2.0

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.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for ovos_skill_andersen_tales-0.2.0.tar.gz

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 Nov 21, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

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