From 7e394d6c5b9520d53959aa3d478de29603cb9ead Mon Sep 17 00:00:00 2001 From: MARCOP001 Date: Sun, 17 May 2026 17:49:44 +0200 Subject: [PATCH] creazione file --- www/services/{esempio.py => api_retriever.py} | 0 www/services/standardizer.py | 8 ++++++++ www/services/validation.py | 0 3 files changed, 8 insertions(+) rename www/services/{esempio.py => api_retriever.py} (100%) create mode 100644 www/services/standardizer.py create mode 100644 www/services/validation.py diff --git a/www/services/esempio.py b/www/services/api_retriever.py similarity index 100% rename from www/services/esempio.py rename to www/services/api_retriever.py diff --git a/www/services/standardizer.py b/www/services/standardizer.py new file mode 100644 index 000000000..af8264566 --- /dev/null +++ b/www/services/standardizer.py @@ -0,0 +1,8 @@ +OPENALEX_MAPPING = { + "id": "UT", # Identificativo univoco + "doi": "DI", # DOI + "title": "TI", # Titolo dell'articolo + "publication_year": "PY",# Anno di pubblicazione + "cited_by_count": "TC", # Times Cited + # ... continuate con gli altri campi del glossario +} \ No newline at end of file diff --git a/www/services/validation.py b/www/services/validation.py new file mode 100644 index 000000000..e69de29bb