Skip to main content
Archived

This project has been archived by its maintainers, and is no longer receiving any updates.

pimg

PyPI version

pre-commit.ci status

  • CLI (and library) for saving an image in clipboard to a local file with PyGObject
  • Inspired by PasteImg
    • requires Python 2.x and PyGTK (Last-Modified: May 2011)

Install

pip install pimg

Example

  • First, crop or copy image on browser
    • e,g) Cropping a screen:
      • Ubuntu: Shift+PrtScn
      • Windows: Win+Shift+S
  • Then, to save the image in clipboard in local:
$ pimg g sth.png
$ file sth.png
sth.png: PNG image data, ...

Usage

$ pimg -h
usage: pimg [-h] [-V] {get,g,copy,c} ...

Save an image in clipboard / Copy an image to clipboard

positional arguments:
  {get,g,copy,c}
    get (g)       get/save an image from clipboard
    copy (c)      copy a local image to clipboard

options:
  -h, --help      show this help message and exit
  -V, --version   show program's version number and exit
$ pimg g -h
usage: pimg get [-h] PATH

positional arguments:
  PATH        path of save file

options:
  -h, --help  show this help message and exit
$ pimg c -h
usage: pimg copy [-h] PATH

positional arguments:
  PATH        path of image to copy

options:
  -h, --help  show this help message and exit

license

MIT

Author

haruna(eggplants)

Metadata

Release files for pimg 0.1.1

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

Source distribution (sdist)

Source distribution for pimg 0.1.1
File Size Uploaded
pimg-0.1.1.tar.gz 4.3 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for pimg 0.1.1
File Interpreter ABI Platform
pimg-0.1.1-py3-none-any.whl Python 3 none any Details

Total release size: 9.4 kB

Release files / pimg-0.1.1.tar.gz

Download URL pimg-0.1.1.tar.gz
Size 4.3 kB
Tags Source
SHA-256 checksum
How to use checksums
4ae82be3c5dcbb12b8c54ebf2e86d85ff6afa5cd4d4deb9b77ea468d805ea0bd
BLAKE2b-256 checksum
How to use checksums
ef90bdb032f7d2add57fd7c41f62f88b5e421928aad2f547292dd606de2fab48
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.9.13

Release files / pimg-0.1.1-py3-none-any.whl

Download URL pimg-0.1.1-py3-none-any.whl
Size 5.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
0b4376cc54153ac0f27a5bccc0fcb035b6a369752ec948a10218f6092d025390
BLAKE2b-256 checksum
How to use checksums
b59995790b233d6d237d20a994f695b88966464bc23c2afb3e52ee892638a2cd
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.9.13

Release history Release notifications | RSS feed

This release

0.1.1 This release

2 release files

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