Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/staticdev/ansible-role-python-developer
Ansible role to install packages for developing in Python on multiple versions using Cookiecutter Hypermodern Python.
https://github.com/staticdev/ansible-role-python-developer
ansible cookiecutter hypermodern-python nox playbook poetry pre-commit pycharm pyenv python role vscode
Last synced: 9 days ago
JSON representation
Ansible role to install packages for developing in Python on multiple versions using Cookiecutter Hypermodern Python.
- Host: GitHub
- URL: https://github.com/staticdev/ansible-role-python-developer
- Owner: staticdev
- License: mit
- Created: 2021-01-05T04:59:29.000Z (almost 4 years ago)
- Default Branch: main
- Last Pushed: 2024-05-21T10:43:27.000Z (6 months ago)
- Last Synced: 2024-10-11T14:38:34.585Z (25 days ago)
- Topics: ansible, cookiecutter, hypermodern-python, nox, playbook, poetry, pre-commit, pycharm, pyenv, python, role, vscode
- Homepage: https://galaxy.ansible.com/staticdev/python_developer
- Size: 445 KB
- Stars: 13
- Watchers: 3
- Forks: 1
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Ansible role: Python developer
[![Tests](https://github.com/staticdev/ansible-role-python-developer/workflows/Tests/badge.svg)][tests]
[tests]: https://github.com/staticdev/ansible-role-python-developer/actions?workflow=Tests
Ansible role to install packages for developing in Python using [Cookiecutter Hypermodern Python].
## Features
Installs:
- [Cookiecutter]
- [Hatch]
- [Nox]
- [Pipx]
- [Poetry]
- [pre-commit]
- [Tox]Note: for a playbook that installs IDEs, try [Linux workstation playbook].
## Requirements
- [pyenv] (can be installed with [staticdev.pyenv])
## Example Playbook
Here are some common usages of this role.
1. Role using defaults:
```yaml
- hosts: all
roles:
- role: staticdev.python-developer
```2. Role defining Python versions:
```yaml
- hosts: all
roles:
- role: staticdev.pyenv
- role: staticdev.python-developer
```## License
Distributed under the terms of the [MIT] license,
_Ansible role Python developer_ is free and open source software.## Author Information
[staticdev]
[cookiecutter]: https://github.com/audreyr/cookiecutter
[cookiecutter hypermodern python]: https://github.com/cjolowicz/cookiecutter-hypermodern-python
[hatch]: https://hatch.pypa.io
[linux workstation playbook]: https://github.com/staticdev/linux-workstation-playbook
[mit]: https://opensource.org/licenses/MIT
[nox]: https://nox.thea.codes/
[pipx]: https://pypa.github.io/pipx/
[poetry]: https://python-poetry.org/
[pre-commit]: https://pre-commit.com/
[pyenv]: https://github.com/pyenv/pyenv
[staticdev]: https://github.com/staticdev
[staticdev.pyenv]: https://galaxy.ansible.com/staticdev/pyenv
[tox]: https://tox.wiki/en/latest/