semvec/pypi-packages huggingface dataset:
mrandom 0.2
for generating random numbers

How to use:
    pip install mrandom

    >>> import mrandom
    >>> random = mrandom.RandomGenerator()

    >>> random.rand()
    0.5

    >>> random.randint(1, 10)
    5

    >>> random.randrange(1, 10)
    5

    >>> random.sample(1, 10, 3)
    [5, 6, 7]

    >>> random.choice([1, 2, 3, 4, 5])
    5

    >>> random.shuffle([1, 2, 3, 4, 5])
    [1, 4, 2, 5, 3]

    >>> random.flip_coin(5, 2)
    [[True, True], [False, False], [False, False], [False, True], [True, False]]

    >>> random.roll_dice(5, 2)
    [[1, 1], [2, 5], [3, 1], [4, 3], [6, 5]]

    >>> random.shuffle_deck(5)
    ["1 of clubs", "2 of clubs", "3 of clubs", "4 of clubs", "5 of clubs"]
pmdownloader 1.0.1
Library to download media files
Requires Python: >=3.6
Keywords: media,video,audio,mp3,mp4,downloader

# Python Media Downloader

A very small and simple python package to download media files. This will save you some time if you need a downloader for webscraping or related project.

## Requirements

- Python 3.6+
- Requests

## Installation
```shell
pip install pmdownloader
```

## Tested with:
* Audio:
    * MP3
    * M4A
    * WAV
    * AAC
* Video:
  * MP4
  * MKV
  * MOV
  * AVI
  * WEBM

**Note: Not tested with large files**

## Usage
### Default filename and filepath:
Call the function, and provide the URL of your media file.

```python
import pmdownloader
url = 'https://i.imgur.com/pVzZERs.mp4'
print(pmdownloader.download(url))

```
Returns:
```
Downloaded: pVzZERs.mp4
```

### Custom filename, Default filepath:
Call the function, and provide the URL, and filename.

```python
import pmdownloader
url = 'https://i.imgur.com/pVzZERs.mp4'
print(pmdownloader.download(url, file_name='video.mp4'))

```
Returns:
```
Downloaded: video.mp4
```

### Default filename, custom filepath:
Call the function, and provide the URL, and filename.

```python
import pmdownloader
url = 'https://skyline.github.com/_nuxt/assets/sound/music-807dfe09ce23793891674eb022b38c1b.mp3'
print(pmdownloader.download(url, path='D:/saves/'))  # Use absolute path.

```
Returns:
```
Downloaded: music-807dfe09ce23793891674eb022b38c1b.mp3
```

### Custom filename, custom filepath:
Call the function, and provide the URL, provide path and filename.

```python
import pmdownloader
url = 'https://skyline.github.com/_nuxt/assets/sound/music-807dfe09ce23793891674eb022b38c1b.mp3'
print(pmdownloader.download(url, path='D:/saves/', file_name='audio.mp3'))  # Use absolute path.

```
Returns:
```
Downloaded: audio.mp3
```