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.1
SHA1 sum:06762f7017ea3c9e8fa7a17c7a4382a0de3f53dd
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.1.zip

Reviews

No reviews. Create the first review!.

Details by download location

VersionSHA1#DownloadsURL
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(2027,8,D), Nom, Cat, Src).
D = 15, Nom = 'Assomption (jour férié)', Cat = ferie, Src = 'Code du travail, art. L3133-1'.

% Marronniers starting in a given month, sorted
?- marronniers_du_mois(2027, 8, 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 Créavores (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.

En français : ce pack fournit les 139 marronniers 2026-2027 du calendrier éditorial des Créavores sous forme de faits Prolog.

License

Code: MIT. Data: CC BY 4.0 (attribution: Les Créavores). See LICENSE.

Contents of pack "marronniers"

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