Skip to main content

ColabKit: A Python library with essential tools to streamline your work in Google Colab, including functions for managing media, recording audio, generating interactive widgets, and performing common operations in the Colab environment.

Project description

ColabKit

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.

Installation

You can easily install ColabKit using pip. Open a terminal and run:

pip install ColabKit

Test in google colab

You can see the tests carried out on the library in Google Colab through this link

Open In Colab

Key Features

  • 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.

Usage Examples

Video Display

from ColabKit.media import showMedia

# Display a video file
showMedia('video.mp4', 'video')

Audio Recording

from ColabKit.record import record

# Record audio and save the result to a WAV file
record('recording.wav')

Creating Interactive Buttons

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)

Documentation

For more information and detailed documentation, visit the ColabKit repository on GitHub.

Contributions

We appreciate contributions! If you wish to contribute or report issues, visit our GitHub repository.

License

This project is under the MIT License. See the LICENSE file for more details.


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

ColabKit-0.0.1.tar.gz (7.6 kB view hashes)

Uploaded Source

Built Distribution

ColabKit-0.0.1-py3-none-any.whl (7.5 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page