LinkInCell 🔗
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.
- Fork the Project
- Create your Feature Branch (
git checkout -b feature/AmazingFeature) - Commit your Changes (
git commit -m 'Add some AmazingFeature') - Push to the Branch (
git push origin feature/AmazingFeature) - Open a Pull Request
📄 License
Distributed under the Apache License 2.0. See LICENSE for more information.
Built for the community, by the community.
Metadata
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)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| linkincell-1.0.0.tar.gz | 8.3 kB | Without provenance | Details for linkincell-1.0.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| linkincell-1.0.0-py3-none-any.whl | Python 3 | none | any | Details for linkincell-1.0.0-py3-none-any.whl |
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
|
Security for LinkInCell 1.0.0
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.