api.services.ultimate3000.pricing

Grille de reprise U3000 Thermo — source: the Google Sheet ‘Offre de reprise U3000 Rewake’.

The live grid is scraped from the sheet by the u3000_price_grid script (api/scripts/) and read here from its run snapshot in Redis; the grids below (sheet of 29/10/2026) are only the fallback while Redis has none (first deploy, tests, Redis down).

Prix €HT: (prix module fonctionnel, prix sinon). “Non testé” => prix “sinon”.

Attributes

Functions

grids() → dict[str, Grid]

{"post_2013": Grid, "pre_2013": Grid}: the last grid scraped from the sheet, else the

catalog() → dict[str, dict[str, list[str]]]

Models bought back per price list and category.

max_prices() → dict[str, float]

Best price per category (recent, working module): the "jusqu'à" figures of the landing page.

module_price(categorie, modele, annee, etat) → float | None

None = module absent de la grille de son année : Rewake ne le reprend pas.

stacks(categories) → list[list[int]]

Groups modules (as indices into categories) into stacks, top to bottom.

bonus_modules(categories) → set[int]

Modules that form complete machines (stacks with all 5 types): only they get the bonus, never

pallets(categories) → list[list[list[int]]]

Stacks (see stacks) grouped onto Euro pallets.

estimate(modules, logistique, cables_vipers) → dict

logistique=None means outside mainland France: logistics, hence the total, are quoted by the

Module Contents

api.services.ultimate3000.pricing.logger
api.services.ultimate3000.pricing.CATEGORIES = ['Dégazeur', 'Pompe', 'Autosampler', 'Compartiment colonne', 'Détecteur']
api.services.ultimate3000.pricing.CUTOFF_YEAR = 2013
api.services.ultimate3000.pricing.COMPLETE_CHAIN_BONUS = 0.15
api.services.ultimate3000.pricing.LOGISTICS
api.services.ultimate3000.pricing.MAX_MODULES = 42
api.services.ultimate3000.pricing.STACKS_PER_PALLET = 2
api.services.ultimate3000.pricing.Grid
api.services.ultimate3000.pricing.SHEET_SCRIPT = 'u3000_price_grid'
api.services.ultimate3000.pricing.CACHE_SECONDS = 30
api.services.ultimate3000.pricing.grids() → dict[str, Grid]

{“post_2013”: Grid, “pre_2013”: Grid}: the last grid scraped from the sheet, else the built-in one.

api.services.ultimate3000.pricing.catalog() → dict[str, dict[str, list[str]]]

Models bought back per price list and category.

api.services.ultimate3000.pricing.max_prices() → dict[str, float]

Best price per category (recent, working module): the “jusqu’à” figures of the landing page.

api.services.ultimate3000.pricing.module_price(categorie: str, modele: str, annee: int, etat: str) → float | None

None = module absent de la grille de son année : Rewake ne le reprend pas.

api.services.ultimate3000.pricing.stacks(categories: list[str]) → list[list[int]]

Groups modules (as indices into categories) into stacks, top to bottom.

Two modules of the same type are never stacked on each other, so there are as many stacks as copies of the most repeated type: stack k holds the k-th module of each type, in UltiMate order (degasser on top). The first stacks are therefore the most complete; 5 different modules look like the real UltiMate 3000.

api.services.ultimate3000.pricing.bonus_modules(categories: list[str]) → set[int]

Modules that form complete machines (stacks with all 5 types): only they get the bonus, never extra loose ones.

api.services.ultimate3000.pricing.pallets(categories: list[str]) → list[list[list[int]]]

Stacks (see stacks) grouped onto Euro pallets.

api.services.ultimate3000.pricing.estimate(modules: list[dict], logistique: str | None, cables_vipers: bool) → dict

logistique=None means outside mainland France: logistics, hence the total, are quoted by the sales team.