Skip to main content

Cosquin Tales (provider)

A provider skill for ovos-common-reading-pipeline-plugin, delivering Emmanuel Cosquin's collection of Lorraine (French regional) folk tales.

A genuinely different register than ovos-skill-perrault-tales-style literary fairy tales: these are folk-collected, with the collector's own comparative scholarly notes ("Remarques") on how each tale relates to variants told elsewhere in France and abroad (excluded from what's read aloud - see below).

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.

French only, no translation. Same situation as ovos-skill-andrew-lang-tales/ovos-skill-bechstein-tales, just for French. On any device language other than French, this provider never loads at all: initialize() checks the device's language against SUPPORTED_LANGUAGES = {"fr"} before loading the index or registering any bus events, logging why. Set your OVOS device's language to French (fr-*) to use this provider.

Install

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

Story index

The story index (title, anchor per story) is bundled with this package (locale/fr-fr/index.json), not scraped live - browsing/ matching needs no internet at all. Only fetching a specific story's actual text (once chosen) needs a live request to Project Gutenberg.

30 stories from volume 1 of Cosquin's "Contes populaires de Lorraine" (Project Gutenberg ebook #57892). The index was built via scripts/build_index.py, which scans for <h2 id="ROMAN_NUMERAL"> headings (the book's own per-story anchoring) and excludes non-story sections (front matter, appendices) by requiring the id to actually look like a Roman numeral.

Known gap: volume 2 not included. Volume 2 (ebook #50838) uses a different, page-number-based anchor scheme (<a id="Page_N"> nested inside an unlabelled <h2>, rather than the h2 itself carrying a roman-numeral id) - the same class of problem that excluded the Olive Fairy Book from ovos-skill-andrew-lang-tales. Not handled yet; a follow-up could add volume 2's ~30 additional stories with a second anchor-extraction path.

Story extraction stops each tale at the following <h3>REMARQUES</h3> - the scholarly comparative commentary that follows every story here is deliberately excluded from what gets read aloud, not just the next story's heading.

Collection hints

Responds to collection_hint values like "cosquin", "lorraine", "lorraine tales", "contes de lorraine", "emmanuel cosquin", matched fuzzily (see COLLECTION_ALIASES in __init__.py).

Content type

Identifies as content_type: "story" or "tale". A search with a content_type hint for anything else gets no response from this provider.

Credits

Content sourced from Project Gutenberg. Scraping/extraction/caching logic ported from ovos-skill-andrew-lang-tales and ovos-skill-bechstein-tales.

Category

Entertainment

Tags

#stories #fairytales #folklore #cosquin #lorraine #french #provider

Release files for ovos-skill-cosquin-tales 0.1.2

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-cosquin-tales 0.1.2
File Size Uploaded
ovos_skill_cosquin_tales-0.1.2.tar.gz 24.6 kB Details

Built distribution (wheel)

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

Total release size: 46.3 kB

Release files / ovos_skill_cosquin_tales-0.1.2.tar.gz

Download URL ovos_skill_cosquin_tales-0.1.2.tar.gz
Size 24.6 kB
Tags Source
SHA-256 checksum
How to use checksums
aa96e69f60534976e0d00d85e9d19bb09119de4fd2997ce1c6f720c9d9cf73dc
BLAKE2b-256 checksum
How to use checksums
7366ec456a979995d2834c6b50c318cff76b95c02403bc73abf28e9549c22257
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.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 Jul 25, 2026.

Transparency log

Release files / ovos_skill_cosquin_tales-0.1.2-py3-none-any.whl

Download URL ovos_skill_cosquin_tales-0.1.2-py3-none-any.whl
Size 21.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
d39717b049683635d2baf99a7bd2d918487bd1bec5ea2032e99c2cc8c03b06ff
BLAKE2b-256 checksum
How to use checksums
59a610d8acf5e77413675843be28c8283d94d05e205aca97d6004a878d3884f9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.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 Jul 25, 2026.

Transparency log

Release history Release notifications | RSS feed

This release

0.1.2 This release

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