Skip to main content

Vypl demo

Vypl is a terminal Python REPL built for Vim users. It gives you a real Python environment with syntax highlighting, smart autocompletion, and full modal editing — normal mode, motions, operators, named registers, and ex commands, all inside the REPL.

Install

pip install vypl

Or from source:

git clone https://github.com/HoraDomu/Vypl
cd Vypl
pip install -e .

Usage

vypl

Vim Features

Press ESC to enter normal mode. Press i, a, A, or I to return to insert.

Keybind Action
ESC Normal mode
i / a / A / I Insert mode
h j k l Move cursor / navigate history
w b e Word motions
0 $ Line start / end
f{char} / F{char} Find character forward / backward
; / , Repeat last find / reverse
r{char} Replace character under cursor
x Delete char under cursor
d c y + motion Delete / change / yank
dd cc yy Operate on whole line
[count]op[count]motion e.g. 3dd, d3w, 2x
p P Paste after / before cursor
"a … "z Named registers
v Visual mode — then d / y / c
o / O Open new line below / above
gg / G Jump to first / last line in buffer
K Inspect symbol under cursor
. Repeat last change
u Undo
q{a-z} Record macro into register
@{a-z} Replay macro
/ Search history
n / N Next / previous search match

Text Objects

In operator-pending mode (d, c, y), press i or a followed by a delimiter:

Object Description
iw / aw Inner / around word
i" / a" Inner / around double quotes
i' / a' Inner / around single quotes
i( / a( Inner / around parentheses
i[ / a[ Inner / around brackets
i{ / a{ Inner / around braces

Ex Commands

Type : in normal mode to enter command mode.

Command Action
:w [file] Save session to file
:r file.py Load and run a Python file
:s/old/new/ Substitute in current line
:s/old/new/g Substitute all occurrences
:history Search command history
:clear Clear the screen
:q Quit

Platform

Vypl requires a Unix terminal. On Linux and macOS, it runs natively. On Windows, use WSL or Docker.

Running on Windows (Docker)

git clone https://github.com/HoraDomu/Vypl
cd Vypl
docker build -t vypl .
docker run -it vypl

Contributing

Contributions are welcome. Open an issue or pull request on GitHub. Vypl is licensed under GPL v3 — contributions must remain open source.

Special Thanks

bpython provided the original REPL foundation. Vypl builds on that core with a complete Vim modal editing layer, a minimal aesthetic, and Docker support.

Metadata

Release files for vypl 1.0.0

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

Source distribution (sdist)

Source distribution for vypl 1.0.0
File Size Uploaded
vypl-1.0.0.tar.gz 86.7 kB Details

Built distribution (wheel)

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

Total release size: 176.9 kB

Release files / vypl-1.0.0.tar.gz

Download URL vypl-1.0.0.tar.gz
Size 86.7 kB
Tags Source
SHA-256 checksum
How to use checksums
72b952c9072291661f13147538b0d9ae224e282f9ef3c1269c9286e39724ba1c
BLAKE2b-256 checksum
How to use checksums
0bcd3fb5719e26bea96b07c86e2bbd3edb699d1b4847f638407dfe1cdfa48a98
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.12

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Jun 23, 2026.

Transparency log

Release files / vypl-1.0.0-py3-none-any.whl

Download URL vypl-1.0.0-py3-none-any.whl
Size 90.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
5fb17407c5a095b2e53e4ad1c95642a15f096033771e68dcf705cf23775bb5f2
BLAKE2b-256 checksum
How to use checksums
9ec87bd1d9245224b875b3645c42ca61355248a18c6362982a347ab5967a9818
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.12

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Jun 23, 2026.

Transparency log

Release history Release notifications | RSS feed

This release

1.0.0 This release

2 release files

0.6.4

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