Skip to main content

subprompt

Interactively change every line matching a regex in multiple files.

Installation

Through PyPI:

python3.9 -m pip install subprompt

Usage

usage: subprompt [-h] (-d | -r SUB) [-n N] REGEX FILES [FILES ...]

Modifies lines matched by a regex interactively

positional arguments:
  REGEX
  FILES

optional arguments:
  -h, --help  show this help message and exit
  -d          delete line
  -r SUB      replace match with expression
  -n N        size of lines preview (default=3)

Release files for subprompt 0.0.9

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

Source distribution (sdist)

Source distribution for subprompt 0.0.9
File Size Uploaded
subprompt-0.0.9.tar.gz 15.9 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for subprompt 0.0.9
File Interpreter ABI Platform
subprompt-0.0.9-py3-none-any.whl Python 3 none any Details

Total release size:32.5 kB

Release files / subprompt-0.0.9.tar.gz

Download URL subprompt-0.0.9.tar.gz
Size 15.9 kB
Tags Source
SHA-256 checksum
How to use checksums
39ea7ad1c3c0c146faa03231aaf984c0362540082d1c5e4a936f5ba3ead49ff8
BLAKE2b-256 checksum
How to use checksums
ac92921b44af1a772e90a999dc015cf20a7beb58d22eb8ea468243cd73e21732
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.9.5

Release files / subprompt-0.0.9-py3-none-any.whl

Download URL subprompt-0.0.9-py3-none-any.whl
Size 16.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
0a70d6ab4334590214a141cb5efb762aaa9f1367ddd88461178663586f2f6e27
BLAKE2b-256 checksum
How to use checksums
7b128fa07350398e0c2024fbbee17a7d352095f35480e77a46f0834eb4d29a28
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.9.5

Release history Release notifications | RSS feed

This release

0.0.9 This release

2 release files

0.0.8

2 release files

0.0.7

2 release files

0.0.6

2 release files

0.0.5

2 release files

0.0.4

2 release files

0.0.3

2 release files

0.0.2

2 release files

0.0.1

2 release files

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