{"id":25952052,"url":"https://github.com/dgaliaf/bprintoor","last_synced_at":"2025-03-04T14:32:50.197Z","repository":{"id":279604980,"uuid":"939377072","full_name":"DGaliaf/bprintoor","owner":"DGaliaf","description":"🌈 Powerful cross-platform Python library for terminal text styling with support for colors, ASCII art, and Markdown-like formatting. Works seamlessly on Windows, macOS, and Linux","archived":false,"fork":false,"pushed_at":"2025-03-03T10:41:55.000Z","size":23,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-04T13:05:06.366Z","etag":null,"topics":["ansi-colors","ascii-art","cli","console","cross-platform","logging","markdown","print","prints","python","python-library","rgb-colors","styling","terminal","terminal-colors","terminal-output","text-formatting"],"latest_commit_sha":null,"homepage":"https://pypi.org/project/bprinter","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/DGaliaf.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}},"created_at":"2025-02-26T12:51:24.000Z","updated_at":"2025-03-04T12:53:27.000Z","dependencies_parsed_at":"2025-03-04T13:05:06.713Z","dependency_job_id":null,"html_url":"https://github.com/DGaliaf/bprintoor","commit_stats":null,"previous_names":["dgaliaf/bprinter","dgaliaf/bprintoor"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DGaliaf%2Fbprintoor","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DGaliaf%2Fbprintoor/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DGaliaf%2Fbprintoor/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DGaliaf%2Fbprintoor/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/DGaliaf","download_url":"https://codeload.github.com/DGaliaf/bprintoor/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241865189,"owners_count":20033309,"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","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":["ansi-colors","ascii-art","cli","console","cross-platform","logging","markdown","print","prints","python","python-library","rgb-colors","styling","terminal","terminal-colors","terminal-output","text-formatting"],"created_at":"2025-03-04T14:32:49.469Z","updated_at":"2025-03-04T14:32:50.184Z","avatar_url":"https://github.com/DGaliaf.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# BPrinter | Принтер\n\n[![PyPI version](https://badge.fury.io/py/bprinter.svg)](https://badge.fury.io/py/bprinter)\n[![Python](https://img.shields.io/pypi/pyversions/bprinter.svg)](https://pypi.org/project/bprinter/)\n[![License](https://img.shields.io/github/license/danilhodos/bprinter.svg)](https://github.com/danilhodos/bprinter/blob/main/LICENSE)\n\n[English](#english) | [Русский](#русский)\n\n\u003ca name=\"english\"\u003e\u003c/a\u003e\n## 🌈 BPrinter - Powerful Cross-Platform Terminal Styling Library\n\nBPrinter is a feature-rich library for terminal text styling that works seamlessly across Windows, macOS, and Linux.\n\n### 📦 Installation\n\n```bash\npip install bprinter\n```\n\n### 🚀 Quick Start\n\n```python\nfrom bprinter import Color, Background, Style\n\n# Simple color usage\nprint(Color.RED + \"Red text\" + Style.RESET)\n\n# Combining styles\nprint(Color.BLUE + Background.WHITE + Style.BOLD + \"Bold blue text on white background\" + Style.RESET)\n\n# Using context manager\nwith Style.color('red'):\n    print(\"This text is red\")\n    print(\"And this one too\")\n```\n\n### ✨ Features\n\n- 🎨 16 basic colors and 256 extended colors\n- 🖌 RGB color support\n- ✏️ Text styling (bold, italic, underline, etc.)\n- 🔤 ASCII art generation\n- 📝 Markdown-like text formatting\n- 🖥 Cross-platform compatibility\n- 🎯 Simple and intuitive API\n- 🛠 Extensible architecture\n\n### 🎨 Advanced Usage\n\n#### Logging with Styles\n\n```python\nfrom bprinter import BPrinter\n\nbp = BPrinter(show_time=True)\n\nbp.success(\"Operation completed successfully!\")\nbp.error(\"An error occurred\")\nbp.warning(\"Warning: Low memory\")\nbp.info(\"Processing data...\")\nbp.debug(\"Debug information\")\n```\n\n#### ASCII Art\n\n```python\nfrom bprinter import ASCIIArtGenerator\n\n# Create ASCII art\nprint(ASCIIArtGenerator.render(\"Hello!\", color=\"red\"))\n\n# Preview different fonts\nprint(ASCIIArtGenerator.preview_fonts(\"ABC\"))\n```\n\n#### Text Formatting\n\n```python\nfrom bprinter import Printer\n\nprinter = Printer(enable_formatting=True)\n\nprinter(\"This is **bold** and _italic_ text\")\nprinter(\"Use `code` and {red|colored text}\")\n```\n\n### 📚 Documentation\n\nFor detailed documentation and examples, visit our [GitHub repository](https://github.com/DGaliaf/bprinter).\n\n---\n\n\u003ca name=\"русский\"\u003e\u003c/a\u003e\n## 🌈 BPrinter - Мощная кросс-платформенная библиотека для стилизации текста в терминале\n\nBPrinter - это многофункциональная библиотека для стилизации текста в терминале, которая работает на Windows, macOS и Linux.\n\n### 📦 Установка\n\n```bash\npip install bprinter\n```\n\n### 🚀 Быстрый старт\n\n```python\nfrom bprinter import Color, Background, Style\n\n# Простое использование цветов\nprint(Color.RED + \"Красный текст\" + Style.RESET)\n\n# Комбинирование стилей\nprint(Color.BLUE + Background.WHITE + Style.BOLD + \"Жирный синий текст на белом фоне\" + Style.RESET)\n\n# Использование контекстного менеджера\nwith Style.color('red'):\n    print(\"Этот текст красный\")\n    print(\"И этот тоже\")\n```\n\n### ✨ Возможности\n\n- 🎨 16 базовых цветов и 256 расширенных цветов\n- 🖌 Поддержка RGB цветов\n- ✏️ Стилизация текста (жирный, курсив, подчеркивание и др.)\n- 🔤 Генерация ASCII арта\n- �� Форматирование текста в стиле Markdown\n- 🖥 Кросс-платформенная совместимость\n- 🎯 Простой и интуитивно понятный API\n- 🛠 Расширяемая архитектура\n\n### 🎨 Продвинутое использование\n\n#### Логирование со стилями\n\n```python\nfrom bprinter import BPrinter\n\nbp = BPrinter(show_time=True)\n\nbp.success(\"Операция успешно завершена!\")\nbp.error(\"Произошла ошибка\")\nbp.warning(\"Внимание: Мало памяти\")\nbp.info(\"Обработка данных...\")\nbp.debug(\"Отладочная информация\")\n```\n\n#### ASCII Арт\n\n```python\nfrom bprinter import ASCIIArtGenerator\n\n# Создание ASCII арта\nprint(ASCIIArtGenerator.render(\"Привет!\", color=\"red\"))\n\n# Предпросмотр разных шрифтов\nprint(ASCIIArtGenerator.preview_fonts(\"АБВ\"))\n```\n\n#### Форматирование текста\n\n```python\nfrom bprinter import Printer\n\nprinter = Printer(enable_formatting=True)\n\nprinter(\"Это **жирный** и _курсивный_ текст\")\nprinter(\"Используйте `код` и {red|цветной текст}\")\n```\n\n### 📚 Документация\n\nПодробная документация и примеры доступны в нашем [GitHub репозитории](https://github.com/DGaliaf/bprinter).\n\n## 📄 License | Лицензия\n\nMIT License ","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdgaliaf%2Fbprintoor","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdgaliaf%2Fbprintoor","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdgaliaf%2Fbprintoor/lists"}