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.2.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | e66103612469ec07a13dcd6f00beab7c2d4b451794b5f720e5554a09b73e0fd2 |
|
MD5 | 54cd2c28fcc79dc9ea98cf22ae8dfe1a |
|
BLAKE2b-256 | dc85855b2aef36d2eb5abdf62b005f9c861c283f2646f04efd8a2dc8b9e04979 |
Close
Hashes for jupyter_browser_clipboard-0.1.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e6a84c9ed742eb8d384bc31511ad735654be476cdce9d79cacff61c827338c51 |
|
MD5 | 1bdef7eae8c258277b53386f32f90212 |
|
BLAKE2b-256 | 58d404ad947ca43bbef1d75fb03abeca5a76c51e16668633462e0a58942aa70a |