semvec/pypi-packages huggingface dataset:
ytplaylist-downloader 0.1.4
A lightweight CLI tool to download audio from YouTube playlists
License: MIT
Requires Python: >=3.7

# yt-playlist-dl

A lightweight CLI tool to download audio from YouTube playlists and videos. Perfect for Termux on Android!

## Features

- 🎵 Download audio-only from YouTube playlists and individual videos
- 📦 Lightweight with minimal dependencies (just yt-dlp)
- 🚀 Simple command-line interface
- 📱 Works great on Android via Termux
- 🎚️ Customizable audio format and quality

## Installation

### From PyPI (once published)

```bash
pip install yt-playlist-dl
```

### From source

```bash
git clone https://github.com/yourusername/yt-playlist-dl.git
cd yt-playlist-dl
pip install .
```

### On Termux (Android)

```bash
pkg install python ffmpeg
pip install yt-playlist-dl
```

## Usage

Download a playlist to the current directory:
```bash
ytdl "https://www.youtube.com/playlist?list=..."
```

Download to a specific directory:
```bash
ytdl -o ~/Music "https://www.youtube.com/playlist?list=..."
```

Download in different format with custom quality:
```bash
ytdl -f m4a -q 256 "https://www.youtube.com/playlist?list=..."
```

Download a single video:
```bash
ytdl "https://youtu.be/dQw4w9WgXcQ"
```

Download private playlists (like Liked videos) - extract cookies from browser:
```bash
# Make sure you're logged into YouTube in your browser first!
ytdl --cookies-from-browser chrome "https://www.youtube.com/playlist?list=LL"
# Works with: chrome, firefox, brave, edge, opera, safari, chromium, vivaldi
```

## Options

```
positional arguments:
  url                   YouTube playlist or video URL

optional arguments:
  -h, --help            show this help message and exit
  -o OUTPUT, --output OUTPUT
                        Output directory (default: current directory)
  -f {mp3,m4a,opus,wav,flac}, --format {mp3,m4a,opus,wav,flac}
                        Audio format (default: mp3)
  -q QUALITY, --quality QUALITY
                        Audio quality in kbps (default: 192)
  -c COOKIES, --cookies COOKIES
                        Path to cookies.txt file for authentication
  --cookies-from-browser {chrome,firefox,brave,edge,opera,safari,chromium,vivaldi}
                        Extract cookies from browser (easiest way for private playlists!)
  -v, --version         show program's version number and exit
```

## Requirements

- Python 3.7+
- yt-dlp
- FFmpeg (for audio conversion)

On Termux, install FFmpeg with:
```bash
pkg install ffmpeg
```

## License

MIT License - feel free to use and modify!

## Contributing

Pull requests welcome! For major changes, please open an issue first.
genexpy 1.0.2a1
Generalizability of experimental studies and rankings utilies
License: MIT
Requires Python: >=3.13
Keywords: generalizability, experiments, evaluation, statistics

# Generalizability of experimental studies

<figure>
  <img alt="" src="demos/Categorical encoders/figures/encoders_nstar_alpha_delta.png" title="Nstar" align="center">
  <figcaption><em>
        Estimated number of datasets necessary to achieve generalizable results for the categorical encoders study, 
        conditioned on desired generalizability level (left) and similarity threshold between rankings (right). 
        The hue shows three different goals of a study.
  </em></figcaption>
</figure>


This repository is the official implementation of [Generalizability of Experimental Studies]().

The `genexpy` Python module contains several functions to efficiently work on rankings, probability distributions of 
rankings, and kernels for rankings.

The demos contain the generalizability analysis performed in the paper on categorical encoders and Large Language Models.

## Usage

As specified in `setup.py`, `genexpy` requires `Python 3.11.8`, 
which you can get [here](https://www.python.org/downloads/release/python-3118/).
After that, you can install `genexpy` from terminal in one of the following ways. 

### Download and install from the anonymous repository
(1) Download the repo and extract the files to a directory named `genexpy`; (2) navigate to `genexpy`; (3) create a virtual environment `venv`; (4) activate `venv` (the command is for Windows only); (5) install `genexpy`.
```bash 
cd genexpy                                                           
python -m venv venv                                       
venv\Scripts\activate.bat                                 
pip install .                                                
```

### Installation via pip (not working for the anonymous repo)
_To ensure anonymity, the module is yet to be published: this installation method is not working._
```bash
pip install genexpy
```

### Installation via git (not working for the anonymous repo)
(1) Clone the repo; (2) navigate to the cloned repo; (3) install the module.
```bash
git clone https://github.com/DrCohomology/genexpy.git     
cd genexpy                                                           
pip install .                                             
```

### Cloning without installation (not working for the anonymous repo)
(1) Clone the repo; (2) navigate to the cloned repo; (3) create a virtual environment `venv`; (4) activate `venv`; 
(5) install the requirements.
```bash
git clone https://github.com/DrCohomology/genexpy.git     
cd genexpy
python -m venv venv                                       
venv\Scripts\activate.bat                                 
pip install -r requirements.txt                          
```