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: 3 months 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 5 years ago)
- Default Branch: main
- Last Pushed: 2024-05-21T10:43:27.000Z (over 1 year ago)
- Last Synced: 2025-01-12T19:51:37.723Z (12 months 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]
**DEPRECATED: this project is not maintained anymore in favor of [Nixpkgs](https://github.com/NixOS/nixpkgs), [Devenv](https://devenv.sh/) and [linux-workstation-playbook](https://github.com/staticdev/linux-workstation-playbook).**
[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/