Skip to main content

LinkInCell 🔗

PyPI version Python Versions License

LinkInCell is a lightweight PyPI package that brings the web to your Jupyter environment. It allows you to seamlessly render fully interactive websites and embedded YouTube videos directly inside your .ipynb notebook cells.


✨ Features

  • Render Any Website: Display live, interactive web pages within an iframe in your notebook.
  • YouTube Integration: Native support for embedding and playing YouTube videos without leaving your workflow.
  • Lightweight & Fast: Minimal dependencies, designed specifically for Jupyter environments.
  • Customizable: Adjust the width and height of the rendering area to fit your screen perfectly.

📦 Installation

You can install LinkInCell directly from PyPI using pip:

pip install LinkInCell
from LinkInCell.youtube import render_youtube

render_youtube("https://www.youtube.com/watch?v=qJACTDMfBvc&pp=0gcJCUELAYcqIYzv")
from LinkInCell.web import render_web

render_web("https://pytorch.org/")

How to install this package in your system

conda create -n LinkInCell_env python=3.8 -y
conda activate LinkInCell_env
pip install -r requirements_dev.txt

🚀 Usage

Using LinkInCell is incredibly simple. Import the package and pass your target URL.

1. Rendering a Website

from LinkInCell.web import render_web

# Render a full webpage inside your notebook cell
render_web("https://pandas.pydata.org/", width="100%", height="500px")

2. Rendering a YouTube Video

from LinkInCell.youtube import render_youtube

# Pass the standard YouTube URL or the video ID
render_youtube("https://www.youtube.com/watch?v=dQw4w9WgXcQ", width=800, height=450)

🛠️ Requirements

  • Python 3.8+
  • Jupyter Notebook or JupyterLab
  • IPython (Usually comes pre-installed with Jupyter)

🤝 Contributing

Contributions, issues, and feature requests are welcome! Since open-source collaboration thrives on shared knowledge, feel free to check the issues page if you want to contribute.

  1. Fork the Project
  2. Create your Feature Branch (git checkout -b feature/AmazingFeature)
  3. Commit your Changes (git commit -m 'Add some AmazingFeature')
  4. Push to the Branch (git push origin feature/AmazingFeature)
  5. Open a Pull Request

📄 License

Distributed under the Apache License 2.0. See LICENSE for more information.


Built for the community, by the community.

Release files for LinkInCell 1.0.0

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

Source distribution (sdist)

Source distribution for LinkInCell 1.0.0
File Size Uploaded
linkincell-1.0.0.tar.gz 8.3 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for LinkInCell 1.0.0
File Interpreter ABI Platform
linkincell-1.0.0-py3-none-any.whl Python 3 none any Details

Total release size: 17.1 kB

Release files / linkincell-1.0.0.tar.gz

Download URL linkincell-1.0.0.tar.gz
Size 8.3 kB
Tags Source
SHA-256 checksum
How to use checksums
6cf4234365a1fb3f9bcb7eecf7c896a5f40ccd0c64492e698c6acb4786161beb
BLAKE2b-256 checksum
How to use checksums
bbdfdcb16d307e39773a7d7a929d2f2594643090cb02816660471f9d426b6a3f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.9.25

Release files / linkincell-1.0.0-py3-none-any.whl

Download URL linkincell-1.0.0-py3-none-any.whl
Size 8.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
eb9b0fc6e6cb813ce63e436bbe7241b7172479cb976f872ed76fea5412f1734b
BLAKE2b-256 checksum
How to use checksums
e134e5d5989b1ac02d4bebdbd3b4caeb2d6877ad5fa748e4c76785e771a81d3b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.9.25

Release history Release notifications | RSS feed

This release

1.0.0 This release

2 release files

0.0.4

2 release files

0.0.2

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