semvec/pypi-packages huggingface dataset:
MrPr1ngl3s 0.1.0
Biblioteca para consultar cursos.

# Biblioteca consultoria

Una biblioteca en Python para consultar los cursos

## Cursos disponibles:

- Introducción a Linux
- Personalización de Linux
- Introducción al Hacking

## Instalación:

´´´python3
pip3 install hack4u
´´´

## Uso básico

### Listar todos los cursos

´´´python3
from hack4u import list_cursos

for course in list_cursos:
	print(course)
´´´

### Obtener un curso por nombre

´´´python3
from hack4u import search_by_courses

course = search_by_courses("Introducción al Hacking")
print(course)
´´´

### Calcular duración total de los cursos

´´´python3
from hack4u import total_duration

print(f"Duración total de los cursos: {total_duration()} horas")
´´´
musicviz 0.0.5
A really simple music visualization tool.
Requires Python: >=3.11
Keywords: music audio visualizer visualization cli videogen video

# MusicViz

![PyPI - Version](https://img.shields.io/pypi/v/musicviz)
![PyPI - Status](https://img.shields.io/pypi/status/musicviz)
![PyPI - License](https://img.shields.io/pypi/l/musicviz)

<img width="640" alt="Screenshot 2025-05-16 at 2 39 28 PM" src="https://github.com/user-attachments/assets/057b9af5-2e4a-4b0a-9776-fd873660dbb5" />

MusicViz is a Python tool that generates a dynamic music visualizer video from an audio file (MP3 or WAV). It creates a video with animated frequency spectrum bars synchronized to the audio, using a colorful plasma colormap and a black background for a vibrant visual experience. The output is an MP4 video file with the audio embedded.

## Features

- Generates a visualizer with non-overlapping frequency bars based on the audio's spectrogram.
- Supports MP3 and WAV audio inputs.
- Customizable video title displayed in the output.
- Produces high-quality 1920x1080 MP4 videos at 30 FPS.
- Uses a plasma colormap for visually appealing, frequency-based coloring.

## Installation

First create a new conda environment:

```
conda create -n musicv python=3.11
```

Then activate it:

```
conda activate musicv
```

You can now install musicviz:

```
pip3 install musicviz
```

## Dependencies

### Install FFmpeg:

This tool requires FFmpeg for video encoding.

Download and install FFmpeg from ffmpeg.org or via a package manager:

On Ubuntu:

```
sudo apt-get install ffmpeg
```

On macOS: 

```
brew install ffmpeg
```

Ensure ffmpeg is available in your system PATH.

## Usage

Run the `musicviz` tool from the command line, providing the input audio file, output video file, and a title for the video.

```
musicviz <input_audio> <output_video> <video_title>
```

For example:

```
musicviz song.mp3 output.mp4 "My Awesome Track"
```

## Output

The output is a 1920x1080 MP4 video with:

- Frequency bars that pulse with the audio's amplitude.
- A black background with a plasma colormap for bars.
- The specified title displayed at the top.
- The original audio embedded in the video.