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.3

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.3
File Size Uploaded Provenance Actions
s_py_editor-0.1.3.tar.gz 7.4 kB Without provenance Details for s_py_editor-0.1.3.tar.gz

Built distribution (wheel)

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

Total release size: 15.0 kB

Release files / s_py_editor-0.1.3.tar.gz

Download URL s_py_editor-0.1.3.tar.gz
Size 7.4 kB
Tags Source
SHA-256 checksum
How to use checksums
f42b74f00e7b113f35dbe49a7763b4901ac1b0988b37e1f54c7c972881229fc2
BLAKE2b-256 checksum
How to use checksums
98aeafc951aee4fefb9bb3a7b288bc375be7ba97c6e4cf2a6ebe2c0b40b37798
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.3-py3-none-any.whl

Download URL s_py_editor-0.1.3-py3-none-any.whl
Size 7.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
8e4401b791d8fd3bdbd13b81b5d0caf56b1c374eefedf472e2e24f29868e2bc5
BLAKE2b-256 checksum
How to use checksums
ccdf4bd8e32970b5a685cd0dbb74c549c6b4fd9bc520aa34a38032ff84858d69
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.3

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