Skip to main content

🚀 NotebookFusion

PyPI version Python versions License

NotebookFusion makes it easy to embed live websites and YouTube videos directly inside Jupyter Notebook, JupyterLab, Google Colab, and VS Code notebook outputs.

No more switching browser tabs while coding — keep documentation, tutorials, dashboards, and media next to your notebook cells.


✨ Features

  • Website Rendering — Display live HTTPS websites inside notebook output cells using IFrame
  • YouTube Embedding — Automatically embed YouTube videos from standard YouTube URLs
  • Customizable Viewport — Control width and height for both website and video embeds
  • Lightweight — Minimal dependencies using IPython display utilities
  • Notebook Friendly — Works with Jupyter Notebook, JupyterLab, Google Colab, and VS Code Notebook

📦 Installation

pip install NotebookFusion

For development:

pip install -r requirements_dev.txt

🚀 Quick Start

Embed a YouTube Video

from NotebookFusion.youtube import render_youtube_video

render_youtube_video("https://www.youtube.com/watch?v=h25pePMdoPA&t=712s")

Render a Website

from NotebookFusion.site import render_site

render_site("https://www.python.org")

⚙️ Advanced Usage

Custom Website Size

from NotebookFusion.site import render_site

render_site(
    "https://www.python.org",
    width="100%",
    height="600"
)

Custom YouTube Size

from NotebookFusion.youtube import render_youtube_video

render_youtube_video(
    "https://www.youtube.com/watch?v=h25pePMdoPA",
    width=900,
    height=500
)

📚 Module Summary

  • NotebookFusion.site.render_site(URL, width='100%', height='600')
  • NotebookFusion.youtube.render_youtube_video(url, width=780, height=440)

🧠 Why NotebookFusion?

  • Read documentation and tutorials inside notebooks
  • Watch tutorials without leaving your code environment
  • Embed dashboards and live websites for demos and teaching
  • Improve interactive learning workflows

🖥️ Supported Platforms

Platform Supported
Jupyter Notebook
JupyterLab
Google Colab
VS Code Notebook

📂 Project Structure

NotebookFusion/
├── LICENSE
├── README.md
├── requirements.txt
├── requirements_dev.txt
├── setup.py
├── pyproject.toml
└── src/
    └── NotebookFusion/
        ├── __init__.py
        ├── custom_exception.py
        ├── logger.py
        ├── site.py
        └── youtube.py

🛠️ Development Setup

git clone https://github.com/foysalpranto121/NotebookFusion.git
cd NotebookFusion

conda create -n notebookfusion_env python=3.10 -y
conda activate notebookfusion_env

pip install -r requirements_dev.txt

🤝 Contributing

  1. Fork the repository
  2. Create a new branch
  3. Commit your changes
  4. Open a Pull Request

📄 License

MIT License


⭐ Support

If you like this project, give it a ⭐ on GitHub!

Release files for NotebookFusion 0.0.3

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

Source distribution (sdist)

Source distribution for NotebookFusion 0.0.3
File Size Uploaded
notebookfusion-0.0.3.tar.gz 9.4 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for NotebookFusion 0.0.3
File Interpreter ABI Platform
notebookfusion-0.0.3-py3-none-any.whl Python 3 none any Details

Total release size: 19.1 kB

Release files / notebookfusion-0.0.3.tar.gz

Download URL notebookfusion-0.0.3.tar.gz
Size 9.4 kB
Tags Source
SHA-256 checksum
How to use checksums
482400f9aff0bfaf1b13936a1cd3ca383513000f553c2480afc619170c05907a
BLAKE2b-256 checksum
How to use checksums
74754ef6c6f94ef453fb84a47b4c626c8fdca8d51f2e7c5ba19d1de924b46470
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.12

Release files / notebookfusion-0.0.3-py3-none-any.whl

Download URL notebookfusion-0.0.3-py3-none-any.whl
Size 9.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
12e790b7d3c11fd79fc13d92803f39e3e02deb2c6705ebc9db6011bee82b51fd
BLAKE2b-256 checksum
How to use checksums
07dd66c419839fcffd28fcdf5123891a7d6533619f99d2fee6ce9585bae2d303
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.12

Release history Release notifications | RSS feed

This release

0.0.3 This release

2 release files

0.0.1

2 release files

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