{"id":22683271,"url":"https://github.com/mtchavez/python-package-boilerplate","last_synced_at":"2025-04-12T18:26:09.058Z","repository":{"id":7781511,"uuid":"9151267","full_name":"mtchavez/python-package-boilerplate","owner":"mtchavez","description":"Boilerplate for a Python Package","archived":false,"fork":false,"pushed_at":"2021-04-28T21:37:56.000Z","size":14,"stargazers_count":88,"open_issues_count":2,"forks_count":27,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-26T12:46:42.780Z","etag":null,"topics":["boilerplate","boilerplate-package","pip-package","python","python-package","python-package-boilerplate"],"latest_commit_sha":null,"homepage":null,"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/mtchavez.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2013-04-01T16:51:18.000Z","updated_at":"2025-02-12T14:56:44.000Z","dependencies_parsed_at":"2022-09-15T09:51:56.614Z","dependency_job_id":null,"html_url":"https://github.com/mtchavez/python-package-boilerplate","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mtchavez%2Fpython-package-boilerplate","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mtchavez%2Fpython-package-boilerplate/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mtchavez%2Fpython-package-boilerplate/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mtchavez%2Fpython-package-boilerplate/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mtchavez","download_url":"https://codeload.github.com/mtchavez/python-package-boilerplate/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248611664,"owners_count":21133149,"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":["boilerplate","boilerplate-package","pip-package","python","python-package","python-package-boilerplate"],"created_at":"2024-12-09T21:11:28.294Z","updated_at":"2025-04-12T18:26:09.034Z","avatar_url":"https://github.com/mtchavez.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"python-package-boilerplate\n==========================\n\n[![Build Status](https://travis-ci.org/mtchavez/python-package-boilerplate.png?branch=master)](https://travis-ci.org/mtchavez/python-package-boilerplate)\n[![Requires.io](https://requires.io/github/mtchavez/python-package-boilerplate/requirements.svg?branch=master)](https://requires.io/github/mtchavez/python-package-boilerplate/requirements?branch=master)\n\nBoilerplate for a Python Package\n\n## Package\n\nBasic structure of package is\n\n```\n├── README.md\n├── packagename\n│   ├── __init__.py\n│   ├── packagename.py\n│   └── version.py\n├── pytest.ini\n├── requirements.txt\n├── setup.py\n└── tests\n    ├── __init__.py\n    ├── helpers\n    │   ├── __init__.py\n    │   └── my_helper.py\n    ├── tests_helper.py\n    └── unit\n        ├── __init__.py\n        ├── test_example.py\n        └── test_version.py\n```\n\n## Requirements\n\nPackage requirements are handled using pip. To install them do\n\n```\npip install -r requirements.txt\n```\n\n## Tests\n\nTesting is set up using [pytest](http://pytest.org) and coverage is handled\nwith the pytest-cov plugin.\n\nRun your tests with ```py.test``` in the root directory.\n\nCoverage is ran by default and is set in the ```pytest.ini``` file.\nTo see an html output of coverage open ```htmlcov/index.html``` after running the tests.\n\n## Travis CI\n\nThere is a ```.travis.yml``` file that is set up to run your tests for python 2.7\nand python 3.2, should you choose to use it.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmtchavez%2Fpython-package-boilerplate","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmtchavez%2Fpython-package-boilerplate","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmtchavez%2Fpython-package-boilerplate/lists"}