Skip to main content

s-py-editor

A terminal-based Python code editor with syntax highlighting, auto-completion, a file sidebar, and the ability to run code (selections, loops, or whole files) without leaving the editor.

Install

pipx install s-py-editor

Or with pip:

pip install s-py-editor

Usage

spy                  # start with empty buffer
spy myfile.py        # open a file
spy .                # start in a directory (sidebar shows it)

Key bindings

Key Action
F5 / Ctrl+R Run selection → enclosing loop → whole file
Ctrl+S Save the buffer
Ctrl+A Select all
Ctrl+B Toggle sidebar focus
Ctrl+E Toggle output popup
Ctrl+X Stop running code
Ctrl+Q / Ctrl+C Quit

Sidebar

When the sidebar is focused (Ctrl+B):

  • ↑ / ↓ — move selection
  • → / ← — expand / collapse folders
  • Enter — open file or toggle folder
  • Ctrl+R — refresh directory listing
  • Tab — focus the editor

Requirements

  • Python 3.9+
  • prompt_toolkit>=3.0
  • pygments>=2.0

License

License

License

MIT — see LICENSE for details.

Metadata

Release files for s-py-editor 0.1.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 s-py-editor 0.1.2
File Size Uploaded Provenance Actions
s_py_editor-0.1.2.tar.gz 7.4 kB Without provenance Details for s_py_editor-0.1.2.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for s-py-editor 0.1.2
File Interpreter ABI Platform Actions
s_py_editor-0.1.2-py3-none-any.whl Python 3 none any Details for s_py_editor-0.1.2-py3-none-any.whl

Total release size: 15.0 kB

Release files / s_py_editor-0.1.2.tar.gz

Download URL s_py_editor-0.1.2.tar.gz
Size 7.4 kB
Tags Source
SHA-256 checksum
How to use checksums
29e27d7b6414c2cc0c206ba46ecbd5081a1acce5bd35604aabfb70d847b2fa62
BLAKE2b-256 checksum
How to use checksums
e436cdc82d0b901097a072465d90634eab5a30c32a49bdf56bc418517053c26f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.14.3

Release files / s_py_editor-0.1.2-py3-none-any.whl

Download URL s_py_editor-0.1.2-py3-none-any.whl
Size 7.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
980e649b8b13c1276de8728a5be59386f29ebb86b65f518f8cb38d27fd46653d
BLAKE2b-256 checksum
How to use checksums
8646cad5b73017e02d62844bf7eb066735ea4f30499aefb3d73632ee219d4755
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.14.3

Security for s-py-editor 0.1.2

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