ipyquiz
v0.5.2
Published
A Custom Jupyter Widget Library
Maintainers
Readme
ipyquiz
A Custom Jupyter Widget Library
Installation
You can install using pip:
pip install ipyquizOr if you use jupyterlab:
pip install ipyquiz
jupyter labextension install @jupyter-widgets/jupyterlab-managerIf you are using Jupyter Notebook 5.2 or earlier, you may also need to enable the nbextension:
jupyter nbextension enable --py [--sys-prefix|--user|--system] ipyquizDevelopment
docker run --rm -it -p 8888:8888 -v $(pwd):/home/jovyan jupyter/minimal-notebook bashpip install -e ".[test, examples]"
jupyter nbextension install --sys-prefix --symlink --overwrite --py ipyquiz
jupyter nbextension enable --sys-prefix --py ipyquiz
jupyter notebookPublish
python部分
python setup.py sdist bdist_wheel
pip install twine
twine upload dist/ipyquiz-*npm部分
去掉antd和react的依赖,防止和本来项目冲突
css/widget.css
删除:
@import '~antd/dist/antd.css';package.json
删除:
"antd": "^4.2.0",
"react": "^16.13.1",
"react-dom": "^16.13.1"