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 details)

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

Details for the file ColabKit-0.0.1.tar.gz.

File metadata

  • Download URL: ColabKit-0.0.1.tar.gz
  • Upload date:
  • Size: 7.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.11

File hashes

Hashes for ColabKit-0.0.1.tar.gz
Algorithm Hash digest
SHA256 59c189075a80c4d404d88d7617e7857a0cc478f51baac1ffba369615fe3fb025
MD5 e2112e983959ac4c858d2cfc8bbe7a9e
BLAKE2b-256 21bcb942a7abafd63fbb5f4348752cc760d04989fdf0e0e9510e6f0338334b9b

See more details on using hashes here.

File details

Details for the file ColabKit-0.0.1-py3-none-any.whl.

File metadata

  • Download URL: ColabKit-0.0.1-py3-none-any.whl
  • Upload date:
  • Size: 7.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.11

File hashes

Hashes for ColabKit-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 532a54d568e4f4ca0938c9a87fc9e3ddaf88bb2d491e6291acd149e5291782c6
MD5 ca31b7e78380794bfa576b9230df4059
BLAKE2b-256 4130ca73c2aa85841453b05f50c048a8c59db2f5b5d244d32954e80f0c1b2679

See more details on using hashes here.

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