smarttextdecorator


Namesmarttextdecorator JSON
Version 0.1.1 PyPI version JSON
download
home_pagehttps://github.com/smartlegionlab/smarttextdecorator/
SummaryA cross-platform library for decorating strings and displaying them beautifully in the console. Generates and displays lines to the full width of the console with the specified text and a placeholder character. Generates and displays a line with the specified text, decorated at the top and bottom with filler characters along the length of the line. Use for beautiful design of console applications.
upload_time2024-06-30 08:45:41
maintainerNone
docs_urlNone
authorA.A. Suvorov
requires_python>=3.6
licenseBSD 3-Clause License
keywords text decorator smartlegionlab
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # Smart Text Decorator
Smart text decorator.
A library for decorating strings and displaying them beautifully in the console.

- Generates and displays lines to the full width of the console with the specified text and a placeholder character.
- Generates and displays a line with the specified text, decorated at the top and bottom with filler characters along the length of the line.

> Use for beautiful design of console applications.

***

Author and developer: ___A.A. Suvorov___

***

![GitHub top language](https://img.shields.io/github/languages/top/smartlegionlab/smarttextdecorator)
[![PyPI - Downloads](https://img.shields.io/pypi/dm/smarttextdecorator?label=pypi%20downloads)](https://pypi.org/project/smarttextdecorator/)
[![GitHub release (latest by date)](https://img.shields.io/github/v/release/smartlegionlab/smarttextdecorator)](https://github.com/smartlegionlab/smarttextdecorator/)
[![GitHub](https://img.shields.io/github/license/smartlegionlab/smarttextdecorator)](https://github.com/smartlegionlab/smarttextdecorator/blob/master/LICENSE)
[![PyPI](https://img.shields.io/pypi/v/smarttextdecorator)](https://pypi.org/project/smarttextdecorator)
[![PyPI - Format](https://img.shields.io/pypi/format/smarttextdecorator)](https://pypi.org/project/smarttextdecorator)
[![GitHub Repo stars](https://img.shields.io/github/stars/smartlegionlab/smarttextdecorator?style=social)](https://github.com/smartlegionlab/smarttextdecorator/)
[![GitHub watchers](https://img.shields.io/github/watchers/smartlegionlab/smarttextdecorator?style=social)](https://github.com/smartlegionlab/smarttextdecorator/)
[![GitHub forks](https://img.shields.io/github/forks/smartlegionlab/smarttextdecorator?style=social)](https://github.com/smartlegionlab/smarttextdecorator/)


***

## Help:

- `pip install smarttextdecorator`

```python
from smarttextdecorator.tools import SmartPrinter
smart_printer = SmartPrinter()
SmartPrinter.print_framed(char='-')
smart_printer.print_center(text='Smart Legion Lab')
```

### Exemple:

```python
from smarttextdecorator.tools import SmartPrinter


def main():
    smart_printer = SmartPrinter()
    smart_printer.show_head(text='Smart Legion Lab')
    print()
    smart_printer.print_framed(text='Hello World!!!')
    print()
    smart_printer.show_footer(text='https://github.com/smartlegionlab/')


if __name__ == '__main__':
    main()

```

<img alt="image" src="data/images/smarttextdecorator.png">

***

## Disclaimer of liability:

    THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
    AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
    IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
    DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
    FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
    DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
    SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
    CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
    OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
    OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

***

## Copyright:
    --------------------------------------------------------
    Licensed under the terms of the BSD 3-Clause License
    (see LICENSE for details).
    Copyright © 2024, A.A. Suvorov
    All rights reserved.
    --------------------------------------------------------

            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/smartlegionlab/smarttextdecorator/",
    "name": "smarttextdecorator",
    "maintainer": null,
    "docs_url": null,
    "requires_python": ">=3.6",
    "maintainer_email": null,
    "keywords": "text decorator, smartlegionlab",
    "author": "A.A. Suvorov",
    "author_email": "smartlegiondev@gmail.com",
    "download_url": "https://files.pythonhosted.org/packages/9f/71/06f405038a5d1e3da36ec41e1af1b44458fccc181b8d5449f3674f759426/smarttextdecorator-0.1.1.tar.gz",
    "platform": null,
    "description": "# Smart Text Decorator\nSmart text decorator.\nA library for decorating strings and displaying them beautifully in the console.\n\n- Generates and displays lines to the full width of the console with the specified text and a placeholder character.\n- Generates and displays a line with the specified text, decorated at the top and bottom with filler characters along the length of the line.\n\n> Use for beautiful design of console applications.\n\n***\n\nAuthor and developer: ___A.A. Suvorov___\n\n***\n\n![GitHub top language](https://img.shields.io/github/languages/top/smartlegionlab/smarttextdecorator)\n[![PyPI - Downloads](https://img.shields.io/pypi/dm/smarttextdecorator?label=pypi%20downloads)](https://pypi.org/project/smarttextdecorator/)\n[![GitHub release (latest by date)](https://img.shields.io/github/v/release/smartlegionlab/smarttextdecorator)](https://github.com/smartlegionlab/smarttextdecorator/)\n[![GitHub](https://img.shields.io/github/license/smartlegionlab/smarttextdecorator)](https://github.com/smartlegionlab/smarttextdecorator/blob/master/LICENSE)\n[![PyPI](https://img.shields.io/pypi/v/smarttextdecorator)](https://pypi.org/project/smarttextdecorator)\n[![PyPI - Format](https://img.shields.io/pypi/format/smarttextdecorator)](https://pypi.org/project/smarttextdecorator)\n[![GitHub Repo stars](https://img.shields.io/github/stars/smartlegionlab/smarttextdecorator?style=social)](https://github.com/smartlegionlab/smarttextdecorator/)\n[![GitHub watchers](https://img.shields.io/github/watchers/smartlegionlab/smarttextdecorator?style=social)](https://github.com/smartlegionlab/smarttextdecorator/)\n[![GitHub forks](https://img.shields.io/github/forks/smartlegionlab/smarttextdecorator?style=social)](https://github.com/smartlegionlab/smarttextdecorator/)\n\n\n***\n\n## Help:\n\n- `pip install smarttextdecorator`\n\n```python\nfrom smarttextdecorator.tools import SmartPrinter\nsmart_printer = SmartPrinter()\nSmartPrinter.print_framed(char='-')\nsmart_printer.print_center(text='Smart Legion Lab')\n```\n\n### Exemple:\n\n```python\nfrom smarttextdecorator.tools import SmartPrinter\n\n\ndef main():\n    smart_printer = SmartPrinter()\n    smart_printer.show_head(text='Smart Legion Lab')\n    print()\n    smart_printer.print_framed(text='Hello World!!!')\n    print()\n    smart_printer.show_footer(text='https://github.com/smartlegionlab/')\n\n\nif __name__ == '__main__':\n    main()\n\n```\n\n<img alt=\"image\" src=\"data/images/smarttextdecorator.png\">\n\n***\n\n## Disclaimer of liability:\n\n    THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS \"AS IS\"\n    AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE\n    IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE\n    DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE\n    FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL\n    DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR\n    SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER\n    CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,\n    OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE\n    OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.\n\n***\n\n## Copyright:\n    --------------------------------------------------------\n    Licensed under the terms of the BSD 3-Clause License\n    (see LICENSE for details).\n    Copyright \u00a9 2024, A.A. Suvorov\n    All rights reserved.\n    --------------------------------------------------------\n",
    "bugtrack_url": null,
    "license": "BSD 3-Clause License",
    "summary": "A cross-platform library for decorating strings and displaying them beautifully in the console. Generates and displays lines to the full width of the console with the specified text and a placeholder character. Generates and displays a line with the specified text, decorated at the top and bottom with filler characters along the length of the line. Use for beautiful design of console applications.",
    "version": "0.1.1",
    "project_urls": {
        "Documentation": "https://github.com/smartlegionlab/smarttextdecorator/blob/master/README.md",
        "Homepage": "https://github.com/smartlegionlab/smarttextdecorator/",
        "Release notes": "https://github.com/smartlegionlab/smarttextdecorator/releases"
    },
    "split_keywords": [
        "text decorator",
        " smartlegionlab"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "6f534ea4fcacc76f640ac987a9e8780e42bde9ce0fbd0ec186045c0e25759395",
                "md5": "d345cbeb4eae5ddd400370c577f5bf14",
                "sha256": "238513f1a5a6dc9955c5ad38589e87ac35b18b9d3852d24a904f76314ad36e0e"
            },
            "downloads": -1,
            "filename": "smarttextdecorator-0.1.1-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "d345cbeb4eae5ddd400370c577f5bf14",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.6",
            "size": 4999,
            "upload_time": "2024-06-30T08:45:40",
            "upload_time_iso_8601": "2024-06-30T08:45:40.054469Z",
            "url": "https://files.pythonhosted.org/packages/6f/53/4ea4fcacc76f640ac987a9e8780e42bde9ce0fbd0ec186045c0e25759395/smarttextdecorator-0.1.1-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "9f7106f405038a5d1e3da36ec41e1af1b44458fccc181b8d5449f3674f759426",
                "md5": "b4d172ff413d81845411e416aaf82555",
                "sha256": "7816a5781abb6958d8f9d10fd389f291ebc853080ea5d9b5e037d6c093389cb9"
            },
            "downloads": -1,
            "filename": "smarttextdecorator-0.1.1.tar.gz",
            "has_sig": false,
            "md5_digest": "b4d172ff413d81845411e416aaf82555",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.6",
            "size": 3966,
            "upload_time": "2024-06-30T08:45:41",
            "upload_time_iso_8601": "2024-06-30T08:45:41.614348Z",
            "url": "https://files.pythonhosted.org/packages/9f/71/06f405038a5d1e3da36ec41e1af1b44458fccc181b8d5449f3674f759426/smarttextdecorator-0.1.1.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-06-30 08:45:41",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "smartlegionlab",
    "github_project": "smarttextdecorator",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": false,
    "requirements": [],
    "lcname": "smarttextdecorator"
}
        
Elapsed time: 0.27971s