# asweigart/pyperclip

Python module for cross-platform clipboard functions.

Repository: https://github.com/asweigart/pyperclip
Canonical: https://ross.abutalabs.com/products/pyperclip
Homepage: https://pypi.python.org/pypi/pyperclip
Language: Python
License: BSD-3-Clause
License Family: permissive
Last push: 2025-09-26T14:41:36+00:00

## Health v2 (maintenance only)
Score: 52/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 44, release rhythm 35, longevity 100
- inputs: {"age_days": 5559, "days_push": 341, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_releases
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1843, forks 221 (observed 2026-08-28T04:05:43.279711+00:00)

## What it is
Pyperclip is a cross-platform Python library for copying and pasting plaintext to and from the system clipboard. It works on Windows, macOS, and Linux, using native OS tools like pbcopy/pbpaste and xclip/xsel where needed.

## Use cases
- copy text to the clipboard from a python script
- paste clipboard contents into a python program
- automate copy-paste workflows across windows mac and linux
- build a clipboard manager in python
- share text between applications programmatically

## When to choose
- you need simple plaintext clipboard access in Python across platforms
- you want a lightweight dependency-free solution on Windows
- you are automating scripts that interact with the clipboard

## When to avoid
- you need to copy images, files, or rich text formats
- you need clipboard access from a non-Python language
- you need clipboard history or monitoring features

## Facets
- artifact type: library
- maturity: stable
- function: developer-tools, workflow-automation
- domain: developer-tools, cross-platform
- platform: windows, python, cross-platform
- tags: clipboard, copy-paste, plaintext, automation, macos, linux

## Member repositories
- asweigart/pyperclip (main) score 52

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:05:43.279711+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T03:17:57.468006+00:00, confidence not recorded.
  - readme: https://github.com/asweigart/pyperclip (fetched 2026-08-28T04:05:43.279711+00:00, sha 078f33afc6f2)
  - homepage: https://pypi.python.org/pypi/pyperclip (fetched 2026-08-29T10:57:13.254068+00:00, sha 34cf021dd20e)
  - registry_pypi: https://pypi.org/pypi/pyperclip/json (fetched 2026-08-29T10:57:13.258249+00:00, sha afa31020e509)
- Data as of 2026-08-30T08:39:29.467469+00:00.
