Metadata-Version: 2.1
Name: badapple
Version: 0.0.2
Summary: play the video in the console as ASCII art
Author-email: userElaina <userelaina@pm.me>
Maintainer-email: userElaina <userelaina@pm.me>
License: MIT License
        
        Copyright (c) 2023 Elaina
        
        Permission is hereby granted, free of charge, to any person obtaining a copy
        of this software and associated documentation files (the "Software"), to deal
        in the Software without restriction, including without limitation the rights
        to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
        copies of the Software, and to permit persons to whom the Software is
        furnished to do so, subject to the following conditions:
        
        The above copyright notice and this permission notice shall be included in all
        copies or substantial portions of the Software.
        
        THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
        IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
        FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
        AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
        LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
        OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
        SOFTWARE.
        
Project-URL: Homepage, https://github.com/userElaina/Bad-Apple-Python-Module
Project-URL: Bug Reports, https://github.com/userElaina/Bad-Apple-Python-Module/issues
Project-URL: Source, https://github.com/userElaina/Bad-Apple-Python-Module
Keywords: badapple,asciiart
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3
Requires-Python: >=3.7
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: opencv-python
Provides-Extra: playsound
Requires-Dist: playsound2 ; extra == 'playsound'
Provides-Extra: pyaudio
Requires-Dist: pyaudio ; extra == 'pyaudio'
Provides-Extra: pydub
Requires-Dist: pydub ; extra == 'pydub'
Provides-Extra: simpleaudio
Requires-Dist: simpleaudio ; extra == 'simpleaudio'

# BadApple-Python-Module

Python Module: Play the video in the console as ASCII art.

Where there is light, there is [Bad Apple!!][ba]

**Install**: 

```sh
python -m pip install badapple
```

**Recommended optional dependencies**: 

Only wav audio or no audio: Python module **simpleaudio**.

Multiple audio & video formats supported: command-line tool **FFmpeg**.

**Run**:

```sh
python -m badapple
```

**Help message**:

```markdown
usage: badapple [options] ... 

BadApple-Python-OS-ISA-v0.0.2

options:
  -h, --help            show this help message and exit
  -i INPUT, --input INPUT
                        video file (use _BADAPPLE_MP4 or _BADAPPLE_BADAPPLE to load built-in video)
  -o OUTPUT, --output OUTPUT
                        preload output file
  --font FONT           font data file
  --audio AUDIO         audio file (use _BADAPPLE_MP3 or _BADAPPLE_WAV to load built-in audio)
  --audio_player AUDIO_PLAYER
                        audio player [auto ffplay avplay mpv vlc mpg123 cmus simpleaudio pyaudio playsound pydub]
  -s SCALE, --scale SCALE
                        width:height
  -r RATE, --rate RATE  frame rate
  --not_clear           not clear screen (with ANSI) before each frame
  --not_check_player    not check if player is available before playing
  --contrast            contrast enhancement
  --preload             preload video (not play)
  --avaliable_player    show avaliable players
  --debug               debug
```

[ba]: https://www.youtube.com/watch?v=FtutLA63Cp8
