
Security News
MCP Community Begins Work on Official MCP Metaregistry
The MCP community is launching an official registry to standardize AI tool discovery and let agents dynamically find and install MCP servers.
Extends HoloViz Panel with functionality to copy to and paste from the clipboard
Extends HoloViz Panel with copy-paste functionality.
Copy-paste to and from your data apps as well as external applications like Excel.
CopyButton
: Enables you to copy Python objects to the clipboard.PasteButton
: Enables you to paste strings from the clipboard.PasteToDataFrameButton
: Enables you to paste strings from the clipboard into dataframe values.This project is in its early stages, so if you find a version that suits your needs, it’s recommended to pin your version, as updates may introduce changes.
Install it via pip
:
pip install panel-copy-paste
To use the CopyButton
:
import panel as pn
from panel_copy_paste import CopyButton
pn.extension("codeeditor")
editor = pn.widgets.CodeEditor()
button = CopyButton(value="Hello World")
pn.Column(button, editor).servable()
To use the PasteButton
:
import panel as pn
from panel_copy_paste import PasteButton
pn.extension("codeeditor")
editor = pn.widgets.CodeEditor()
button = PasteButton(target=editor)
pn.Column(button, editor).servable()
To use the PasteToDataFrameButton
:
import panel as pn
from panel_copy_paste import PasteToDataFrameButton
pn.extension("tabulator")
table = pn.widgets.Tabulator()
button = PasteToDataFrameButton(target=table)
pn.Column(button, table).servable()
For more examples check out the documentation.
git clone https://github.com/awesome-panel/panel-copy-paste
cd panel-copy-paste
For a simple setup use uv
:
uv venv
source .venv/bin/activate # on linux. Similar commands for windows and osx
uv pip install -e .[dev]
pre-commit run install
pytest tests
For the full setup used by Github Actions use pixi
:
pixi run pre-commit-install
pixi run postinstall
pixi run test
This repository is based on copier-template-panel-extension. To update to the latest template version run:
pixi exec --spec copier --spec ruamel.yaml -- copier update --defaults --trust
Note: copier
will show Conflict
for files with manual changes during an update. This is normal. As long as there are no merge conflict markers, all patches applied cleanly.
Contributions are welcome! Please follow these steps to contribute:
git checkout -b feature/YourFeature
.git commit -m 'Add some feature'
.git push origin feature/YourFeature
.Please ensure your code adheres to the project's coding standards and passes all tests.
FAQs
Extends HoloViz Panel with functionality to copy to and paste from the clipboard
We found that panel-copy-paste demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
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.
Security News
The MCP community is launching an official registry to standardize AI tool discovery and let agents dynamically find and install MCP servers.
Research
Security News
Socket uncovers an npm Trojan stealing crypto wallets and BullX credentials via obfuscated code and Telegram exfiltration.
Research
Security News
Malicious npm packages posing as developer tools target macOS Cursor IDE users, stealing credentials and modifying files to gain persistent backdoor access.