Skip to content

About

Python extension for Lumide

Resources

Stars

1 star

Watchers

1 watching

Forks

Latest commit

 

History

8 Commits

Folders and files

Repository files navigation

lumide_python

pub package License: MIT Powered by SoFluffy

The official Python extension for Lumide IDE.

lumide_python provides first-class Python support in Lumide using the Pyright language server.

Features

🛠 Language Support

  • IntelliSense, diagnostics, navigation and hover from Pyright.
  • Per project: in a folder of several Python projects, each project (a folder with pyproject.toml, setup.py, setup.cfg, requirements.txt, Pipfile, pyrightconfig.json or a .venv) gets its own Pyright, on its own environment.

🐍 Interpreters and Environments

  • Python in the SDK Manager: the Pythons on your machine (PATH, Homebrew, pyenv, uv, conda) and the virtual environments of each folder and its projects.
  • Download Python: install any CPython version for Lumide, from the python-build-standalone builds uv uses, checked against their SHA-256.
  • One Python per folder: pick one for a folder or for every folder. Without a choice, a project uses its own .venv (or the version in .python-version), then its folder's Python, then your default.
  • Everywhere: Pyright and new terminals use the chosen Python, so python and pip are the environment's and VIRTUAL_ENV is set.
  • Status bar: the Python of the active file's project; click it to pick another.

Commands

Command ID Title Description
python.selectInterpreter Python: Select Interpreter Open the SDK Manager on Python
python.createEnvironment Python: Create Environment Make a .venv in a project with a Python you pick, then install requirements.txt
python.runFile Python: Run Python File in Terminal Run the active file with its project's Python
lumide_python.restartLsp Python: Restart Language Server Restart Pyright

Requirements

  • Lumide 0.25.0 or later.
  • Python: any you have, or download one from the SDK Manager.
  • Pyright for language features: npm install -g pyright or pip install pyright, with pyright-langserver on your PATH.
  • On Debian and Ubuntu, python3-venv gives new environments pip; without it they are made without pip.

License

This project is licensed under the MIT License - see the LICENSE file for details.


Built with ❤️ by SoFluffy.

Happy Coding 🦊

About

Python extension for Lumide

Resources

Stars

1 star

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages