Skip to main content

Pygmentize to clipboard for macOS.

Project description

https://travis-ci.org/brymck/pygclip.svg?branch=master

pygmentize to clipboard for macOS

This utility package is designed to send code through pygmentize and save it as rich HTML in your macOS clipboard. It can then be pasted easily anything accept styled HTML input like Evernote, OneNote, Gmail, etc.

assets/screenshot.png

Usage

pygclip offers a couple ways to receive code:

  • From a file

  • Via the standard input

  • Pulling it from your clipboard

Examples below:

File

def foo():
    return 'bar'
$ pygclip -s monokai -l python path/to/file.py

Standard input

$ pygclip -s monokai -l python
def foo():
    bar()

Clipboard

$ pygclip -s monokai -l python -c

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

pygclip-0.0.3.tar.gz (89.2 kB view details)

Uploaded Source

Built Distribution

pygclip-0.0.3-py2.py3-none-any.whl (7.1 kB view details)

Uploaded Python 2Python 3

File details

Details for the file pygclip-0.0.3.tar.gz.

File metadata

  • Download URL: pygclip-0.0.3.tar.gz
  • Upload date:
  • Size: 89.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for pygclip-0.0.3.tar.gz
Algorithm Hash digest
SHA256 682937cc1a42e0c7b5a3275e9bfb5e91ed1d2290364503c925e39357a119a2e6
MD5 5c1d58ee9b157c8c9d19bd42db46b001
BLAKE2b-256 855f529573428a9c2e676f4b9e36fb2ca080a26057e91df25177904dfac978f9

See more details on using hashes here.

File details

Details for the file pygclip-0.0.3-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for pygclip-0.0.3-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 900197312d7aec7ccfdf47f08679db9669a216de2882c20282e4052004e4b65b
MD5 2d34e93c71d21d0d2fc32cf42994e5ca
BLAKE2b-256 6af4220c7f5297e8dbc5d536b11a883fa6c1bf90cb4a31d38189c40321094c0c

See more details on using hashes here.

Supported by

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