https://github.com/lordamit/py_pdf_copy
Python based script for managing copied text from PDF in clipboard
https://github.com/lordamit/py_pdf_copy
clipboard linux pdf python ubuntu
Last synced: about 1 month ago
JSON representation
Python based script for managing copied text from PDF in clipboard
- Host: GitHub
- URL: https://github.com/lordamit/py_pdf_copy
- Owner: LordAmit
- License: mit
- Created: 2017-10-01T12:36:17.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2021-11-29T06:00:46.000Z (over 4 years ago)
- Last Synced: 2025-09-07T03:42:54.026Z (10 months ago)
- Topics: clipboard, linux, pdf, python, ubuntu
- Language: Python
- Homepage:
- Size: 9.77 KB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
- License: LICENSE
Awesome Lists containing this project
README
# py_pdf_copy
It is a small script that manipulates text copied from PDF and formats it so that line breaks are removed.
It is built for linux, and depends on `xsel`/`Clipit` clipboard manager.
## Dependencies
- Python3.6
## Supported Clipboard Managers
Currently it supports the following clipboard managers:
- Clipit
- Xsel
## Installation
Use your favorite shortcut editor to assign the following keyboard shortcut:
```python
python3.6
```
For example, I use the following:
```python
python3.6 /home/amit/git/py_pdf_copy/py_pdf_copy.py
```
# Usage
Instead of doing `ctrl c -> ctrl v`, you do this: `ctrl c -> custom_shortcut -> ctrl v`