Welcome. We are so happy that you want to contribute.
Below we describe how to install and use this project for development.
git clone https://github.com/marcskovmadsen/awesome-panel-extensions
cd awesome-panel-extensionsPlease note getting node.js might be easier with conda. See below for instructions.
You can create and activate a virtual environment with pip by running.
python -m venv .venv
source .venv/bin/activate # works on linux. Other command is nescessary for windows.You will also need to install nodejs and make it available on your PATH.
You can create and activate a virtual environment with conda by running.
conda create --name awesome-panel-extensions python=3.9 nodejs
conda activate awesome-panel-extensionsInstall the awesome-panel-extensions package for editing
pip install pip -U
pip install -e .[dev,examples]This will also install the awesome-panel-cli tool.
You can see the available commands via
pn --helpYou can run all tests via
pn test allPlease always run this command and fix any failing tests if possible before you git push.
Make sure Bokeh is up to date
cd src/awesome_panel_extensions
npm update @bokeh/bokehjs --save
npm audit fix
cd ../..Update the version number in the init.py and package.json files.
Then build the Bokeh models
panel build src/awesome_panel_extensionsFinally you can build the package
pn build packageStart by running all tests successfully
pn test allThe Build the package and run
pn release package <VERSION>to release the package 📦. To upload to Test Pypi first, you can add the --test flag.