Skip to main content

clip-swap

Swap a file with the contents of the clipboard after the user approves a diff.

This is unreviewed ai-generated code. But I use it.

Motivation

Tools like claude code are nice. But sometimes I want to do some light coding in an LLM. I then use copy and paste to move code around. This adds a diff to this.

Alternatives and prior work

Use git diff - but you might be feeliing extra lazy.

Installation

pipx install clip-swap

Usage

Copy the file contents

clip-swap file

About

I am @readwithai. I make tools for reading and agency with and without Obsidian and AI. I also make a stream of small tools like this related to my work.

If you are interested in reading or note taking or Obsidian, check out my blog at readwithai.substack.com.

If you are interested in a stream of tools, you can follow me on GitHub or follow me on X.

Metadata

Release files for clip-swap 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for clip-swap 0.1.0
File Size Uploaded Provenance Actions
clip_swap-0.1.0.tar.gz 2.7 kB Without provenance Details for clip_swap-0.1.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for clip-swap 0.1.0
File Interpreter ABI Platform Actions
clip_swap-0.1.0-py3-none-any.whl Python 3 none any Details for clip_swap-0.1.0-py3-none-any.whl

Total release size: 5.8 kB

Release files / clip_swap-0.1.0.tar.gz

Download URL clip_swap-0.1.0.tar.gz
Size 2.7 kB
Tags Source
SHA-256 checksum
How to use checksums
aa5607c5c543b9f8a1c8a9fb869826ff857741ed55116466382e19b1b588df94
BLAKE2b-256 checksum
How to use checksums
bb4d300a0fa4d72374d218aff65c97b527979b2e367813ddcf1eb87f3e4b420e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.3

Release files / clip_swap-0.1.0-py3-none-any.whl

Download URL clip_swap-0.1.0-py3-none-any.whl
Size 3.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
a87d011d04808773ca6362a5d050af48a56f9137e55c0103ddc6e20db480f3d5
BLAKE2b-256 checksum
How to use checksums
cbaefae29bc582c9a0898c67bf32918914c4732621ef2e63d02791aa54cd24d2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.3

Security for clip-swap 0.1.0

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.

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page