Replace a section of text in a file with clipboard content.
Project description
ClipReplace
ClipReplace is a simple command-line tool to replace a section of text in a file with clipboard content.
Installation
Install clipreplace using pipx:
pipx install clipreplace
Usage
- Copy text to your clipboard
- Run the command:
clipreplace --file <file_path>
- If the first line of the clipboard matches a line in the file, the match section will be replaced with the clipboard content.
License
This project is licensed under the MIT License.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
clipreplace-0.1.2.tar.gz
(4.8 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file clipreplace-0.1.2.tar.gz.
File metadata
- Download URL: clipreplace-0.1.2.tar.gz
- Upload date:
- Size: 4.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: uv/0.5.16
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
97e66bbe5c21bbf1bdef5f37f8f331443f5c039d6e24b1c1e00f47f0baad5b5d
|
|
| MD5 |
7a68cbf97a855c61816ff3a93d4adcba
|
|
| BLAKE2b-256 |
5e890b82cb6ce896c8dddbf7e56c37bd21f10fb17c247b0d183fc27d984e0476
|
File details
Details for the file clipreplace-0.1.2-py3-none-any.whl.
File metadata
- Download URL: clipreplace-0.1.2-py3-none-any.whl
- Upload date:
- Size: 3.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: uv/0.5.16
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f73a8e80b3a8647ba7cab06b56ae4289e08ca54a721521758a8fb624ed1e0ac0
|
|
| MD5 |
af82db0e2b22b6f0700359909cc3d03d
|
|
| BLAKE2b-256 |
c66311aa10a9ff4efb14121b91b385c98bb9772d9ace1692ed393e8f7d43d1e3
|