smarttextdecorator


Namesmarttextdecorator JSON
Version 0.1.2 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-08-03 13:48:11
maintainerNone
docs_urlNone
authorA.A. Suvorov
requires_python>=3.6
licenseBSD 3-Clause License
keywords text decorator smartlegionlab smart printer smartprinter
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # Smart Text Decorator <sup>v0.1.2</sup>
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/)


***

## What's new:

__smarttextdecorator__ v0.7.3

> WARNING! Not backward compatible with older versions.

- Fix errors. 
- Code refactoring.

***

## Help:

- `pip install smarttextdecorator`

```python
from smarttextdecorator import SmartPrinter

SmartPrinter.print_framed(symbol='-')
SmartPrinter.print_center(text='Smart Legion Lab')

```

### Exemple:

```python
from smarttextdecorator import SmartPrinter


def main():
    SmartPrinter.show_head(text='Smart Legion Lab')
    print()
    SmartPrinter.print_framed(text='Hello World!!!')
    print()
    SmartPrinter.show_footer(url='https://github.com/smartlegionlab/', copyright_='Copyright © 2024, A.A. Suvorov. All rights reserved.')


if __name__ == '__main__':
    main()

```

![logo](https://github.com/smartlegionlab/smarttextdecorator/raw/master/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, smart printer, smartprinter",
    "author": "A.A. Suvorov",
    "author_email": "smartlegiondev@gmail.com",
    "download_url": "https://files.pythonhosted.org/packages/49/ab/4049975d8fc6656d11b34b95ecc2c6fc1c1673c3d818130646edd18f1ed4/smarttextdecorator-0.1.2.tar.gz",
    "platform": null,
    "description": "# Smart Text Decorator <sup>v0.1.2</sup>\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## What's new:\n\n__smarttextdecorator__ v0.7.3\n\n> WARNING! Not backward compatible with older versions.\n\n- Fix errors. \n- Code refactoring.\n\n***\n\n## Help:\n\n- `pip install smarttextdecorator`\n\n```python\nfrom smarttextdecorator import SmartPrinter\n\nSmartPrinter.print_framed(symbol='-')\nSmartPrinter.print_center(text='Smart Legion Lab')\n\n```\n\n### Exemple:\n\n```python\nfrom smarttextdecorator import SmartPrinter\n\n\ndef main():\n    SmartPrinter.show_head(text='Smart Legion Lab')\n    print()\n    SmartPrinter.print_framed(text='Hello World!!!')\n    print()\n    SmartPrinter.show_footer(url='https://github.com/smartlegionlab/', copyright_='Copyright \u00a9 2024, A.A. Suvorov. All rights reserved.')\n\n\nif __name__ == '__main__':\n    main()\n\n```\n\n![logo](https://github.com/smartlegionlab/smarttextdecorator/raw/master/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.2",
    "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",
        " smart printer",
        " smartprinter"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "83256147aabe7f03c0d5ba023765b0a204422c74177294be2340b04ae0689757",
                "md5": "37444b3f271ebd554eb38205904cd9cd",
                "sha256": "f58cfac27469f409ab33fb6cf6dc6a4c1cbecd1e1876a54f6a192c8337fc7912"
            },
            "downloads": -1,
            "filename": "smarttextdecorator-0.1.2-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "37444b3f271ebd554eb38205904cd9cd",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.6",
            "size": 5141,
            "upload_time": "2024-08-03T13:48:09",
            "upload_time_iso_8601": "2024-08-03T13:48:09.182107Z",
            "url": "https://files.pythonhosted.org/packages/83/25/6147aabe7f03c0d5ba023765b0a204422c74177294be2340b04ae0689757/smarttextdecorator-0.1.2-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "49ab4049975d8fc6656d11b34b95ecc2c6fc1c1673c3d818130646edd18f1ed4",
                "md5": "568ae232fafbe1cfa41d597c373afb1c",
                "sha256": "c4288383bfbd6125fc0b4e05e8bb310ba0e0591aa71f7cd66251fe6beffa4898"
            },
            "downloads": -1,
            "filename": "smarttextdecorator-0.1.2.tar.gz",
            "has_sig": false,
            "md5_digest": "568ae232fafbe1cfa41d597c373afb1c",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.6",
            "size": 4131,
            "upload_time": "2024-08-03T13:48:11",
            "upload_time_iso_8601": "2024-08-03T13:48:11.355537Z",
            "url": "https://files.pythonhosted.org/packages/49/ab/4049975d8fc6656d11b34b95ecc2c6fc1c1673c3d818130646edd18f1ed4/smarttextdecorator-0.1.2.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-08-03 13:48:11",
    "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.57612s