Skip to main content

Iron Editor

PyPI - Version PyPI - Python Version License: MIT

A terminal-based code editor built with Textual. Designed for educational environments where students edit code directly in the terminal.


Features

  • Syntax highlighting for Python, JavaScript, HTML, CSS, Java, C, C++, JSON and Markdown
  • Multi-tab editing
  • Integrated file explorer (sidebar)
  • Integrated terminal panel
  • File integrity verification via HMAC signature
  • Log panel for debugging
  • Dracula theme

Installation

pip install iron-editor

Requirements: Python 3.9+


Usage

# Open editor in current directory
ironedit

# Open editor in a specific directory
ironedit /path/to/project

Keyboard Shortcuts

Key Action
N Create new file
Shift+N Create new folder
Ctrl+S Save current file
Ctrl+W Close current tab
Ctrl+T Toggle terminal panel
Ctrl+L Toggle log panel
Ctrl+R Run current file (in terminal)
Q Quit

File Signing

Iron Editor signs every saved file with an HMAC signature. Files created or modified outside of Iron Editor will be blocked when opened. This is intentional for classroom use — it ensures students work within the editor.



Para alumnos / For Students (Español)

Instalación

pip install iron-editor

Cómo usarlo

Abre una terminal y escribe:

ironedit

Esto abrirá el editor en la carpeta actual. También puedes indicar una carpeta específica:

ironedit C:\Users\TuNombre\mis-proyectos

Interfaz

┌─────────────────────────────────────────────────────┐
│  IronEdit                              🕐 12:00      │
├──────────┬──────────────────────────┬────────────────┤
│          │  archivo.py  ×           │                │
│  📁 src  │──────────────────────────│   Log          │
│  📄 main │  1  def main():          │                │
│  📄 util │  2      print("Hola")    │                │
│          │  3                       │                │
│          ├──────────────────────────┤                │
│          │  Terminal                │                │
├──────────┴──────────────────────────┴────────────────┤
│  N Nueva  Shift+N Carpeta  Ctrl+S Guardar  Q Salir   │
└─────────────────────────────────────────────────────┘
  • Panel izquierdo: explorador de archivos. Haz clic en un archivo para abrirlo.
  • Centro: editor de código con pestañas. Puedes tener varios archivos abiertos.
  • Panel inferior (Ctrl+T): terminal integrada para ejecutar tu código.
  • Panel derecho (Ctrl+L): log de eventos del editor.

Atajos principales

Tecla Acción
N Crear archivo nuevo
Shift+N Crear carpeta nueva
Ctrl+S Guardar archivo actual
Ctrl+W Cerrar pestaña actual
Ctrl+T Mostrar/ocultar terminal
Ctrl+L Mostrar/ocultar log
Ctrl+R Ejecutar archivo actual
Q Salir del editor

Nota sobre los archivos

Iron Editor firma los archivos que guarda. Si intentas abrir un archivo que no fue creado o guardado con Iron Editor, el editor lo bloqueará. Esto es para garantizar que trabajes siempre dentro del entorno del editor.


Changelog

v0.0.3

  • Terminal: resize panel with Ctrl+Up / Ctrl+Down
  • Terminal: added min-height to prevent collapsing too small
  • File explorer: F5 refreshes the directory tree
  • pyproject.toml: corrected author email and GitHub URLs

v0.0.2

  • Integrated terminal panel with command history and cd support
  • Ctrl+T toggle for terminal, Ctrl+R to run current file
  • Log panel toggle (Ctrl+L) and last-log in status bar

v0.0.1

  • Initial release: syntax highlighting, multi-tab editor, file explorer, HMAC file signing

License

iron-editor is distributed under the terms of the MIT license.

Metadata

Release files for iron-editor 0.0.5

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for iron-editor 0.0.5
File Size Uploaded Provenance Actions
iron_editor-0.0.5.tar.gz 35.4 kB Without provenance Details for iron_editor-0.0.5.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for iron-editor 0.0.5
File Interpreter ABI Platform Actions
iron_editor-0.0.5-py3-none-any.whl Python 3 none any Details for iron_editor-0.0.5-py3-none-any.whl

Total release size: 52.4 kB

Release files / iron_editor-0.0.5.tar.gz

Download URL iron_editor-0.0.5.tar.gz
Size 35.4 kB
Tags Source
SHA-256 checksum
How to use checksums
6884e606ba94d507c4b49f8e27c585d557023fc6bf1b911843d812bce0c4ebf5
BLAKE2b-256 checksum
How to use checksums
919929b309a321a5040fd3a5a7efead52c53c8673e233f1ed3c1c07d3d31375f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.10.11

Release files / iron_editor-0.0.5-py3-none-any.whl

Download URL iron_editor-0.0.5-py3-none-any.whl
Size 17.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
26047fc0bd1e6c945bd88961bf9221529ed7f25c49be330534b4ba03f39a3253
BLAKE2b-256 checksum
How to use checksums
658e1934d7d6334a95770b0197836ef57eb4cbd80814cffa00ea30d92ebc62aa
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.10.11

Security for iron-editor 0.0.5

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