semvec/pypi-packages huggingface dataset:
Dfrint 0.1.0
A writing system with delay next to the rich system (https://github.com/Textualize/rich)
Requires Python: >=3.6

You probably don't know how to use dfrit, but I'll show you how to use it. It's very simple, let's start with the color change:
to change the color, you need to put a , color=“(your color)” after the delay_print, delay_input and fast_print quotes.
Warning: you can only change the color, not the time. In fact, you need rich, so go to the terminal of the IDE you're using and type: pip install rich

license:
MIT License

Copyright (c) 2024 devdec

Permission is hereby granted, free of charge, to any person obtaining a copy of
of this software and associated documentation files (the “Software”) to deal in the Software without restriction.
the Software without restriction, including, without limitation, the rights
to use, copy, modify, merge, publish, distribute, sublicense and/or sell
copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to
and permit persons to whom the Software is provided to do so, subject to the following conditions:

Whatever project will be done with it, if you can, credit its creator, devdec, by putting the github project link there or just the creator's name

The above copyright notice and this permission notice must be included in all copies or substantial portions of the Software.
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING, BUT NOT LIMITED TO.
EXPRESS OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT. UNDER NO CIRCUMSTANCES WILL
AUTHORS OR COPYRIGHT HOLDERS SHALL BE LIABLE FOR ANY CLAIMS, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING OUT OF,
ARISING OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OF OR OTHER DEALINGS WITH THE
SOFTWARE.
splice-replace 0.1.2
A utility to extract, process, and replace text in files based on line and column offsets.

# Splice Replace

`splice-replace` is a Python utility to extract, process, and replace text in a file by running an external script on the extracted text.

## Usage

```bash
./splice_replace.py <script_to_run> <file_path> <start_line> <start_col> <end_line> <end_col>
./splice_replace.py 'sed s/big/small/' myfile.txt 2 10 4 15
```

## Example

### Use sed on section of file:
```bash
echo "01 First Line" > myfile.txt
echo "02 Second Line" >> myfile.txt
echo "03 Third Line" >> myfile.txt
echo "04 Fourth Line" >> myfile.txt
echo "05 Fifth Line" >> myfile.txt

./splice_replace.py 'sed s/Second/2nd/' myfile.txt 2 1 2 17
```

Which results in the file:
```
01 First Line
02 2nd Line
03 Third Line
04 Fourth Line
05 Fifth Line
```

### Use sort on section of file:
```bash
echo "01 MUPPET CHARACTERS" > myfile.txt
echo "02 HERE IS A LIST OF MUPPET CHARACTERS ALPHABETICALLY" >> myfile.txt
echo "03" >> myfile.txt
echo "Kermit" >> myfile.txt
echo "Gonzo" >> myfile.txt
echo "Beaker" >> myfile.txt
echo "Animal" >> myfile.txt
echo "Fozzie Bear" >> myfile.txt
echo "09" >> myfile.txt
echo "10 THAT CONCLUDES THE LIST" >> myfile.txt

./splice_replace.py 'sort' myfile.txt 4 1 9 1
```

Which results in the file:
```
01 MUPPET CHARACTERS
02 HERE IS A LIST OF MUPPET CHARACTERS ALPHABETICALLY
03
Animal
Beaker
Fozzie Bear
Gonzo
Kermit
09
10 THAT CONCLUDES THE LIST
```

## Installation

### From source:
```bash
git clone
cd splice-replace
pip install -r requirements.txt
python setup.py install
```

### Using pip:
```bash
pip install splice-replace
```

## Motivation

Intellij IDEA has a feature called "External Tools" which allows you to run external scripts. You can pass the script
special variables like `$FilePath$`, `$SelectionStartLine$`, `$SelectionStartColumn$`, `$SelectionEndLine$`, and `$SelectionEndColumn$`.
I wanted to be able to configure the external tool to run a script on a selection of text in a file such that the script receives
that selection as stdin and gives the replacement as stdout. IntelliJ IDEA does not support this feature directly, so I wrote this utility.

For example if you wanted to run the `sort` command on a selection of text in a file, you could configure an external tool to run.
First, you would create the external tool in Settings -> Tools -> External Tools, then give it a name like "sort", set the program to
`/path/to/splice-replace` and the arguments to `"sort" $FilePath$ $SelectionStartLine$ $SelectionStartColumn$ $SelectionEndLine$ $SelectionEndColumn$`.

Then you could select a section of text in a file and run the external tool "sort" on that selection.

Of course, you can replace sort with your own utility or script.