{"id":15013918,"url":"https://github.com/voxpupuli/puppet-python","last_synced_at":"2025-12-11T21:47:43.348Z","repository":{"id":4599490,"uuid":"5742358","full_name":"voxpupuli/puppet-python","owner":"voxpupuli","description":"Puppet module for installing and managing Python, pip, virtualenvs and Gunicorn virtual hosts.","archived":false,"fork":false,"pushed_at":"2025-04-28T19:33:08.000Z","size":1131,"stargazers_count":200,"open_issues_count":77,"forks_count":374,"subscribers_count":54,"default_branch":"master","last_synced_at":"2025-05-14T02:20:20.277Z","etag":null,"topics":["bsd-puppet-module","centos-puppet-module","debian-puppet-module","freebsd-puppet-module","gentoo-puppet-module","hacktoberfest","linux-puppet-module","puppet","sles-puppet-module","ubuntu-puppet-module"],"latest_commit_sha":null,"homepage":"https://forge.puppetlabs.com/puppet/python","language":"Ruby","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/voxpupuli.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":".github/CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null},"funding":{"open_collective":"vox-pupuli","github":"voxpupuli"}},"created_at":"2012-09-09T22:36:58.000Z","updated_at":"2025-04-28T19:33:09.000Z","dependencies_parsed_at":"2023-09-24T10:05:33.582Z","dependency_job_id":"ac22807d-ddce-465e-a46a-bfd020dfc8cc","html_url":"https://github.com/voxpupuli/puppet-python","commit_stats":{"total_commits":838,"total_committers":183,"mean_commits":4.579234972677596,"dds":0.8281622911694511,"last_synced_commit":"39bb579f01d23fd92ad5a120d0e9de44ffbfb910"},"previous_names":["stankevich/puppet-python"],"tags_count":70,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/voxpupuli%2Fpuppet-python","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/voxpupuli%2Fpuppet-python/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/voxpupuli%2Fpuppet-python/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/voxpupuli%2Fpuppet-python/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/voxpupuli","download_url":"https://codeload.github.com/voxpupuli/puppet-python/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254102128,"owners_count":22015017,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["bsd-puppet-module","centos-puppet-module","debian-puppet-module","freebsd-puppet-module","gentoo-puppet-module","hacktoberfest","linux-puppet-module","puppet","sles-puppet-module","ubuntu-puppet-module"],"created_at":"2024-09-24T19:44:56.503Z","updated_at":"2025-12-11T21:47:43.335Z","avatar_url":"https://github.com/voxpupuli.png","language":"Ruby","funding_links":["https://opencollective.com/vox-pupuli","https://github.com/sponsors/voxpupuli"],"categories":[],"sub_categories":[],"readme":"# puppet-python\n\n[![Build Status](https://github.com/voxpupuli/puppet-python/workflows/CI/badge.svg)](https://github.com/voxpupuli/puppet-python/actions?query=workflow%3ACI)\n[![Release](https://github.com/voxpupuli/puppet-python/actions/workflows/release.yml/badge.svg)](https://github.com/voxpupuli/puppet-python/actions/workflows/release.yml)\n[![Puppet Forge](https://img.shields.io/puppetforge/v/puppet/python.svg)](https://forge.puppetlabs.com/puppet/python)\n[![Puppet Forge - downloads](https://img.shields.io/puppetforge/dt/puppet/python.svg)](https://forge.puppetlabs.com/puppet/python)\n[![Puppet Forge - endorsement](https://img.shields.io/puppetforge/e/puppet/python.svg)](https://forge.puppetlabs.com/puppet/python)\n[![Puppet Forge - scores](https://img.shields.io/puppetforge/f/puppet/python.svg)](https://forge.puppetlabs.com/puppet/python)\n[![puppetmodule.info docs](http://www.puppetmodule.info/images/badge.png)](http://www.puppetmodule.info/m/puppet-python)\n[![License](https://img.shields.io/github/license/voxpupuli/puppet-python.svg)](https://github.com/voxpupuli/puppet-python/blob/master/LICENSE)\n\nPuppet module for installing and managing python, pip, virtualenvs and Gunicorn virtual hosts.\n\n**Please note:** The module [stankevich/python](https://forge.puppet.com/stankevich/python) has been deprecated and is now available under Vox Pupuli: [puppet/python](https://forge.puppet.com/puppet/python).\n\n## Usage\nFor class usage refer to the [Reference](\"https://github.com/voxpupuli/puppet-python/blob/master/REFERENCE.md). If contributing, this is updated with\n```shell\nbundle exec rake strings:generate\\[',,,,false,true']\n```\n\n### Install Python package to a user's default install directory\n\nThe following code simulates\n\n```shell\npython3 -m pip install pandas --user\n```\nwhere pip installs packages to a user's default install directory --\ntypically  `~/.local/` on Linux.\n\n```puppet\n# Somewhat hackishly, install Python PIP module PANDAS for Oracle Cloud API queries.\npython::pyvenv { 'user_python_venv':\n  ensure     =\u003e present,\n  version    =\u003e 'system',\n  systempkgs =\u003e true,\n  venv_dir   =\u003e '/home/example/.local',\n  owner      =\u003e 'example',\n  group      =\u003e 'example',\n  mode       =\u003e '0750',\n}\n\npython::pip { 'pandas':\n  virtualenv =\u003e '/home/example/.local',\n  owner      =\u003e 'example',\n  group      =\u003e 'example',\n}\n```\n\n### hiera configuration\n\nThis module supports configuration through hiera. The following example\ncreates two python3 virtualenvs. The configuration also pip installs a\npackage into each environment.\n\n```yaml\npython::python_pyvenvs:\n  \"/opt/env1\":\n    version: \"system\"\n  \"/opt/env2\":\n    version: \"system\"\npython::python_pips:\n  \"nose\":\n    virtualenv: \"/opt/env1\"\n  \"coverage\":\n    virtualenv: \"/opt/env2\"\npython::python_dotfiles:\n  \"/var/lib/jenkins/.pip/pip.conf\":\n    config:\n      global:\n        index-url: \"https://mypypi.acme.com/simple/\"\n        extra-index-url: \"https://pypi.risedev.at/simple/\"\n```\n\n### Using SCL packages from RedHat or CentOS\n\nTo use this module with Linux distributions in the Red Hat family and python distributions\nfrom softwarecollections.org, set python::provider to 'rhscl' and python::version to the name\nof the collection you want to use (e.g., 'python27', 'python33', or 'rh-python34').\n\n## Release Notes\n\nSee [Changelog](https://github.com/voxpupuli/puppet-python/blob/master/CHANGELOG.md)\n\n## Contributors\n\nCheck out [Github contributors](https://github.com/voxpupuli/puppet-python/graphs/contributors).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvoxpupuli%2Fpuppet-python","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fvoxpupuli%2Fpuppet-python","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvoxpupuli%2Fpuppet-python/lists"}