Skip to main content

Iron Editor is a terminal-based code editor built with Textual.

Project description

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.


License

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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

iron_editor-0.0.2.tar.gz (12.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

iron_editor-0.0.2-py3-none-any.whl (15.3 kB view details)

Uploaded Python 3

File details

Details for the file iron_editor-0.0.2.tar.gz.

File metadata

  • Download URL: iron_editor-0.0.2.tar.gz
  • Upload date:
  • Size: 12.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.10.11

File hashes

Hashes for iron_editor-0.0.2.tar.gz
Algorithm Hash digest
SHA256 51ee893b843c1e7330471a445277bb064fd8d0f916539f789b39e51271365d50
MD5 d2bdb91cfb57fdbb27402a66757b17c1
BLAKE2b-256 76916dc5b6f11bfc686590e0ce189615f81f92b75b059d5fdb2db8f4bdfc50cf

See more details on using hashes here.

File details

Details for the file iron_editor-0.0.2-py3-none-any.whl.

File metadata

  • Download URL: iron_editor-0.0.2-py3-none-any.whl
  • Upload date:
  • Size: 15.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.10.11

File hashes

Hashes for iron_editor-0.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 cd3f580d7994936d8bc26c7bc9039f09830a72e5a833cfd9bca8d3139f367785
MD5 bcbe056fcc800b4056db09f2385e4b55
BLAKE2b-256 242ca085fbb105213eeb0325ef6bae5281bde4cc5beb928ae89f2413d18c3253

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page