A small python package
Project description
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=h25pePMdoPA&t=712s")
from LinkInCell.web import render_web
render_web("https://www.google.com/")
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://en.wikipedia.org/wiki/Python_(programming_language)", 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.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file linkincell-0.0.4.tar.gz.
File metadata
- Download URL: linkincell-0.0.4.tar.gz
- Upload date:
- Size: 8.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.9.25
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0d7348c0f6214233a788f40e3ffa604def8c69a87f7983b76bee1e5485ba93bd
|
|
| MD5 |
44744c7462e23b7aaefebf8336d896b5
|
|
| BLAKE2b-256 |
f4fce2835dbb69d226906d9d9ef0fcedc7bc19f39f7f8f146b14fd6af74fcfcb
|
File details
Details for the file linkincell-0.0.4-py3-none-any.whl.
File metadata
- Download URL: linkincell-0.0.4-py3-none-any.whl
- Upload date:
- Size: 8.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.9.25
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8a932d06924bf6d423f05d296bc77898ae9dffedcdf9f2de26b0b348fa441682
|
|
| MD5 |
d449304036f68f3179a9a9d9332c2eb1
|
|
| BLAKE2b-256 |
e7edaafaa7bfd5a6fb7e90bfdfd0f4431a53913febffafde72101cc0e54b6e08
|