{"id":20442569,"url":"https://github.com/davidmoremad/python-package-template","last_synced_at":"2025-08-04T17:44:13.874Z","repository":{"id":98987993,"uuid":"499059592","full_name":"davidmoremad/python-package-template","owner":"davidmoremad","description":"Directory structure template for new Python packages.","archived":false,"fork":false,"pushed_at":"2022-06-07T09:53:45.000Z","size":8,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"basic-structure","last_synced_at":"2025-01-15T20:39:58.159Z","etag":null,"topics":["python-package","template"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/davidmoremad.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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-06-02T08:46:31.000Z","updated_at":"2024-11-04T21:34:02.000Z","dependencies_parsed_at":null,"dependency_job_id":"e7c1acdf-e963-4721-81bd-7cf6820aa5a7","html_url":"https://github.com/davidmoremad/python-package-template","commit_stats":null,"previous_names":[],"tags_count":0,"template":true,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/davidmoremad%2Fpython-package-template","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/davidmoremad%2Fpython-package-template/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/davidmoremad%2Fpython-package-template/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/davidmoremad%2Fpython-package-template/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/davidmoremad","download_url":"https://codeload.github.com/davidmoremad/python-package-template/tar.gz/refs/heads/basic-structure","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241989860,"owners_count":20053804,"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","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":["python-package","template"],"created_at":"2024-11-15T09:41:31.594Z","updated_at":"2025-03-05T08:16:24.232Z","avatar_url":"https://github.com/davidmoremad.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# 🐍 Your Python package\n\n## ✋ Edit before to use\n\nBefore to publish your new python package, edit these lines:\n - `Copyrights`: You should edit and add copyrights on every file with your name\n - `./setup.py`: Ensure all data is correct. You should edit the global variables and check the setup method\n - `./package/__init__.py`: Fill with your information\n - `./.github/workflows/`: There are 2 github workflows to automate Pypi publishing and Release creation\n\n## 📚 Files explanation\n\n* **setup.py**: Installer of your package\n* **VERSION**: Version of your package. It will be published to pypi and can't be overwritten\n* **LICENSE**: License of your package. (Current: MIT License). If you want to change license you need to change it on every file\n* **requirements.txt**: Dependencies of your package. They'll be installed when someone installs your package\n* **requirements-dev.txt**: Dependencies only for testing or CI pipelines\n\n## 🤖 Github Actions\n\nThere are 2 actions on your `.github/workflows`:\n* **test.yaml**: Build and lint your code every time you create a new PR\n* **release.yaml**: Triggered on `VERSION` changes. After to built, lint and test, \nit publish package to Pypi and create a new Tag and Release in Github\n\n\n## ☁️ Publish to Pypi\n\nIf you want to publish your package manually, these are the steps to follow:\n\n1. Ensure your project is well-formatted (setup.py, packages, everything...)\n2. Install needed packages: `python -m pip install –-user –-upgrade setuptools wheel twine`\n3. Create package: `python setup.py sdist bdist_wheel`\n4. Install \u0026 check if works properly: `pip install -e`\n5. Upload to Test-Pypi: `twine upload —-repository testpypi dist/*`\n5. Upload to Pypi: `twine upload dist/*`","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdavidmoremad%2Fpython-package-template","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdavidmoremad%2Fpython-package-template","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdavidmoremad%2Fpython-package-template/lists"}