Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/brettcannon/python-launcher

Python launcher for Unix
https://github.com/brettcannon/python-launcher

cli developer-tools python rust utilities

Last synced: about 1 month ago
JSON representation

Python launcher for Unix

Awesome Lists containing this project

README

        

# The Python Launcher for Unix

- [Documentation](https://python-launcher.app)
- [Rust crate](https://crates.io/crates/python-launcher)

## Motivation

Launch your Python interpreter the lazy/smart way!

This project is an implementation of the `py` command for Unix-based platforms
(with some potential experimentation for good measure 😉).

## Example

Typical usage would be:

```
py -m venv .venv
py ... # Normal `python` usage.
```

This creates a virtual environment in a `.venv` directory using the latest
version of Python installed. Subsequent uses of `py` will then use that virtual
environment as long as it is in the current (or higher) directory; no
environment activation required (although the Python Launcher supports activated
environments as well)!