{"id":46553953,"url":"https://github.com/iliakarimi/textfx","last_synced_at":"2026-03-07T04:01:49.658Z","repository":{"id":272267453,"uuid":"916025263","full_name":"iliakarimi/textfx","owner":"iliakarimi","description":"textfx is a Python library for creating dynamic and visually engaging text effects and Loading Animation.","archived":false,"fork":false,"pushed_at":"2025-11-25T16:21:02.000Z","size":1220,"stargazers_count":18,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-11-28T21:54:33.934Z","etag":null,"topics":["cli","color","console","console-effects","open-source","python","python-library","text","text-animation","text-color","visualization"],"latest_commit_sha":null,"homepage":"https://pypi.org/project/textfx/","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/iliakarimi.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-01-13T10:09:09.000Z","updated_at":"2025-11-25T16:18:07.000Z","dependencies_parsed_at":"2025-01-13T11:26:46.340Z","dependency_job_id":"da60e0b0-4481-475c-841d-875910f5a220","html_url":"https://github.com/iliakarimi/textfx","commit_stats":null,"previous_names":["iliakarimi/textfx"],"tags_count":21,"template":false,"template_full_name":null,"purl":"pkg:github/iliakarimi/textfx","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/iliakarimi%2Ftextfx","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/iliakarimi%2Ftextfx/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/iliakarimi%2Ftextfx/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/iliakarimi%2Ftextfx/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/iliakarimi","download_url":"https://codeload.github.com/iliakarimi/textfx/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/iliakarimi%2Ftextfx/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30207392,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-07T03:24:23.086Z","status":"ssl_error","status_checked_at":"2026-03-07T03:23:11.444Z","response_time":53,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["cli","color","console","console-effects","open-source","python","python-library","text","text-animation","text-color","visualization"],"created_at":"2026-03-07T04:01:49.114Z","updated_at":"2026-03-07T04:01:49.647Z","avatar_url":"https://github.com/iliakarimi.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Textfx\n\n[![PyPI Downloads](https://static.pepy.tech/personalized-badge/textfx?period=monthly\u0026units=INTERNATIONAL_SYSTEM\u0026left_color=BLACK\u0026right_color=GREEN\u0026left_text=Monthly+downloads)](https://pepy.tech/projects/textfx)\n[![PyPI Downloads](https://static.pepy.tech/personalized-badge/textfx?period=total\u0026units=INTERNATIONAL_SYSTEM\u0026left_color=BLACK\u0026right_color=BLUE\u0026left_text=Total+downloads)](https://pepy.tech/projects/textfx)\n![Python](https://img.shields.io/badge/python-3.9%2B-blue)\n[![License](https://img.shields.io/github/license/iliakarimi/textfx)](https://github.com/iliakarimi/textfx/blob/main/LICENSE)\n[![Repo Size](https://img.shields.io/github/repo-size/iliakarimi/textfx)](https://github.com/iliakarimi/textfx)\n\nTextfx is a lightweight Python library for creating dynamic, visually engaging console text effects and Loading Animation.\n\n## 📦 Installation\n\n```bash\npip install textfx\n```\n\nOr clone \u0026 install dependencies:\n\n```bash\ngit clone https://github.com/iliakarimi/textfx.git\ncd textfx\npip install -r requirements.txt\n```\n\n## 🎨 Features\n\n1. **Typing Effect**\n2. **Scramble Effect**\n3. **Wave Text**\n4. **Untyping Effect**\n5. **Unscramble Effect**\n6. **Unwave Text**\n7. **Loading Animations**\n8. **Color Support** via `termcolor`\n\n## 🚀 Usage\n\nImport the desired effects and loaders:\n\n```python\nfrom textfx import (\n    typeeffect, scrameffect, wavetext,\n    untypeeffect, unscrameffect, unwavetext,\n    SpinnerLoading, ProgressBarLoading, GlitchLoading\n)\n```\n\n\n### Loading Animations\n\nAll loader classes share these parameters:\n\n* `message` (str): Prefix text displayed before the animation.\n* `end_message` (str): Text displayed after the loader stops.\n* `delay` (float): Seconds between animation frames.\n\n#### 1. SpinnerLoading\n\nClassic spinner cursor:\n\n```python\nwith SpinnerLoading(\n    message=\"Processing...\",\n    animation=\"⠋⠙⠸⠴⠦⠇\",\n    delay=0.1\n):\n    do_work()\n```\n\n#### 2. ProgressBarLoading\n\nAnimated bar moving back and forth:\n\n```python\nwith ProgressBarLoading(\n    barline='-', animation='█', length=30,\n    message=\"Loading\", delay=0.05\n):\n    do_work()\n```\n\n#### 3. GlitchLoading\n\nRandom-character glitch effect:\n\n```python\nwith ProgressBarLoading(message=\"Compiling Code\", barline=\".\", animation=\"⚙\", length=40, message_color=\"cyan\", animation_color=\"yellow\", barline_color=\"white\", delay=0.07):\n    time.sleep(5)\n```\n\nFor detailed examples, see [`Documention`](docs/examples.md).\n\n\n## 🎨 Color Options\n\nAll effects support an optional `color` parameter (via `termcolor`):\n\n\n`black`\n`red`\n`green`\n`yellow`\n`blue`\n`magenta`\n`cyan`\n`white`\n\n`light_grey`\n`dark_grey`\n`light_red`\n`light_green`\n`light_yellow`\n`light_blue`\n`light_magenta`\n`light_cyan`\n\n\n\u003e *Ensure your terminal supports ANSI colors for `termcolor` outputs.*\n\n## 📋 Dependencies\n\n* Python **3.9+**\n* [`termcolor`](https://pypi.org/project/termcolor/)\n\nInstall dependencies:\n\n```bash\npip install -r requirements.txt\n```\n\n## 🏗️ Contributing\n\nPull requests are welcome! For more examples and details, refer to `docs/examples.md`.\n\n## 📄 License\n\nMIT License — see [LICENSE](LICENSE).\n\n---\n\nEnjoy using Textfx!\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Filiakarimi%2Ftextfx","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Filiakarimi%2Ftextfx","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Filiakarimi%2Ftextfx/lists"}