Skip to main content

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 the welcome sample
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.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 ascii-pen 0.1.0
File Size Uploaded Provenance Actions
ascii_pen-0.1.0.tar.gz 11.9 kB Without provenance Details for ascii_pen-0.1.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for ascii-pen 0.1.0
File Interpreter ABI Platform Actions
ascii_pen-0.1.0-py3-none-any.whl Python 3 none any Details for ascii_pen-0.1.0-py3-none-any.whl

Total release size: 24.3 kB

Release files / ascii_pen-0.1.0.tar.gz

Download URL ascii_pen-0.1.0.tar.gz
Size 11.9 kB
Tags Source
SHA-256 checksum
How to use checksums
71dd801d916648bcbf0cf11a9ea7db54037c56d3f8c572cfc9d254a5f2b93b4b
BLAKE2b-256 checksum
How to use checksums
bf0d3159588ee805a04363240faa044a352b3dbaa5120d7f44bef6d4477bfbe6
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.0-py3-none-any.whl

Download URL ascii_pen-0.1.0-py3-none-any.whl
Size 12.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
954462ac0bb499551f814f3d718c2581ba186c6db9117b466d28eabdce1f220a
BLAKE2b-256 checksum
How to use checksums
af8ff6b59e31c306b339f40eba623bd39db62b4b4561b5fa5adeddeddd5608d9
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.0

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.

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