Jupyter-cpp-kernel

Latest version: v1.0.0a8

Safety actively analyzes 682244 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 1 of 2

1.0.0a8

**Full Changelog**: https://github.com/shiroinekotfs/jupyter-cpp-kernel/compare/1.0.0a7...1.0.0a8

TL;DR

What's new?

In this version, there are plenty of updates in security, performance, and features:

Removed features & Solved bugs

* Removed `magics` features. That means you cannot use external magic to manipulate the `g++` compiling process
* Solved 29
* Solved `getline()` capture error when using it with `ifstream`. That makes the file I/O much easier

New features & Modifications

* `jdisplay` is now `_Jupyter_Display`. It creates less confusion and extends the compatibility of the kernel
* `algorithm` and `iomanip` are now in the default header list. No longer need to use `include` with these libraries.
* More display methods in 33 are now supported. You can view these in [this documentation](https://github.com/shiroinekotfs/jupyter-cpp-kernel-doc)
* New logo

![image](https://github.com/shiroinekotfs/jupyter-cpp-kernel/assets/115929530/d8ff18f3-ac45-4134-a08b-9fbc2bed87ed)

Requirements (pre-install)

Windows

You have to install [GNU Compiler Collection for Windows](https://github.com/shiroinekotfs/jupyter-cpp-kernel/blob/master/INSTALL_ON_WINDOWS.md) before doing any additional installation

Linux/macOS

You have to install GNU Compiler Collection that is compatible with your OS. You may need to go search for yourself.

How to install/upgrade?

Windows

cmd
python -m pip install --upgrade jupyter-cpp-kernel


Linux/macOS

shell
sudo pip install --upgrade jupyter-cpp-kernel
Or
pip install --upgrade jupyter-cpp-kernel


What's Changed
* Update to version 1.0.0a8 by shiroinekotfs in https://github.com/shiroinekotfs/jupyter-cpp-kernel/pull/34

1.0.0a7

What's Changed

* Update version 1.0.0a7 by shiroinekotfs in https://github.com/shiroinekotfs/jupyter-cpp-kernel/pull/25

**Full Changelog**: https://github.com/shiroinekotfs/jupyter-cpp-kernel/compare/1.0.0a6...1.0.0a7

TL;DR

What's new?

* Update version 1.0.0a7 by shiroinekotfs in https://github.com/shiroinekotfs/jupyter-cpp-kernel/pull/25

Requirements (pre-install)

Windows

You have to install [GNU Compiler Collection for Windows](https://github.com/takinekotfs/jupyter-cpp-kernel/blob/master/INSTALL_ON_WINDOWS.md) before doing any additional installation

Linux/macOS

You have to install GNU Compiler Collection that is compatible with your OS. You may need to go search for yourself.

How to install/upgrade?

Windows

cmd
python -m pip install --upgrade jupyter-cpp-kernel


Linux/macOS

shell
sudo pip install --upgrade jupyter-cpp-kernel
Or
pip install --upgrade jupyter-cpp-kernel

1.0.0a6

By created PRs

* [Version 1.0.0a6 - Bug fixes and improvements by](https://github.com/shiroinekotfs/jupyter-cpp-kernel/pull/22) shiroinekotfs

**Full Changelog**: https://github.com/shiroinekotfs/jupyter-cpp-kernel/compare/1.0.0a5...1.0.0a6

TL;DR

What's new?

1. C++ w/ multi-threading (in 21)
2. `text/markdown` bug with multiple lines in C++ (in 18)
3. `application/pdf` in displaying PDF files (both local and PDF over the Internet)
4. Removed unnecessary Python modules
5. Update math and metric prefix

Requirements (pre-install)

Windows

You have to install [GNU Compiler Collection for Windows](https://github.com/takinekotfs/jupyter-cpp-kernel/blob/master/INSTALL_ON_WINDOWS.md) before doing any additional installation

Linux/macOS

You have to install GNU Compiler Collection that is compatible with your OS. You may need to go search for yourself.

How to install/upgrade?

Windows

cmd
python -m pip install --upgrade jupyter-cpp-kernel


Linux/macOS

shell
sudo pip install --upgrade jupyter-cpp-kernel
Or
pip install --upgrade jupyter-cpp-kernel

1.0.0a5

By created PRs
* Reduce compile time by shiroinekotfs in https://github.com/shiroinekotfs/jupyter-cpp-kernel/pull/9
* solve issue 13 by shiroinekotfs in https://github.com/shiroinekotfs/jupyter-cpp-kernel/pull/15
* External header for Jupyter C++ header by shiroinekotfs in https://github.com/shiroinekotfs/jupyter-cpp-kernel/pull/16


**Full Changelog**: https://github.com/shiroinekotfs/jupyter-cpp-kernel/compare/1.0.0a4...1.0.0a5

TL;DR

From now on, takinekotfs is no longer active since she gave away his GitHub account and moved to the dark web.

That means shiroinekotfs will take control of this project, leaving takinekotfs behind.

What's new?

1. The new C++ kernel has fixed the ReDoS security error raised in 13
2. Removed unnecessary headers, minimal the number of attack interfaces.
3. From version 1.0.0a5, this kernel supports external headers from non-inbound source.
That means you can create your own C++ header [using this template](https://github.com/shiroinekotfs/jupyter-cpp-header-template), then publish it to the PyPI to let anyone install it (Yes, installing C++ header from PyPI is crazy, but it exists).

Requirements (pre-install)

Windows

You have to install [GNU Compiler Collection for Windows](https://github.com/takinekotfs/jupyter-cpp-kernel/blob/master/INSTALL_ON_WINDOWS.md) before doing any additional installation

Linux/macOS

You have to install GNU Compiler Collection that is compatible with your OS. You may need to go search for yourself.

How to install/upgrade?

Windows

cmd
python -m pip install --upgrade jupyter-cpp-kernel


Linux/macOS

shell
sudo pip install --upgrade jupyter-cpp-kernel
Or
pip install --upgrade jupyter-cpp-kernel

1.0.0a4

Not secure
**Full Changelog**: https://github.com/takinekotfs/jupyter-cpp-kernel/compare/1.0.0a3...1.0.0a4

TL;DR

What's new?

1. Compiling on Windows is now **NO LONGER** separate from the macOS/Linux compiling method
2. C++ kernel for Jupyter is now widely supported on beauty outputs, using `text/markdown` as the default result output
* This doesn't mean that the execution errors are displayed in `text/markdown`. This method is only used for successful execution.
* Ignored all compiling warnings. This is unnecessary.
* Changed package name in local Python3 site packages to `jupyter-cpp-kernel`
* Full credits supported. In the kernel start-up, you'll see this message
* Help links are now accessible from the Help header (in both Jupyter Notebook and Jupyter Lab)
3. User input/output
* User now can use `cin` and `getline` to input the variable.
* As mentioned earlier, the result now uses `text/markdown` for the beauty outputs. You can also use the pre-defined output C++ header for Jupyter (I called it the `Jupyter Display Handler`) to replace the Markdown displayed method, including `IFrame`, `Audio`, `CodeString`, `Image`, `PDF`, `Video`, and `YouTube` player. You can see it [here](https://github.com/takinekotfs/jupyter-cpp-kernel/blob/master/jupyter-cpp-kernel/resources/output/jdisplay.hpp). You can see how I use the beauty outputs for playing a YouTube video.

![image](https://github.com/takinekotfs/jupyter-cpp-kernel/assets/115929530/69cd651f-fa1d-4422-aab4-f68e2d06204f)


4. From now on, extended C++ headers are supported. [See the list of headers that are already implemented into your code.](https://github.com/takinekotfs/jupyter-cpp-kernel/blob/master/jupyter-cpp-kernel/resources/gcpph.hpp)


Solved old bugs

Solved typo errors that made display mistakes in the [version 1.0.0a3](https://github.com/takinekotfs/jupyter-cpp-kernel/releases/tag/1.0.0a3)

Requirements (pre-install)

Windows

You have to install [GNU Compiler Collection for Windows](https://github.com/takinekotfs/jupyter-cpp-kernel/blob/master/INSTALL_ON_WINDOWS.md) before doing any additional installation

Linux/macOS

You have to install GNU Compiler Collection that is compatible with your OS. You may need to go search for yourself.

How to install/upgrade?

Windows

cmd
python -m pip install --upgrade jupyter-cpp-kernel


Linux/macOS

shell
sudo pip install --upgrade jupyter-cpp-kernel
Or
pip install --upgrade jupyter-cpp-kernel

1.0.0a3

Not secure
Full change log: https://github.com/takinekotfs/jupyter-cpp-kernel/commit/a43b0e19d9c5bba2144adb9518d3696775aae870

What's new?

* C++ kernel for Jupyter supports Windows
* Remove `install_cpp_jupyter`. From now on, the kernel specification will install automatically
* Added C++ logo for Jupyter

Solved old bugs

The version [1.0.0a2](https://github.com/takinekotfs/jupyter-cpp-kernel/releases/tag/1.0.0a2) is the perfect one.

However, this release doesn't support Windows, so this release solve that.

Requirement for Windows

You have to install [GNU Compiler Collection for Windows](https://github.com/takinekotfs/jupyter-cpp-kernel/releases/tag/gcc-13.2.0) before doing any additional installation

How to install/upgrade this release?

On PyPI, using `--upgrade`

shell
sudo pip install --upgrade jupyter-cpp-kernel
Or
pip install --upgrade jupyter-cpp-kernel

install_cpp_kernel --user


On Windows, for the first time

cmd
python -m pip install jupyter-cpp-kernel

Page 1 of 2

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.