pen
A minimalist terminal text editor with live Python syntax highlighting, built
on the ascii_colors TUI framework.
Install
pip install ascii-pen
Or, from a checkout of this directory:
pip install -e .
Usage
pen # start with an empty untitled document
pen path/to/file.py # open an existing file, or create a new one
Controls
| Key | Action |
|---|---|
| Arrow keys, Home, End, PgUp, PgDn | Move the cursor |
| Enter, Backspace, Delete | Edit |
| Ctrl+S | Save (prompts for a path if untitled) |
| Ctrl+O | Open another file |
| Ctrl+Q | Quit |
Features
- Live Python syntax highlighting (keywords, strings, numbers, comments, builtins).
- Line-number gutter with the current line highlighted.
- Vertical and horizontal scrolling driven by the cursor.
- Wide-character aware rendering.
- Modal file dialogs (Save As / Open) built on
App.push_modal.
License
MIT
Metadata
Release files for ascii-pen 0.1.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| ascii_pen-0.1.1.tar.gz | 11.5 kB | Without provenance | Details for ascii_pen-0.1.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| ascii_pen-0.1.1-py3-none-any.whl | Python 3 | none | any | Details for ascii_pen-0.1.1-py3-none-any.whl |
Total release size: 23.6 kB
Release files / ascii_pen-0.1.1.tar.gz
| Download URL | ascii_pen-0.1.1.tar.gz |
|---|---|
| Size | 11.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
30403bfc2d9fa088b7936a449c1bd419b81a50d1adbfa8a095df5e9c051e79fb
|
|
BLAKE2b-256 checksum How to use checksums |
092fe52fe5ad96f73656137fc7db31b06bea4ace9c4fc4a4ad7154c75b490713
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.13.17
|
Release files / ascii_pen-0.1.1-py3-none-any.whl
| Download URL | ascii_pen-0.1.1-py3-none-any.whl |
|---|---|
| Size | 12.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
0d685e9de18635444cf32058a6a3ff4bdb5742f187e3d1efc512848bdb5a94b8
|
|
BLAKE2b-256 checksum How to use checksums |
e664a8119a3b592850ee4cb04edc2054be9c906a97062b50353ee6d6a7ff79c9
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.13.17
|
Security for ascii-pen 0.1.1
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.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.