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 foldersEnter— open file or toggle folderCtrl+R— refresh directory listingTab— focus the editor
Requirements
- Python 3.9+
prompt_toolkit>=3.0pygments>=2.0
License
License
MIT — see LICENSE for details.
Metadata
Release files for s-py-editor 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 |
|---|---|---|---|---|
| s_py_editor-0.1.1.tar.gz | 7.3 kB | Without provenance | Details for s_py_editor-0.1.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| s_py_editor-0.1.1-py3-none-any.whl | Python 3 | none | any | Details for s_py_editor-0.1.1-py3-none-any.whl |
Total release size: 15.0 kB
Release files / s_py_editor-0.1.1.tar.gz
| Download URL | s_py_editor-0.1.1.tar.gz |
|---|---|
| Size | 7.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
4c55e3e53d340c40e4698e97cd5370d9ed1e7e5c711a6e714a2e9cf55e93cfe8
|
|
BLAKE2b-256 checksum How to use checksums |
ab3d0bb3082d23970af77c104a8d2121c98fb3685be3d6f530150428d89ca1dc
|
| 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.1-py3-none-any.whl
| Download URL | s_py_editor-0.1.1-py3-none-any.whl |
|---|---|
| Size | 7.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
2a7fbc54e3544ff88dd438ad23e53a0d55881176c1b8d058c69aecf7216e330d
|
|
BLAKE2b-256 checksum How to use checksums |
3f49c271359627f4d7252b47f4ae8ff6ec206579c365cbbf18827a90863b6927
|
| 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.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.