Skip to main content
Metadata-Version: 1.0

Name: SE

Version: 2.3

Summary: A stream editor

Home-page: None

Author: Frederic Rentsch

Author-email: info@anthra-norell.ch

License: Open source for authorship credit

Platform: Any ( pure Python )


Description: A Python stream editor with these characteristics:

1. Does any (practical) number of search-and-replaces in one pass.
2. Does any (practical) number of passes in one run.
3. Handles all 256 octets.
4. Does regular expressions.
5. Notational conveniences.
6. Compiles substitution sets defined in the form of a string.
7. Compiles substitution sets edited and kept in text files.
8. Naming a file in a definition string inserts the file's contents in
the place of its name, making for a modular building-block system.
9. Naming files is recursive. Files may pull in other files.
10. Constructor compiles definitions into an Editor object that will
translate any input.
11. Accepts input as string, file object or file by name. Outputs any of
these types, matching type by default.
12. Overwrite-safe. In-place edits switch name only and keep original data
with a backup extension.
13. Method set () to change runtime parameters.
14. Method show () for object inspection.
15. Methods save (), add (), drop () and reverse () for interactive edits.
16. Optional retention and display of intermediate data with chained passes.
17. Method show_log () displays a list of accumulated glitches and potential
glitches, mainly about IO operations.
18. A Light version (SEL) without interaction except for set () and
show_log ().
19. Method se.SEL () returns a light version of se. Constructor SE.SE (sel)
takes a Light editor object instead of substitutions and makes an
interactive one from it.
20. An extensive manual: SE-DOC.HTM.
21. An example definition file: htm2iso.se. Converts htm-ampersand escapes
to characters.
22. A demo script walking through the examples in SE-DOC.HTM.
23. FORMEX.py: A derivation for editing complex arithmetic formulas
interactively in any order and executing them.

Release files for SE 2.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 SE 2.3
File Size Uploaded
SE-2.3.zip 71.1 kB Details

Release files / SE-2.3.zip

Download URL SE-2.3.zip
Size 71.1 kB
Tags Source
SHA-256 checksum
How to use checksums
492dddb1f197d33f94e9ca0c8dd63954c8310be72a5554bc0e53878777ef581b
BLAKE2b-256 checksum
How to use checksums
a51bc53c1e38dc027b31ee8e9d5ca47198f8ec31800d839756faa8c8e2ba9b8e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

This release

2.3 This release

1 release file

2.2 beta

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