{"id":20839546,"url":"https://github.com/swumplurd/python-package-example","last_synced_at":"2026-04-19T20:32:18.794Z","repository":{"id":126267512,"uuid":"549674532","full_name":"Swumplurd/python-package-example","owner":"Swumplurd","description":"Ejemplo de paquete para pip en local.","archived":false,"fork":false,"pushed_at":"2022-10-11T14:57:38.000Z","size":1,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-12-13T01:33:53.488Z","etag":null,"topics":["caclulator","package","pip","python","python3"],"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/Swumplurd.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2022-10-11T14:57:26.000Z","updated_at":"2022-10-11T15:00:28.000Z","dependencies_parsed_at":null,"dependency_job_id":"26f08d3a-3e5f-4027-bdfd-4e82f32bc077","html_url":"https://github.com/Swumplurd/python-package-example","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Swumplurd/python-package-example","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Swumplurd%2Fpython-package-example","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Swumplurd%2Fpython-package-example/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Swumplurd%2Fpython-package-example/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Swumplurd%2Fpython-package-example/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Swumplurd","download_url":"https://codeload.github.com/Swumplurd/python-package-example/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Swumplurd%2Fpython-package-example/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32022041,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-18T20:23:30.271Z","status":"online","status_checked_at":"2026-04-19T02:00:07.110Z","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":["caclulator","package","pip","python","python3"],"created_at":"2024-11-18T01:13:52.449Z","updated_at":"2026-04-19T20:32:18.782Z","avatar_url":"https://github.com/Swumplurd.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# python-package-example\n\n\u003cimg align=\"right\" src=\"https://upload.wikimedia.org/wikipedia/commons/thumb/c/c3/Python-logo-notext.svg/1200px-Python-logo-notext.svg.png\" height=\"150px\"\u003e\n\nEjemplo para crear un paquete en python y posteriormente poderlo instalar usando `pip`\n\n### Uso\n\nDentro del directorio del proyecto abrir una terminal y correr el siguiente comando:\n\n```bash\npython setup.py sdist\n```\n\nPosteriormente se crearan los siguientes directorios dentro de nuestra carpeta de proyecto con lo cual la nueva estructura de carpetas es la siguiente:\n\n```\npython-package-example/\n|-- README\n|-- setup.py\n|-- basicops.egg-info/\n|-- dist/\n|-- basicops/\n|   |-- __init__.py\n|   |-- division.py\n|   |-- multiplicacion.py\n|   |-- resta.py\n|   |-- suma.py\n|-- tests/\n```\n\nAhora tenemos que movernos dentro de la carpeta `dist/` y correr el siguiente comando:\n\n```bash\npip install \u003cnombre_del_comprimido\u003e\n```\n\nEl nombre del comprimido en este caso es: `basicops-0.0.1.tar.gz`\n\nY finalmente nuestro paquete `basicops` estara disponible localmente para su uso.\n\n---\n\nCualquier duda o sugerencia al contenido del precente repositorio contactame en Discord: Swumplurd#3977\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fswumplurd%2Fpython-package-example","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fswumplurd%2Fpython-package-example","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fswumplurd%2Fpython-package-example/lists"}