Did you know ... Search Documentation:
Packs (add-ons) for SWI-Prolog

Package "marronniers"

Title:French editorial calendar (marronniers) 2026-2027 as Prolog facts
Rating:Not rated. Create the first rating!
Latest version:1.0.2
SHA1 sum:229fd7cab83f3979abe416a7a91047cb43f4521d
Author:Trésor Kaya <contact@lescreavores.fr>
Home page:https://lescreavores.fr/outils/generateur-calendrier-editorial/
Download URL:https://codeberg.org/tresor2k/marronniers-pl/raw/branch/main/marronniers-1.0.2.zip

Reviews

No reviews. Create the first review!.

Details by download location

VersionSHA1#DownloadsURL
1.0.2229fd7cab83f3979abe416a7a91047cb43f4521d1https://codeberg.org/tresor2k/marronniers-pl/raw/branch/main/marronniers-1.0.2.zip
1.0.106762f7017ea3c9e8fa7a17c7a4382a0de3f53dd1https://codeberg.org/tresor2k/marronniers-pl/raw/branch/main/marronniers-1.0.1.zip
1.0.043dc1ce5e351241dd73360710c774a87d60dcfc51https://codeberg.org/tresor2k/marronniers-pl/raw/branch/main/marronniers-1.0.0.zip

marronniers

French editorial calendar (marronniers) 2026-2027 as SWI-Prolog facts.

A marronnier is a recurring date that French media and marketers plan content around: public holidays, commercial events (sales, Black Friday), themed world days, school holidays and season changes. This pack ships 139 of them for France, from 14 September 2026 to 31 December 2027, each with the source that fixes its date.

Interactive version: https://lescreavores.fr/outils/generateur-calendrier-editorial/

Install

?- pack_install(marronniers).

Usage

?- use_module(library(marronniers)).

% All facts: marronnier(Date, Nom, Categorie, Source)
?- marronnier(date(2026,10,31), Nom, Cat, Src).
Nom = 'Halloween', Cat = fete, Src = 'Usage (31 octobre)'.

% Marronniers starting in a given month, sorted
?- marronniers_du_mois(2026, 10, L).

% Next marronnier on or after a date
?- prochain_marronnier(date(2026,9,15), M).

% Names in a category, chronological order
?- marronniers_par_categorie(commercial, Noms).

Dates are date(Year, Month, Day) terms (first day of the event). Categories: ferie (public holiday), fete (non-statutory celebration), commercial, journee (themed day or week), vacances (school holidays), saison (season change).

Tests

swipl -g run_tests -t halt test/test_marronniers.pl

Source

Every fact is one row of the dataset:

Les Creavores (2026). Marronniers 2026-2027. Mendeley Data, V1. doi:10.17632/gcgm8ztmcd.1. CC BY 4.0.

Dates come from fixed dates, public calculable rules (Easter, Mother's Day, Black Friday, sales periods set by the Code de commerce) or official texts (school calendar decrees). World days without a fixed date or public rule are excluded.

Names and sources inside the facts are in French, stored as UTF-8 atoms. The same 139 marronniers power the Les Creavores editorial calendar generator.

License

Code: MIT. Data: CC BY 4.0 (attribution: Les Creavores). See LICENSE.

Contents of pack "marronniers"

Pack contains 5 files holding a total of 23.0K bytes.