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.2.tar.gz (89.1 kB view details)

Uploaded Source

Built Distribution

pygclip-0.0.2-py2.py3-none-any.whl (6.9 kB view details)

Uploaded Python 2Python 3

File details

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

File metadata

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

File hashes

Hashes for pygclip-0.0.2.tar.gz
Algorithm Hash digest
SHA256 b2bef97afb83af4f4284251e69446f24a3b3df4e6f5f671b939383401895083f
MD5 67cf28b320535b076f60cee54f5a4d26
BLAKE2b-256 1717091d32c17d45f566f899d865c6725bf4be36d91bb91502fa61136b78cbf6

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pygclip-0.0.2-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 b6fb6004aca41c1116ecf9cff06f6dfa766ffa09d1e3eb9290fc020f264cf572
MD5 e81cea3e4b79a565f6f62e69b2afe481
BLAKE2b-256 0c69d076c78253e7e1579f1c448bfbf91f4c5c9d68d912d05bd98178f282de7a

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