Jupyter ClipMagic
A simple IPython/Jupyter magic extension that copies code to the clipboard.
Installation
pip install jupyter_clipmagic
Or using uv:
uv pip install jupyter_clipmagic
Usage
Load the extension in your notebook:
%load_ext jupyter_clipmagic
Copy a line to the clipboard:
%clip print("Hello, world!")
Copy a cell to the clipboard:
%%clip
for i in range(10):
print(i)
Development
Set up development environment using uv:
uv venv
uv pip install -e ".[dev]"
Run tests:
pytest
Metadata
Release files for jupyter-clipmagic 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| jupyter_clipmagic-0.1.0.tar.gz | 4.0 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| jupyter_clipmagic-0.1.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 6.2 kB
Release files / jupyter_clipmagic-0.1.0.tar.gz
| Download URL | jupyter_clipmagic-0.1.0.tar.gz |
|---|---|
| Size | 4.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
6195269f0b34a212dd2b25a6c9a10593ad98fa9672d5ec6e299dfc84cb09cf15
|
|
BLAKE2b-256 checksum How to use checksums |
f921d77298e1da5da566ed05735c87958e093e3fbad8615ddaaa50817933a675
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.13.2
|
Release files / jupyter_clipmagic-0.1.0-py3-none-any.whl
| Download URL | jupyter_clipmagic-0.1.0-py3-none-any.whl |
|---|---|
| Size | 2.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
635ebaa6ae59693a545b402958c2bce9b4ef034e2366acfa87340573062d0522
|
|
BLAKE2b-256 checksum How to use checksums |
9f2e8378103f0d3d4da0aeef75ec3d731c801c7cfe96b31b59f742f7228c2bd6
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.13.2
|