{"id":21301528,"url":"https://github.com/glud/certificadoscvs2svg2pdf","last_synced_at":"2025-10-11T05:11:15.008Z","repository":{"id":30573025,"uuid":"34127979","full_name":"GLUD/CertificadosCVS2SVG2PDF","owner":"GLUD","description":"A partir de un archivo con lista de Nombres y Datos en CVS y de una plantilla de certificados en SVG, genera los certificados en PDF.","archived":false,"fork":false,"pushed_at":"2019-09-07T19:58:07.000Z","size":12351,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-15T18:32:37.459Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/GLUD.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-04-17T16:41:12.000Z","updated_at":"2020-04-07T02:32:40.000Z","dependencies_parsed_at":"2022-08-30T06:40:42.429Z","dependency_job_id":null,"html_url":"https://github.com/GLUD/CertificadosCVS2SVG2PDF","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/GLUD/CertificadosCVS2SVG2PDF","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GLUD%2FCertificadosCVS2SVG2PDF","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GLUD%2FCertificadosCVS2SVG2PDF/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GLUD%2FCertificadosCVS2SVG2PDF/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GLUD%2FCertificadosCVS2SVG2PDF/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/GLUD","download_url":"https://codeload.github.com/GLUD/CertificadosCVS2SVG2PDF/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GLUD%2FCertificadosCVS2SVG2PDF/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279006349,"owners_count":26084084,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-10-11T02:00:06.511Z","response_time":55,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-21T15:46:19.980Z","updated_at":"2025-10-11T05:11:14.988Z","avatar_url":"https://github.com/GLUD.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# CertificadosCVS2SVG2PDF\n\n## DEPENDENCIAS\n\n* python 2.7\n\n* inkscape 0.91\n\n## USO\n\nExisten varios scripts que se acomodan a las necesidades. El proceso se traduce en coger un SVG y abrirlo como texto, modificar el ID de algún contenedor de texto y guardar esa modificación. Los ID's tienen la forma \"parametro_#\" donde \"#\" puede ser 1, 2, 3, 4 ... n.\n\nEl más básico soporta el cambio de un contenedor de texto con el ID \"parametro_1\". Para usarlo bastaría con escribir el comando:\n\n```bash\n./SVGtoPDFfromText.py -f Certificado\\ Slud\\ 2012.svg -t \"Nombre del conferencista\"\n```\n\nPara usar una lista se puede modificar el archivo SVGtoPDFfromListValues.sh y cambia los nombres de la lista \"names\" y ejecuta en terminal (este también usa el SVG con parametro_1):\n\n```bash\n./SVGtoPDFfromListValues.sh\n```\n\nTambién se puede utilizar un archivo de valores separados por coma CSV y con sus valores generar los certificados, este acepta 3 parámetros con los id's de SVG parametro_1,\nparametro_2, parametro_3.\n\n```bash\n./SVGtoPDFfromCommaListValuesFile.py -t Certificado\\ Slud\\ 2012.svg -l lista.csv\n```\n\nSi se tiene un CSV con muchos parámetros, se puede usar:\n\n```bash\n./SVGtoPDFfromCSVWithParams.py -t Certificado\\ Cursos.svg -l lista_cursos.csv -n 3\n```\n\nEste último es el más recomendado. Los parámetros deben ser id's dentro del XML(del archivo SVG) al estilo, parametro_1, parametro_99 ... parametro_n.\n\n## Pasos para configurar el SVG\n\n![paso_1](./images/paso_1.png)\n\n![paso_1](./images/paso_2.png)\n\n![paso_1](./images/paso_3.png)\n\n![paso_1](./images/paso_4.png)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fglud%2Fcertificadoscvs2svg2pdf","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fglud%2Fcertificadoscvs2svg2pdf","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fglud%2Fcertificadoscvs2svg2pdf/lists"}