0.5.2 • Published 4 years ago

ipyquiz v0.5.2

Weekly downloads
1
License
BSD-3-Clause
Repository
github
Last release
4 years ago

ipyquiz

Build Status codecov

A Custom Jupyter Widget Library

Installation

You can install using pip:

pip install ipyquiz

Or if you use jupyterlab:

pip install ipyquiz
jupyter labextension install @jupyter-widgets/jupyterlab-manager

If 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] ipyquiz

Development

docker run --rm -it -p 8888:8888 -v $(pwd):/home/jovyan jupyter/minimal-notebook bash
pip install -e ".[test, examples]"
jupyter nbextension install --sys-prefix --symlink --overwrite --py ipyquiz
jupyter nbextension enable --sys-prefix --py ipyquiz
jupyter notebook

http://localhost:8888

Publish

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"
0.5.2

4 years ago

0.5.1

4 years ago

0.5.0

4 years ago

0.4.6

4 years ago

0.4.5

4 years ago

0.4.1

4 years ago

0.3.0

4 years ago

0.2.1

4 years ago

0.2.0

4 years ago

0.1.1

4 years ago

0.1.0

4 years ago