# Positron: Data Science IDE


Positron is a data science IDE developed by Posit PBC, the company behind RStudio. It is built on Code OSS, the open-source foundation of Visual Studio Code, and adds data-science-specific panels, first-class Python and R support, and bundled Python tooling including [Ruff](https://pydevtools.com/handbook/reference/ruff.md) and [Pyrefly](https://pydevtools.com/handbook/reference/pyrefly.md). Positron supports VS Code extensions (.vsix) and is licensed under the Elastic License 2.0 (source-available). The current release is version 2026.07.0-365.

## Python Environment Management

Positron discovers Python interpreters from virtual environments, system PATH, tool-managed locations (pyenv, uv, conda, pixi), and user-configured paths. Supported environment managers include [uv](https://pydevtools.com/handbook/reference/uv.md), venv, [pyenv](https://pydevtools.com/handbook/reference/pyenv.md), conda, and pixi.

Starting with the July 2026 release, Positron integrates uv for Python installation and environment creation:

- **Session picker**: a "+ Install Python via uv" button installs Python 3.9–3.14 without command-line interaction.
- **Command palette**: "Python: Install Python via uv" adds additional Python versions to an existing project.
- **Auto-setup**: opening a project that contains `pyproject.toml` or `requirements.txt` but no virtual environment triggers a prompt to create and populate one.
- **Disable**: the `python.allowUvPythonInstall` setting (enabled by default) controls whether Positron installs Python via uv.

Positron respects existing configurations. Projects with `environment.yml`, `Pipfile`, or `poetry.lock` do not receive the auto-setup prompt.

## Bundled Tooling

Positron ships several Python tools without requiring separate installation:

- **Pyrefly**: bundled as the default language server for type checking, go-to-definition, completions, and semantic highlighting. [Basedpyright](https://pydevtools.com/handbook/reference/basedpyright.md) or [Zuban](https://pydevtools.com/handbook/reference/zuban.md) can be substituted via settings.
- **Ruff**: bundled extension for linting and formatting. Optional automatic formatting on save.
- **Python Debugger**: bundled for breakpoints, step-through debugging, and variable inspection. `ipdb` and `%debug` magics work in the console.

## Key Features

- Data Explorer: views DataFrames, arrays, and tabular data with interactive sorting and filtering. Triggered by `%view` or through the Variables pane.
- Variables pane: shows all objects in the current Python session with their types and previews.
- Plots pane: displays matplotlib, seaborn, and other plotting-library output automatically, without a `plt.show()` call.
- Connections pane: manages database connections and browses schemas.
- Runtime-aware completions: the built-in language server queries the running Python session to complete DataFrame column names, dictionary keys, and other runtime-known attributes.
- IPython magics: supports `%view` (sends objects to the Data Explorer), `%connection_show` (surfaces database connections), and `%clear`.
- Jupyter Notebooks: opens and runs `.ipynb` files in the Positron notebook editor.
- Quarto documents: renders `.qmd` files with inline output, combining prose and code execution.
- Remote SSH: connect to and develop on remote servers.
- Dev containers: supports VS Code-style devcontainer configurations.

## Pros

- Data-science panels (Variables, Data Explorer, Plots, Connections) built-in, not extension-dependent.
- First-class Python and R support in one IDE, useful for teams mixing languages.
- uv integration simplifies Python version and environment management for beginners.
- Bundled Ruff and Pyrefly reduce per-project setup friction.
- Runtime-aware completions reach DataFrame columns and dict keys that static analysis cannot.
- Accepts VS Code extensions (.vsix), so the broader VS Code ecosystem is available.
- Free to use.

## Cons

- Elastic License 2.0 is not open source; SaaS hosting requires Posit's agreement.
- Data-science focus means fewer built-in tools for web development, DevOps, or general-purpose Python.
- Smaller native extension marketplace than Microsoft VS Code.
- Pyrefly is bundled by default; teams that prefer [ty](https://pydevtools.com/handbook/reference/ty.md) or [mypy](https://pydevtools.com/handbook/reference/mypy.md) must configure manually.

## Learn More

- [Positron documentation](https://positron.posit.co)
- [Python guide in Positron docs](https://positron.posit.co/guide-python.html)
- [Python installations in Positron](https://positron.posit.co/python-installations.html)
- [Positron + uv: Python setup in one click](https://opensource.posit.co/blog/2026-07-08_positron-uv/) (Posit blog)
- [Positron on GitHub](https://github.com/posit-dev/positron)
- [Pyrefly](https://pydevtools.com/handbook/reference/pyrefly.md), the type checker Positron bundles by default
- [Basedpyright](https://pydevtools.com/handbook/reference/basedpyright.md), an alternative language server for VS Code forks
- [uv](https://pydevtools.com/handbook/reference/uv.md), which powers Positron's Python installation workflow
- [What is a Python language server?](https://pydevtools.com/handbook/explanation/what-is-a-python-language-server.md)
