Skip to main content

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 --symlink --overwrite --py ipybbycell-extension
jupyter nbextension enable --sys-prefix --py ipybbycell-extension

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-extension*

Release files for ipybbycell-extension 0.3.14

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for ipybbycell-extension 0.3.14
File Size Uploaded
ipybbycell-extension-0.3.14.tar.gz 667.7 kB Details

Release files / ipybbycell-extension-0.3.14.tar.gz

Download URL ipybbycell-extension-0.3.14.tar.gz
Size 667.7 kB
Tags Source
SHA-256 checksum
How to use checksums
9463903724e67f9d35bbf60558a0dfbd34fd442c1aeef9b3395200374f2437b3
BLAKE2b-256 checksum
How to use checksums
ad4df9993bf96cd10d5e30d06a5dcaf4fdd7a4e9df188c4c9abd3ec21f258c92
Upload date
Uploaded using Trusted Publishing?
What is 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

Release history Release notifications | RSS feed

This release

0.3.14 This release

1 release file

0.3.13

1 release file

0.3.12

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page