Skip to main content

BBY Cell Extension

Project description

ipybbycell

Build Status codecov

BBY Cell Extension

Installation

You can install using pip :

git clone git@github.com:boyuai/ipybbycell.git
cd ipybbycell
pip install ".[test, examples]"

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] ipybbycell

Development Installation

Create a dev environment:

git clone git@github.com:boyuai/ipybbycell.git
cd ipybbycell
python3 -m venv venv
source venv/bin/activate

Install the python. This will also build the TS package.

pip install -e ".[test, examples]"

When developing your extensions, you need to manually enable your extensions with the notebook / lab frontend.

For classic notebook, you need to run:

jupyter nbextension install --sys-prefix --overwrite --py ipybbycell
# jupyter nbextension install --sys-prefix --symlink --overwrite --py ipybbycell
jupyter nbextension enable --sys-prefix --py ipybbycell

Note that the --symlink flag doesn't work on Windows, so you will here have to run the install command every time that you rebuild your extension. For certain installations you might also need another flag instead of --sys-prefix , but we won't cover the meaning of those flags here.

How to see your changes

Typescript:

# Watch the source directory in one terminal, automatically rebuilding when needed
yarn run watch
# Run Jupyter Notebook in another terminal
jupyter notebook

After a change wait for the build to finish and then refresh your browser and the changes should take effect.

Python:

If you make a change to the python code then you will need to restart the notebook kernel to have it take effect.

Releasing your initial packages:

  • Add tests
  • Ensure tests pass locally and on CI. Check that the coverage is reasonable.
  • Make a release commit, where you remove the , 'dev' entry in _version.py.
  • Bundle the python package: python setup.py sdist bdist_wheel
  • Publish the package to PyPI:
  python setup.py sdist bdist_wheel
  pip install twine
  twine upload dist/ipybbycell*

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

ipybbycell-0.3.25.tar.gz (365.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

ipybbycell-0.3.25-py2.py3-none-any.whl (935.2 kB view details)

Uploaded Python 2Python 3

File details

Details for the file ipybbycell-0.3.25.tar.gz.

File metadata

  • Download URL: ipybbycell-0.3.25.tar.gz
  • Upload date:
  • Size: 365.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.3 readme-renderer/34.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.13 tqdm/4.64.0 importlib-metadata/4.8.3 keyring/23.4.1 rfc3986/1.5.0 colorama/0.4.5 CPython/3.6.8

File hashes

Hashes for ipybbycell-0.3.25.tar.gz
Algorithm Hash digest
SHA256 eb1b0707aa4bef73003e20916cd2bc844e2ece1445cd09b9291ff908731062b7
MD5 d6e4b59815272b8b3b03d2c16059c328
BLAKE2b-256 4084b849aa5c960cd75d6b4b77ec8c4fe2336eaf36cf87fb8b83fff46f77a11e

See more details on using hashes here.

File details

Details for the file ipybbycell-0.3.25-py2.py3-none-any.whl.

File metadata

  • Download URL: ipybbycell-0.3.25-py2.py3-none-any.whl
  • Upload date:
  • Size: 935.2 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.3 readme-renderer/34.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.13 tqdm/4.64.0 importlib-metadata/4.8.3 keyring/23.4.1 rfc3986/1.5.0 colorama/0.4.5 CPython/3.6.8

File hashes

Hashes for ipybbycell-0.3.25-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 055f58fbb4d8686f1d85efbe153dbcad4e8b4207e4e60f83442ea20d8f752400
MD5 7e19bd93e7ab713aa004836d9683c9cb
BLAKE2b-256 cc36b9aec8cad397ca36f827efab9848f5113aacabc1b60e3ed9b70b65c88903

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page