Dot Kernel
The dot kernel for jupyter!
There is an awesome dot language tutorial in Chinese: learn-dot.
Install
You should have graphviz first.
- Install by brew:
brew install graphviz. - or
sudo apt-get install graphvizfor ubuntu
Then,
pip install dot_kernel
Add kernel to your jupyter:
install-dot-kernel
ALL DONE! 🎉🎉🎉
Run using:
jupyter notebook
Select new -> dot
and try run this:
// The graph name and the semicolons are optional
graph graphname {
a -- b -- c;
b -- d;
}
You will see:
Running in Docker
A container based on jupyter/datascience named garo/jupyter-dot is available on Docker Hub.
If you have docker you can run it as you would any other jupyter container without having to install anything.
A quick example: docker run -d -rm -p 8888:8888 garo/jupyter-dot
TODO
- update this.
- add more render tools not just
dot - add more filetype support not just
png - auto indent
Metadata
Release files for dot-kernel 0.1.9
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| dot_kernel-0.1.9.tar.gz | 4.1 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| dot_kernel-0.1.9-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 9.2 kB
Release files / dot_kernel-0.1.9.tar.gz
| Download URL | dot_kernel-0.1.9.tar.gz |
|---|---|
| Size | 4.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
fb988481c96aaad7942d5dafd9018181323f332fc7a2aebc48cfac4354d9abe1
|
|
BLAKE2b-256 checksum How to use checksums |
e4ea1494cf7a1f2e25bd320fbb8c279996c894926bb610e4a8320306cad9523a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.13.5
|
Release files / dot_kernel-0.1.9-py3-none-any.whl
| Download URL | dot_kernel-0.1.9-py3-none-any.whl |
|---|---|
| Size | 5.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
9cf3ca5976daa795b687d1c67a8efdb4cd323821ea05e8689504bd0f75b6fcc9
|
|
BLAKE2b-256 checksum How to use checksums |
b3548f8bacc9fea9f9457efc42edf4c1720ff817f468788051e180584a3a8c68
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.13.5
|