Skip to main content

python windows clip tools(calling native windows command

Project description

PyXhWinClipTool

Installation

pip install pyXhWinClipTool -U

# Or

pip3 install pyXhWinClipTool -U

Demo

# Help
python -m pyXhWinClipTool --help

# Copy to clipboard
echo "msg" | python -m pyXhWinClipTool --copy 
# Or
echo "msg" | python -m pyXhWinClipTool -c 

# Retrieve data from clipboard
python -m pyXhWinClipTool --paste 
# Or
python -m pyXhWinClipTool -p

Source Description

The pyXhWinClipTool is simple. It is just a wrapper to windows existing command for operate with clipboard.

Copy

In windows, we could use command 'clip' to copy text to clipboard. e.g.

echo "hihi" | clip

Paste

In windows, we could use command 'powershell' to retrieve text from clipboard. e.g.

powershell get-clipboard

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pyXhWinClipTool-0.0.4.tar.gz (2.2 kB view details)

Uploaded Source

Built Distribution

pyXhWinClipTool-0.0.4-py3-none-any.whl (2.4 kB view details)

Uploaded Python 3

File details

Details for the file pyXhWinClipTool-0.0.4.tar.gz.

File metadata

  • Download URL: pyXhWinClipTool-0.0.4.tar.gz
  • Upload date:
  • Size: 2.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.2 CPython/3.9.6

File hashes

Hashes for pyXhWinClipTool-0.0.4.tar.gz
Algorithm Hash digest
SHA256 191eda92a10f0566ec3c4c905a336e04305b8708be301061669cd4c6f6be45b1
MD5 f01dda65cf88c05d6416f0019567057a
BLAKE2b-256 a70f29701fd89c336134dca44b47515be5fee215724ae6ecd0a6695b18d06968

See more details on using hashes here.

File details

Details for the file pyXhWinClipTool-0.0.4-py3-none-any.whl.

File metadata

  • Download URL: pyXhWinClipTool-0.0.4-py3-none-any.whl
  • Upload date:
  • Size: 2.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.2 CPython/3.9.6

File hashes

Hashes for pyXhWinClipTool-0.0.4-py3-none-any.whl
Algorithm Hash digest
SHA256 3ee04f8cc22dfb07cd1560281c715ea5dbde5206c8d04534a702c91540a73ef9
MD5 9d9e0e3f65f82b1fee01e1a0b0a2d92f
BLAKE2b-256 84333718ea1835194eb5b231113eaab19c04eeae414ad118dad8223b45143043

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page