General Utilities
Project description
hamel
A collection of personal utilities for various tasks, including: - Working with Google’s Gemini API for text generation and media analysis - Processing YouTube videos and local MP4 files for transcripts and chapter generation - Creating annotated blog posts from technical talks
Usage
Installation
Install latest from the GitHub repository:
$ pip install git+https://github.com/hamelsmu/hamel.git
or from pypi
$ pip install hamel
Note: For MP4 video transcription, you’ll also need: - FFmpeg:
brew install ffmpeg (macOS) or apt-get install ffmpeg (Ubuntu) - The
installation will include openai-whisper automatically
Documentation
Documentation can be found hosted on this GitHub repository’s pages.
Available Utilities
Gemini API (hamel.gem)
Simple interface for Google’s Gemini API supporting: - Text generation - PDF and image analysis
- YouTube video analysis - Local MP4 video analysis
See the gem module documentation for details.
YouTube & Video Utilities (hamel.yt)
Tools for working with video content: - Fetch transcripts from YouTube videos - Transcribe local MP4 files using OpenAI Whisper - Generate chapter timestamps for YouTube videos or local MP4 files
See the yt module documentation for details.
Zoom Utilities (hamel.zoom)
Tools for downloading Zoom meeting transcripts: - Download transcripts by meeting ID - Search recordings by topic - Parallel downloads for multiple meetings
Setup: Requires Zoom Server-to-Server OAuth app with
recording:read:admin scope activated in Zoom
marketplace. Click Develop in the
top-right corner, then Build App, select Server-to-Server OAuth,
and fill in the app information.
Create .env with:
ZOOM_CLIENT_ID=your_client_id
ZOOM_CLIENT_SECRET=your_client_secret
ZOOM_ACCOUNT_ID=your_account_id
See the zoom module documentation for details.
Writing Utilities (hamel.writing)
Tools for content creation: - Convert PDFs to images - Generate annotated blog posts from talks (supports YouTube or MP4 videos) - Gather context from web pages
See the writing module documentation for details.
Project details
Release history Release notifications | RSS feed
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 hamel-0.0.27.tar.gz.
File metadata
- Download URL: hamel-0.0.27.tar.gz
- Upload date:
- Size: 23.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.10.11
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7d0c5a918eaee08891ec91c2c9b5b671c724d5eb53d6748b33d67fc068e5c891
|
|
| MD5 |
08855e0b1f12ef5e3ea257269d7f7cfa
|
|
| BLAKE2b-256 |
60b413cb662370f11ea85559c305800e67503721713685d5fe59dccaddef1d17
|
File details
Details for the file hamel-0.0.27-py3-none-any.whl.
File metadata
- Download URL: hamel-0.0.27-py3-none-any.whl
- Upload date:
- Size: 25.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.10.11
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f93590c5160c197d50649df686810f537e670c66d278dafd8c606e29d018a714
|
|
| MD5 |
ea303d4e8ab415ee68e646d37455242b
|
|
| BLAKE2b-256 |
cb0a02a8f093d9d10e9dd0e1620ae20ebf83598f819fbb1f3add4d1f80e0c35c
|