Pbpaste-win

Latest version: v0.1.1

Safety actively analyzes 681881 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

0.1.2

0.1.1

One of the most useful utilities I always use on my Windows system is `pbpaste`.

As [I wrote in the last post](https://sukhbinder.wordpress.com/2024/07/22/exploring-the-world-of-local-large-language-models/), I use the `llm` package to interact with my language models, both locally and remotely.

Pasting a big chunk of content to them in the CLI always needs the help of `pbpaste`. This is natively available in Mac OS.

For Windows systems, I created a tiny utility using the standard Python library, which mimics the same.

Happy to report that I found some time last week and pushed it to PyPI. If you want to use it on your Windows system, run:

`pip install pbpaste-win`

Open the command line and you should have

`pbpaste` in the command line.

Screenshot 2024-08-02 at 19.22.26.png

Mac OS offers `pbcopy` for copying output to the clipboard. Windows has a similar utility called `clip`.

For example:

`systeminfo | clip`

This command copies system information into the clipboard, and it can be pasted into any application in Windows using Ctrl+V.

Here's a simple command line i always improves any text copied to the clipboard:

`pbpaste | llm -s "improve this text" | clip`

The clipboard now has the improved version of the text which can be pasted anywhere with control+c

0.1

pbpaste-win tiny utility to release pbpaste

0.0.1

pbpaste - a tiny utility for windows to mimic pbpaste on Mac

Links

Releases

Has known vulnerabilities

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.