Copy text to OS clipboard when using Jupyter remotely
Project description
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!
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Close
Hashes for jupyter_browser_clipboard-0.1.1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8d958d81a15bc7cf0ba26d7c785cf6889178e0158c9c246d03c1fa464a1b23dc |
|
MD5 | 27a8bd48c989bfd98673925784b617f0 |
|
BLAKE2b-256 | 17aa3401f12c40a61b6b79ee7eb2f51146ec86bd107e33905f9993d8eaeee68d |
Close
Hashes for jupyter_browser_clipboard-0.1.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5b89acc392a2db899668b90686b669aa862df41b55ac01973f3eb5e5d01a0016 |
|
MD5 | 462c912e0ed8bd682d1f76fbf4c55995 |
|
BLAKE2b-256 | e1a43fa62f7f941646038c6478e386b206670418d801d1bc515e6ab04b488f35 |