From 70c14acaa5ae4a9785cd56661379b74642fdfedf Mon Sep 17 00:00:00 2001 From: Shiro-Nek0 Date: Thu, 26 Feb 2026 02:29:23 -0300 Subject: [PATCH] dark mode + reorganization --- .../{wea.xlsx => PLU+FSMA+list+v1.0.xlsx} | Bin .../commodities.json | 0 KeyGenerator/excel_parser.py | 4 +- frutas.json => KeyGenerator/frutas.json | 0 KeyGenerator/generate_keys.py | 8 +- .../image_cache}/3039.jpg | Bin .../image_cache}/3040.jpg | Bin .../image_cache}/3044.jpg | Bin .../image_cache}/3087.jpg | Bin .../image_cache}/3091.jpg | Bin .../image_cache}/3099.jpg | Bin .../image_cache}/3105.jpg | Bin .../image_cache}/3106.jpg | Bin .../image_cache}/3113.jpg | Bin .../image_cache}/3137.jpg | Bin .../image_cache}/3168.jpg | Bin .../image_cache}/3276.jpg | Bin .../image_cache}/3279.jpg | Bin .../image_cache}/3303.jpg | Bin .../image_cache}/3311.jpg | Bin .../image_cache}/3317.jpg | Bin .../image_cache}/3321.jpg | Bin .../image_cache}/3414.jpg | Bin .../image_cache}/3437.jpg | Bin .../image_cache}/3440.jpg | Bin .../image_cache}/3475.jpg | Bin .../image_cache}/3478.jpg | Bin .../image_cache}/3480.jpg | Bin .../image_cache}/3481.jpg | Bin .../image_cache}/3491.jpg | Bin .../image_cache}/3509.jpg | Bin .../image_cache}/3524.jpg | Bin .../image_cache}/3549.jpg | Bin .../image_cache}/3611.jpg | Bin .../image_cache}/3626.jpg | Bin .../image_cache}/4068.jpg | Bin .../image_cache}/4069.jpg | Bin .../image_cache}/4099.jpg | Bin .../image_cache}/4235.jpg | Bin .../image_cache}/4239.jpg | Bin .../image_cache}/4261.jpg | Bin .../image_cache}/4266.jpg | Bin .../image_cache}/4279.jpg | Bin .../image_cache}/4303.jpg | Bin .../image_cache}/4305.jpg | Bin .../image_cache}/4308.jpg | Bin .../image_cache}/4328.jpg | Bin .../image_cache}/4381.jpg | Bin .../image_cache}/4428.jpg | Bin .../image_cache}/4430.jpg | Bin .../image_cache}/4435.jpg | Bin .../image_cache}/4447.jpg | Bin .../image_cache}/4448.jpg | Bin .../image_cache}/4519.jpg | Bin .../image_cache}/4521.jpg | Bin .../image_cache}/4527.jpg | Bin .../image_cache}/4537.jpg | Bin .../image_cache}/4560.jpg | Bin .../image_cache}/4599.jpg | Bin .../image_cache}/4606.jpg | Bin .../image_cache}/4608.jpg | Bin .../image_cache}/4612.jpg | Bin .../image_cache}/4614.jpg | Bin .../image_cache}/4625.jpg | Bin .../image_cache}/4626.jpg | Bin .../image_cache}/4629.jpg | Bin .../image_cache}/4644.jpg | Bin .../image_cache}/4647.jpg | Bin .../image_cache}/4672.jpg | Bin .../image_cache}/4673.jpg | Bin .../image_cache}/4734.jpg | Bin .../image_cache}/4739.jpg | Bin .../image_cache}/4745.jpg | Bin .../image_cache}/4747.jpg | Bin .../image_cache}/4750.jpg | Bin .../image_cache}/4790.jpg | Bin .../image_cache}/4791.jpg | Bin .../image_cache}/4795.jpg | Bin .../image_cache}/4811.jpg | Bin .../image_cache}/4814.jpg | Bin .../image_cache}/4816.jpg | Bin .../image_cache}/4819.jpg | Bin .../image_cache}/4862.jpg | Bin .../image_cache}/4892.jpg | Bin .../image_cache}/4924.jpg | Bin .../image_cache}/4926.jpg | Bin .../image_cache}/4927.jpg | Bin .../image_cache}/4931.jpg | Bin .../image_cache}/4936.jpg | Bin .../image_cache}/4939.jpg | Bin .../image_cache}/4942.jpg | Bin .../image_cache}/4943.jpg | Bin .../keychain_cards}/PLU_3039_Physalis.png | Bin .../keychain_cards}/PLU_3040_Pitahaya.png | Bin .../keychain_cards}/PLU_3044_Damascos.png | Bin .../keychain_cards}/PLU_3087_Choclo.png | Bin .../keychain_cards}/PLU_3091_Bardana.png | Bin .../keychain_cards}/PLU_3099_Raíz_de_loto.png | Bin .../PLU_3105_Castañas_de_cajú.png | Bin .../keychain_cards}/PLU_3106_Macadamia.png | Bin .../keychain_cards}/PLU_3113_Duraznos.png | Bin .../keychain_cards}/PLU_3137_Zapote.png | Bin .../keychain_cards}/PLU_3168_Radicchio.png | Bin .../keychain_cards}/PLU_3276_Ñame.png | Bin .../keychain_cards}/PLU_3279_Kiwi.png | Bin .../keychain_cards}/PLU_3303_Babaco.png | Bin .../keychain_cards}/PLU_3311_Maracuyá.png | Bin .../keychain_cards}/PLU_3317_Peras.png | Bin .../keychain_cards}/PLU_3321_Apionabo.png | Bin .../keychain_cards}/PLU_3414_Papas.png | Bin .../keychain_cards}/PLU_3437_Nectarinas.png | Bin .../keychain_cards}/PLU_3440_Granada.png | Bin .../keychain_cards}/PLU_3475_Menta.png | Bin .../keychain_cards}/PLU_3478_Quelites.png | Bin .../PLU_3480_Guía_de_zapallo.png | Bin .../keychain_cards}/PLU_3481_Xpelón.png | Bin .../keychain_cards}/PLU_3491_Uvas.png | Bin .../keychain_cards}/PLU_3509_Paltas.png | Bin .../keychain_cards}/PLU_3524_Mandarinas.png | Bin .../keychain_cards}/PLU_3549_Cerezas.png | Bin .../keychain_cards}/PLU_3611_Plumcot.png | Bin .../keychain_cards}/PLU_3626_Limones.png | Bin .../PLU_4068_Cebollines___Cebollas.png | Bin .../keychain_cards}/PLU_4069_Repollo.png | Bin .../keychain_cards}/PLU_4099_Manzanas.png | Bin .../keychain_cards}/PLU_4235_Plátanos.png | Bin .../PLU_4239_Moras___Berries.png | Bin .../keychain_cards}/PLU_4261_Cocos.png | Bin .../keychain_cards}/PLU_4266_Higos.png | Bin .../keychain_cards}/PLU_4279_Pomelo.png | Bin .../keychain_cards}/PLU_4303_Kumquat.png | Bin .../keychain_cards}/PLU_4305_Limas.png | Bin .../keychain_cards}/PLU_4308_Nísperos.png | Bin .../keychain_cards}/PLU_4328_Limequats.png | Bin .../keychain_cards}/PLU_4381_Naranjas.png | Bin .../keychain_cards}/PLU_4428_Caqui.png | Bin .../keychain_cards}/PLU_4430_Piña.png | Bin .../keychain_cards}/PLU_4435_Ciruelas.png | Bin .../keychain_cards}/PLU_4447_Membrillo.png | Bin .../keychain_cards}/PLU_4448_Tamarindo.png | Bin .../keychain_cards}/PLU_4519_Alcachofas.png | Bin .../keychain_cards}/PLU_4521_Espárragos.png | Bin .../PLU_4527_Porotos_verdes___Porotos.png | Bin .../keychain_cards}/PLU_4537_Betarragas.png | Bin .../keychain_cards}/PLU_4560_Zanahorias.png | Bin .../keychain_cards}/PLU_4599_Berenjena.png | Bin .../keychain_cards}/PLU_4606_Helechos.png | Bin .../keychain_cards}/PLU_4608_Ajo.png | Bin .../keychain_cards}/PLU_4612_Jengibre.png | Bin .../PLU_4614_Hojas_de_col___Verdes.png | Bin .../PLU_4625_Rábano_picante.png | Bin .../keychain_cards}/PLU_4626_Jícama.png | Bin .../keychain_cards}/PLU_4629_Puerros.png | Bin .../keychain_cards}/PLU_4644_Malanga.png | Bin .../PLU_4647_Hongos___Callampas.png | Bin .../keychain_cards}/PLU_4672_Chirivía.png | Bin .../keychain_cards}/PLU_4673_Arvejas.png | Bin .../keychain_cards}/PLU_4734_Zapallo.png | Bin .../keychain_cards}/PLU_4739_Rábanos.png | Bin .../keychain_cards}/PLU_4745_Ruibarbo.png | Bin .../keychain_cards}/PLU_4747_Rutabagas.png | Bin .../PLU_4750_Zapallo_italiano___Zapallo.png | Bin .../PLU_4790_Caña_de_azúcar.png | Bin .../keychain_cards}/PLU_4791_Tupinambo.png | Bin .../keychain_cards}/PLU_4795_Taro.png | Bin .../keychain_cards}/PLU_4811_Nabo.png | Bin .../PLU_4814_Castañas_de_agua.png | Bin .../keychain_cards}/PLU_4816_Camote.png | Bin .../keychain_cards}/PLU_4819_Yuca.png | Bin .../keychain_cards}/PLU_4862_Dátiles.png | Bin .../keychain_cards}/PLU_4892_Eneldo.png | Bin .../keychain_cards}/PLU_4924_Almendras.png | Bin .../PLU_4926_Nueces_de_Brasil.png | Bin .../keychain_cards}/PLU_4927_Castañas.png | Bin .../keychain_cards}/PLU_4931_Maníes.png | Bin .../keychain_cards}/PLU_4936_Nueces_pecán.png | Bin .../keychain_cards}/PLU_4939_Pistacho.png | Bin .../PLU_4942_Semillas_de_maravilla.png | Bin .../keychain_cards}/PLU_4943_Nueces.png | Bin .../keychain_items.json | 0 .../one_of_each.json | 0 README.md | 8 +- templates/index.html | 125 +++++++++++++----- templates/login.html | 82 +++++++++++- 184 files changed, 177 insertions(+), 50 deletions(-) rename KeyGenerator/{wea.xlsx => PLU+FSMA+list+v1.0.xlsx} (100%) rename commodities.json => KeyGenerator/commodities.json (100%) rename frutas.json => KeyGenerator/frutas.json (100%) rename {image_cache => KeyGenerator/image_cache}/3039.jpg (100%) rename {image_cache => KeyGenerator/image_cache}/3040.jpg (100%) rename {image_cache => KeyGenerator/image_cache}/3044.jpg (100%) rename {image_cache => KeyGenerator/image_cache}/3087.jpg (100%) rename {image_cache => KeyGenerator/image_cache}/3091.jpg (100%) rename {image_cache => KeyGenerator/image_cache}/3099.jpg (100%) rename {image_cache => KeyGenerator/image_cache}/3105.jpg (100%) rename {image_cache => KeyGenerator/image_cache}/3106.jpg (100%) rename {image_cache => KeyGenerator/image_cache}/3113.jpg (100%) rename {image_cache => KeyGenerator/image_cache}/3137.jpg (100%) rename {image_cache => KeyGenerator/image_cache}/3168.jpg (100%) rename {image_cache => KeyGenerator/image_cache}/3276.jpg (100%) rename {image_cache => KeyGenerator/image_cache}/3279.jpg (100%) rename {image_cache => KeyGenerator/image_cache}/3303.jpg (100%) rename {image_cache => KeyGenerator/image_cache}/3311.jpg (100%) rename {image_cache => KeyGenerator/image_cache}/3317.jpg (100%) rename {image_cache => KeyGenerator/image_cache}/3321.jpg (100%) rename {image_cache => KeyGenerator/image_cache}/3414.jpg (100%) rename {image_cache => KeyGenerator/image_cache}/3437.jpg (100%) rename {image_cache => KeyGenerator/image_cache}/3440.jpg (100%) rename {image_cache => KeyGenerator/image_cache}/3475.jpg (100%) rename {image_cache => KeyGenerator/image_cache}/3478.jpg (100%) rename {image_cache => KeyGenerator/image_cache}/3480.jpg (100%) rename {image_cache => KeyGenerator/image_cache}/3481.jpg (100%) rename {image_cache => KeyGenerator/image_cache}/3491.jpg (100%) rename {image_cache => KeyGenerator/image_cache}/3509.jpg (100%) rename {image_cache => KeyGenerator/image_cache}/3524.jpg (100%) rename {image_cache => KeyGenerator/image_cache}/3549.jpg (100%) rename {image_cache => KeyGenerator/image_cache}/3611.jpg (100%) rename {image_cache => KeyGenerator/image_cache}/3626.jpg (100%) rename {image_cache => KeyGenerator/image_cache}/4068.jpg (100%) rename {image_cache => KeyGenerator/image_cache}/4069.jpg (100%) rename {image_cache => KeyGenerator/image_cache}/4099.jpg (100%) rename {image_cache => KeyGenerator/image_cache}/4235.jpg (100%) rename {image_cache => KeyGenerator/image_cache}/4239.jpg (100%) rename {image_cache => KeyGenerator/image_cache}/4261.jpg (100%) rename {image_cache => KeyGenerator/image_cache}/4266.jpg (100%) rename {image_cache => KeyGenerator/image_cache}/4279.jpg (100%) rename {image_cache => KeyGenerator/image_cache}/4303.jpg (100%) rename {image_cache => KeyGenerator/image_cache}/4305.jpg (100%) rename {image_cache => KeyGenerator/image_cache}/4308.jpg (100%) rename {image_cache => KeyGenerator/image_cache}/4328.jpg (100%) rename {image_cache => KeyGenerator/image_cache}/4381.jpg (100%) rename {image_cache => KeyGenerator/image_cache}/4428.jpg (100%) rename {image_cache => KeyGenerator/image_cache}/4430.jpg (100%) rename {image_cache => KeyGenerator/image_cache}/4435.jpg (100%) rename {image_cache => KeyGenerator/image_cache}/4447.jpg (100%) rename {image_cache => KeyGenerator/image_cache}/4448.jpg (100%) rename {image_cache => KeyGenerator/image_cache}/4519.jpg (100%) rename {image_cache => KeyGenerator/image_cache}/4521.jpg (100%) rename {image_cache => KeyGenerator/image_cache}/4527.jpg (100%) rename {image_cache => KeyGenerator/image_cache}/4537.jpg (100%) rename {image_cache => KeyGenerator/image_cache}/4560.jpg (100%) rename {image_cache => KeyGenerator/image_cache}/4599.jpg (100%) rename {image_cache => KeyGenerator/image_cache}/4606.jpg (100%) rename {image_cache => KeyGenerator/image_cache}/4608.jpg (100%) rename {image_cache => KeyGenerator/image_cache}/4612.jpg (100%) rename {image_cache => KeyGenerator/image_cache}/4614.jpg (100%) rename {image_cache => KeyGenerator/image_cache}/4625.jpg (100%) rename {image_cache => KeyGenerator/image_cache}/4626.jpg (100%) rename {image_cache => KeyGenerator/image_cache}/4629.jpg (100%) rename {image_cache => KeyGenerator/image_cache}/4644.jpg (100%) rename {image_cache => KeyGenerator/image_cache}/4647.jpg (100%) rename {image_cache => KeyGenerator/image_cache}/4672.jpg (100%) rename {image_cache => KeyGenerator/image_cache}/4673.jpg (100%) rename {image_cache => KeyGenerator/image_cache}/4734.jpg (100%) rename {image_cache => KeyGenerator/image_cache}/4739.jpg (100%) rename {image_cache => KeyGenerator/image_cache}/4745.jpg (100%) rename {image_cache => KeyGenerator/image_cache}/4747.jpg (100%) rename {image_cache => KeyGenerator/image_cache}/4750.jpg (100%) rename {image_cache => KeyGenerator/image_cache}/4790.jpg (100%) rename {image_cache => KeyGenerator/image_cache}/4791.jpg (100%) rename {image_cache => KeyGenerator/image_cache}/4795.jpg (100%) rename {image_cache => KeyGenerator/image_cache}/4811.jpg (100%) rename {image_cache => KeyGenerator/image_cache}/4814.jpg (100%) rename {image_cache => KeyGenerator/image_cache}/4816.jpg (100%) rename {image_cache => KeyGenerator/image_cache}/4819.jpg (100%) rename {image_cache => KeyGenerator/image_cache}/4862.jpg (100%) rename {image_cache => KeyGenerator/image_cache}/4892.jpg (100%) rename {image_cache => KeyGenerator/image_cache}/4924.jpg (100%) rename {image_cache => KeyGenerator/image_cache}/4926.jpg (100%) rename {image_cache => KeyGenerator/image_cache}/4927.jpg (100%) rename {image_cache => KeyGenerator/image_cache}/4931.jpg (100%) rename {image_cache => KeyGenerator/image_cache}/4936.jpg (100%) rename {image_cache => KeyGenerator/image_cache}/4939.jpg (100%) rename {image_cache => KeyGenerator/image_cache}/4942.jpg (100%) rename {image_cache => KeyGenerator/image_cache}/4943.jpg (100%) rename {keychain_cards => KeyGenerator/keychain_cards}/PLU_3039_Physalis.png (100%) rename {keychain_cards => KeyGenerator/keychain_cards}/PLU_3040_Pitahaya.png (100%) rename {keychain_cards => KeyGenerator/keychain_cards}/PLU_3044_Damascos.png (100%) rename {keychain_cards => KeyGenerator/keychain_cards}/PLU_3087_Choclo.png (100%) rename {keychain_cards => KeyGenerator/keychain_cards}/PLU_3091_Bardana.png (100%) rename {keychain_cards => KeyGenerator/keychain_cards}/PLU_3099_Raíz_de_loto.png (100%) rename {keychain_cards => KeyGenerator/keychain_cards}/PLU_3105_Castañas_de_cajú.png (100%) rename {keychain_cards => KeyGenerator/keychain_cards}/PLU_3106_Macadamia.png (100%) rename {keychain_cards => KeyGenerator/keychain_cards}/PLU_3113_Duraznos.png (100%) rename {keychain_cards => KeyGenerator/keychain_cards}/PLU_3137_Zapote.png (100%) rename {keychain_cards => KeyGenerator/keychain_cards}/PLU_3168_Radicchio.png (100%) rename {keychain_cards => KeyGenerator/keychain_cards}/PLU_3276_Ñame.png (100%) rename {keychain_cards => KeyGenerator/keychain_cards}/PLU_3279_Kiwi.png (100%) rename {keychain_cards => KeyGenerator/keychain_cards}/PLU_3303_Babaco.png (100%) rename {keychain_cards => KeyGenerator/keychain_cards}/PLU_3311_Maracuyá.png (100%) rename {keychain_cards => KeyGenerator/keychain_cards}/PLU_3317_Peras.png (100%) rename {keychain_cards => KeyGenerator/keychain_cards}/PLU_3321_Apionabo.png (100%) rename {keychain_cards => KeyGenerator/keychain_cards}/PLU_3414_Papas.png (100%) rename {keychain_cards => KeyGenerator/keychain_cards}/PLU_3437_Nectarinas.png (100%) rename {keychain_cards => KeyGenerator/keychain_cards}/PLU_3440_Granada.png (100%) rename {keychain_cards => KeyGenerator/keychain_cards}/PLU_3475_Menta.png (100%) rename {keychain_cards => KeyGenerator/keychain_cards}/PLU_3478_Quelites.png (100%) rename {keychain_cards => KeyGenerator/keychain_cards}/PLU_3480_Guía_de_zapallo.png (100%) rename {keychain_cards => KeyGenerator/keychain_cards}/PLU_3481_Xpelón.png (100%) rename {keychain_cards => KeyGenerator/keychain_cards}/PLU_3491_Uvas.png (100%) rename {keychain_cards => KeyGenerator/keychain_cards}/PLU_3509_Paltas.png (100%) rename {keychain_cards => KeyGenerator/keychain_cards}/PLU_3524_Mandarinas.png (100%) rename {keychain_cards => KeyGenerator/keychain_cards}/PLU_3549_Cerezas.png (100%) rename {keychain_cards => KeyGenerator/keychain_cards}/PLU_3611_Plumcot.png (100%) rename {keychain_cards => KeyGenerator/keychain_cards}/PLU_3626_Limones.png (100%) rename {keychain_cards => KeyGenerator/keychain_cards}/PLU_4068_Cebollines___Cebollas.png (100%) rename {keychain_cards => KeyGenerator/keychain_cards}/PLU_4069_Repollo.png (100%) rename {keychain_cards => KeyGenerator/keychain_cards}/PLU_4099_Manzanas.png (100%) rename {keychain_cards => KeyGenerator/keychain_cards}/PLU_4235_Plátanos.png (100%) rename {keychain_cards => KeyGenerator/keychain_cards}/PLU_4239_Moras___Berries.png (100%) rename {keychain_cards => KeyGenerator/keychain_cards}/PLU_4261_Cocos.png (100%) rename {keychain_cards => KeyGenerator/keychain_cards}/PLU_4266_Higos.png (100%) rename {keychain_cards => KeyGenerator/keychain_cards}/PLU_4279_Pomelo.png (100%) rename {keychain_cards => KeyGenerator/keychain_cards}/PLU_4303_Kumquat.png (100%) rename {keychain_cards => KeyGenerator/keychain_cards}/PLU_4305_Limas.png (100%) rename {keychain_cards => KeyGenerator/keychain_cards}/PLU_4308_Nísperos.png (100%) rename {keychain_cards => KeyGenerator/keychain_cards}/PLU_4328_Limequats.png (100%) rename {keychain_cards => KeyGenerator/keychain_cards}/PLU_4381_Naranjas.png (100%) rename {keychain_cards => KeyGenerator/keychain_cards}/PLU_4428_Caqui.png (100%) rename {keychain_cards => KeyGenerator/keychain_cards}/PLU_4430_Piña.png (100%) rename {keychain_cards => KeyGenerator/keychain_cards}/PLU_4435_Ciruelas.png (100%) rename {keychain_cards => KeyGenerator/keychain_cards}/PLU_4447_Membrillo.png (100%) rename {keychain_cards => KeyGenerator/keychain_cards}/PLU_4448_Tamarindo.png (100%) rename {keychain_cards => KeyGenerator/keychain_cards}/PLU_4519_Alcachofas.png (100%) rename {keychain_cards => KeyGenerator/keychain_cards}/PLU_4521_Espárragos.png (100%) rename {keychain_cards => KeyGenerator/keychain_cards}/PLU_4527_Porotos_verdes___Porotos.png (100%) rename {keychain_cards => KeyGenerator/keychain_cards}/PLU_4537_Betarragas.png (100%) rename {keychain_cards => KeyGenerator/keychain_cards}/PLU_4560_Zanahorias.png (100%) rename {keychain_cards => KeyGenerator/keychain_cards}/PLU_4599_Berenjena.png (100%) rename {keychain_cards => KeyGenerator/keychain_cards}/PLU_4606_Helechos.png (100%) rename {keychain_cards => KeyGenerator/keychain_cards}/PLU_4608_Ajo.png (100%) rename {keychain_cards => KeyGenerator/keychain_cards}/PLU_4612_Jengibre.png (100%) rename {keychain_cards => KeyGenerator/keychain_cards}/PLU_4614_Hojas_de_col___Verdes.png (100%) rename {keychain_cards => KeyGenerator/keychain_cards}/PLU_4625_Rábano_picante.png (100%) rename {keychain_cards => KeyGenerator/keychain_cards}/PLU_4626_Jícama.png (100%) rename {keychain_cards => KeyGenerator/keychain_cards}/PLU_4629_Puerros.png (100%) rename {keychain_cards => KeyGenerator/keychain_cards}/PLU_4644_Malanga.png (100%) rename {keychain_cards => KeyGenerator/keychain_cards}/PLU_4647_Hongos___Callampas.png (100%) rename {keychain_cards => KeyGenerator/keychain_cards}/PLU_4672_Chirivía.png (100%) rename {keychain_cards => KeyGenerator/keychain_cards}/PLU_4673_Arvejas.png (100%) rename {keychain_cards => KeyGenerator/keychain_cards}/PLU_4734_Zapallo.png (100%) rename {keychain_cards => KeyGenerator/keychain_cards}/PLU_4739_Rábanos.png (100%) rename {keychain_cards => KeyGenerator/keychain_cards}/PLU_4745_Ruibarbo.png (100%) rename {keychain_cards => KeyGenerator/keychain_cards}/PLU_4747_Rutabagas.png (100%) rename {keychain_cards => KeyGenerator/keychain_cards}/PLU_4750_Zapallo_italiano___Zapallo.png (100%) rename {keychain_cards => KeyGenerator/keychain_cards}/PLU_4790_Caña_de_azúcar.png (100%) rename {keychain_cards => KeyGenerator/keychain_cards}/PLU_4791_Tupinambo.png (100%) rename {keychain_cards => KeyGenerator/keychain_cards}/PLU_4795_Taro.png (100%) rename {keychain_cards => KeyGenerator/keychain_cards}/PLU_4811_Nabo.png (100%) rename {keychain_cards => KeyGenerator/keychain_cards}/PLU_4814_Castañas_de_agua.png (100%) rename {keychain_cards => KeyGenerator/keychain_cards}/PLU_4816_Camote.png (100%) rename {keychain_cards => KeyGenerator/keychain_cards}/PLU_4819_Yuca.png (100%) rename {keychain_cards => KeyGenerator/keychain_cards}/PLU_4862_Dátiles.png (100%) rename {keychain_cards => KeyGenerator/keychain_cards}/PLU_4892_Eneldo.png (100%) rename {keychain_cards => KeyGenerator/keychain_cards}/PLU_4924_Almendras.png (100%) rename {keychain_cards => KeyGenerator/keychain_cards}/PLU_4926_Nueces_de_Brasil.png (100%) rename {keychain_cards => KeyGenerator/keychain_cards}/PLU_4927_Castañas.png (100%) rename {keychain_cards => KeyGenerator/keychain_cards}/PLU_4931_Maníes.png (100%) rename {keychain_cards => KeyGenerator/keychain_cards}/PLU_4936_Nueces_pecán.png (100%) rename {keychain_cards => KeyGenerator/keychain_cards}/PLU_4939_Pistacho.png (100%) rename {keychain_cards => KeyGenerator/keychain_cards}/PLU_4942_Semillas_de_maravilla.png (100%) rename {keychain_cards => KeyGenerator/keychain_cards}/PLU_4943_Nueces.png (100%) rename keychain_items.json => KeyGenerator/keychain_items.json (100%) rename one_of_each.json => KeyGenerator/one_of_each.json (100%) diff --git a/KeyGenerator/wea.xlsx b/KeyGenerator/PLU+FSMA+list+v1.0.xlsx similarity index 100% rename from KeyGenerator/wea.xlsx rename to KeyGenerator/PLU+FSMA+list+v1.0.xlsx diff --git a/commodities.json b/KeyGenerator/commodities.json similarity index 100% rename from commodities.json rename to KeyGenerator/commodities.json diff --git a/KeyGenerator/excel_parser.py b/KeyGenerator/excel_parser.py index 6c03c87..f778b09 100644 --- a/KeyGenerator/excel_parser.py +++ b/KeyGenerator/excel_parser.py @@ -2,7 +2,7 @@ import pandas as pd import json import os -file_path = r'C:\Users\Pepitho\Desktop\SekiPOS\KeyGenerator\wea.xlsx' +file_path = os.getcwd() + 'PLU+FSMA+list+v1.0.xlsx' sheet_name = 'Non FTL' new_url_base = "https://server-ifps.accurateig.com/assets/commodities/" @@ -48,4 +48,4 @@ def get_one_of_each(): print(f"✅ Success! Generated 'one_of_each.json' with {len(data_output)} unique commodities.") if __name__ == "__main__": - get_one_of_each() \ No newline at end of file + get_one_of_each() diff --git a/frutas.json b/KeyGenerator/frutas.json similarity index 100% rename from frutas.json rename to KeyGenerator/frutas.json diff --git a/KeyGenerator/generate_keys.py b/KeyGenerator/generate_keys.py index 0551aeb..85f068d 100644 --- a/KeyGenerator/generate_keys.py +++ b/KeyGenerator/generate_keys.py @@ -11,9 +11,9 @@ from io import BytesIO urllib3.disable_warnings(urllib3.exceptions.InsecureRequestWarning) # --- CONFIGURATION --- -JSON_FILE = 'frutas.json' -OUTPUT_DIR = 'keychain_cards' -IMG_CACHE_DIR = 'image_cache' +JSON_FILE = os.getcwd() + 'frutas.json' +OUTPUT_DIR = os.getcwd() + 'keychain_cards' +IMG_CACHE_DIR = os.getcwd() + 'image_cache' os.makedirs(OUTPUT_DIR, exist_ok=True) os.makedirs(IMG_CACHE_DIR, exist_ok=True) @@ -113,4 +113,4 @@ if __name__ == "__main__": print(f"Processing {len(data)} cards...") for entry in data: generate_card(entry) - print("\nAll done. Try not to lose your keys.") \ No newline at end of file + print("\nAll done. Try not to lose your keys.") diff --git a/image_cache/3039.jpg b/KeyGenerator/image_cache/3039.jpg similarity index 100% rename from image_cache/3039.jpg rename to KeyGenerator/image_cache/3039.jpg diff --git a/image_cache/3040.jpg b/KeyGenerator/image_cache/3040.jpg similarity index 100% rename from image_cache/3040.jpg rename to KeyGenerator/image_cache/3040.jpg diff --git a/image_cache/3044.jpg b/KeyGenerator/image_cache/3044.jpg similarity index 100% rename from image_cache/3044.jpg rename to KeyGenerator/image_cache/3044.jpg diff --git a/image_cache/3087.jpg b/KeyGenerator/image_cache/3087.jpg similarity index 100% rename from image_cache/3087.jpg rename to KeyGenerator/image_cache/3087.jpg diff --git a/image_cache/3091.jpg b/KeyGenerator/image_cache/3091.jpg similarity index 100% rename from image_cache/3091.jpg rename to KeyGenerator/image_cache/3091.jpg diff --git a/image_cache/3099.jpg b/KeyGenerator/image_cache/3099.jpg similarity index 100% rename from image_cache/3099.jpg rename to KeyGenerator/image_cache/3099.jpg diff --git a/image_cache/3105.jpg b/KeyGenerator/image_cache/3105.jpg similarity index 100% rename from image_cache/3105.jpg rename to KeyGenerator/image_cache/3105.jpg diff --git a/image_cache/3106.jpg b/KeyGenerator/image_cache/3106.jpg similarity index 100% rename from image_cache/3106.jpg rename to KeyGenerator/image_cache/3106.jpg diff --git a/image_cache/3113.jpg b/KeyGenerator/image_cache/3113.jpg similarity index 100% rename from image_cache/3113.jpg rename to KeyGenerator/image_cache/3113.jpg diff --git a/image_cache/3137.jpg b/KeyGenerator/image_cache/3137.jpg similarity index 100% rename from image_cache/3137.jpg rename to KeyGenerator/image_cache/3137.jpg diff --git a/image_cache/3168.jpg b/KeyGenerator/image_cache/3168.jpg similarity index 100% rename from image_cache/3168.jpg rename to KeyGenerator/image_cache/3168.jpg diff --git a/image_cache/3276.jpg b/KeyGenerator/image_cache/3276.jpg similarity index 100% rename from image_cache/3276.jpg rename to KeyGenerator/image_cache/3276.jpg diff --git a/image_cache/3279.jpg b/KeyGenerator/image_cache/3279.jpg similarity index 100% rename from image_cache/3279.jpg rename to KeyGenerator/image_cache/3279.jpg diff --git a/image_cache/3303.jpg b/KeyGenerator/image_cache/3303.jpg similarity index 100% rename from image_cache/3303.jpg rename to KeyGenerator/image_cache/3303.jpg diff --git a/image_cache/3311.jpg b/KeyGenerator/image_cache/3311.jpg similarity index 100% rename from image_cache/3311.jpg rename to KeyGenerator/image_cache/3311.jpg diff --git a/image_cache/3317.jpg b/KeyGenerator/image_cache/3317.jpg similarity index 100% rename from image_cache/3317.jpg rename to KeyGenerator/image_cache/3317.jpg diff --git a/image_cache/3321.jpg b/KeyGenerator/image_cache/3321.jpg similarity index 100% rename from image_cache/3321.jpg rename to KeyGenerator/image_cache/3321.jpg diff --git a/image_cache/3414.jpg b/KeyGenerator/image_cache/3414.jpg similarity index 100% rename from image_cache/3414.jpg rename to KeyGenerator/image_cache/3414.jpg diff --git a/image_cache/3437.jpg b/KeyGenerator/image_cache/3437.jpg similarity index 100% rename from image_cache/3437.jpg rename to KeyGenerator/image_cache/3437.jpg diff --git a/image_cache/3440.jpg b/KeyGenerator/image_cache/3440.jpg similarity index 100% rename from image_cache/3440.jpg rename to KeyGenerator/image_cache/3440.jpg diff --git a/image_cache/3475.jpg b/KeyGenerator/image_cache/3475.jpg similarity index 100% rename from image_cache/3475.jpg rename to KeyGenerator/image_cache/3475.jpg diff --git a/image_cache/3478.jpg b/KeyGenerator/image_cache/3478.jpg similarity index 100% rename from image_cache/3478.jpg rename to KeyGenerator/image_cache/3478.jpg diff --git a/image_cache/3480.jpg b/KeyGenerator/image_cache/3480.jpg similarity index 100% rename from image_cache/3480.jpg rename to KeyGenerator/image_cache/3480.jpg diff --git a/image_cache/3481.jpg b/KeyGenerator/image_cache/3481.jpg similarity index 100% rename from image_cache/3481.jpg rename to KeyGenerator/image_cache/3481.jpg diff --git a/image_cache/3491.jpg b/KeyGenerator/image_cache/3491.jpg similarity index 100% rename from image_cache/3491.jpg rename to KeyGenerator/image_cache/3491.jpg diff --git a/image_cache/3509.jpg b/KeyGenerator/image_cache/3509.jpg similarity index 100% rename from image_cache/3509.jpg rename to KeyGenerator/image_cache/3509.jpg diff --git a/image_cache/3524.jpg b/KeyGenerator/image_cache/3524.jpg similarity index 100% rename from image_cache/3524.jpg rename to KeyGenerator/image_cache/3524.jpg diff --git a/image_cache/3549.jpg b/KeyGenerator/image_cache/3549.jpg similarity index 100% rename from image_cache/3549.jpg rename to KeyGenerator/image_cache/3549.jpg diff --git a/image_cache/3611.jpg b/KeyGenerator/image_cache/3611.jpg similarity index 100% rename from image_cache/3611.jpg rename to KeyGenerator/image_cache/3611.jpg diff --git a/image_cache/3626.jpg b/KeyGenerator/image_cache/3626.jpg similarity index 100% rename from image_cache/3626.jpg rename to KeyGenerator/image_cache/3626.jpg diff --git a/image_cache/4068.jpg b/KeyGenerator/image_cache/4068.jpg similarity index 100% rename from image_cache/4068.jpg rename to KeyGenerator/image_cache/4068.jpg diff --git a/image_cache/4069.jpg b/KeyGenerator/image_cache/4069.jpg similarity index 100% rename from image_cache/4069.jpg rename to KeyGenerator/image_cache/4069.jpg diff --git a/image_cache/4099.jpg b/KeyGenerator/image_cache/4099.jpg similarity index 100% rename from image_cache/4099.jpg rename to KeyGenerator/image_cache/4099.jpg diff --git a/image_cache/4235.jpg b/KeyGenerator/image_cache/4235.jpg similarity index 100% rename from image_cache/4235.jpg rename to KeyGenerator/image_cache/4235.jpg diff --git a/image_cache/4239.jpg b/KeyGenerator/image_cache/4239.jpg similarity index 100% rename from image_cache/4239.jpg rename to KeyGenerator/image_cache/4239.jpg diff --git a/image_cache/4261.jpg b/KeyGenerator/image_cache/4261.jpg similarity index 100% rename from image_cache/4261.jpg rename to KeyGenerator/image_cache/4261.jpg diff --git a/image_cache/4266.jpg b/KeyGenerator/image_cache/4266.jpg similarity index 100% rename from image_cache/4266.jpg rename to KeyGenerator/image_cache/4266.jpg diff --git a/image_cache/4279.jpg b/KeyGenerator/image_cache/4279.jpg similarity index 100% rename from image_cache/4279.jpg rename to KeyGenerator/image_cache/4279.jpg diff --git a/image_cache/4303.jpg b/KeyGenerator/image_cache/4303.jpg similarity index 100% rename from image_cache/4303.jpg rename to KeyGenerator/image_cache/4303.jpg diff --git a/image_cache/4305.jpg b/KeyGenerator/image_cache/4305.jpg similarity index 100% rename from image_cache/4305.jpg rename to KeyGenerator/image_cache/4305.jpg diff --git a/image_cache/4308.jpg b/KeyGenerator/image_cache/4308.jpg similarity index 100% rename from image_cache/4308.jpg rename to KeyGenerator/image_cache/4308.jpg diff --git a/image_cache/4328.jpg b/KeyGenerator/image_cache/4328.jpg similarity index 100% rename from image_cache/4328.jpg rename to KeyGenerator/image_cache/4328.jpg diff --git a/image_cache/4381.jpg b/KeyGenerator/image_cache/4381.jpg similarity index 100% rename from image_cache/4381.jpg rename to KeyGenerator/image_cache/4381.jpg diff --git a/image_cache/4428.jpg b/KeyGenerator/image_cache/4428.jpg similarity index 100% rename from image_cache/4428.jpg rename to KeyGenerator/image_cache/4428.jpg diff --git a/image_cache/4430.jpg b/KeyGenerator/image_cache/4430.jpg similarity index 100% rename from image_cache/4430.jpg rename to KeyGenerator/image_cache/4430.jpg diff --git a/image_cache/4435.jpg b/KeyGenerator/image_cache/4435.jpg similarity index 100% rename from image_cache/4435.jpg rename to KeyGenerator/image_cache/4435.jpg diff --git a/image_cache/4447.jpg b/KeyGenerator/image_cache/4447.jpg similarity index 100% rename from image_cache/4447.jpg rename to KeyGenerator/image_cache/4447.jpg diff --git a/image_cache/4448.jpg b/KeyGenerator/image_cache/4448.jpg similarity index 100% rename from image_cache/4448.jpg rename to KeyGenerator/image_cache/4448.jpg diff --git a/image_cache/4519.jpg b/KeyGenerator/image_cache/4519.jpg similarity index 100% rename from image_cache/4519.jpg rename to KeyGenerator/image_cache/4519.jpg diff --git a/image_cache/4521.jpg b/KeyGenerator/image_cache/4521.jpg similarity index 100% rename from image_cache/4521.jpg rename to KeyGenerator/image_cache/4521.jpg diff --git a/image_cache/4527.jpg b/KeyGenerator/image_cache/4527.jpg similarity index 100% rename from image_cache/4527.jpg rename to KeyGenerator/image_cache/4527.jpg diff --git a/image_cache/4537.jpg b/KeyGenerator/image_cache/4537.jpg similarity index 100% rename from image_cache/4537.jpg rename to KeyGenerator/image_cache/4537.jpg diff --git a/image_cache/4560.jpg b/KeyGenerator/image_cache/4560.jpg similarity index 100% rename from image_cache/4560.jpg rename to KeyGenerator/image_cache/4560.jpg diff --git a/image_cache/4599.jpg b/KeyGenerator/image_cache/4599.jpg similarity index 100% rename from image_cache/4599.jpg rename to KeyGenerator/image_cache/4599.jpg diff --git a/image_cache/4606.jpg b/KeyGenerator/image_cache/4606.jpg similarity index 100% rename from image_cache/4606.jpg rename to KeyGenerator/image_cache/4606.jpg diff --git a/image_cache/4608.jpg b/KeyGenerator/image_cache/4608.jpg similarity index 100% rename from image_cache/4608.jpg rename to KeyGenerator/image_cache/4608.jpg diff --git a/image_cache/4612.jpg b/KeyGenerator/image_cache/4612.jpg similarity index 100% rename from image_cache/4612.jpg rename to KeyGenerator/image_cache/4612.jpg diff --git a/image_cache/4614.jpg b/KeyGenerator/image_cache/4614.jpg similarity index 100% rename from image_cache/4614.jpg rename to KeyGenerator/image_cache/4614.jpg diff --git a/image_cache/4625.jpg b/KeyGenerator/image_cache/4625.jpg similarity index 100% rename from image_cache/4625.jpg rename to KeyGenerator/image_cache/4625.jpg diff --git a/image_cache/4626.jpg b/KeyGenerator/image_cache/4626.jpg similarity index 100% rename from image_cache/4626.jpg rename to KeyGenerator/image_cache/4626.jpg diff --git a/image_cache/4629.jpg b/KeyGenerator/image_cache/4629.jpg similarity index 100% rename from image_cache/4629.jpg rename to KeyGenerator/image_cache/4629.jpg diff --git a/image_cache/4644.jpg b/KeyGenerator/image_cache/4644.jpg similarity index 100% rename from image_cache/4644.jpg rename to KeyGenerator/image_cache/4644.jpg diff --git a/image_cache/4647.jpg b/KeyGenerator/image_cache/4647.jpg similarity index 100% rename from image_cache/4647.jpg rename to KeyGenerator/image_cache/4647.jpg diff --git a/image_cache/4672.jpg b/KeyGenerator/image_cache/4672.jpg similarity index 100% rename from image_cache/4672.jpg rename to KeyGenerator/image_cache/4672.jpg diff --git a/image_cache/4673.jpg b/KeyGenerator/image_cache/4673.jpg similarity index 100% rename from image_cache/4673.jpg rename to KeyGenerator/image_cache/4673.jpg diff --git a/image_cache/4734.jpg b/KeyGenerator/image_cache/4734.jpg similarity index 100% rename from image_cache/4734.jpg rename to KeyGenerator/image_cache/4734.jpg diff --git a/image_cache/4739.jpg b/KeyGenerator/image_cache/4739.jpg similarity index 100% rename from image_cache/4739.jpg rename to KeyGenerator/image_cache/4739.jpg diff --git a/image_cache/4745.jpg b/KeyGenerator/image_cache/4745.jpg similarity index 100% rename from image_cache/4745.jpg rename to KeyGenerator/image_cache/4745.jpg diff --git a/image_cache/4747.jpg b/KeyGenerator/image_cache/4747.jpg similarity index 100% rename from image_cache/4747.jpg rename to KeyGenerator/image_cache/4747.jpg diff --git a/image_cache/4750.jpg b/KeyGenerator/image_cache/4750.jpg similarity index 100% rename from image_cache/4750.jpg rename to KeyGenerator/image_cache/4750.jpg diff --git a/image_cache/4790.jpg b/KeyGenerator/image_cache/4790.jpg similarity index 100% rename from image_cache/4790.jpg rename to KeyGenerator/image_cache/4790.jpg diff --git a/image_cache/4791.jpg b/KeyGenerator/image_cache/4791.jpg similarity index 100% rename from image_cache/4791.jpg rename to KeyGenerator/image_cache/4791.jpg diff --git a/image_cache/4795.jpg b/KeyGenerator/image_cache/4795.jpg similarity index 100% rename from image_cache/4795.jpg rename to KeyGenerator/image_cache/4795.jpg diff --git a/image_cache/4811.jpg b/KeyGenerator/image_cache/4811.jpg similarity index 100% rename from image_cache/4811.jpg rename to KeyGenerator/image_cache/4811.jpg diff --git a/image_cache/4814.jpg b/KeyGenerator/image_cache/4814.jpg similarity index 100% rename from image_cache/4814.jpg rename to KeyGenerator/image_cache/4814.jpg diff --git a/image_cache/4816.jpg b/KeyGenerator/image_cache/4816.jpg similarity index 100% rename from image_cache/4816.jpg rename to KeyGenerator/image_cache/4816.jpg diff --git a/image_cache/4819.jpg b/KeyGenerator/image_cache/4819.jpg similarity index 100% rename from image_cache/4819.jpg rename to KeyGenerator/image_cache/4819.jpg diff --git a/image_cache/4862.jpg b/KeyGenerator/image_cache/4862.jpg similarity index 100% rename from image_cache/4862.jpg rename to KeyGenerator/image_cache/4862.jpg diff --git a/image_cache/4892.jpg b/KeyGenerator/image_cache/4892.jpg similarity index 100% rename from image_cache/4892.jpg rename to KeyGenerator/image_cache/4892.jpg diff --git a/image_cache/4924.jpg b/KeyGenerator/image_cache/4924.jpg similarity index 100% rename from image_cache/4924.jpg rename to KeyGenerator/image_cache/4924.jpg diff --git a/image_cache/4926.jpg b/KeyGenerator/image_cache/4926.jpg similarity index 100% rename from image_cache/4926.jpg rename to KeyGenerator/image_cache/4926.jpg diff --git a/image_cache/4927.jpg b/KeyGenerator/image_cache/4927.jpg similarity index 100% rename from image_cache/4927.jpg rename to KeyGenerator/image_cache/4927.jpg diff --git a/image_cache/4931.jpg b/KeyGenerator/image_cache/4931.jpg similarity index 100% rename from image_cache/4931.jpg rename to KeyGenerator/image_cache/4931.jpg diff --git a/image_cache/4936.jpg b/KeyGenerator/image_cache/4936.jpg similarity index 100% rename from image_cache/4936.jpg rename to KeyGenerator/image_cache/4936.jpg diff --git a/image_cache/4939.jpg b/KeyGenerator/image_cache/4939.jpg similarity index 100% rename from image_cache/4939.jpg rename to KeyGenerator/image_cache/4939.jpg diff --git a/image_cache/4942.jpg b/KeyGenerator/image_cache/4942.jpg similarity index 100% rename from image_cache/4942.jpg rename to KeyGenerator/image_cache/4942.jpg diff --git a/image_cache/4943.jpg b/KeyGenerator/image_cache/4943.jpg similarity index 100% rename from image_cache/4943.jpg rename to KeyGenerator/image_cache/4943.jpg diff --git a/keychain_cards/PLU_3039_Physalis.png b/KeyGenerator/keychain_cards/PLU_3039_Physalis.png similarity index 100% rename from keychain_cards/PLU_3039_Physalis.png rename to KeyGenerator/keychain_cards/PLU_3039_Physalis.png diff --git a/keychain_cards/PLU_3040_Pitahaya.png b/KeyGenerator/keychain_cards/PLU_3040_Pitahaya.png similarity index 100% rename from keychain_cards/PLU_3040_Pitahaya.png rename to KeyGenerator/keychain_cards/PLU_3040_Pitahaya.png diff --git a/keychain_cards/PLU_3044_Damascos.png b/KeyGenerator/keychain_cards/PLU_3044_Damascos.png similarity index 100% rename from keychain_cards/PLU_3044_Damascos.png rename to KeyGenerator/keychain_cards/PLU_3044_Damascos.png diff --git a/keychain_cards/PLU_3087_Choclo.png b/KeyGenerator/keychain_cards/PLU_3087_Choclo.png similarity index 100% rename from keychain_cards/PLU_3087_Choclo.png rename to KeyGenerator/keychain_cards/PLU_3087_Choclo.png diff --git a/keychain_cards/PLU_3091_Bardana.png b/KeyGenerator/keychain_cards/PLU_3091_Bardana.png similarity index 100% rename from keychain_cards/PLU_3091_Bardana.png rename to KeyGenerator/keychain_cards/PLU_3091_Bardana.png diff --git a/keychain_cards/PLU_3099_Raíz_de_loto.png b/KeyGenerator/keychain_cards/PLU_3099_Raíz_de_loto.png similarity index 100% rename from keychain_cards/PLU_3099_Raíz_de_loto.png rename to KeyGenerator/keychain_cards/PLU_3099_Raíz_de_loto.png diff --git a/keychain_cards/PLU_3105_Castañas_de_cajú.png b/KeyGenerator/keychain_cards/PLU_3105_Castañas_de_cajú.png similarity index 100% rename from keychain_cards/PLU_3105_Castañas_de_cajú.png rename to KeyGenerator/keychain_cards/PLU_3105_Castañas_de_cajú.png diff --git a/keychain_cards/PLU_3106_Macadamia.png b/KeyGenerator/keychain_cards/PLU_3106_Macadamia.png similarity index 100% rename from keychain_cards/PLU_3106_Macadamia.png rename to KeyGenerator/keychain_cards/PLU_3106_Macadamia.png diff --git a/keychain_cards/PLU_3113_Duraznos.png b/KeyGenerator/keychain_cards/PLU_3113_Duraznos.png similarity index 100% rename from keychain_cards/PLU_3113_Duraznos.png rename to KeyGenerator/keychain_cards/PLU_3113_Duraznos.png diff --git a/keychain_cards/PLU_3137_Zapote.png b/KeyGenerator/keychain_cards/PLU_3137_Zapote.png similarity index 100% rename from keychain_cards/PLU_3137_Zapote.png rename to KeyGenerator/keychain_cards/PLU_3137_Zapote.png diff --git a/keychain_cards/PLU_3168_Radicchio.png b/KeyGenerator/keychain_cards/PLU_3168_Radicchio.png similarity index 100% rename from keychain_cards/PLU_3168_Radicchio.png rename to KeyGenerator/keychain_cards/PLU_3168_Radicchio.png diff --git a/keychain_cards/PLU_3276_Ñame.png b/KeyGenerator/keychain_cards/PLU_3276_Ñame.png similarity index 100% rename from keychain_cards/PLU_3276_Ñame.png rename to KeyGenerator/keychain_cards/PLU_3276_Ñame.png diff --git a/keychain_cards/PLU_3279_Kiwi.png b/KeyGenerator/keychain_cards/PLU_3279_Kiwi.png similarity index 100% rename from keychain_cards/PLU_3279_Kiwi.png rename to KeyGenerator/keychain_cards/PLU_3279_Kiwi.png diff --git a/keychain_cards/PLU_3303_Babaco.png b/KeyGenerator/keychain_cards/PLU_3303_Babaco.png similarity index 100% rename from keychain_cards/PLU_3303_Babaco.png rename to KeyGenerator/keychain_cards/PLU_3303_Babaco.png diff --git a/keychain_cards/PLU_3311_Maracuyá.png b/KeyGenerator/keychain_cards/PLU_3311_Maracuyá.png similarity index 100% rename from keychain_cards/PLU_3311_Maracuyá.png rename to KeyGenerator/keychain_cards/PLU_3311_Maracuyá.png diff --git a/keychain_cards/PLU_3317_Peras.png b/KeyGenerator/keychain_cards/PLU_3317_Peras.png similarity index 100% rename from keychain_cards/PLU_3317_Peras.png rename to KeyGenerator/keychain_cards/PLU_3317_Peras.png diff --git a/keychain_cards/PLU_3321_Apionabo.png b/KeyGenerator/keychain_cards/PLU_3321_Apionabo.png similarity index 100% rename from keychain_cards/PLU_3321_Apionabo.png rename to KeyGenerator/keychain_cards/PLU_3321_Apionabo.png diff --git a/keychain_cards/PLU_3414_Papas.png b/KeyGenerator/keychain_cards/PLU_3414_Papas.png similarity index 100% rename from keychain_cards/PLU_3414_Papas.png rename to KeyGenerator/keychain_cards/PLU_3414_Papas.png diff --git a/keychain_cards/PLU_3437_Nectarinas.png b/KeyGenerator/keychain_cards/PLU_3437_Nectarinas.png similarity index 100% rename from keychain_cards/PLU_3437_Nectarinas.png rename to KeyGenerator/keychain_cards/PLU_3437_Nectarinas.png diff --git a/keychain_cards/PLU_3440_Granada.png b/KeyGenerator/keychain_cards/PLU_3440_Granada.png similarity index 100% rename from keychain_cards/PLU_3440_Granada.png rename to KeyGenerator/keychain_cards/PLU_3440_Granada.png diff --git a/keychain_cards/PLU_3475_Menta.png b/KeyGenerator/keychain_cards/PLU_3475_Menta.png similarity index 100% rename from keychain_cards/PLU_3475_Menta.png rename to KeyGenerator/keychain_cards/PLU_3475_Menta.png diff --git a/keychain_cards/PLU_3478_Quelites.png b/KeyGenerator/keychain_cards/PLU_3478_Quelites.png similarity index 100% rename from keychain_cards/PLU_3478_Quelites.png rename to KeyGenerator/keychain_cards/PLU_3478_Quelites.png diff --git a/keychain_cards/PLU_3480_Guía_de_zapallo.png b/KeyGenerator/keychain_cards/PLU_3480_Guía_de_zapallo.png similarity index 100% rename from keychain_cards/PLU_3480_Guía_de_zapallo.png rename to KeyGenerator/keychain_cards/PLU_3480_Guía_de_zapallo.png diff --git a/keychain_cards/PLU_3481_Xpelón.png b/KeyGenerator/keychain_cards/PLU_3481_Xpelón.png similarity index 100% rename from keychain_cards/PLU_3481_Xpelón.png rename to KeyGenerator/keychain_cards/PLU_3481_Xpelón.png diff --git a/keychain_cards/PLU_3491_Uvas.png b/KeyGenerator/keychain_cards/PLU_3491_Uvas.png similarity index 100% rename from keychain_cards/PLU_3491_Uvas.png rename to KeyGenerator/keychain_cards/PLU_3491_Uvas.png diff --git a/keychain_cards/PLU_3509_Paltas.png b/KeyGenerator/keychain_cards/PLU_3509_Paltas.png similarity index 100% rename from keychain_cards/PLU_3509_Paltas.png rename to KeyGenerator/keychain_cards/PLU_3509_Paltas.png diff --git a/keychain_cards/PLU_3524_Mandarinas.png b/KeyGenerator/keychain_cards/PLU_3524_Mandarinas.png similarity index 100% rename from keychain_cards/PLU_3524_Mandarinas.png rename to KeyGenerator/keychain_cards/PLU_3524_Mandarinas.png diff --git a/keychain_cards/PLU_3549_Cerezas.png b/KeyGenerator/keychain_cards/PLU_3549_Cerezas.png similarity index 100% rename from keychain_cards/PLU_3549_Cerezas.png rename to KeyGenerator/keychain_cards/PLU_3549_Cerezas.png diff --git a/keychain_cards/PLU_3611_Plumcot.png b/KeyGenerator/keychain_cards/PLU_3611_Plumcot.png similarity index 100% rename from keychain_cards/PLU_3611_Plumcot.png rename to KeyGenerator/keychain_cards/PLU_3611_Plumcot.png diff --git a/keychain_cards/PLU_3626_Limones.png b/KeyGenerator/keychain_cards/PLU_3626_Limones.png similarity index 100% rename from keychain_cards/PLU_3626_Limones.png rename to KeyGenerator/keychain_cards/PLU_3626_Limones.png diff --git a/keychain_cards/PLU_4068_Cebollines___Cebollas.png b/KeyGenerator/keychain_cards/PLU_4068_Cebollines___Cebollas.png similarity index 100% rename from keychain_cards/PLU_4068_Cebollines___Cebollas.png rename to KeyGenerator/keychain_cards/PLU_4068_Cebollines___Cebollas.png diff --git a/keychain_cards/PLU_4069_Repollo.png b/KeyGenerator/keychain_cards/PLU_4069_Repollo.png similarity index 100% rename from keychain_cards/PLU_4069_Repollo.png rename to KeyGenerator/keychain_cards/PLU_4069_Repollo.png diff --git a/keychain_cards/PLU_4099_Manzanas.png b/KeyGenerator/keychain_cards/PLU_4099_Manzanas.png similarity index 100% rename from keychain_cards/PLU_4099_Manzanas.png rename to KeyGenerator/keychain_cards/PLU_4099_Manzanas.png diff --git a/keychain_cards/PLU_4235_Plátanos.png b/KeyGenerator/keychain_cards/PLU_4235_Plátanos.png similarity index 100% rename from keychain_cards/PLU_4235_Plátanos.png rename to KeyGenerator/keychain_cards/PLU_4235_Plátanos.png diff --git a/keychain_cards/PLU_4239_Moras___Berries.png b/KeyGenerator/keychain_cards/PLU_4239_Moras___Berries.png similarity index 100% rename from keychain_cards/PLU_4239_Moras___Berries.png rename to KeyGenerator/keychain_cards/PLU_4239_Moras___Berries.png diff --git a/keychain_cards/PLU_4261_Cocos.png b/KeyGenerator/keychain_cards/PLU_4261_Cocos.png similarity index 100% rename from keychain_cards/PLU_4261_Cocos.png rename to KeyGenerator/keychain_cards/PLU_4261_Cocos.png diff --git a/keychain_cards/PLU_4266_Higos.png b/KeyGenerator/keychain_cards/PLU_4266_Higos.png similarity index 100% rename from keychain_cards/PLU_4266_Higos.png rename to KeyGenerator/keychain_cards/PLU_4266_Higos.png diff --git a/keychain_cards/PLU_4279_Pomelo.png b/KeyGenerator/keychain_cards/PLU_4279_Pomelo.png similarity index 100% rename from keychain_cards/PLU_4279_Pomelo.png rename to KeyGenerator/keychain_cards/PLU_4279_Pomelo.png diff --git a/keychain_cards/PLU_4303_Kumquat.png b/KeyGenerator/keychain_cards/PLU_4303_Kumquat.png similarity index 100% rename from keychain_cards/PLU_4303_Kumquat.png rename to KeyGenerator/keychain_cards/PLU_4303_Kumquat.png diff --git a/keychain_cards/PLU_4305_Limas.png b/KeyGenerator/keychain_cards/PLU_4305_Limas.png similarity index 100% rename from keychain_cards/PLU_4305_Limas.png rename to KeyGenerator/keychain_cards/PLU_4305_Limas.png diff --git a/keychain_cards/PLU_4308_Nísperos.png b/KeyGenerator/keychain_cards/PLU_4308_Nísperos.png similarity index 100% rename from keychain_cards/PLU_4308_Nísperos.png rename to KeyGenerator/keychain_cards/PLU_4308_Nísperos.png diff --git a/keychain_cards/PLU_4328_Limequats.png b/KeyGenerator/keychain_cards/PLU_4328_Limequats.png similarity index 100% rename from keychain_cards/PLU_4328_Limequats.png rename to KeyGenerator/keychain_cards/PLU_4328_Limequats.png diff --git a/keychain_cards/PLU_4381_Naranjas.png b/KeyGenerator/keychain_cards/PLU_4381_Naranjas.png similarity index 100% rename from keychain_cards/PLU_4381_Naranjas.png rename to KeyGenerator/keychain_cards/PLU_4381_Naranjas.png diff --git a/keychain_cards/PLU_4428_Caqui.png b/KeyGenerator/keychain_cards/PLU_4428_Caqui.png similarity index 100% rename from keychain_cards/PLU_4428_Caqui.png rename to KeyGenerator/keychain_cards/PLU_4428_Caqui.png diff --git a/keychain_cards/PLU_4430_Piña.png b/KeyGenerator/keychain_cards/PLU_4430_Piña.png similarity index 100% rename from keychain_cards/PLU_4430_Piña.png rename to KeyGenerator/keychain_cards/PLU_4430_Piña.png diff --git a/keychain_cards/PLU_4435_Ciruelas.png b/KeyGenerator/keychain_cards/PLU_4435_Ciruelas.png similarity index 100% rename from keychain_cards/PLU_4435_Ciruelas.png rename to KeyGenerator/keychain_cards/PLU_4435_Ciruelas.png diff --git a/keychain_cards/PLU_4447_Membrillo.png b/KeyGenerator/keychain_cards/PLU_4447_Membrillo.png similarity index 100% rename from keychain_cards/PLU_4447_Membrillo.png rename to KeyGenerator/keychain_cards/PLU_4447_Membrillo.png diff --git a/keychain_cards/PLU_4448_Tamarindo.png b/KeyGenerator/keychain_cards/PLU_4448_Tamarindo.png similarity index 100% rename from keychain_cards/PLU_4448_Tamarindo.png rename to KeyGenerator/keychain_cards/PLU_4448_Tamarindo.png diff --git a/keychain_cards/PLU_4519_Alcachofas.png b/KeyGenerator/keychain_cards/PLU_4519_Alcachofas.png similarity index 100% rename from keychain_cards/PLU_4519_Alcachofas.png rename to KeyGenerator/keychain_cards/PLU_4519_Alcachofas.png diff --git a/keychain_cards/PLU_4521_Espárragos.png b/KeyGenerator/keychain_cards/PLU_4521_Espárragos.png similarity index 100% rename from keychain_cards/PLU_4521_Espárragos.png rename to KeyGenerator/keychain_cards/PLU_4521_Espárragos.png diff --git a/keychain_cards/PLU_4527_Porotos_verdes___Porotos.png b/KeyGenerator/keychain_cards/PLU_4527_Porotos_verdes___Porotos.png similarity index 100% rename from keychain_cards/PLU_4527_Porotos_verdes___Porotos.png rename to KeyGenerator/keychain_cards/PLU_4527_Porotos_verdes___Porotos.png diff --git a/keychain_cards/PLU_4537_Betarragas.png b/KeyGenerator/keychain_cards/PLU_4537_Betarragas.png similarity index 100% rename from keychain_cards/PLU_4537_Betarragas.png rename to KeyGenerator/keychain_cards/PLU_4537_Betarragas.png diff --git a/keychain_cards/PLU_4560_Zanahorias.png b/KeyGenerator/keychain_cards/PLU_4560_Zanahorias.png similarity index 100% rename from keychain_cards/PLU_4560_Zanahorias.png rename to KeyGenerator/keychain_cards/PLU_4560_Zanahorias.png diff --git a/keychain_cards/PLU_4599_Berenjena.png b/KeyGenerator/keychain_cards/PLU_4599_Berenjena.png similarity index 100% rename from keychain_cards/PLU_4599_Berenjena.png rename to KeyGenerator/keychain_cards/PLU_4599_Berenjena.png diff --git a/keychain_cards/PLU_4606_Helechos.png b/KeyGenerator/keychain_cards/PLU_4606_Helechos.png similarity index 100% rename from keychain_cards/PLU_4606_Helechos.png rename to KeyGenerator/keychain_cards/PLU_4606_Helechos.png diff --git a/keychain_cards/PLU_4608_Ajo.png b/KeyGenerator/keychain_cards/PLU_4608_Ajo.png similarity index 100% rename from keychain_cards/PLU_4608_Ajo.png rename to KeyGenerator/keychain_cards/PLU_4608_Ajo.png diff --git a/keychain_cards/PLU_4612_Jengibre.png b/KeyGenerator/keychain_cards/PLU_4612_Jengibre.png similarity index 100% rename from keychain_cards/PLU_4612_Jengibre.png rename to KeyGenerator/keychain_cards/PLU_4612_Jengibre.png diff --git a/keychain_cards/PLU_4614_Hojas_de_col___Verdes.png b/KeyGenerator/keychain_cards/PLU_4614_Hojas_de_col___Verdes.png similarity index 100% rename from keychain_cards/PLU_4614_Hojas_de_col___Verdes.png rename to KeyGenerator/keychain_cards/PLU_4614_Hojas_de_col___Verdes.png diff --git a/keychain_cards/PLU_4625_Rábano_picante.png b/KeyGenerator/keychain_cards/PLU_4625_Rábano_picante.png similarity index 100% rename from keychain_cards/PLU_4625_Rábano_picante.png rename to KeyGenerator/keychain_cards/PLU_4625_Rábano_picante.png diff --git a/keychain_cards/PLU_4626_Jícama.png b/KeyGenerator/keychain_cards/PLU_4626_Jícama.png similarity index 100% rename from keychain_cards/PLU_4626_Jícama.png rename to KeyGenerator/keychain_cards/PLU_4626_Jícama.png diff --git a/keychain_cards/PLU_4629_Puerros.png b/KeyGenerator/keychain_cards/PLU_4629_Puerros.png similarity index 100% rename from keychain_cards/PLU_4629_Puerros.png rename to KeyGenerator/keychain_cards/PLU_4629_Puerros.png diff --git a/keychain_cards/PLU_4644_Malanga.png b/KeyGenerator/keychain_cards/PLU_4644_Malanga.png similarity index 100% rename from keychain_cards/PLU_4644_Malanga.png rename to KeyGenerator/keychain_cards/PLU_4644_Malanga.png diff --git a/keychain_cards/PLU_4647_Hongos___Callampas.png b/KeyGenerator/keychain_cards/PLU_4647_Hongos___Callampas.png similarity index 100% rename from keychain_cards/PLU_4647_Hongos___Callampas.png rename to KeyGenerator/keychain_cards/PLU_4647_Hongos___Callampas.png diff --git a/keychain_cards/PLU_4672_Chirivía.png b/KeyGenerator/keychain_cards/PLU_4672_Chirivía.png similarity index 100% rename from keychain_cards/PLU_4672_Chirivía.png rename to KeyGenerator/keychain_cards/PLU_4672_Chirivía.png diff --git a/keychain_cards/PLU_4673_Arvejas.png b/KeyGenerator/keychain_cards/PLU_4673_Arvejas.png similarity index 100% rename from keychain_cards/PLU_4673_Arvejas.png rename to KeyGenerator/keychain_cards/PLU_4673_Arvejas.png diff --git a/keychain_cards/PLU_4734_Zapallo.png b/KeyGenerator/keychain_cards/PLU_4734_Zapallo.png similarity index 100% rename from keychain_cards/PLU_4734_Zapallo.png rename to KeyGenerator/keychain_cards/PLU_4734_Zapallo.png diff --git a/keychain_cards/PLU_4739_Rábanos.png b/KeyGenerator/keychain_cards/PLU_4739_Rábanos.png similarity index 100% rename from keychain_cards/PLU_4739_Rábanos.png rename to KeyGenerator/keychain_cards/PLU_4739_Rábanos.png diff --git a/keychain_cards/PLU_4745_Ruibarbo.png b/KeyGenerator/keychain_cards/PLU_4745_Ruibarbo.png similarity index 100% rename from keychain_cards/PLU_4745_Ruibarbo.png rename to KeyGenerator/keychain_cards/PLU_4745_Ruibarbo.png diff --git a/keychain_cards/PLU_4747_Rutabagas.png b/KeyGenerator/keychain_cards/PLU_4747_Rutabagas.png similarity index 100% rename from keychain_cards/PLU_4747_Rutabagas.png rename to KeyGenerator/keychain_cards/PLU_4747_Rutabagas.png diff --git a/keychain_cards/PLU_4750_Zapallo_italiano___Zapallo.png b/KeyGenerator/keychain_cards/PLU_4750_Zapallo_italiano___Zapallo.png similarity index 100% rename from keychain_cards/PLU_4750_Zapallo_italiano___Zapallo.png rename to KeyGenerator/keychain_cards/PLU_4750_Zapallo_italiano___Zapallo.png diff --git a/keychain_cards/PLU_4790_Caña_de_azúcar.png b/KeyGenerator/keychain_cards/PLU_4790_Caña_de_azúcar.png similarity index 100% rename from keychain_cards/PLU_4790_Caña_de_azúcar.png rename to KeyGenerator/keychain_cards/PLU_4790_Caña_de_azúcar.png diff --git a/keychain_cards/PLU_4791_Tupinambo.png b/KeyGenerator/keychain_cards/PLU_4791_Tupinambo.png similarity index 100% rename from keychain_cards/PLU_4791_Tupinambo.png rename to KeyGenerator/keychain_cards/PLU_4791_Tupinambo.png diff --git a/keychain_cards/PLU_4795_Taro.png b/KeyGenerator/keychain_cards/PLU_4795_Taro.png similarity index 100% rename from keychain_cards/PLU_4795_Taro.png rename to KeyGenerator/keychain_cards/PLU_4795_Taro.png diff --git a/keychain_cards/PLU_4811_Nabo.png b/KeyGenerator/keychain_cards/PLU_4811_Nabo.png similarity index 100% rename from keychain_cards/PLU_4811_Nabo.png rename to KeyGenerator/keychain_cards/PLU_4811_Nabo.png diff --git a/keychain_cards/PLU_4814_Castañas_de_agua.png b/KeyGenerator/keychain_cards/PLU_4814_Castañas_de_agua.png similarity index 100% rename from keychain_cards/PLU_4814_Castañas_de_agua.png rename to KeyGenerator/keychain_cards/PLU_4814_Castañas_de_agua.png diff --git a/keychain_cards/PLU_4816_Camote.png b/KeyGenerator/keychain_cards/PLU_4816_Camote.png similarity index 100% rename from keychain_cards/PLU_4816_Camote.png rename to KeyGenerator/keychain_cards/PLU_4816_Camote.png diff --git a/keychain_cards/PLU_4819_Yuca.png b/KeyGenerator/keychain_cards/PLU_4819_Yuca.png similarity index 100% rename from keychain_cards/PLU_4819_Yuca.png rename to KeyGenerator/keychain_cards/PLU_4819_Yuca.png diff --git a/keychain_cards/PLU_4862_Dátiles.png b/KeyGenerator/keychain_cards/PLU_4862_Dátiles.png similarity index 100% rename from keychain_cards/PLU_4862_Dátiles.png rename to KeyGenerator/keychain_cards/PLU_4862_Dátiles.png diff --git a/keychain_cards/PLU_4892_Eneldo.png b/KeyGenerator/keychain_cards/PLU_4892_Eneldo.png similarity index 100% rename from keychain_cards/PLU_4892_Eneldo.png rename to KeyGenerator/keychain_cards/PLU_4892_Eneldo.png diff --git a/keychain_cards/PLU_4924_Almendras.png b/KeyGenerator/keychain_cards/PLU_4924_Almendras.png similarity index 100% rename from keychain_cards/PLU_4924_Almendras.png rename to KeyGenerator/keychain_cards/PLU_4924_Almendras.png diff --git a/keychain_cards/PLU_4926_Nueces_de_Brasil.png b/KeyGenerator/keychain_cards/PLU_4926_Nueces_de_Brasil.png similarity index 100% rename from keychain_cards/PLU_4926_Nueces_de_Brasil.png rename to KeyGenerator/keychain_cards/PLU_4926_Nueces_de_Brasil.png diff --git a/keychain_cards/PLU_4927_Castañas.png b/KeyGenerator/keychain_cards/PLU_4927_Castañas.png similarity index 100% rename from keychain_cards/PLU_4927_Castañas.png rename to KeyGenerator/keychain_cards/PLU_4927_Castañas.png diff --git a/keychain_cards/PLU_4931_Maníes.png b/KeyGenerator/keychain_cards/PLU_4931_Maníes.png similarity index 100% rename from keychain_cards/PLU_4931_Maníes.png rename to KeyGenerator/keychain_cards/PLU_4931_Maníes.png diff --git a/keychain_cards/PLU_4936_Nueces_pecán.png b/KeyGenerator/keychain_cards/PLU_4936_Nueces_pecán.png similarity index 100% rename from keychain_cards/PLU_4936_Nueces_pecán.png rename to KeyGenerator/keychain_cards/PLU_4936_Nueces_pecán.png diff --git a/keychain_cards/PLU_4939_Pistacho.png b/KeyGenerator/keychain_cards/PLU_4939_Pistacho.png similarity index 100% rename from keychain_cards/PLU_4939_Pistacho.png rename to KeyGenerator/keychain_cards/PLU_4939_Pistacho.png diff --git a/keychain_cards/PLU_4942_Semillas_de_maravilla.png b/KeyGenerator/keychain_cards/PLU_4942_Semillas_de_maravilla.png similarity index 100% rename from keychain_cards/PLU_4942_Semillas_de_maravilla.png rename to KeyGenerator/keychain_cards/PLU_4942_Semillas_de_maravilla.png diff --git a/keychain_cards/PLU_4943_Nueces.png b/KeyGenerator/keychain_cards/PLU_4943_Nueces.png similarity index 100% rename from keychain_cards/PLU_4943_Nueces.png rename to KeyGenerator/keychain_cards/PLU_4943_Nueces.png diff --git a/keychain_items.json b/KeyGenerator/keychain_items.json similarity index 100% rename from keychain_items.json rename to KeyGenerator/keychain_items.json diff --git a/one_of_each.json b/KeyGenerator/one_of_each.json similarity index 100% rename from one_of_each.json rename to KeyGenerator/one_of_each.json diff --git a/README.md b/README.md index d35dbd8..da795f2 100644 --- a/README.md +++ b/README.md @@ -80,6 +80,10 @@ python app.py - `db/pos_database.db`: SQLite storage. ## 📋 TODOs? -- Fruits and vegetables list - Better admin registration(?) -- Cache user edited pictures \ No newline at end of file +- Cache user edited pictures +- clear edited filed after scanning of new product + +## 🥼 Food Dataset +- https://www.ifpsglobal.com/plu-codes-search +- https://world.openfoodfacts.org \ No newline at end of file diff --git a/templates/index.html b/templates/index.html index fbb6d58..9539e02 100644 --- a/templates/index.html +++ b/templates/index.html @@ -6,35 +6,64 @@ SekiPOS - Inventory Management

SekiPOS Access

{% with messages = get_flashed_messages() %} - {% if messages %}

{{ messages[0] }}

{% endif %} + {% if messages %}

{{ messages[0] }}

{% endif %} {% endwith %}
@@ -21,5 +83,13 @@
+ + \ No newline at end of file