Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

dont-fuck-with-paste

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

dont-fuck-with-paste

Uses keyboard.write() to simulate pasting

  • 0.1.7
  • PyPI
  • Socket score

Maintainers
1

dont-fuck-with-paste

Annoying login window that doesn't allow you to paste your 128-char long password?
dfwp to the rescue!

dfwp uses keyboard.write() to simulate pasting.

https://github.com/user-attachments/assets/3bbf4ec0-981d-42ed-ae7b-f17d9c664d12

Demo: using dfwp to deal with trading software's unpastable login text fields.

Installation

Requires Python>=3.10, <4.0.

pipx

This is the recommended installation method.

$ pipx install dont-fuck-with-paste

pip

$ pip install dont-fuck-with-paste

Usage

On the Command Line

Either dfwp or dont-fuck-with-paste works.

$ dfwp -h

usage: dfwp [-h] [-t TEXT] [-S] [-V]

Uses keyboard.write() to simulate pasting

options:
  -h, --help            show this help message and exit
  -t TEXT, --text TEXT  Text to simulate pasting, uses copied text if not provided (default: None)
  -S, --no-strip        Do not strip leading/trailing whitespace (default: False)
  -V, --version         show program's version number and exit

Invoking dfwp without A Terminal

You can install the tool using pipx install dont-fuck-with-paste and use software like Alfred / Keyboard Maestro / Raycast to invoke the simulated pasting by running dfwp or ~/.local/bin/dfwp with a keyboard shortcut or keyword.

Develop

$ git clone https://github.com/tddschn/dont-fuck-with-paste.git
$ cd dont-fuck-with-paste
$ poetry install

Credits

The naming was inspired by a browser extension with a similar name.

Keywords

FAQs


Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc