{ "info": { "author": "Ryan Vass", "author_email": "rvsax16@gmail.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 2 - Pre-Alpha", "Programming Language :: Python", "Programming Language :: Python :: 2", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.4", "Programming Language :: Python :: 3.5" ], "description": "Convert \"Screenshot-sharing\" utility links to markdown-ready \\*.png files I'm sure you are also annoyed that screenshot-sharing utilities like Screencloud and Dropbox only copy a link to their screenshot viewing page, not to the ``.png`` file itself.\n==========================================================================================================================================================================================================================================================\n\nIf you've installed as a command line utility, simply type\n``copyscreen`` at the command prompt to fetch the actual image file from\nthe link that is currently in your clipboard (or, alternatively, pass\nthe link directly as an argument\n(``copyscreen http://dropbox.screenshotaddress.com?dl=0``).\n\nIf you are using python, use this module to quickly\n``convert_clipboard()`` to a downloadable link.\n\nIn the background, this simply accesses the page linked by the\nscreenshot-sharing utility using ``requests``, parses it with\n``BeautifulSoup``, finds the first link that ends in png using regex,\nand copies that to the clipboard using ``pyperclip``.\n\nInstallation\n------------\n\nPython Module\n^^^^^^^^^^^^^\n\n``pip install copysc``\n\nor\n\n.. code:: bash\n\n $ git clone https://github.com/rv816/copysc.git\n $ cd copysc\n $ python setup.py install\n\nCommand Line Utility\n^^^^^^^^^^^^^^^^^^^^\n\n*Mac*\n'''''\n\n.. code:: bash\n\n $ export copyscpath=$(python -c 'import copysc; print(copysc.__path__[0])')\n $ sudo chmod 755 $copyscpath/copyscreen.py\n $ ln -s $copyscpath/copyscreen.py $copyscpath/copyscreen\n $ echo export PATH=$PATH:$copyscpath >> ~/.bash_profile\n\nNote: If symlink already exists (at step 3: ln -s ....), then just move\non to next step. I've tried to configure the installer to install the\nsymlink, but that's still in alpha and may not work.\n\n*Linux*\n'''''''\n\n.. code:: bash\n\n $ export copyscpath=$(python -c 'import copysc; print(copysc.__path__[0])')\n $ sudo chmod 755 $copyscpath/copyscreen.py\n $ ln -s $copyscpath/copyscreen.py $copyscpath/copyscreen\n $ echo export PATH=$PATH:$copyscpath >> ~/.bashrc\n\nNote: If symlink already exists (at step 3: ln -s ....), then just move\non to next step. I've tried to configure the installer to install the\nsymlink, but that's still in alpha and may not work.\n\nYou may also need to install a clipboard drivers to enable pyperclip to\ninteract with your X clipboard.\n\n::\n\n $ sudo apt-get install xclip\n $ sudo apt-get install xsel\n\n*Windows*\n'''''''''\n\nInstall Linux or buy a Mac and see above.\n\n*I kid. I'm sure it's possible, but I don't have the faintest idea how\nWindows works* *My hunch is that the below instructions might be\nhelpful:*\n\n1. Find out the absolute path of the module as follows:\n ``C:\\>python -c 'import copysc; print(copysc.__path__[0])'``\n\n2. Copy the output of **Step 1** to the clipboard.\n3. Add the path you copied above to your PATH variable on windows as\n follows: > From the desktop, right click the My Computer icon. > 1.\n Choose Properties from the context menu. > 2. Click the Advanced tab\n (Advanced system settings link in Vista). > 3. Click Environment\n Variables. You should see something that looks like this: |environ| >\n 4. Select \"Path\" and click \"Edit\". > 5. In Windows 10, you should see\n something like this: |win10|. > 6. Click \"New\" and add the directory\n you copied above > - **IMPORTANT**: If you have Windows XP, 7, or 8,\n you will need to edit the text of ``PATH`` diretly. Instead of Step 5\n above, you will need to add a semicolon (\";\") at the end of the value\n currently assigned to the ``PATH`` variable, and **then** paste teh\n value you copied above in Step 2. > 7. Save the results and go back\n to the \"Envornmnetal Variables\" window you saw in **Step 3**. > 8.\n Select \"PATHEXT\" and click \"Edit\". (Note: if it's not there, create\n it as a new system variable.) > 9. Click \"New\" and add \".py\" (without\n the quotes). This tells windows to treat files ending in \".py\" as an\n executible, so you can simply type \"copyscreen\" from the command\n line. If you do not want to do this (it is harmless), you will simply\n need to type copyscreen.py instead of copyscreen when using the\n utility.\n\nNote: PATH just has a list of directories to search when you type a\ncommand at the Command Prompt, so that if you type \"copyscreen\" at the\ncommand line, it will search the list of directories assigned to the\nPATH variable above.\n\n--------------\n\nUsage:\n------\n\nFrom the command line:\n~~~~~~~~~~~~~~~~~~~~~~\n\n``$ copyscreen``\n\n*or*\n\n``$ copyscreen http://screencloud.net/v/zOk6``\n\nAs python module:\n~~~~~~~~~~~~~~~~~\n\n.. code:: python\n\n from copysc.copyscreen import convert_clipboard\n convert_clipboard()\n\nOR...you can feed it a link directly\n\n.. code:: python\n\n from copysc.copyscreen import convert_clipboard\n convert_clipboard(link= 'https://www.dropbox.com/s/wg24eyirfaqrbnw/Screenshot%202014-10-17%2018.06.22.png?dl=0')\n\n.. |environ| image:: http://www.computerhope.com/issues/pictures/winpath.jpg\n.. |win10| image:: http://www.howtogeek.com/wp-content/uploads/2016/03/527x501x2016-03-24_11h02_18.png.pagespeed.gp+jp+jw+pj+js+rj+rp+rw+ri+cp+md.ic.tCgwD5Bcex.png", "description_content_type": null, "docs_url": null, "download_url": "UNKNOWN", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/rv816/copysc", "keywords": "", "license": "UNKNOWN", "maintainer": "", "maintainer_email": "", "name": "copysc", "package_url": "https://pypi.org/project/copysc/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/copysc/", "project_urls": { "Download": "UNKNOWN", "Homepage": "https://github.com/rv816/copysc" }, "release_url": "https://pypi.org/project/copysc/0.3.4/", "requires_dist": [ "bs4", "pyperclip", "requests" ], "requires_python": "", "summary": "Small utility that translates a shared screenshot url into a markdown-ready *.png url. Works with dropbox, screencloud, and others.", "version": "0.3.4" }, "last_serial": 2066676, "releases": { "0.2.6": [ { "comment_text": "", "digests": { "md5": "8e005664c93280eaf5b0c3c911610d69", "sha256": "007bb8bb3277bec0b66c5166eb3e6841406408dc16ce020b6faefd897be10d0c" }, "downloads": -1, "filename": "copysc-0.2.6-py3-none-any.whl", "has_sig": false, "md5_digest": "8e005664c93280eaf5b0c3c911610d69", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 5073, "upload_time": "2016-03-22T06:42:01", "url": "https://files.pythonhosted.org/packages/03/7c/58663bc74136e5b365296dc63c9d84f6512d28d40292ed606dba1bedf37f/copysc-0.2.6-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "828c50a8975c170d9a31e4cb29aafd11", "sha256": "be028509430a1633b4f66b657bbf094314041a638b2634088a1b4c0361f6ce18" }, "downloads": -1, "filename": "copysc-0.2.6.tar.gz", "has_sig": false, "md5_digest": "828c50a8975c170d9a31e4cb29aafd11", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3133, "upload_time": "2016-03-22T06:42:22", "url": "https://files.pythonhosted.org/packages/a8/e7/c10f3eb5f32be3684fe4751e7e9d91254a3f200441b5e168d1e0ebc70816/copysc-0.2.6.tar.gz" } ], "0.2.7": [ { "comment_text": "", "digests": { "md5": "baead3aeac4f7bfc711420bde9ac8be6", "sha256": "cb932c6f280a1518387c218fe4c46ccafb2e8620ea91e89823452b2b8124af6f" }, "downloads": -1, "filename": "copysc-0.2.7-py3-none-any.whl", "has_sig": false, "md5_digest": "baead3aeac4f7bfc711420bde9ac8be6", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 5070, "upload_time": "2016-03-22T20:00:31", "url": "https://files.pythonhosted.org/packages/b8/57/e4ae0f21c0524774302a7fcd9e2d3180fd7d1dbeb70add112317875a36ed/copysc-0.2.7-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "e9ff6aae0a88dc295897bb3b5be9622b", "sha256": "1ef7d303ea6c58e4ef3447f6b8d9d50306a940b087a3a13ccfb98b391ab3233f" }, "downloads": -1, "filename": "copysc-0.2.7.tar.gz", "has_sig": false, "md5_digest": "e9ff6aae0a88dc295897bb3b5be9622b", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2912, "upload_time": "2016-03-22T20:00:36", "url": "https://files.pythonhosted.org/packages/7b/fa/94dfe7d6b70ca1a18ff919658cfb0fd280b881ed124fd6b4b7461af889a9/copysc-0.2.7.tar.gz" } ], "0.2.8": [ { "comment_text": "", "digests": { "md5": "4ab5f6a3236e07913cda55c852806e9b", "sha256": "eae67d2a064dfd467e5729b2bd1fbc3a6c18cf9459c49dbb8f4b662ad7900d39" }, "downloads": -1, "filename": "copysc-0.2.8-py3-none-any.whl", "has_sig": false, "md5_digest": "4ab5f6a3236e07913cda55c852806e9b", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 10579, "upload_time": "2016-03-22T20:20:30", "url": "https://files.pythonhosted.org/packages/da/48/754d7b224cc187fd49cc47b46dc356f7948eca61731a4edceefeba882e06/copysc-0.2.8-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "b856887cdcad11917e74c86afdf3966b", "sha256": "c5d46412c13da9964ed759b4c3ca6b078e83d7e022e43a359d4535fa30f7f287" }, "downloads": -1, "filename": "copysc-0.2.8.tar.gz", "has_sig": false, "md5_digest": "b856887cdcad11917e74c86afdf3966b", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6509, "upload_time": "2016-03-22T20:21:07", "url": "https://files.pythonhosted.org/packages/77/9a/32904b6481b491cd3a06f3c3b93d54b704580b1bd0dbd27919d9a79c51b9/copysc-0.2.8.tar.gz" } ], "0.2.9": [ { "comment_text": "", "digests": { "md5": "da9a653f139578f5bcd719fc1ff21ce7", "sha256": "51039855f52c44c93efcfbc44e1b6eb6d1e810556cf074505f87375c574c299b" }, "downloads": -1, "filename": "copysc-0.2.9-py3-none-any.whl", "has_sig": false, "md5_digest": "da9a653f139578f5bcd719fc1ff21ce7", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 5068, "upload_time": "2016-03-22T20:25:05", "url": "https://files.pythonhosted.org/packages/ee/4a/4f748ad62e4ab58751ba6935d1e93713353b42a1315cc3374a2d3b1c1594/copysc-0.2.9-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "3807542bbeb1394b0c6fac8320e1d7b3", "sha256": "d3d15fb1116777d7c2f8d243d7b27c0c88500c9df6947742a320cfba81611b9b" }, "downloads": -1, "filename": "copysc-0.2.9.tar.gz", "has_sig": false, "md5_digest": "3807542bbeb1394b0c6fac8320e1d7b3", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3484, "upload_time": "2016-03-22T20:25:11", "url": "https://files.pythonhosted.org/packages/c4/8e/e37d333156ed32a230155c19255ee0ad8f3c1e608c2232392b92c81f5db8/copysc-0.2.9.tar.gz" } ], "0.3.0": [ { "comment_text": "", "digests": { "md5": "98f4d9903bbb86999e68e0ea10c77085", "sha256": "1e3f989ae7941345cacfda92d690b9a05eea9d001a999f13d0d933922592c1c3" }, "downloads": -1, "filename": "copysc-0.3.0-py3-none-any.whl", "has_sig": false, "md5_digest": "98f4d9903bbb86999e68e0ea10c77085", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 5371, "upload_time": "2016-03-22T20:36:51", "url": "https://files.pythonhosted.org/packages/3e/1b/5f424357770ccf4f169c5c8fca6072fe38f956471bb9a5c894437277452e/copysc-0.3.0-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "7f070b3e2039c684f4e6fe158c9f69f6", "sha256": "a8a162ad79aca62b6e56c03ba73e6710eb4c3d20c4211d95fd87e38a1452088f" }, "downloads": -1, "filename": "copysc-0.3.0.tar.gz", "has_sig": false, "md5_digest": "7f070b3e2039c684f4e6fe158c9f69f6", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3706, "upload_time": "2016-03-22T20:36:56", "url": "https://files.pythonhosted.org/packages/c5/9b/5267ff74bd6e8bf6de004a12ea842aaf9fd3aaf645f143bf551bccf7ea39/copysc-0.3.0.tar.gz" } ], "0.3.1": [ { "comment_text": "", "digests": { "md5": "ce7b208bc8b99afda09ecad7338adce9", "sha256": "27848b6edf0e46403f88705a036d4a270597b1094a49fdf4268d5091c7897702" }, "downloads": -1, "filename": "copysc-0.3.1-py3-none-any.whl", "has_sig": false, "md5_digest": "ce7b208bc8b99afda09ecad7338adce9", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 5583, "upload_time": "2016-03-22T20:39:37", "url": "https://files.pythonhosted.org/packages/67/84/4a6be7bada1d68d17df761db87bc558ade47ff6643a03eddd964f0dcb3ff/copysc-0.3.1-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "abe017803e650d3f4483912798e029c1", "sha256": "07de1fb20eb3dfd198e25507b6328d98cd958e23e64e02887d44b040ddcb125e" }, "downloads": -1, "filename": "copysc-0.3.1.tar.gz", "has_sig": false, "md5_digest": "abe017803e650d3f4483912798e029c1", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3842, "upload_time": "2016-03-22T20:39:43", "url": "https://files.pythonhosted.org/packages/a2/63/04f2ced4a5608b9ccbe53d39c18d1b792ca7e6c63278c63378bcdea3d8ce/copysc-0.3.1.tar.gz" } ], "0.3.2": [ { "comment_text": "", "digests": { "md5": "72836c726df2bd615921a28d98b98d83", "sha256": "7287f42e270a1b1d233bae3d3b42df5b9775219eb56ce586e5780a2384a3ffb3" }, "downloads": -1, "filename": "copysc-0.3.2-py3-none-any.whl", "has_sig": false, "md5_digest": "72836c726df2bd615921a28d98b98d83", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 5588, "upload_time": "2016-03-22T20:44:39", "url": "https://files.pythonhosted.org/packages/c4/48/faf590266d106f9658b51d35d0940c361bec65494280df3c57a97c79bdf4/copysc-0.3.2-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "3da93a9267b4be4fd212773717935ef6", "sha256": "7a0ef09443d1e3f66b112af8de3c021bdacb72f925c851b48b7dda69095fbe5a" }, "downloads": -1, "filename": "copysc-0.3.2.tar.gz", "has_sig": false, "md5_digest": "3da93a9267b4be4fd212773717935ef6", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4086, "upload_time": "2016-03-22T20:44:48", "url": "https://files.pythonhosted.org/packages/53/44/f1010fd4cfd83757a59fca902ae28fc489d67d1ed11a0f39b378a9fdffba/copysc-0.3.2.tar.gz" } ], "0.3.3": [ { "comment_text": "", "digests": { "md5": "c240036a98abb23d78ee873a9ba222bb", "sha256": "b63c3e674bc0d08ec614aa85e1c2e658f27ca922b1be3b740f287d6e9acbb0f6" }, "downloads": -1, "filename": "copysc-0.3.3-py3-none-any.whl", "has_sig": false, "md5_digest": "c240036a98abb23d78ee873a9ba222bb", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 7244, "upload_time": "2016-04-08T21:28:48", "url": "https://files.pythonhosted.org/packages/01/5d/501465696c88288404fb49a5488e1d91473b8b730164643ad4def4c9b024/copysc-0.3.3-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "8dbecb6aad614d4a6c470c5da8e49582", "sha256": "f89db159fd1c2a0422025c3c254e2ecd7d4f166183ae431b3033f4981401f59c" }, "downloads": -1, "filename": "copysc-0.3.3.tar.gz", "has_sig": false, "md5_digest": "8dbecb6aad614d4a6c470c5da8e49582", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5039, "upload_time": "2016-04-08T21:29:19", "url": "https://files.pythonhosted.org/packages/41/7c/812685ce684531e9baaaf3506aa15269461a3cbd4bbd5d4c64386b8e216c/copysc-0.3.3.tar.gz" } ], "0.3.4": [ { "comment_text": "", "digests": { "md5": "220bd9e359d156dbd9ddc15c29eac65b", "sha256": "0282d8222b3571469ee32c1c183dfb40ce0728237abc1e50dd920fefe14414e7" }, "downloads": -1, "filename": "copysc-0.3.4-py3-none-any.whl", "has_sig": false, "md5_digest": "220bd9e359d156dbd9ddc15c29eac65b", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 7276, "upload_time": "2016-04-16T03:21:24", "url": "https://files.pythonhosted.org/packages/60/b1/266461635b37fbf978a37f2c905a54aec4a435ce07bc33616dc6f1ca4ef0/copysc-0.3.4-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "e8ec5cdd60061fd45cfe5b088a52f198", "sha256": "e158c28da3104ffc0b0b21c77159626dba4dfb463ade79faebcee1e496dccb75" }, "downloads": -1, "filename": "copysc-0.3.4.tar.gz", "has_sig": false, "md5_digest": "e8ec5cdd60061fd45cfe5b088a52f198", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5068, "upload_time": "2016-04-16T03:21:32", "url": "https://files.pythonhosted.org/packages/c6/74/e96a1ce76b9573a80bfc380b57b0d1fe58cc68f5d73f642c180418c30a70/copysc-0.3.4.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "220bd9e359d156dbd9ddc15c29eac65b", "sha256": "0282d8222b3571469ee32c1c183dfb40ce0728237abc1e50dd920fefe14414e7" }, "downloads": -1, "filename": "copysc-0.3.4-py3-none-any.whl", "has_sig": false, "md5_digest": "220bd9e359d156dbd9ddc15c29eac65b", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 7276, "upload_time": "2016-04-16T03:21:24", "url": "https://files.pythonhosted.org/packages/60/b1/266461635b37fbf978a37f2c905a54aec4a435ce07bc33616dc6f1ca4ef0/copysc-0.3.4-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "e8ec5cdd60061fd45cfe5b088a52f198", "sha256": "e158c28da3104ffc0b0b21c77159626dba4dfb463ade79faebcee1e496dccb75" }, "downloads": -1, "filename": "copysc-0.3.4.tar.gz", "has_sig": false, "md5_digest": "e8ec5cdd60061fd45cfe5b088a52f198", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5068, "upload_time": "2016-04-16T03:21:32", "url": "https://files.pythonhosted.org/packages/c6/74/e96a1ce76b9573a80bfc380b57b0d1fe58cc68f5d73f642c180418c30a70/copysc-0.3.4.tar.gz" } ] }