Pyperclip is a lightweight Python module that provides a consistent interface for copying and pasting plain text through the system clipboard. Its main API exposes simple copy and paste functions that work across supported desktop operating systems. Additional methods can wait until any text appears on the clipboard or until the clipboard contents change. Windows support works without extra modules, while macOS can use native clipboard commands or PyObjC. Linux supports tools such as xclip, xsel, wl-clipboard, Qt, and other compatible clipboard backends. The module automatically selects an appropriate mechanism for the current environment. Pyperclip is intentionally focused on plain text rather than images or rich clipboard formats, making it useful for scripts that need portable clipboard integration.

Features

  • Cross-platform plain-text clipboard access
  • Simple copy and paste API
  • Wait for clipboard content functions
  • Windows native clipboard support
  • macOS and Linux backend detection
  • Wayland and X11 clipboard compatibility

Project Samples

Project Activity

See All Activity >

Categories

System

License

BSD License

Follow pyperclip

pyperclip Web Site

Other Useful Business Software
Our Free Plans just got better! | Auth0 Icon
Our Free Plans just got better! | Auth0

With up to 25k MAUs and unlimited Okta connections, our Free Plan lets you focus on what you do best—building great apps.

You asked, we delivered! Auth0 is excited to expand our Free and Paid plans to include more options so you can focus on building, deploying, and scaling applications without having to worry about your security. Auth0 now, thank yourself later.
Try free now
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of pyperclip!

Additional Project Details

Operating Systems

Linux, Mac, Windows

Programming Language

Python

Related Categories

Python System Software

Registered

2026-09-22