Skip to main content

A Python REPL with Vim Keybinds

Project description


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

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
x Delete char under cursor
d c y + motion Delete / change / yank
dd cc yy Operate on whole line
p P Paste after / before cursor
"a"z Named registers
K Inspect symbol under cursor
. Re-run last expression
u Undo

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

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.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

vypl-0.6.4.tar.gz (80.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

vypl-0.6.4-py3-none-any.whl (87.0 kB view details)

Uploaded Python 3

File details

Details for the file vypl-0.6.4.tar.gz.

File metadata

  • Download URL: vypl-0.6.4.tar.gz
  • Upload date:
  • Size: 80.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for vypl-0.6.4.tar.gz
Algorithm Hash digest
SHA256 d66fe74b43913e90b6c9450ec895c964b1d2207e834d3a960e6d55b1f2e22753
MD5 10fec8f552e6733860bff300fcc507ed
BLAKE2b-256 3e3f448c91c98da3fef6f471c8f490fc3f19267699d94aff13373b919e065dfe

See more details on using hashes here.

Provenance

The following attestation bundles were made for vypl-0.6.4.tar.gz:

Publisher: publish.yaml on HoraDomu/Vypl

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file vypl-0.6.4-py3-none-any.whl.

File metadata

  • Download URL: vypl-0.6.4-py3-none-any.whl
  • Upload date:
  • Size: 87.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for vypl-0.6.4-py3-none-any.whl
Algorithm Hash digest
SHA256 25863c2e9aa84aeabf738c4e545066517527416acd3329798f63c06885ceed98
MD5 1bd7ceba53446c052bd0d8a48d3ec6fd
BLAKE2b-256 e9d985533d8e1555691928fad89796955b199ca1ed5cca49486379d21dc6196f

See more details on using hashes here.

Provenance

The following attestation bundles were made for vypl-0.6.4-py3-none-any.whl:

Publisher: publish.yaml on HoraDomu/Vypl

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page