badapple


Namebadapple JSON
Version 0.0.8 PyPI version JSON
download
home_pageNone
Summaryplay the video in the console as ASCII art
upload_time2024-04-19 18:18:22
maintainerNone
docs_urlNone
authorNone
requires_python>=3.7
licenseMIT 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.
keywords badapple asciiart
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            BadApple
========

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

Where there is light, there is 
`Bad Apple!! <https://www.youtube.com/watch?v=FtutLA63Cp8>`_

Installation
------------

.. code-block:: shell

    python -m pip install badapple

with audio:

.. code-block:: shell

    python -m pip install badapple[audio]

with any supported player:

.. code-block:: shell

    python -m pip install badapple[dev]

Run
---

.. code-block:: shell

    python -m badapple

Help Message
------------

.. code-block:: md

    usage: badapple [options] ... 

    BadApple-Python-OS-ISA-Version

    options:
      -h, --help            show this help message and exit
      --help_audio          show avaliable players (default: False)
      -i INPUT, --input INPUT
                            video file (use `_BA_MP4` `_BA_BA` to load built-in video) (default: _BA_MP4)
      -o OUTPUT, --output OUTPUT
                            preload output file (default: )
      -s SCALE, --scale SCALE
                            width:height (0 means auto) (default: 0:0)
      -r RATE, --rate RATE  frame rate (default: 1024.0)
      --audio AUDIO         audio file (use `_BA_WAV` `_BA_MP3` `_BA_MP4` to load built-in audio) (default: )
      --audio_player AUDIO_PLAYER
                            audio player [ffplay mpv vlc mpg123 cmus simpleaudio pyaudio playsound auto] (default: )
      -c COLOR, --color COLOR
                            color type [ascii rgb24 halfwidth fullwidth x256e x256w x232e x232w] (default: ascii)
      -m MESSAGE, --message MESSAGE
                              print message (default: )
      --font FONT           font data file (use `_BA_CONSOLA` to load built-in font data) (default: _BA_CONSOLA)
      --not_clear           not clear screen (with ANSI) before each frame (default: False)
      --contrast            contrast enhancement (default: False)
      --preload             preload video (not play) (default: False)
      --debug               debug (default: False)

            

Raw data

            {
    "_id": null,
    "home_page": null,
    "name": "badapple",
    "maintainer": null,
    "docs_url": null,
    "requires_python": ">=3.7",
    "maintainer_email": "userElaina <userelaina@pm.me>",
    "keywords": "badapple, asciiart",
    "author": null,
    "author_email": "userElaina <userelaina@pm.me>",
    "download_url": "https://files.pythonhosted.org/packages/0a/79/95b67cf5dadf06a6fd3fa7ddc7bbcc522dcdde005e9e07e147efc25c8749/badapple-0.0.8.tar.gz",
    "platform": null,
    "description": "BadApple\r\n========\r\n\r\nPython Module: Play the video in the console as ASCII art.\r\n\r\nWhere there is light, there is \r\n`Bad Apple!! <https://www.youtube.com/watch?v=FtutLA63Cp8>`_\r\n\r\nInstallation\r\n------------\r\n\r\n.. code-block:: shell\r\n\r\n    python -m pip install badapple\r\n\r\nwith audio:\r\n\r\n.. code-block:: shell\r\n\r\n    python -m pip install badapple[audio]\r\n\r\nwith any supported player:\r\n\r\n.. code-block:: shell\r\n\r\n    python -m pip install badapple[dev]\r\n\r\nRun\r\n---\r\n\r\n.. code-block:: shell\r\n\r\n    python -m badapple\r\n\r\nHelp Message\r\n------------\r\n\r\n.. code-block:: md\r\n\r\n    usage: badapple [options] ... \r\n\r\n    BadApple-Python-OS-ISA-Version\r\n\r\n    options:\r\n      -h, --help            show this help message and exit\r\n      --help_audio          show avaliable players (default: False)\r\n      -i INPUT, --input INPUT\r\n                            video file (use `_BA_MP4` `_BA_BA` to load built-in video) (default: _BA_MP4)\r\n      -o OUTPUT, --output OUTPUT\r\n                            preload output file (default: )\r\n      -s SCALE, --scale SCALE\r\n                            width:height (0 means auto) (default: 0:0)\r\n      -r RATE, --rate RATE  frame rate (default: 1024.0)\r\n      --audio AUDIO         audio file (use `_BA_WAV` `_BA_MP3` `_BA_MP4` to load built-in audio) (default: )\r\n      --audio_player AUDIO_PLAYER\r\n                            audio player [ffplay mpv vlc mpg123 cmus simpleaudio pyaudio playsound auto] (default: )\r\n      -c COLOR, --color COLOR\r\n                            color type [ascii rgb24 halfwidth fullwidth x256e x256w x232e x232w] (default: ascii)\r\n      -m MESSAGE, --message MESSAGE\r\n                              print message (default: )\r\n      --font FONT           font data file (use `_BA_CONSOLA` to load built-in font data) (default: _BA_CONSOLA)\r\n      --not_clear           not clear screen (with ANSI) before each frame (default: False)\r\n      --contrast            contrast enhancement (default: False)\r\n      --preload             preload video (not play) (default: False)\r\n      --debug               debug (default: False)\r\n",
    "bugtrack_url": null,
    "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. ",
    "summary": "play the video in the console as ASCII art",
    "version": "0.0.8",
    "project_urls": {
        "Bug Reports": "https://github.com/bad-apple-lab/Bad-Apple-Python-Module/issues",
        "Homepage": "https://github.com/bad-apple-lab/Bad-Apple-Python-Module",
        "Source": "https://github.com/bad-apple-lab/Bad-Apple-Python-Module"
    },
    "split_keywords": [
        "badapple",
        " asciiart"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "02c8e03b193a405453da52c39676b612ff07cf83c089276d8ba82060ca00c516",
                "md5": "28bb39b566f79d05f4255b1500b5bc0c",
                "sha256": "ec273c9174bae2914e1d693e08aade354a29619f9246eb1e00a2dbe1a1cff4ee"
            },
            "downloads": -1,
            "filename": "badapple-0.0.8-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "28bb39b566f79d05f4255b1500b5bc0c",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.7",
            "size": 74247145,
            "upload_time": "2024-04-19T18:17:51",
            "upload_time_iso_8601": "2024-04-19T18:17:51.466181Z",
            "url": "https://files.pythonhosted.org/packages/02/c8/e03b193a405453da52c39676b612ff07cf83c089276d8ba82060ca00c516/badapple-0.0.8-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "0a7995b67cf5dadf06a6fd3fa7ddc7bbcc522dcdde005e9e07e147efc25c8749",
                "md5": "f511928c047a19d256bbc62b6bcbbf90",
                "sha256": "8f1323d539a15faf451280ed6e3fb0657c08a08af4b1c64bd470bcd320ac81b5"
            },
            "downloads": -1,
            "filename": "badapple-0.0.8.tar.gz",
            "has_sig": false,
            "md5_digest": "f511928c047a19d256bbc62b6bcbbf90",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.7",
            "size": 74224882,
            "upload_time": "2024-04-19T18:18:22",
            "upload_time_iso_8601": "2024-04-19T18:18:22.141007Z",
            "url": "https://files.pythonhosted.org/packages/0a/79/95b67cf5dadf06a6fd3fa7ddc7bbcc522dcdde005e9e07e147efc25c8749/badapple-0.0.8.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-04-19 18:18:22",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "bad-apple-lab",
    "github_project": "Bad-Apple-Python-Module",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": false,
    "lcname": "badapple"
}
        
Elapsed time: 0.21289s