You're Invited: Meet the Socket team at BSidesSF and RSAC - April 27 - May 1.RSVP

jupyter-browser-clipboard

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

jupyter-browser-clipboard

Copy text to OS clipboard when using Jupyter remotely

0.1.2
Maintainers
1

jupyter_browser_clipboard

Copy text to OS clipboard when using Jupyter remotely. This uses the web browser's own clipboard via Javascript.

Originally a gist on github but got tired of copy pasting it into each notebooks.

Installation

$ pip install jupyter_browser_clipboard

Or, alternatively,

$ pip install git+https://github.com/bsdz/jupyter_browser_clipboard.git#main

Usage

>>> from jupyter_browser_clipboard import BrowserClipboard
>>> df = pd.DataFrame(data=[1,2,3,5,6, 101])
>>> BrowserClipboard(df.to_csv(sep="\t"))
Copying text to browser's clipboard.. success!

FAQs

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts