Skip to main content

Atomic file editor for AI agents

Project description

Super Editor

Atomic file editor for AI agents with safe writes, backups, and refactoring.

Install

pip install super-editor

Usage

# Write to a file
super-editor safe-write file.txt --content "Hello!" --write-mode write

# Read a file
super-editor safe-read file.txt --read-mode full

# Replace text
super-editor replace file.txt --pattern "old" --replacement "new"

# Line operations
super-editor line file.txt --line-number 5 --operation insert --content "New line"

Features

  • Atomic writes with automatic ZIP backups
  • Regex and AST-based replacements
  • Git integration
  • 1,050 torture tests (100% pass rate)

License

MIT

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

super_editor-1.0.0.tar.gz (14.9 kB view details)

Uploaded Source

Built Distribution

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

super_editor-1.0.0-py3-none-any.whl (15.5 kB view details)

Uploaded Python 3

File details

Details for the file super_editor-1.0.0.tar.gz.

File metadata

  • Download URL: super_editor-1.0.0.tar.gz
  • Upload date:
  • Size: 14.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.2

File hashes

Hashes for super_editor-1.0.0.tar.gz
Algorithm Hash digest
SHA256 7870c70b6297a73462afc2e41adacd9054c8e82a9b9d05dcf40d6347eb1ad21d
MD5 39f5adb61d50d88219beb6967be9293e
BLAKE2b-256 cdac8fed7307bbcd69ce245134aca7f62a5cdfe1b8a21db70fe68e70c9ec1910

See more details on using hashes here.

File details

Details for the file super_editor-1.0.0-py3-none-any.whl.

File metadata

  • Download URL: super_editor-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 15.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.2

File hashes

Hashes for super_editor-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 26ef96e99b3b227cf64a55dcbd10b4bc406986adccc959d6271a7203949e675a
MD5 0abb27b16d140bd84346deedc3396eba
BLAKE2b-256 d7957b24c80d1fb0d6516b333dfabac5c7ade51baeb2334ee0d1c2d3aa150dc0

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