Skip to main content
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

Release files for pygclip 0.0.3

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

Source distribution (sdist)

Source distribution for pygclip 0.0.3
File Size Uploaded
pygclip-0.0.3.tar.gz 89.2 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for pygclip 0.0.3
File Interpreter ABI Platform
pygclip-0.0.3-py2.py3-none-any.whl Python 3, Python 2 none any Details

Total release size: 96.3 kB

Release files / pygclip-0.0.3.tar.gz

Download URL pygclip-0.0.3.tar.gz
Size 89.2 kB
Tags Source
SHA-256 checksum
How to use checksums
682937cc1a42e0c7b5a3275e9bfb5e91ed1d2290364503c925e39357a119a2e6
BLAKE2b-256 checksum
How to use checksums
855f529573428a9c2e676f4b9e36fb2ca080a26057e91df25177904dfac978f9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / pygclip-0.0.3-py2.py3-none-any.whl

Download URL pygclip-0.0.3-py2.py3-none-any.whl
Size 7.1 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
900197312d7aec7ccfdf47f08679db9669a216de2882c20282e4052004e4b65b
BLAKE2b-256 checksum
How to use checksums
6af4220c7f5297e8dbc5d536b11a883fa6c1bf90cb4a31d38189c40321094c0c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

0.0.8

2 release files

0.0.7

2 release files

0.0.6

2 release files

0.0.5

2 release files

0.0.4

2 release files

This release

0.0.3 This release

2 release files

0.0.2

2 release files

0.0.1

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