{"id":13615226,"url":"https://github.com/utahta/pythonbrew","last_synced_at":"2025-05-15T03:09:00.238Z","repository":{"id":1097278,"uuid":"956411","full_name":"utahta/pythonbrew","owner":"utahta","description":"Python Environment manager","archived":false,"fork":false,"pushed_at":"2023-07-19T09:09:04.000Z","size":468,"stargazers_count":1439,"open_issues_count":45,"forks_count":162,"subscribers_count":74,"default_branch":"master","last_synced_at":"2025-04-14T03:09:45.795Z","etag":null,"topics":["go","golang","python","pythonbrew"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/utahta.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"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}},"created_at":"2010-10-02T12:33:59.000Z","updated_at":"2025-03-04T11:18:17.000Z","dependencies_parsed_at":"2024-01-15T13:33:35.142Z","dependency_job_id":null,"html_url":"https://github.com/utahta/pythonbrew","commit_stats":{"total_commits":248,"total_committers":34,"mean_commits":7.294117647058823,"dds":0.4556451612903226,"last_synced_commit":"8e866c8fa22f7527d92e38b75e1b83f69eb685c7"},"previous_names":[],"tags_count":20,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/utahta%2Fpythonbrew","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/utahta%2Fpythonbrew/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/utahta%2Fpythonbrew/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/utahta%2Fpythonbrew/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/utahta","download_url":"https://codeload.github.com/utahta/pythonbrew/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254264771,"owners_count":22041794,"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":["go","golang","python","pythonbrew"],"created_at":"2024-08-01T20:01:10.787Z","updated_at":"2025-05-15T03:08:55.230Z","avatar_url":"https://github.com/utahta.png","language":"Go","readme":"# pythonbrew\n\n[![CircleCI](https://circleci.com/gh/utahta/pythonbrew/tree/master.svg?style=svg)](https://circleci.com/gh/utahta/pythonbrew/tree/master)\n[![Go Report Card](https://goreportcard.com/badge/github.com/utahta/pythonbrew)](https://goreportcard.com/report/github.com/utahta/pythonbrew)\n[![GitHub release](https://img.shields.io/github/release/utahta/pythonbrew.svg)](https://github.com/utahta/pythonbrew/releases)\n\n## Note\n\nThis project is no longer under active development.\n\nYou can try to [pyenv](https://github.com/pyenv/pyenv)(under active development) instead of pythonbrew.\n\n# Overview\n\npythonbrew is the Python environments manager. it's easy to switch between them.\n\nInspired by [perlbrew](http://github.com/gugod/App-perlbrew) and [rvm](https://github.com/wayneeseguin/rvm).\n\n# Installation\n\nThe recommended way to download from [each releases](https://github.com/utahta/pythonbrew/releases) and put it somewhere in your PATH.\n\nOr you can get as below\n```sh\ngo get -u github.com/utahta/pythonbrew/cmd/pythonbrew\n```\n\nTypically, pythonbrew install packages into ~/.pythonbrew.  \nIf you want to install packages into somewhere else, you can do that by setting a PYTHONBREW_ROOT environment variable\n```sh\nexport PYTHONBREW_ROOT=/path/to/.pythonbrew\n```\n\n# Setup\n\n## Bash\n\nAdd the following line at the end of the ~/.bashrc file\n```sh\neval \"$(pythonbrew init)\"\n```\n\n## Zsh\n\nAdd the following line at the end of the ~/.zshrc file\n```sh\neval \"$(pythonbrew init)\"\n```\n\n# Usage\n\npythonbrew(pybrew) command [options]\n\nInstall some pythons\n```\npythonbrew install 3.6.4\npythonbrew install -v 3.6.4\npythonbrew install -f 3.6.4\npythonbrew install -C \"CFLAGS=-I/path/to/include\" -C \"LDFLAGS=-L/path/to/lib\" 3.6.4\npythonbrew install --no-ensurepip 3.6.4\npythonbrew install --no-symlink 3.6.4\npythonbrew install https://www.python.org/ftp/python/3.6.4/Python-3.6.4.tgz\npythonbrew install 2.7.14 3.6.4\n```\n\nUse a specific Python version permanently\n```\npythonbrew switch 2.7.14\npythonbrew switch 3.6.4\n```\n\nUse a specific Python version in the current shell\n```\npythonbrew use 3.6.4\n```\n\nList all installed Python versions\n```\npythonbrew list\n```\n\nList all known installable Python versions\n```\npythonbrew list -k\n```\n\nUninstall specific Python versions\n```\npythonbrew uninstall 2.7.14\n```\n\nDisable pythonbrew\n```\npythonbrew off\n```\n\nManage environments (using virtualenv)\n```\npythonbrew venv proj             # Create proj if not exists, Use proj if exists\npythonbrew venv -p 2.7.14 proj2\npythonbrew venv -l\npythonbrew venv --rm proj\n```\n\nRemove all cache\n```\npythonbrew cleanup\n```\n\nUpdate pythonbrew to the latest version\n```\npythonbrew update\n```\n\nShow version\n```\npythonbrew -v\n```\n\nSee more details\n```\npythonbrew -h\npythonbrew \u003ccommand\u003e -h\n```\n\n# Recommended Packages\n\n## Debian and Ubuntu\n\n```\napt-get install zlib1g-dev libssl-dev libreadline-dev\n```\n\n## Fedora, Red Hat and CentOS\n\n```\nyum install zlib-devel openssl-devel readline-devel\n```\n\n## macOS\n\n```\nbrew install openssl\nbrew install readline\n```\n\n# Uninstallation\n\n```sh\nrm /path/to/pythonbrew\nrm -rf ~/.pythonbrew\n```\nRemove `eval \"$(pythonbrew init)\"` line at the setup file.\n","funding_links":[],"categories":["Go","Repositories"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Futahta%2Fpythonbrew","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Futahta%2Fpythonbrew","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Futahta%2Fpythonbrew/lists"}