{"id":14110437,"url":"https://github.com/asdf-community/asdf-python","last_synced_at":"2026-03-11T13:31:32.257Z","repository":{"id":38995333,"uuid":"56963896","full_name":"asdf-community/asdf-python","owner":"asdf-community","description":"Python plugin for the asdf version manager [maintainer=@danhper]","archived":false,"fork":false,"pushed_at":"2025-06-10T16:25:30.000Z","size":60,"stargazers_count":707,"open_issues_count":88,"forks_count":64,"subscribers_count":5,"default_branch":"master","last_synced_at":"2025-08-01T10:55:30.193Z","etag":null,"topics":["asdf","asdf-plugin"],"latest_commit_sha":null,"homepage":"https://github.com/asdf-vm/asdf","language":"Shell","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/asdf-community.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":".github/CODEOWNERS","security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null},"funding":{"github":["smorimoto"]}},"created_at":"2016-04-24T09:29:00.000Z","updated_at":"2025-07-31T14:32:15.000Z","dependencies_parsed_at":"2024-01-08T07:58:49.567Z","dependency_job_id":"ca548bc0-b2a6-438d-89fc-209a60a8a033","html_url":"https://github.com/asdf-community/asdf-python","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/asdf-community/asdf-python","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/asdf-community%2Fasdf-python","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/asdf-community%2Fasdf-python/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/asdf-community%2Fasdf-python/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/asdf-community%2Fasdf-python/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/asdf-community","download_url":"https://codeload.github.com/asdf-community/asdf-python/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/asdf-community%2Fasdf-python/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30382673,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-11T12:49:11.341Z","status":"ssl_error","status_checked_at":"2026-03-11T12:46:41.342Z","response_time":84,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["asdf","asdf-plugin"],"created_at":"2024-08-14T10:02:51.063Z","updated_at":"2026-03-11T13:31:32.252Z","avatar_url":"https://github.com/asdf-community.png","language":"Shell","funding_links":["https://github.com/sponsors/smorimoto"],"categories":["Shell"],"sub_categories":[],"readme":"# asdf-python\n\n[![Build Status](https://travis-ci.org/danhper/asdf-python.svg?branch=master)](https://travis-ci.org/danhper/asdf-python)\n\nPython plugin for [asdf](https://github.com/asdf-vm/asdf) version manager\n\n## Install\n\n```\nasdf plugin add python https://github.com/asdf-community/asdf-python.git\n```\n\nFor pre-0.16.0 asdf versions:\n\n```\nasdf plugin-add python https://github.com/asdf-community/asdf-python.git\n```\n\n### Install with `--patch`\n\n\u003e Enable to fix macOS 11 issues\n\nYou can use environment variable `ASDF_PYTHON_PATCH_URL` to install with `--patch` like that:\n\n```\nexport ASDF_PYTHON_PATCH_URL=\"https://github.com/python/cpython/commit/8ea6353.patch?full_index=1\"\nasdf install python 3.6.12\n```\n\nor use environment variable `ASDF_PYTHON_PATCHES_DIRECTORY`.\n\n## Use\n\nCheck [asdf](https://github.com/asdf-vm/asdf) readme for instructions on how to install \u0026 manage versions of Python.\nPlease make sure you have the required [system dependencies](https://github.com/pyenv/pyenv/wiki#suggested-build-environment) installed before trying to install Python.\n\nUnder the hood, asdf-python uses [pyenv python-build](https://github.com/yyuu/pyenv/tree/master/plugins/python-build) to build and install Python.\nCheck its [README](https://github.com/yyuu/pyenv/tree/master/plugins/python-build) for more information about build options and the [common build problems](https://github.com/pyenv/pyenv/wiki/Common-build-problems) wiki page for any issues encountered\nduring installation of Python. You may also want to check [Python's official setup building section](https://devguide.python.org/getting-started/setup-building/#install-dependencies) for latest version dependencies.\n\n## Ubuntu\n\nFor Ubuntu 20 and 22\n\n```\nsudo apt-get update; sudo apt-get install make build-essential libssl-dev zlib1g-dev \\\nlibbz2-dev libreadline-dev libsqlite3-dev wget curl llvm \\\nlibncursesw5-dev xz-utils tk-dev libxml2-dev libxmlsec1-dev libffi-dev liblzma-dev\n```\n\nthen\n\n```\nasdf install python latest\n```\n\n## Using multiple versions of Python\n\nA common request for Python is being able to use the `python2` and `python3` commands without needing to switch version.\nThis can be achieved by setting multiple versions of Python, for example with\n\n```\nasdf set -u python 3.6.2 2.7.13\n```\n\nFor pre-0.16.0 asdf versions:\n\n```\nasdf global python 3.6.2 2.7.13\n```\n\nExecutables in the first version will take priority over the executables in the next one. Note that you can use an arbitrary number over versions, if needed.\nWith the above example, `python` will therefore use the `python` executable found in version 3.6.2.\nHowever, as the `python2` does not exist in Python 3.6.2, `python2` will use the `python2` executable found in version 2.7.13.\n\n```\npython -V\nPython 3.6.2\n\npython3 -V\nPython 3.6.2\n\npython2 -V\nPython 2.7.13\n```\n\n## Pip installed modules and binaries\n\nIf you use pip to install a module like ipython that has binaries, you will need to run `asdf reshim python` for the binary to be in your path.\n\n## Default Python packages\n\nasdf-python can automatically install a default set of Python packages with pip right after installing a Python version. To enable this feature, provide a `$HOME/.default-python-packages` file that lists one package per line, for example:\n\n```\nansible\npipenv\n```\n\nYou can specify a non-default location of this file by setting a `ASDF_PYTHON_DEFAULT_PACKAGES_FILE` variable.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fasdf-community%2Fasdf-python","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fasdf-community%2Fasdf-python","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fasdf-community%2Fasdf-python/lists"}