Affiche du nombre de marchés

This commit is contained in:
Colin Maudry
2025-10-01 11:57:55 +02:00
parent 442f1ded27
commit 84b94fd882
3 changed files with 6 additions and 5 deletions
+4 -2
View File
@@ -1,6 +1,6 @@
# decp.info
> v2.1.0
> v2.1.1
Outil d'exploration et de téléchargement des données essentielles de la commande publique.
@@ -26,9 +26,11 @@ python run.py
## Déploiement
- **Production** (branche `main`, [decp.info](https://decp.info)) : déploiement manuel via un déclenchement de la Github Action [Déploiement](https://github.com/ColinMaudry/decp.info/actions/workflows/deploy.yaml).
- **Production** (branche `main`, [decp.info](https://decp.info)) : déploiement manuel via un déclenchement de la Github Action [Déploiement](https://github.com/ColinMaudry/decp.info/actions/workflows/deploy.yaml)
- **Test** (branche `dev`, [test.decp.info](https://test.decp.info)) : déploiement automatique à chaque push sur la branche `dev`, via la même Github Action.
Ne pas oublier de mettre à jour les fichier .env.
## Liens connexes
- [decp-processing](https://github.com/ColinMaudry/decp-processing) (traitement et publication des données)
+1 -1
View File
@@ -1,7 +1,7 @@
[project]
name = "decp.info"
description = "Interface d'exploration et d'analyse des marchés publics français."
version = "2.1.0"
version = "2.1.1"
requires-python = ">= 3.10"
authors = [
{ name = "Colin Maudry", email = "colin+decp@maudry.com" }
+1 -2
View File
@@ -188,8 +188,7 @@ def update_table(page_current, page_size, filter_query, sort_by, data_timestamp)
dff: pl.DataFrame = lff.collect()
height = dff.height
nb_rows = f"{format_number(height)} lignes"
nb_rows = f"{format_number(height)} lignes ({format_number(dff.select('uid').unique().height)} marchés)"
# Pagination des données
start_row = page_current * page_size