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

MIT (or your choice — update this line)

Metadata

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

Built distribution (wheel)

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

Total release size: 11.8 kB

Release files / s_py_editor-0.1.0.tar.gz

Download URL s_py_editor-0.1.0.tar.gz
Size 5.7 kB
Tags Source
SHA-256 checksum
How to use checksums
d8d4c0cbdbc5d9cc5778087565a812287c8ebf00a4b2828f7c29501210afaf41
BLAKE2b-256 checksum
How to use checksums
ea79119af288399155fe0acebbfd0d7981f14d40d9a2612f4066930052e90542
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.0-py3-none-any.whl

Download URL s_py_editor-0.1.0-py3-none-any.whl
Size 6.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
bb31643a5127c5423c8d9b6d2198c7500a0153621d884076f2ce3e38757a205b
BLAKE2b-256 checksum
How to use checksums
b636f7df74d59f510e2bf5bfff63c8244db7481200220460e1d3ecd459cd6077
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.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