This release is a pre-release and may not be stable for production use.
motif
Jupyter widget bindings for the motif library
Development
For a more thorough walkthrough check out the official guide: https://ipywidgets.readthedocs.io/en/latest/examples/Widget%20Custom.html
Create a new conda environment with the dependencies
To create the environment, execute the following command:
conda create -n motif -c conda-forge jupyterlab nodejs python
Then activate the environment with:
conda activate motif
Build and install the widget for development
Since the widget contains a Python part, you need to install the package in editable mode:
python -m pip install -e .
If you are using JupyterLab:
jupyter labextension develop --overwrite .
If you are using the Classic Notebook:
jupyter nbextension install --sys-prefix --symlink --overwrite --py motif_jupyter
jupyter nbextension enable --sys-prefix --py motif_jupyter
Installing the js dependencies:
npm install
To continuously monitor the project for changes and automatically trigger a rebuild, start Jupyter in watch mode:
jupyter lab --watch
And in a separate session, begin watching the source directory for changes:
npm run start
After a change wait for the build to finish and then refresh your browser and the changes should take effect.
If you make a change to the python code then you will need to restart the notebook kernel to have it take effect.
A demo notebook file can be found at examples/introduction.ipynb
Installation
You can install using pip:
pip install motif
Or if you use jupyterlab:
pip install motif
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] motif
Metadata
Release files for motif-jupyter 0.0.1b5
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| motif_jupyter-0.0.1b5-py2.py3-none-any.whl | Python 3, Python 2 | none | any | Details for motif_jupyter-0.0.1b5-py2.py3-none-any.whl |
Release files / motif_jupyter-0.0.1b5-py2.py3-none-any.whl
| Download URL | motif_jupyter-0.0.1b5-py2.py3-none-any.whl |
|---|---|
| Size | 9.5 MB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
d20f46692b3528977478191b25f5e3a544d3006c2e5bc7c3a2cf8e0fa69bb8df
|
|
BLAKE2b-256 checksum How to use checksums |
1d382436e7826ba2ff5b8e4b82fd6166c7cc1c7f48c973b7df696500c41ec2f0
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.4.1 importlib_metadata/3.7.0 pkginfo/1.7.0 requests/2.24.0 requests-toolbelt/0.9.1 tqdm/4.51.0 CPython/3.8.5
|
Security for motif-jupyter 0.0.1b5
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.