## gif2ascii
https://user-images.githubusercontent.com/38807205/230733470-5491dd82-5e36-4f73-b553-a38a167837ec.mov
#### Example using command line
```bash
python -m gif2ascii -f anime.gif -w 80
python -m gif2ascii -f anime.gif --fit-terminal
python -m gif2ascii -f hehe.jpg -c ABCDEF -d 0.1
```
#### Example using Code
```python
from gif2ascii import GifAscii
file_name = 'jujutsu.gif'
width = 80
GifAscii(file_name, width).output()
```
#### Available Options to constructor
```
usage: python -m gif2ascii [-h] -f F [-w W] [-d D] [-c C] [--fit-terminal] [--no-loop] [--screenfetch]
Gif to Ascii
options:
-h, --help show this help message and exit
-f F Input file, static image or gif file
-w W Width in chars
-d D Frame delay between frames for gif
-c C Characters to be used for ASCII output
--fit-terminal Fit entire terminal
--no-loop Loop gif animation
--screenfetch Create template for screenfetch
Examples:
python -m gif2ascii -f anime.gif -w 80
python -m gif2ascii -f anime.gif --fit-terminal
python -m gif2ascii -f john.jpg -c ABCDEF -d 0.1
Use with screenfetch
echo 'startline=0;fulloutput=($(python -m gif2ascii -f john.jpg -w 40 --screenfetch))' > /tmp/script.sh && screenfetch -E -a /tmp/script.sh
github.com/shobhit99
```
Raw data
{
"_id": null,
"home_page": "",
"name": "gif2ascii",
"maintainer": "",
"docs_url": null,
"requires_python": "",
"maintainer_email": "",
"keywords": "python,ascii gif,terminal gif,ascii art,terminal art",
"author": "Shobhit Bhosure",
"author_email": "<shobhitbhosure7@gmail.com>",
"download_url": "https://files.pythonhosted.org/packages/5d/1c/e6c478fbfc4737f8d194bdffd572116a47abe07399cb85782be8fa76d9f4/gif2ascii-0.1.4.tar.gz",
"platform": null,
"description": "\n## gif2ascii\n\n\nhttps://user-images.githubusercontent.com/38807205/230733470-5491dd82-5e36-4f73-b553-a38a167837ec.mov\n\n\n#### Example using command line\n\n```bash\npython -m gif2ascii -f anime.gif -w 80\npython -m gif2ascii -f anime.gif --fit-terminal\npython -m gif2ascii -f hehe.jpg -c ABCDEF -d 0.1\n```\n\n#### Example using Code\n\n```python\nfrom gif2ascii import GifAscii\n\nfile_name = 'jujutsu.gif'\nwidth = 80\nGifAscii(file_name, width).output()\n```\n\n#### Available Options to constructor\n```\nusage: python -m gif2ascii [-h] -f F [-w W] [-d D] [-c C] [--fit-terminal] [--no-loop] [--screenfetch]\n\nGif to Ascii\n\noptions:\n -h, --help show this help message and exit\n -f F Input file, static image or gif file\n -w W Width in chars\n -d D Frame delay between frames for gif\n -c C Characters to be used for ASCII output\n --fit-terminal Fit entire terminal\n --no-loop Loop gif animation\n --screenfetch Create template for screenfetch\n\n\tExamples:\n\n python -m gif2ascii -f anime.gif -w 80\n python -m gif2ascii -f anime.gif --fit-terminal\n python -m gif2ascii -f john.jpg -c ABCDEF -d 0.1\n\n Use with screenfetch\n\n echo 'startline=0;fulloutput=($(python -m gif2ascii -f john.jpg -w 40 --screenfetch))' > /tmp/script.sh && screenfetch -E -a /tmp/script.sh\n\n github.com/shobhit99\n```\n\n",
"bugtrack_url": null,
"license": "",
"summary": "Gif to ASCII",
"version": "0.1.4",
"split_keywords": [
"python",
"ascii gif",
"terminal gif",
"ascii art",
"terminal art"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "5715c1a11597128b49ec856b1df660a332cf113a38f3da997e28ca5bca5ef679",
"md5": "ec415493ae34976167d4b06856b95375",
"sha256": "635e86e200559fe67b92a3ab4441e6a95d70928e9f81a4e0909e706db887af5b"
},
"downloads": -1,
"filename": "gif2ascii-0.1.4-py3-none-any.whl",
"has_sig": false,
"md5_digest": "ec415493ae34976167d4b06856b95375",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": null,
"size": 4828,
"upload_time": "2023-04-08T16:59:22",
"upload_time_iso_8601": "2023-04-08T16:59:22.999446Z",
"url": "https://files.pythonhosted.org/packages/57/15/c1a11597128b49ec856b1df660a332cf113a38f3da997e28ca5bca5ef679/gif2ascii-0.1.4-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "5d1ce6c478fbfc4737f8d194bdffd572116a47abe07399cb85782be8fa76d9f4",
"md5": "2a83548a70e640b6180d7edde4412020",
"sha256": "e2a5c7cda787407ebfdbd43f9561240faefadc2919fdf85bcd2adf04c47bacd9"
},
"downloads": -1,
"filename": "gif2ascii-0.1.4.tar.gz",
"has_sig": false,
"md5_digest": "2a83548a70e640b6180d7edde4412020",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 4213,
"upload_time": "2023-04-08T16:59:25",
"upload_time_iso_8601": "2023-04-08T16:59:25.050457Z",
"url": "https://files.pythonhosted.org/packages/5d/1c/e6c478fbfc4737f8d194bdffd572116a47abe07399cb85782be8fa76d9f4/gif2ascii-0.1.4.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2023-04-08 16:59:25",
"github": false,
"gitlab": false,
"bitbucket": false,
"lcname": "gif2ascii"
}