rpl
https://github.com/rrthomas/rpl
© 2025 Reuben Thomas rrt@sc3d.org
A search/replace utility.
rpl replaces strings with new strings in multiple text files. See the man
page rpl(1) for more information. Install rpl using pip install rpl.
rpl is distributed under the terms of the GNU General Public License; either version 3 of the License, or (at your option), any later version. See the file COPYING for more details.
See rpl --version for a full list of copyright holders.
usage: rpl [-h] [--version] [--encoding ENCODING] [-i] [-m] [-w] [-b] [-q]
[-v] [-s] [-e] [-F] [--files] [-x GLOB] [-R] [-p] [-f] [-d]
OLD-TEXT NEW-TEXT [FILE ...]
Search and replace text in files.
positional arguments:
OLD-TEXT
NEW-TEXT
FILE `-' or no FILE argument means standard input
options:
-h, --help show this help message and exit
--version show program's version number and exit
--encoding ENCODING specify character set encoding
-i, --ignore-case search case-insensitively
-m, --match-case ignore case when searching, but try to match case of
replacement to case of original, either capitalized,
all upper-case, or mixed
-w, --whole-words whole words (OLD-TEXT matches on word boundaries only)
-b, --backup rename original FILE to FILE~ before replacing
-q, --quiet quiet mode
-v, --verbose verbose mode
-s, --dry-run simulation mode
-e, --escape expand escapes in OLD-TEXT and NEW-TEXT [deprecated]
-F, --fixed-strings treat OLD-TEXT and NEW-TEXT as fixed strings, not
regular expressions
--files OLD-TEXT and NEW-TEXT are file names to read patterns
from
-x GLOB, --glob GLOB modify only files matching the given glob (may be
given more than once)
-R, --recursive search recursively
-p, --prompt prompt before modifying each file
-f, --force ignore errors when trying to preserve attributes
-d, --keep-times keep the modification times on modified files
Metadata
Release files for rpl 1.18.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 |
|---|---|---|---|---|
| rpl-1.18.1.tar.gz | 26.2 kB | Without provenance | Details for rpl-1.18.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| rpl-1.18.1-py3-none-any.whl | Python 3 | none | any | Details for rpl-1.18.1-py3-none-any.whl |
Total release size: 48.0 kB
Release files / rpl-1.18.1.tar.gz
| Download URL | rpl-1.18.1.tar.gz |
|---|---|
| Size | 26.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
16bd0132ff9032155a1cc83e5ddee93dee3fb301f47410030012a06d2223502a
|
|
BLAKE2b-256 checksum How to use checksums |
7f1a08162aacb4a35850a9558b0bf3c8fb68f927a0967b7f1a7fc960ea85d8d2
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.12.3
|
Release files / rpl-1.18.1-py3-none-any.whl
| Download URL | rpl-1.18.1-py3-none-any.whl |
|---|---|
| Size | 21.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
850ddedc3c55dfe3114eb3c70f8b92dfc6c945b294f45edf461d437521ec6150
|
|
BLAKE2b-256 checksum How to use checksums |
98eddf42562caf2f1b9a970e0c75d98b5e8d3168323fb54d7bdf78b2d99de11f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.12.3
|
Security for rpl 1.18.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.