Skip to main content

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

hamel-0.0.25.tar.gz (19.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

hamel-0.0.25-py3-none-any.whl (20.3 kB view details)

Uploaded Python 3

File details

Details for the file hamel-0.0.25.tar.gz.

File metadata

  • Download URL: hamel-0.0.25.tar.gz
  • Upload date:
  • Size: 19.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.10.11

File hashes

Hashes for hamel-0.0.25.tar.gz
Algorithm Hash digest
SHA256 5839474c8f57a420f764aadae5602729f72a06e35bb75aee0c314f218224ada8
MD5 9fe3d5db36f874ddf7558aca58bfc815
BLAKE2b-256 d11dd5a6e6b4b0e2f19a9a9438ff286009c1a5bc44e3f3969f8d2ecd348ed38e

See more details on using hashes here.

File details

Details for the file hamel-0.0.25-py3-none-any.whl.

File metadata

  • Download URL: hamel-0.0.25-py3-none-any.whl
  • Upload date:
  • Size: 20.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.10.11

File hashes

Hashes for hamel-0.0.25-py3-none-any.whl
Algorithm Hash digest
SHA256 275f65446c14b02d53b72056bbf67b17ef47411d5380d910add14f13e307326b
MD5 2f6c7362669ff368621ffcd292fc913c
BLAKE2b-256 b5a8623f7e2c5b4229bd080c82012053940a1e7bd3d4f040b95e07378c6925c0

See more details on using hashes here.

Supported by

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