https://github.com/jvrck/pyinfo
Shell script to display detailed information about your Python environment, including version, interpreter path, installed packages, and more.
https://github.com/jvrck/pyinfo
bash linux macos python python3 shell
Last synced: 3 months ago
JSON representation
Shell script to display detailed information about your Python environment, including version, interpreter path, installed packages, and more.
- Host: GitHub
- URL: https://github.com/jvrck/pyinfo
- Owner: jvrck
- License: mit
- Created: 2024-08-18T20:50:28.000Z (almost 2 years ago)
- Default Branch: master
- Last Pushed: 2024-08-20T21:00:00.000Z (almost 2 years ago)
- Last Synced: 2025-03-04T04:41:50.914Z (over 1 year ago)
- Topics: bash, linux, macos, python, python3, shell
- Language: Shell
- Homepage:
- Size: 4.88 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# pyinfo
## Overview
`pyinfo` is a shell script that provides detailed information about your Python environment, including the current Python version, interpreter path, installed packages, and more.
## Requirements
- MacOS or Linux
- Bash
- Python
## Installation
Use the install script to install the `pyinfo` script to your system and make it executable.
```sh
curl -s https://raw.githubusercontent.com/jvrck/pyinfo/master/install | sudo bash
```
## Usage
Simply run the `pyinfo` script to get information about your Python environment.
```sh
pyinfo
```
The script will display:
- Whether you are in a virtual environment and its path
- Python version
- Python interpreter path
- Python 3 version (if available)
- Python 3 interpreter path (if available)
- Installed Python packages
- Python `sys.path`
- Python executable location
- Detailed Python version info