{"id":17151219,"url":"https://github.com/soda480/text-animator","last_synced_at":"2026-04-17T06:33:41.904Z","repository":{"id":174053251,"uuid":"651200262","full_name":"soda480/text-animator","owner":"soda480","description":"A simple text animator.","archived":false,"fork":false,"pushed_at":"2023-06-09T20:35:20.000Z","size":43,"stargazers_count":0,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2026-02-19T22:41:27.353Z","etag":null,"topics":["animation","ascii","docker","pybuilder","text"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/soda480.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-06-08T18:14:51.000Z","updated_at":"2023-06-09T20:39:13.000Z","dependencies_parsed_at":null,"dependency_job_id":"0fd55219-9c32-408f-b3bc-92ce6ddc5198","html_url":"https://github.com/soda480/text-animator","commit_stats":null,"previous_names":["soda480/text-animator"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/soda480/text-animator","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/soda480%2Ftext-animator","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/soda480%2Ftext-animator/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/soda480%2Ftext-animator/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/soda480%2Ftext-animator/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/soda480","download_url":"https://codeload.github.com/soda480/text-animator/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/soda480%2Ftext-animator/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31918612,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-16T18:22:33.417Z","status":"online","status_checked_at":"2026-04-17T02:00:06.879Z","response_time":62,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["animation","ascii","docker","pybuilder","text"],"created_at":"2024-10-14T21:37:31.232Z","updated_at":"2026-04-17T06:33:41.875Z","avatar_url":"https://github.com/soda480.png","language":"Python","readme":"[![complexity](https://img.shields.io/badge/complexity-A-brightgreen)](https://radon.readthedocs.io/en/latest/api.html#module-radon.complexity)\n[![vulnerabilities](https://img.shields.io/badge/vulnerabilities-None-brightgreen)](https://pypi.org/project/bandit/)\n[![PyPI version](https://badge.fury.io/py/text-animator.svg)](https://badge.fury.io/py/text-animator)\n[![python](https://img.shields.io/badge/python-3.7%20%7C%203.8%20%7C%203.9%20%7C%203.10-teal)](https://www.python.org/downloads/)\n# text-animator\n\nA simple text animator.\n\nThs is a subclass of the `Animation` abstract class and uses the `Animator` class to display the animated text to the terminal; both classes are defined in the [ascii-animator](https://pypi.org/project/ascii-animator/0.1.6/) package. \n\n\n### Installation\n```bash\npip install text_animator\n```\n\n### Usage\n\n#### [example1](https://github.com/soda480/text-animator/blob/main/examples/example1.py)\n\nAnimate some text and display characters from left to right (default).\n\n\u003cdetails\u003e\u003csummary\u003eCode\u003c/summary\u003e\n\n```Python\nfrom text_animator import TextAnimation\ntext = \"\"\"This is the text\n    that we want to animate\n    let's see how well\n    this works ...\"\"\"\nTextAnimation(text)()\n```\n\n\u003c/details\u003e\n\n![example1](https://github.com/soda480/text-animator/blob/main/docs/images/example1.gif?raw=true)\n\n#### [example2](https://github.com/soda480/text-animator/blob/main/examples/example2.py)\n\nAnimate some text and display characters from right to left.\n\n\u003cdetails\u003e\u003csummary\u003eCode\u003c/summary\u003e\n\n```Python\nfrom text_animator import TextAnimation, Effect\ntext = \"\"\"This is the text\n    that we want to animate\n    let's see how well\n    this works ...\"\"\"\nTextAnimation(text, effect=Effect.RIGHT_TO_LEFT)()\n```\n\n\u003c/details\u003e\n\n![example2](https://github.com/soda480/text-animator/blob/main/docs/images/example2.gif?raw=true)\n\n#### [example3](https://github.com/soda480/text-animator/blob/main/examples/example3.py)\n\nAnimate some text and display characters at random.\n\n\u003cdetails\u003e\u003csummary\u003eCode\u003c/summary\u003e\n\n```Python\nfrom text_animator import TextAnimation, Effect\ntext = \"\"\"This is the text\n    that we want to animate\n    let's see how well\n    this works ...\"\"\"\nTextAnimation(text, effect=Effect.RANDOM)()\n```\n\n\u003c/details\u003e\n\n![example3](https://github.com/soda480/text-animator/blob/main/docs/images/example3.gif?raw=true)\n\n#### [example4](https://github.com/soda480/text-animator/blob/main/examples/example4.py)\n\nAnimate some text and display characters from left to right then surround text with a border. A border can be customized with top|bottom|left|right margins as well as top|bottom|left|right padding, default for all margins and padding is 1.  Margins define the space outside the border, and padding define the space between the border and text.\n\n\u003cdetails\u003e\u003csummary\u003eCode\u003c/summary\u003e\n\n```Python\nfrom text_animator import TextAnimation, Effect, Border\ntext = \"\"\"This is the text\n    that we want to animate\n    let's see how well\n    this works ...\"\"\"\nTextAnimation(text, border=Border(lm=0, tm=0, bm=0, tp=0, bp=0))()\n```\n\n\u003c/details\u003e\n\n![example4](https://github.com/soda480/text-animator/blob/main/docs/images/example4.gif?raw=true)\n\n### Development\n\nClone the repository and ensure the latest version of Docker is installed on your development server.\n\nBuild the Docker image:\n```bash\ndocker image build \\\n-t \\\ntext-animator:latest .\n```\n\nRun the Docker container:\n```bash\ndocker container run \\\n--rm \\\n-it \\\n-v $PWD:/code \\\ntext-animator:latest \\\nbash\n```\n\nExecute the build:\n```sh\npyb -X\n```\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsoda480%2Ftext-animator","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsoda480%2Ftext-animator","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsoda480%2Ftext-animator/lists"}