{"id":29671463,"url":"https://github.com/smartlegionlab/smartprinter","last_synced_at":"2026-04-10T03:08:36.211Z","repository":{"id":238788323,"uuid":"797580407","full_name":"smartlegionlab/smartprinter","owner":"smartlegionlab","description":"Cross-platform smart printer for console applications.","archived":false,"fork":false,"pushed_at":"2025-06-13T11:44:16.000Z","size":57,"stargazers_count":6,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-07-14T02:57:46.394Z","etag":null,"topics":["cli-app","cli-application","pypi-package","pypi-packages","python","python-libraries","python-library","python-package","python-packages","python3","smartlegionlab","termux"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/smartlegionlab.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}},"created_at":"2024-05-08T05:51:58.000Z","updated_at":"2025-06-13T11:44:19.000Z","dependencies_parsed_at":null,"dependency_job_id":"6f47f983-79ac-42d0-936a-ec7ebcacea36","html_url":"https://github.com/smartlegionlab/smartprinter","commit_stats":null,"previous_names":["smartlegionlab/smartprinter"],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/smartlegionlab/smartprinter","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/smartlegionlab%2Fsmartprinter","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/smartlegionlab%2Fsmartprinter/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/smartlegionlab%2Fsmartprinter/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/smartlegionlab%2Fsmartprinter/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/smartlegionlab","download_url":"https://codeload.github.com/smartlegionlab/smartprinter/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/smartlegionlab%2Fsmartprinter/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":266563915,"owners_count":23948689,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-07-22T02:00:09.085Z","response_time":66,"last_error":null,"robots_txt_status":null,"robots_txt_updated_at":null,"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":["cli-app","cli-application","pypi-package","pypi-packages","python","python-libraries","python-library","python-package","python-packages","python3","smartlegionlab","termux"],"created_at":"2025-07-22T20:08:15.642Z","updated_at":"2026-04-10T03:08:36.203Z","avatar_url":"https://github.com/smartlegionlab.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# smartprinter \u003csup\u003ev0.4.1\u003c/sup\u003e\n\nCross-platform python library, smart printer for console applications.\n\n---\n\n![Platform](https://img.shields.io/badge/Windows%20%7C%20Linux%20%7C%20macOS%20%7C%20Termux-666?style=flat-square)\n[![GitHub release (latest by date)](https://img.shields.io/github/v/release/smartlegionlab/smartprinter)](https://github.com/smartlegionlab/smartprinter/)\n![GitHub top language](https://img.shields.io/github/languages/top/smartlegionlab/smartprinter)\n[![GitHub](https://img.shields.io/github/license/smartlegionlab/smartprinter)](https://github.com/smartlegionlab/smartprinter/blob/master/LICENSE)\n[![GitHub stars](https://img.shields.io/github/stars/smartlegionlab/smartprinter?style=social)](https://github.com/smartlegionlab/smartprinter/stargazers)\n[![GitHub forks](https://img.shields.io/github/forks/smartlegionlab/smartprinter?style=social)](https://github.com/smartlegionlab/smartprinter/network/members)\n[![PyPI](https://img.shields.io/pypi/v/smartprinter)](https://pypi.org/project/smartprinter)\n[![PyPI - Downloads](https://img.shields.io/pypi/dm/smartprinter?label=pypi%20downloads)](https://pypi.org/project/smartprinter/)\n[![PyPI Downloads](https://static.pepy.tech/badge/smartprinter)](https://pepy.tech/projects/smartprinter)\n[![PyPI - Format](https://img.shields.io/pypi/format/smartprinter)](https://pypi.org/project/smartprinter)\n\n---\n\n**smartprinter** - Cross-platform python library, smart printer for console applications.\n\nHas several different objects for displaying to the console or generating a string: \n\n- Normal output.\n- Output with the ability to change the line color .\n- Displaying a message inside the pager, with the ability to scroll up and down, exit the pager, and print the message\nafter being shown in a pager. \n- output with the ability to print a message in the center of the console, regardless of changes in its width,\nindented before and after the message, indented with the specified characters.\n\n---\n\n## ⚠️ Disclaimer\n\n**By using this software, you agree to the full disclaimer terms.**\n\n**Summary:** Software provided \"AS IS\" without warranty. You assume all risks.\n\n**Full legal disclaimer:** See [DISCLAIMER.md](https://github.com/smartlegionlab/smartprinter/blob/master/DISCLAIMER.md)\n\n---\n\n## Help\n\n### Install and use:\n\n- `pip install -r requirements.txt`\n- for tests: `pip install requirements/requirements-dev.txt`\n- for test coverage: `pytest --cov --cov-report=html`\n\n### Use:\n\n- `pip3 install smartprinter`\n\n```python\nfrom smartprinter.printers import Printer, PrintersFactory\n\nprinter = Printer()\nprinter.base.echo('Text')\nprinter.click.echo('Text', show=True, color='green')\nprinter.smart.echo('Text', show=True, char='*')\nprinter.pager.echo('Text', show=True)\n\ndef_printer = PrintersFactory.get_base()\nclick_printer = PrintersFactory.get_click()\nsmart_printer = PrintersFactory.get_smart()\npager = PrintersFactory.get_pager()\n\n```\n\nor \n\n```python\nfrom smartprinter.printers import Printer\n\nprinter = Printer()\nPrinter.base.echo('Text')\nPrinter.click.echo('Text', show=True, color='green')\nPrinter.smart.echo('Text', show=True, char='*')\nPrinter.pager.echo('Text', show=True)\n\n```\n\n---\n\n## Coverage\n\n![logo](https://github.com/smartlegionlab/smartprinter/raw/master/data/images/smartprinter.png)\n\n---\n\n## License\n\n**[BSD 3-Clause License](https://github.com/smartlegionlab/smartprinter/blob/master/LICENSE)**\n\nCopyright (©) 2026, [Alexander Suvorov](https://github.com/smartlegionlab)","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsmartlegionlab%2Fsmartprinter","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsmartlegionlab%2Fsmartprinter","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsmartlegionlab%2Fsmartprinter/lists"}