Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/brettcannon/python-launcher
- Owner: brettcannon
- License: mit
- Created: 2018-05-21T18:21:11.000Z (over 6 years ago)
- Default Branch: main
- Last Pushed: 2024-07-06T00:31:34.000Z (5 months ago)
- Last Synced: 2024-10-08T15:58:09.966Z (about 1 month ago)
- Topics: cli, developer-tools, python, rust, utilities
- Language: Rust
- Homepage: https://python-launcher.app
- Size: 903 KB
- Stars: 597
- Watchers: 12
- Forks: 25
- Open Issues: 11
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- Contributing: CONTRIBUTING.md
- Funding: .github/FUNDING.yml
- License: LICENSE
- Code of conduct: CODE_OF_CONDUCT.md
Awesome Lists containing this project
- stars - brettcannon/python-launcher - Python launcher for Unix (Rust)
- stars - brettcannon/python-launcher - Python launcher for Unix (Rust)
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)!