All Projects → geerlingguy → ansible-role-pip

geerlingguy / ansible-role-pip

Licence: MIT License
Ansible Role - Pip (for Python)

Projects that are alternatives of or similar to ansible-role-pip

Poet
Poet helps you declare, manage and install dependencies of Python projects, ensuring you have the right stack everywhere.
Stars: ✭ 312 (+112.24%)
Mutual labels:  package-manager, packaging
Ansible Role Homebrew
Ansible Role - Homebrew
Stars: ✭ 195 (+32.65%)
Mutual labels:  package-manager, role
Peru
a generic package manager, for including other people's code in your projects
Stars: ✭ 913 (+521.09%)
Mutual labels:  package-manager, packaging
Pip Tools
A set of tools to keep your pinned Python dependencies fresh.
Stars: ✭ 5,387 (+3564.63%)
Mutual labels:  packaging, pip
meta-package-manager
🎁 a wrapper around all package managers
Stars: ✭ 277 (+88.44%)
Mutual labels:  package-manager, pip
Fades
fades is a system that automatically handles the virtualenvs in the cases normally found when writing scripts and simple programs, and even helps to administer big projects.
Stars: ✭ 182 (+23.81%)
Mutual labels:  packaging, pip
Hatch
A modern project, package, and virtual env manager for Python
Stars: ✭ 2,268 (+1442.86%)
Mutual labels:  package-manager, packaging
Pipenv
Python Development Workflow for Humans.
Stars: ✭ 22,542 (+15234.69%)
Mutual labels:  packaging, pip
capstan
Capstan, a tool for packaging and running your application on OSv.
Stars: ✭ 19 (-87.07%)
Mutual labels:  package-manager, packaging
aoscx-ansible-role
Ansible roles for AOS-CX switches
Stars: ✭ 15 (-89.8%)
Mutual labels:  role, galaxy
ansible-role-ansible
Ansible Role - Ansible
Stars: ✭ 91 (-38.1%)
Mutual labels:  pip, role
integration-test
ensure core packaging tools work well with each other
Stars: ✭ 15 (-89.8%)
Mutual labels:  packaging, pip
Pip Check
pip-check gives you a quick overview of all installed packages and their update status.
Stars: ✭ 134 (-8.84%)
Mutual labels:  package-manager, pip
Poetry
Python dependency management and packaging made easy.
Stars: ✭ 17,543 (+11834.01%)
Mutual labels:  package-manager, packaging
poetry-setup
Generate setup.py (setuptools) from pyproject.toml (poetry)
Stars: ✭ 44 (-70.07%)
Mutual labels:  packaging, pip
pip-date
A simple CLI tool to show the installation/modification times of all your pip packages
Stars: ✭ 21 (-85.71%)
Mutual labels:  packaging, pip
RMEBuilder
[DEPRECATED] Package Manager (like Aptitude, for Debian) (and project builder) for RPGMaker VXAce
Stars: ✭ 15 (-89.8%)
Mutual labels:  package-manager
ansible-role-elasticsearch
Ansible Role - Elasticsearch
Stars: ✭ 144 (-2.04%)
Mutual labels:  role
hackage-ui
Follow us: https://twitter.com/HaskellSpot Support the project: https://ko-fi.com/visortelle
Stars: ✭ 84 (-42.86%)
Mutual labels:  package-manager
username
😺 Get the current user name
Stars: ✭ 13 (-91.16%)
Mutual labels:  pip

Ansible Role: Pip (for Python)

CI

An Ansible Role that installs Pip on Linux.

Requirements

On RedHat/CentOS, you may need to have EPEL installed before running this role. You can use the geerlingguy.repo-epel role if you need a simple way to ensure it's installed.

Role Variables

Available variables are listed below, along with default values (see defaults/main.yml):

pip_package: python3-pip

The name of the packge to install to get pip on the system. For older systems that don't have Python 3 available, you can set this to python-pip.

pip_executable: pip3

The role will try to autodetect the pip executable based on the pip_package (e.g. pip for Python 2 and pip3 for Python 3). You can also override this explicitly, e.g. pip_executable: pip3.6.

pip_install_packages: []

A list of packages to install with pip. Examples below:

pip_install_packages:
  # Specify names and versions.
  - name: docker
    version: "1.2.3"
  - name: awscli
    version: "1.11.91"

  # Or specify bare packages to get the latest release.
  - docker
  - awscli

  # Or uninstall a package.
  - name: docker
    state: absent

  # Or update a package to the latest version.
  - name: docker
    state: latest

  # Or force a reinstall.
  - name: docker
    state: forcereinstall

  # Or install a package in a particular virtualenv.
  - name: docker
    virtualenv: /my_app/venv

Dependencies

None.

Example Playbook

- hosts: all

  vars:
    pip_install_packages:
      - name: docker
      - name: awscli

  roles:
    - geerlingguy.pip

License

MIT / BSD

Author Information

This role was created in 2017 by Jeff Geerling, author of Ansible for DevOps.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].