semvec/pypi-packages huggingface dataset:
xclip-json 0.1.0
A command-line tool to dump X clipboard targets as JSON.
Requires Python: >=3.7

# xclip-json
**@readwithai** - [X](https://x.com/readwithai) - [blog](https://readwithai.substack.com/) - [machine-aided reading](https://www.reddit.com/r/machineAidedReading/) - [📖](https://readwithai.substack.com/p/what-is-reading-broadly-defined
)[⚡️](https://readwithai.substack.com/s/technical-miscellany)[🖋️](https://readwithai.substack.com/p/note-taking-with-obsidian-much-of)

`xclip-json` is a command-line utility for Linux that dumps all the different targets on the X clipboard into a machine-readable JSON format. This is a wrapper around xclip. It is useful for saving and restoring the entire clipboard for debugging purposes.

This tool requires xclip command-line utility, which is a required package.

You can install xclip on most Debian/Ubuntu-based systems with:

```
sudo apt-get install xclip
```

# Installlation

You can install `xclip-json` using [pipx](https://github.com/pypa/pipx):

```
pipx install xclip-json
```

# Usage
You can run the command like so:

```
xclip-json
```

This outputs the contents of all targets and selection to the clipboards.

Here is some example output:

```
{
  "CLIPBOARD": {
    "STRING": "This is some plain text from the clipboard.",
    "UTF8_STRING": "This is some plain text from the clipboard.",
    "text/plain;charset=UTF-8": "This is some plain text from the clipboard.",
    "image/png": "iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAQAAAC1HAwCAAAAC0lEQVR42mNkYAAAAAYAAjCB0C8AAAAASUVORK5CYII="
  }
}
```

You can then use tools such as [jq](jqlang.org) to query the data. The following command is particularly useful for this:

```
xclip-json | jq .CLIPBOARD | jq 'keys'
```

# Alternatives and prior work
While I could find no tool like `xclip-json` you can use `xclip` to manually list all targets on the clipboard like so: `xclip -o -t TARGETS`. You can then fetch a specific target with `xclip -o -t $TARGET`.

## About me
I am **@readwithai**. I create tools for reading, research and agency sometimes using the markdown editor [Obsidian](https://readwithai.substack.com/p/what-exactly-is-obsidian).

I also create a [stream of tools](https://readwithai.substack.com/p/my-productivity-tools) that are related to carrying out my work.

I write about lots of things - including tools like this - on [X](https://x.com/readwithai).
My [blog](https://readwithai.substack.com/) is more about reading and research and agency.
resumeio-dl 0.1.0
Download resumes from resume.io as PDF files
Requires Python: >=3.8

# resumeio-dl

Download resumes from resume.io as PDF files without using the web UI.

## Installation

```bash
pip install resumeio-dl
```

### Requirements

- Python 3.8 or higher
- Tesseract OCR must be installed on your system

## Usage

### Command Line Interface

```bash
# Basic usage with just the token
resumeio-dl YOUR_RENDERING_TOKEN

# Specify an output filename
resumeio-dl YOUR_RENDERING_TOKEN -o my_resume.pdf

# Change the image size for higher/lower quality
resumeio-dl YOUR_RENDERING_TOKEN -s 4000

# Change the image extension
resumeio-dl YOUR_RENDERING_TOKEN -e png
```

### Python API

```python
from resumeio_dl import download_resume, Extension

# Basic usage
download_resume("YOUR_RENDERING_TOKEN")

# Advanced usage
download_resume(
    rendering_token="YOUR_RENDERING_TOKEN",
    output_filename="my_resume.pdf",
    image_size=4000,
    extension=Extension.png
)
```

## How to find your renderingToken

1. Go to your resume on resume.io
2. Check the API response:
   - For resumes: https://resume.io/api/app/resumes
   - For cover letters: https://resume.io/api/app/cover-letters/
3. Find the `renderingToken` in the response

## Features

- Download resume images from resume.io
- Convert images to a searchable PDF with OCR
- Preserve hyperlinks from the original resume
- Support for different image formats and resolutions

## Disclaimer

This tool is for educational purposes only. Please respect resume.io's terms of service and consider purchasing their premium services to support their platform.

## License

MIT