Name | cookiecutter-uv JSON |
Version |
0.2.0
JSON |
| download |
home_page | None |
Summary | A python cookiecutter application to create a new python project that uses uv to manage its dependencies. |
upload_time | 2024-09-03 13:27:00 |
maintainer | None |
docs_url | None |
author | None |
requires_python | <4.0,>=3.8 |
license | None |
keywords |
cookiecutter
template
uv
|
VCS |
|
bugtrack_url |
|
requirements |
No requirements were recorded.
|
Travis-CI |
No Travis.
|
coveralls test coverage |
No coveralls.
|
<p align="center">
<img width="600" src="https://raw.githubusercontent.com/fpgmaas/cookiecutter-uv/main/docs/static/cookiecutter.svg">
</p style = "margin-bottom: 2rem;">
---
[![Release](https://img.shields.io/github/v/release/fpgmaas/cookiecutter-uv)](https://pypi.org/project/cookiecutter-uv/)
[![Build status](https://img.shields.io/github/actions/workflow/status/fpgmaas/cookiecutter-uv/main.yml?branch=main)](https://github.com/fpgmaas/cookiecutter-uv/actions/workflows/main.yml?query=branch%3Amain)
[![Supported Python versions](https://img.shields.io/pypi/pyversions/cookiecutter-uv)](https://pypi.org/project/cookiecutter-uv/)
[![Docs](https://img.shields.io/badge/docs-gh--pages-blue)](https://fpgmaas.github.io/cookiecutter-uv/)
[![License](https://img.shields.io/github/license/fpgmaas/cookiecutter-uv)](https://img.shields.io/github/license/fpgmaas/cookiecutter-uv)
This is a modern Cookiecutter template that can be used to initiate a Python project with all the necessary tools for development, testing, and deployment. It supports the following features:
- [uv](https://docs.astral.sh/uv/) for dependency management
- CI/CD with [GitHub Actions](https://github.com/features/actions)
- Pre-commit hooks with [pre-commit](https://pre-commit.com/)
- Code quality with [ruff](https://github.com/charliermarsh/ruff), [mypy](https://mypy.readthedocs.io/en/stable/), [deptry](https://github.com/fpgmaas/deptry/) and [prettier](https://prettier.io/)
- Publishing to [Pypi](https://pypi.org) by creating a new release on GitHub
- Testing and coverage with [pytest](https://docs.pytest.org/en/7.1.x/) and [codecov](https://about.codecov.io/)
- Documentation with [MkDocs](https://www.mkdocs.org/)
- Compatibility testing for multiple versions of Python with [Tox](https://tox.wiki/en/latest/)
- Containerization with [Docker](https://www.docker.com/)
- Development environment with [VSCode devcontainers](https://code.visualstudio.com/docs/devcontainers/containers)
---
<p align="center">
<a href="https://fpgmaas.github.io/cookiecutter-uv/">Documentation</a> - <a href="https://github.com/fpgmaas/cookiecutter-uv-example">Example</a> -
<a href="https://pypi.org/project/cookiecutter-uv/">PyPi</a>
</p>
---
## Quickstart
On your local machine, navigate to the directory in which you want to
create a project directory, and run the following two commands:
```bash
pip install cookiecutter
cookiecutter https://github.com/fpgmaas/cookiecutter-uv.git
```
Create a repository on GitHub, and then run the following commands, replacing `<project-name>`, with the name that you gave the Github repository and
`<github_author_handle>` with your Github username.
```bash
cd <project_name>
git init -b main
git add .
git commit -m "Init commit"
git remote add origin git@github.com:<github_author_handle>/<project_name>.git
git push -u origin main
```
Finally, install the environment and the pre-commit hooks with
```bash
make install
```
You are now ready to start development on your project! The CI/CD
pipeline will be triggered when you open a pull request, merge to main,
or when you create a new release.
To finalize the set-up for publishing to PyPi, see
[here](https://fpgmaas.github.io/cookiecutter-uv/features/publishing/#set-up-for-pypi).
For activating the automatic documentation with MkDocs, see
[here](https://fpgmaas.github.io/cookiecutter-uv/features/mkdocs/#enabling-the-documentation-on-github).
To enable the code coverage reports, see [here](https://fpgmaas.github.io/cookiecutter-uv/features/codecov/).
## Acknowledgements
This project is partially based on [Audrey
Feldroy\'s](https://github.com/audreyfeldroy)\'s great
[cookiecutter-pypackage](https://github.com/audreyfeldroy/cookiecutter-pypackage)
repository.
Raw data
{
"_id": null,
"home_page": null,
"name": "cookiecutter-uv",
"maintainer": null,
"docs_url": null,
"requires_python": "<4.0,>=3.8",
"maintainer_email": null,
"keywords": "cookiecutter, template, uv",
"author": null,
"author_email": "Florian Maas <fpgmaas@gmail.com>",
"download_url": "https://files.pythonhosted.org/packages/fd/a3/791a8b02c60e15ee530398102c2e516a8ba62111c8ef33c8b8958cdef79f/cookiecutter_uv-0.2.0.tar.gz",
"platform": null,
"description": "<p align=\"center\">\n <img width=\"600\" src=\"https://raw.githubusercontent.com/fpgmaas/cookiecutter-uv/main/docs/static/cookiecutter.svg\">\n</p style = \"margin-bottom: 2rem;\">\n\n---\n\n[![Release](https://img.shields.io/github/v/release/fpgmaas/cookiecutter-uv)](https://pypi.org/project/cookiecutter-uv/)\n[![Build status](https://img.shields.io/github/actions/workflow/status/fpgmaas/cookiecutter-uv/main.yml?branch=main)](https://github.com/fpgmaas/cookiecutter-uv/actions/workflows/main.yml?query=branch%3Amain)\n[![Supported Python versions](https://img.shields.io/pypi/pyversions/cookiecutter-uv)](https://pypi.org/project/cookiecutter-uv/)\n[![Docs](https://img.shields.io/badge/docs-gh--pages-blue)](https://fpgmaas.github.io/cookiecutter-uv/)\n[![License](https://img.shields.io/github/license/fpgmaas/cookiecutter-uv)](https://img.shields.io/github/license/fpgmaas/cookiecutter-uv)\n\nThis is a modern Cookiecutter template that can be used to initiate a Python project with all the necessary tools for development, testing, and deployment. It supports the following features:\n\n- [uv](https://docs.astral.sh/uv/) for dependency management\n- CI/CD with [GitHub Actions](https://github.com/features/actions)\n- Pre-commit hooks with [pre-commit](https://pre-commit.com/)\n- Code quality with [ruff](https://github.com/charliermarsh/ruff), [mypy](https://mypy.readthedocs.io/en/stable/), [deptry](https://github.com/fpgmaas/deptry/) and [prettier](https://prettier.io/)\n- Publishing to [Pypi](https://pypi.org) by creating a new release on GitHub\n- Testing and coverage with [pytest](https://docs.pytest.org/en/7.1.x/) and [codecov](https://about.codecov.io/)\n- Documentation with [MkDocs](https://www.mkdocs.org/)\n- Compatibility testing for multiple versions of Python with [Tox](https://tox.wiki/en/latest/)\n- Containerization with [Docker](https://www.docker.com/)\n- Development environment with [VSCode devcontainers](https://code.visualstudio.com/docs/devcontainers/containers)\n\n---\n\n<p align=\"center\">\n <a href=\"https://fpgmaas.github.io/cookiecutter-uv/\">Documentation</a> - <a href=\"https://github.com/fpgmaas/cookiecutter-uv-example\">Example</a> -\n <a href=\"https://pypi.org/project/cookiecutter-uv/\">PyPi</a>\n</p>\n\n---\n\n## Quickstart\n\nOn your local machine, navigate to the directory in which you want to\ncreate a project directory, and run the following two commands:\n\n```bash\npip install cookiecutter\ncookiecutter https://github.com/fpgmaas/cookiecutter-uv.git\n```\n\nCreate a repository on GitHub, and then run the following commands, replacing `<project-name>`, with the name that you gave the Github repository and\n`<github_author_handle>` with your Github username.\n\n```bash\ncd <project_name>\ngit init -b main\ngit add .\ngit commit -m \"Init commit\"\ngit remote add origin git@github.com:<github_author_handle>/<project_name>.git\ngit push -u origin main\n```\n\nFinally, install the environment and the pre-commit hooks with\n\n```bash\nmake install\n```\n\nYou are now ready to start development on your project! The CI/CD\npipeline will be triggered when you open a pull request, merge to main,\nor when you create a new release.\n\nTo finalize the set-up for publishing to PyPi, see\n[here](https://fpgmaas.github.io/cookiecutter-uv/features/publishing/#set-up-for-pypi).\nFor activating the automatic documentation with MkDocs, see\n[here](https://fpgmaas.github.io/cookiecutter-uv/features/mkdocs/#enabling-the-documentation-on-github).\nTo enable the code coverage reports, see [here](https://fpgmaas.github.io/cookiecutter-uv/features/codecov/).\n\n## Acknowledgements\n\nThis project is partially based on [Audrey\nFeldroy\\'s](https://github.com/audreyfeldroy)\\'s great\n[cookiecutter-pypackage](https://github.com/audreyfeldroy/cookiecutter-pypackage)\nrepository.\n",
"bugtrack_url": null,
"license": null,
"summary": "A python cookiecutter application to create a new python project that uses uv to manage its dependencies.",
"version": "0.2.0",
"project_urls": {
"Documentation": "https://fpgmaas.github.io/cookiecutter-uv/",
"Homepage": "https://fpgmaas.github.io/cookiecutter-uv/",
"Repository": "https://github.com/fpgmaas/cookiecutter-uv"
},
"split_keywords": [
"cookiecutter",
" template",
" uv"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "545fceb5f4c25ba41f5eb98d9bc7a6d5179c351b770f24baa8283301a0267580",
"md5": "e5fa885d1a148c61f135321f65098681",
"sha256": "1ef8b7be6c9dd1481aa7c19876e065cb8688eb27bf0200ffe9f32a73f906efcc"
},
"downloads": -1,
"filename": "cookiecutter_uv-0.2.0-py3-none-any.whl",
"has_sig": false,
"md5_digest": "e5fa885d1a148c61f135321f65098681",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": "<4.0,>=3.8",
"size": 4457,
"upload_time": "2024-09-03T13:26:59",
"upload_time_iso_8601": "2024-09-03T13:26:59.086351Z",
"url": "https://files.pythonhosted.org/packages/54/5f/ceb5f4c25ba41f5eb98d9bc7a6d5179c351b770f24baa8283301a0267580/cookiecutter_uv-0.2.0-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "fda3791a8b02c60e15ee530398102c2e516a8ba62111c8ef33c8b8958cdef79f",
"md5": "791ad86d111df22f527d4b4a204e2011",
"sha256": "00c04d5eb2020364d0debf2918926829ba965011d3654a3002f4daf65eef3fa3"
},
"downloads": -1,
"filename": "cookiecutter_uv-0.2.0.tar.gz",
"has_sig": false,
"md5_digest": "791ad86d111df22f527d4b4a204e2011",
"packagetype": "sdist",
"python_version": "source",
"requires_python": "<4.0,>=3.8",
"size": 18059,
"upload_time": "2024-09-03T13:27:00",
"upload_time_iso_8601": "2024-09-03T13:27:00.036278Z",
"url": "https://files.pythonhosted.org/packages/fd/a3/791a8b02c60e15ee530398102c2e516a8ba62111c8ef33c8b8958cdef79f/cookiecutter_uv-0.2.0.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-09-03 13:27:00",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "fpgmaas",
"github_project": "cookiecutter-uv",
"travis_ci": false,
"coveralls": false,
"github_actions": true,
"tox": true,
"lcname": "cookiecutter-uv"
}