Skip to main content

pyoverview

pyoverview is a small terminal outline browser for Python and Markdown files. For Python, it parses a module with Python's ast module. For Markdown, it parses #, ##, and ### headings.

  • left pane: classes, functions, async functions, nested definitions, sections, or Markdown headings
  • right pane: source text on the terminal's default background, automatically scrolled to the selected symbol

pyoverview terminal UI showing an outline pane and syntax-highlighted code preview

Python Sections

Add module-level section comments to group the outline into larger chunks:

# region Configuration

DEFAULT_MODEL = "gpt-5"


def load_config():
    ...


# region Review Model

class Finding:
    ...


async def score_patch():
    ...

# %% Title cell comments are also supported:

# %% SFT

def sft_dataset():
    ...


# %% GRPO

def grpo_dataset():
    ...

Markdown-style comment headings are supported too. #, ##, and ### create nested sections:

# Training

def load_rows():
    ...


## SFT

def sft_dataset():
    ...


### Formatting

def format_prompt():
    ...

pyoverview renders those comments and headings as section nodes:

reviewer.py
  section: Training  L1
    function: load_rows()  L3
    section: SFT  L7
      function: sft_dataset()  L9
      section: Formatting  L13
        function: format_prompt()  L15

Only comments starting at the beginning of a line with # region , # %% , #%% , # , ## , or ### create Python sections. A section runs until the next section marker at the same or higher heading level, or the end of the file.

Markdown Headings

Markdown files use real headings as outline sections:

# Training

## SFT

### Formatting

# Evaluation

Headings inside fenced code blocks are ignored. Only #, ##, and ### headings are included.

Install

uvx pyoverview path/to/module.py
uvx pyoverview path/to/notes.md

If you are developing locally:

uv run pyoverview path/to/module.py

Keys

  • Up / Down, k / j: move through the outline
  • PageUp / PageDown: scroll code
  • g / G: jump to first / last outline item
  • Enter: center the selected symbol in the code pane
  • r: reload the file from disk
  • q: quit

Non-interactive Use

pyoverview --print path/to/module.py

This prints the outline without opening the TUI.

Metadata

Release files for pyoverview 0.4.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for pyoverview 0.4.2
File Size Uploaded
pyoverview-0.4.2.tar.gz 12.9 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for pyoverview 0.4.2
File Interpreter ABI Platform
pyoverview-0.4.2-py3-none-any.whl Python 3 none any Details

Total release size: 24.4 kB

Release files / pyoverview-0.4.2.tar.gz

Download URL pyoverview-0.4.2.tar.gz
Size 12.9 kB
Tags Source
SHA-256 checksum
How to use checksums
b2c6e606838c435623eb83eeb8f342d13213f9ce7a6db82f50d095995ce35938
BLAKE2b-256 checksum
How to use checksums
93aa932c7a1a4678407ef0c7045698046722791a4ac6480b6c9d005c00bbf4d4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.9.24 {"installer":{"name":"uv","version":"0.9.24","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

Release files / pyoverview-0.4.2-py3-none-any.whl

Download URL pyoverview-0.4.2-py3-none-any.whl
Size 11.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
3124c8f43a86606e519e9d31aa880a4124476abbf2759b2817de1cf61d9a9670
BLAKE2b-256 checksum
How to use checksums
a85a5857bd77515229d52ffcc25c85bd7fffda83efc3bbe03aa3257fdd39cb7f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.9.24 {"installer":{"name":"uv","version":"0.9.24","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

Release history Release notifications | RSS feed

This release

0.4.2 This release

2 release files

0.4.1

2 release files

0.4.0

2 release files

0.3.0

2 release files

0.2.0

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page