Skip to main content

Small utility that translates a shared screenshot url into a markdown-ready *.png url. Works with dropbox, screencloud, and others.

Project description

So, if you have a python window open, use this module to quickly convert_clipboard() to a downloadable link.

In the backgound, this simply accesses the page linked by the screenshot-sharing utility using requests, parses it with BeautifulSoup, finds the first link that ends in png using regex, and copies that to the clipboard using pyperclip.


Python Module

pip install copysc


$ git clone
$ cd copysc
$ python install

Command Line Utility


$ export copyscpath=$(python -c 'import copysc; print(copysc.__path__[0])')
$ echo export PATH=$PATH:$copyscpath >> ~/.bashrc
$ sudo chmod 755 $copyscpath/

You may also need to install a clipboard drivers to enable pyperclip to interact with your X clipboard.

$ sudo apt-get install xclip
$ sudo apt-get install xsel


$ export copyscpath=$(python -c 'import copysc; print(copysc.__path__[0])')
$ echo export PATH=$PATH:$copyscpath >> ~/.bash_profile
$ sudo chmod 755 $copyscpath/


Install Linux or buy a Mac and see above.

I’m sorry. That was a bit rude. I’m sure it’s possible, but I don’t have the faintest idea how Windows works My hunch is as follows:

  1. Find out the absolute path of the module as follows: C:\>python -c 'import copysc; print(copysc.__path__[0])'
  2. Copy that path and add it to your PATH variable on windows.


As python module:

from copysc.copyscreen import convert_clipboard

OR…you can feed it a link directly

from copysc.copyscreen import convert_clipboard
convert_clipboard(link= '')

From the command line:

$ copyscreen


$ copyscreen

Project details

Download files

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

Files for copysc, version 0.2.7
Filename, size File type Python version Upload date Hashes
Filename, size copysc-0.2.7-py3-none-any.whl (5.1 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size copysc-0.2.7.tar.gz (2.9 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page