Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/wh1isper/pypi-hatch-pytest-cookiecutter
https://github.com/wh1isper/pypi-hatch-pytest-cookiecutter
Last synced: about 1 month ago
JSON representation
- Host: GitHub
- URL: https://github.com/wh1isper/pypi-hatch-pytest-cookiecutter
- Owner: Wh1isper
- Created: 2023-03-29T08:08:52.000Z (over 1 year ago)
- Default Branch: master
- Last Pushed: 2024-09-18T06:37:40.000Z (2 months ago)
- Last Synced: 2024-09-18T08:34:14.014Z (2 months ago)
- Language: Python
- Size: 57.6 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# pypi-hatch-pytest-cookiecutter
```bash
cookiecutter https://github.com/Wh1isper/pypi-hatch-pytest-cookiecutter.git
```cookiecutter template for python package
- pytest support
- hatch for build
- read-the-docs support
- github CI
- pre-commit
- docker buildrefer to [audreyr/cookiecutter-pypackage](https://github.com/Nekroze/cookiecutter-pypackage)
## Configuration for github action:
### Secrets
- `PAT`: for GitHub Container Registry and versioning
- `DOCKERHUB_TOKEN`: for pushing image to DockerHub
- `PYPI_API_TOKEN`: for uploading to PyPI> **It's recommended to upgrade pypi release to Trusted Publishing**
> Upgrade to Trusted Publishing
> Trusted Publishers allows publishing packages to PyPI from automated environments like GitHub Actions without needing to use username/password combinations or API tokens to authenticate with PyPI. Read more: https://docs.pypi.org/trusted-publishers### Variables
- `DOCKERHUB_USERNAME`: for pushing image to DockerHub