ColabKit is a Python library designed to enhance the experience of working in Google Colab environments. With ColabKit, you can simplify common tasks, manipulate media, record audio, and create interactive widgets more efficiently.
You can easily install ColabKit using pip
. Open a terminal and run:
pip install ColabKit
You can see the tests carried out on the library in Google Colab through this link
- Media Manipulation: Visualize and edit video and audio files directly in your notebook.
- Audio Recording: Record real-time audio through your browser with a simple function.
- Interactive Widgets: Create interactive buttons in the notebook to execute custom code.
- System Utilities: Simplify common tasks, such as file deletion and file existence checks.
from ColabKit.media import showMedia
# Display a video file
showMedia('video.mp4', 'video')
from ColabKit.record import record
# Record audio and save the result to a WAV file
record('recording.wav')
from ColabKit.widget import button
# Create an interactive button
def my_function():
print("You clicked the button!")
button("Click Me", "Click to execute my_function", "success", my_function)
For more information and detailed documentation, visit the ColabKit repository on GitHub.
We appreciate contributions! If you wish to contribute or report issues, visit our GitHub repository.
This project is under the MIT License. See the LICENSE file for more details.