Compare commits
2 commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 62f4d50b0d | |||
| b5cd517a2a |
8 changed files with 84 additions and 18 deletions
7
CHANGELOG.md
Normal file
7
CHANGELOG.md
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
## 0.1.0a1 (2025-12-22)
|
||||
|
||||
## 0.1.0a0 (2025-12-21)
|
||||
|
||||
### Feat
|
||||
|
||||
- first version
|
||||
|
|
@ -8,6 +8,7 @@ include_toc: true
|
|||
|
||||
> [!NOTE]
|
||||
>
|
||||
> L'objectif n'est pas d'afficher toutes les variables de la configuration, mais seulement une sélection à l'aide du mécanisme d'étiquetage.\
|
||||
> **Chemin** : table\
|
||||
> *`désactivé`*\
|
||||
> **Désactivé** : si table n'est pas mis dans "[Sélection pour sortie](#step.output)"
|
||||
|
|
|
|||
|
|
@ -8,6 +8,7 @@ include_toc: true
|
|||
|
||||
> [!NOTE]
|
||||
>
|
||||
> The goal is not to display all the variables in the configuration, but only a selection using the labeling mechanism.\
|
||||
> **Path**: table\
|
||||
> *`disabled`*\
|
||||
> **Disabled**: if table is not set in "[Select for output](#step.output)"
|
||||
|
|
|
|||
|
|
@ -5,8 +5,8 @@
|
|||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: \n"
|
||||
"POT-Creation-Date: 2025-12-21 21:18+0100\n"
|
||||
"PO-Revision-Date: 2025-12-21 21:26+0100\n"
|
||||
"POT-Creation-Date: 2025-12-21 21:58+0100\n"
|
||||
"PO-Revision-Date: 2025-12-21 22:00+0100\n"
|
||||
"Last-Translator: \n"
|
||||
"Language-Team: \n"
|
||||
"Language: fr\n"
|
||||
|
|
@ -24,15 +24,23 @@ msgstr "\"step.output\" n'est pas mis à \"{0}\""
|
|||
msgid "Displays the data in a table"
|
||||
msgstr "Affiche les données dans un tableau"
|
||||
|
||||
#: src/rougail/output_table/config.py:33
|
||||
#: src/rougail/output_table/config.py:29
|
||||
msgid ""
|
||||
"The goal is not to display all the variables in the configuration, but only "
|
||||
"a selection using the labeling mechanism."
|
||||
msgstr ""
|
||||
"L'objectif n'est pas d'afficher toutes les variables de la configuration, "
|
||||
"mais seulement une sélection à l'aide du mécanisme d'étiquetage."
|
||||
|
||||
#: src/rougail/output_table/config.py:34
|
||||
msgid "if table is not set in \"step.output\""
|
||||
msgstr "si table n'est pas mis dans \"step.output\""
|
||||
|
||||
#: src/rougail/output_table/config.py:36
|
||||
#: src/rougail/output_table/config.py:37
|
||||
msgid "Content of the first column"
|
||||
msgstr "Contenu de la première colonne"
|
||||
|
||||
#: src/rougail/output_table/config.py:47
|
||||
#: src/rougail/output_table/config.py:48
|
||||
msgid ""
|
||||
"First column is description if \"_.columns\" has only one value, otherwise "
|
||||
"it's namespace"
|
||||
|
|
@ -40,23 +48,23 @@ msgstr ""
|
|||
"La première colonne est description si \"_.columns\" n'a qu'une valeur, "
|
||||
"sinon c'est namespace"
|
||||
|
||||
#: src/rougail/output_table/config.py:52
|
||||
#: src/rougail/output_table/config.py:53
|
||||
msgid "Tag name must not have the same name has first column"
|
||||
msgstr ""
|
||||
"Le nom de l'étiquette ne doit pas avoir le même nom que la première colonne"
|
||||
|
||||
#: src/rougail/output_table/config.py:55 src/rougail/output_table/config.py:60
|
||||
#: src/rougail/output_table/config.py:56 src/rougail/output_table/config.py:61
|
||||
msgid "Tag names"
|
||||
msgstr "Noms des étiquettes"
|
||||
|
||||
#: src/rougail/output_table/config.py:56
|
||||
#: src/rougail/output_table/config.py:57
|
||||
msgid ""
|
||||
"Each tag creates a column. The content of the columns comes from the "
|
||||
"variables with the defined tags."
|
||||
msgstr ""
|
||||
"Chaque étiquette créée une colonne. Le contenu des colonnes viennent des "
|
||||
"variables avec les étiquettes définis"
|
||||
"variables avec les étiquettes définis."
|
||||
|
||||
#: src/rougail/output_table/config.py:69
|
||||
#: src/rougail/output_table/config.py:70
|
||||
msgid "Add header in table"
|
||||
msgstr "Ajouter l'entête dans le tableau"
|
||||
|
|
|
|||
|
|
@ -5,7 +5,7 @@
|
|||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: PACKAGE VERSION\n"
|
||||
"POT-Creation-Date: 2025-12-21 21:30+0100\n"
|
||||
"POT-Creation-Date: 2025-12-21 22:00+0100\n"
|
||||
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
|
||||
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
||||
"Language-Team: LANGUAGE <LL@li.org>\n"
|
||||
|
|
@ -23,31 +23,35 @@ msgstr ""
|
|||
msgid "Displays the data in a table"
|
||||
msgstr ""
|
||||
|
||||
#: src/rougail/output_table/config.py:33
|
||||
#: src/rougail/output_table/config.py:29
|
||||
msgid "The goal is not to display all the variables in the configuration, but only a selection using the labeling mechanism."
|
||||
msgstr ""
|
||||
|
||||
#: src/rougail/output_table/config.py:34
|
||||
msgid "if table is not set in \"step.output\""
|
||||
msgstr ""
|
||||
|
||||
#: src/rougail/output_table/config.py:36
|
||||
#: src/rougail/output_table/config.py:37
|
||||
msgid "Content of the first column"
|
||||
msgstr ""
|
||||
|
||||
#: src/rougail/output_table/config.py:47
|
||||
#: src/rougail/output_table/config.py:48
|
||||
msgid "First column is description if \"_.columns\" has only one value, otherwise it's namespace"
|
||||
msgstr ""
|
||||
|
||||
#: src/rougail/output_table/config.py:52
|
||||
#: src/rougail/output_table/config.py:53
|
||||
msgid "Tag name must not have the same name has first column"
|
||||
msgstr ""
|
||||
|
||||
#: src/rougail/output_table/config.py:55 src/rougail/output_table/config.py:60
|
||||
#: src/rougail/output_table/config.py:56 src/rougail/output_table/config.py:61
|
||||
msgid "Tag names"
|
||||
msgstr ""
|
||||
|
||||
#: src/rougail/output_table/config.py:56
|
||||
#: src/rougail/output_table/config.py:57
|
||||
msgid "Each tag creates a column. The content of the columns comes from the variables with the defined tags."
|
||||
msgstr ""
|
||||
|
||||
#: src/rougail/output_table/config.py:69
|
||||
#: src/rougail/output_table/config.py:70
|
||||
msgid "Add header in table"
|
||||
msgstr ""
|
||||
|
||||
|
|
|
|||
44
pyproject.toml
Normal file
44
pyproject.toml
Normal file
|
|
@ -0,0 +1,44 @@
|
|||
[build-system]
|
||||
build-backend = "flit_core.buildapi"
|
||||
requires = ["flit_core >=3.8.0,<4"]
|
||||
|
||||
[project]
|
||||
name = "rougail.output_table"
|
||||
version = "0.1.0a1"
|
||||
authors = [{name = "Emmanuel Garette", email = "gnunux@gnunux.info"}]
|
||||
readme = "README.md"
|
||||
description = "Rougail output table"
|
||||
requires-python = ">=3.8"
|
||||
license = {file = "LICENSE"}
|
||||
classifiers = [
|
||||
"License :: OSI Approved :: GNU Library or Lesser General Public License (LGPL)",
|
||||
"Programming Language :: Python",
|
||||
"Programming Language :: Python :: 3.11",
|
||||
"Programming Language :: Python :: 3.12",
|
||||
"Programming Language :: Python :: 3.13",
|
||||
"Programming Language :: Python :: 3.14",
|
||||
"Programming Language :: Python :: 3",
|
||||
"Operating System :: OS Independent",
|
||||
"Natural Language :: English",
|
||||
"Natural Language :: French",
|
||||
|
||||
]
|
||||
dependencies = [
|
||||
"rougail-base > 1.1,<2",
|
||||
"tabulate ~= 0.9.0",
|
||||
]
|
||||
|
||||
[project.urls]
|
||||
Home = "https://forge.cloud.silique.fr/stove/rougail-output-exporter"
|
||||
|
||||
[tool.commitizen]
|
||||
name = "cz_conventional_commits"
|
||||
tag_format = "$version"
|
||||
version_scheme = "pep440"
|
||||
version_provider = "pep621"
|
||||
version_files = [
|
||||
"src/rougail/output_doc/__version__.py",
|
||||
"pyproject.toml:version"
|
||||
]
|
||||
update_changelog_on_bump = true
|
||||
changelog_merge_prerelease = true
|
||||
|
|
@ -26,6 +26,7 @@ def get_rougail_config(
|
|||
rougail_options = f"""
|
||||
table:
|
||||
description: {_('Displays the data in a table')}
|
||||
help: {_('The goal is not to display all the variables in the configuration, but only a selection using the labeling mechanism.')}
|
||||
disabled:
|
||||
jinja: |-
|
||||
{{{{ step.output is propertyerror or step.output != 'table' }}}}
|
||||
|
|
|
|||
Binary file not shown.
Loading…
Reference in a new issue