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.
Metadata
Release files for dont-fuck-with-paste 0.1.7
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| dont_fuck_with_paste-0.1.7.tar.gz | 3.2 kB | Without provenance | Details for dont_fuck_with_paste-0.1.7.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| dont_fuck_with_paste-0.1.7-py3-none-any.whl | Python 3 | none | any | Details for dont_fuck_with_paste-0.1.7-py3-none-any.whl |
Total release size: 7.5 kB
Release files / dont_fuck_with_paste-0.1.7.tar.gz
| Download URL | dont_fuck_with_paste-0.1.7.tar.gz |
|---|---|
| Size | 3.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
3a7f9b1cf50b4c7f35fe347edbd6a9081b0955649ebe4f86f07d6391b85fca1c
|
|
BLAKE2b-256 checksum How to use checksums |
ead4e07b12b2de66c3bc857946101cfd59d34376a08921d966b8967769e10bee
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.8.3 CPython/3.12.4 Darwin/23.6.0
|
Release files / dont_fuck_with_paste-0.1.7-py3-none-any.whl
| Download URL | dont_fuck_with_paste-0.1.7-py3-none-any.whl |
|---|---|
| Size | 4.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
2a4d779948c957076db179b2a63168343adcd3d888d6931420be49982b8df070
|
|
BLAKE2b-256 checksum How to use checksums |
8d5255020da1bb4ea4ba2af526d822cc8de4f02f68305afb340e69280bceedb9
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.8.3 CPython/3.12.4 Darwin/23.6.0
|
Security for dont-fuck-with-paste 0.1.7
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.