bgipykernel - %bg in jupyter
Install using pip install bgipykernel
Add the following line to your ipython_kernel_config.py file:
c.IPKernelApp.kernel_class = 'bgipykernel.NoAsyncLockBgIPythonKernel'
if you can't find your config file, run ipython profile locate.
features
Move running cells to the background by running %bg
Kill background cells using %kill
See what cells are running in the background using %jobs
Run multiple cells with await concurrently
available configurations
- If you just want to use
awaitin multiple cells concurrently, usebgipykernel.NoAsyncLockIPythonKernel - If you just want
%bg, usebgipykernel.BgIPythonKernel` - If oyu want both, use
bgipykernel.NoAsyncLockBgIPythonKernel
trouble
When using a %bg variant (i.e. BgIPythonKernel or NoAsyncLockBgIPythonKernel), interrupting the kernel can only happen at the byte code level, meaning functions like time.sleep don't get interrupted.
Metadata
Release files for bgipykernel 0.1.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| bgipykernel-0.1.1.tar.gz | 4.4 kB | Without provenance | Details for bgipykernel-0.1.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| bgipykernel-0.1.1-py3-none-any.whl | Python 3 | none | any | Details for bgipykernel-0.1.1-py3-none-any.whl |
Total release size: 9.4 kB
Release files / bgipykernel-0.1.1.tar.gz
| Download URL | bgipykernel-0.1.1.tar.gz |
|---|---|
| Size | 4.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
9a760a10cd5bea286efe0265561c8de137deef2b5c857f714c9c096223a901f2
|
|
BLAKE2b-256 checksum How to use checksums |
416e04a700b232c1c9f219f7d1fcfc6913a6065abec3e1fb009f12dc2860564b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.13.1
|
Release files / bgipykernel-0.1.1-py3-none-any.whl
| Download URL | bgipykernel-0.1.1-py3-none-any.whl |
|---|---|
| Size | 5.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
2c398951c2bc20e976df766008e5e4f5ce8a02264ab451d795685925f547de21
|
|
BLAKE2b-256 checksum How to use checksums |
85075c72e2b65e6805c55d64b3df3cdfba868da9b89b1c858c45f4620ca3a747
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.13.1
|
Security for bgipykernel 0.1.1
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.