wicked-print


Namewicked-print JSON
Version 0.1.1 PyPI version JSON
download
home_pageNone
SummaryTiny utility that prints colorful strings one character at a time.
upload_time2025-10-09 05:36:05
maintainerNone
docs_urlNone
authorZhaolun Zou
requires_python>=3.7
licenseMIT
keywords print terminal typing cli
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # wicked_print

<p align="left">
  <img src="https://raw.githubusercontent.com/zergzzlun/wicked_print/refs/heads/main/assets/logo.png" alt="wicked_print logo" height="256" />
  <img src="https://raw.githubusercontent.com/zergzzlun/wicked_print/refs/heads/main/assets/example_01.gif" alt="wicked_print example" height="256" />
</p>

Tiny non-blocking "typewriter" and colorful printing for Python — render text character by character without slowing your code.

## Install

```
pip install wicked_print
```

## Usage

### Basic

```python
from wicked_print import wicked_print

wicked_print('Hello', 'world!', sep=', ', end='!\n')
wicked_print('Processing', perform_logging=True, print_interval=0.05)
wicked_print('Success', color='#ff0058')  # colour on TTYs
```

### API Reference

```python
from wicked_print import wicked_print, wicked_print_flush, configure_wicked_print
```

#### `wicked_print(*objects, end='\n', sep=' ', perform_logging=False, print_interval=0.015, color=None)`
- `*objects` (`Any`): values to render.
- `end` (`str`): terminator appended after the text.
- `sep` (`str`): inserted between each object.
- `perform_logging` (`bool`): emit the rendered text via `logging.info` when `True`.
- `print_interval` (`float`): per-character delay in seconds.
- `color` (`str | None`): named or hex colour applied on TTYs (e.g. `'red'`, `'#FF6600'`).

#### `wicked_print_flush(timeout=None)`
- `timeout` (`float | None`): seconds to wait for the queue to empty.

#### `configure_wicked_print(max_queue=None)`
- `max_queue` (`int | None`): positive integer cap for queued messages (`None` removes the cap).

            

Raw data

            {
    "_id": null,
    "home_page": null,
    "name": "wicked-print",
    "maintainer": null,
    "docs_url": null,
    "requires_python": ">=3.7",
    "maintainer_email": null,
    "keywords": "print, terminal, typing, cli",
    "author": "Zhaolun Zou",
    "author_email": null,
    "download_url": "https://files.pythonhosted.org/packages/db/10/e3427709ffd5d6dedd004e67ea5f3d77337c72387123935045363b25923d/wicked_print-0.1.1.tar.gz",
    "platform": null,
    "description": "# wicked_print\n\n<p align=\"left\">\n  <img src=\"https://raw.githubusercontent.com/zergzzlun/wicked_print/refs/heads/main/assets/logo.png\" alt=\"wicked_print logo\" height=\"256\" />\n  <img src=\"https://raw.githubusercontent.com/zergzzlun/wicked_print/refs/heads/main/assets/example_01.gif\" alt=\"wicked_print example\" height=\"256\" />\n</p>\n\nTiny non-blocking \"typewriter\" and colorful printing for Python \u2014 render text character by character without slowing your code.\n\n## Install\n\n```\npip install wicked_print\n```\n\n## Usage\n\n### Basic\n\n```python\nfrom wicked_print import wicked_print\n\nwicked_print('Hello', 'world!', sep=', ', end='!\\n')\nwicked_print('Processing', perform_logging=True, print_interval=0.05)\nwicked_print('Success', color='#ff0058')  # colour on TTYs\n```\n\n### API Reference\n\n```python\nfrom wicked_print import wicked_print, wicked_print_flush, configure_wicked_print\n```\n\n#### `wicked_print(*objects, end='\\n', sep=' ', perform_logging=False, print_interval=0.015, color=None)`\n- `*objects` (`Any`): values to render.\n- `end` (`str`): terminator appended after the text.\n- `sep` (`str`): inserted between each object.\n- `perform_logging` (`bool`): emit the rendered text via `logging.info` when `True`.\n- `print_interval` (`float`): per-character delay in seconds.\n- `color` (`str | None`): named or hex colour applied on TTYs (e.g. `'red'`, `'#FF6600'`).\n\n#### `wicked_print_flush(timeout=None)`\n- `timeout` (`float | None`): seconds to wait for the queue to empty.\n\n#### `configure_wicked_print(max_queue=None)`\n- `max_queue` (`int | None`): positive integer cap for queued messages (`None` removes the cap).\n",
    "bugtrack_url": null,
    "license": "MIT",
    "summary": "Tiny utility that prints colorful strings one character at a time.",
    "version": "0.1.1",
    "project_urls": {
        "Homepage": "https://github.com/zergzzlun/wicked_print",
        "Issues": "https://github.com/zergzzlun/wicked_print/issues"
    },
    "split_keywords": [
        "print",
        " terminal",
        " typing",
        " cli"
    ],
    "urls": [
        {
            "comment_text": null,
            "digests": {
                "blake2b_256": "3326fde48ca49507ff950b70fb5f19085715378802be02cb0426a167452feb27",
                "md5": "322e9b6776c8daea449ce1cd436598bd",
                "sha256": "3451bc990a24658e3c853188a7df914668c91aa763c0d9dcc617d7b196bad98d"
            },
            "downloads": -1,
            "filename": "wicked_print-0.1.1-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "322e9b6776c8daea449ce1cd436598bd",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.7",
            "size": 6011,
            "upload_time": "2025-10-09T05:36:03",
            "upload_time_iso_8601": "2025-10-09T05:36:03.719864Z",
            "url": "https://files.pythonhosted.org/packages/33/26/fde48ca49507ff950b70fb5f19085715378802be02cb0426a167452feb27/wicked_print-0.1.1-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": null,
            "digests": {
                "blake2b_256": "db10e3427709ffd5d6dedd004e67ea5f3d77337c72387123935045363b25923d",
                "md5": "83cbf5eddce37ca839e3ca05e6860f51",
                "sha256": "e7a9317756f9e102a896a9882dd2ce8d19f1ca4f12244a42197b05793296e435"
            },
            "downloads": -1,
            "filename": "wicked_print-0.1.1.tar.gz",
            "has_sig": false,
            "md5_digest": "83cbf5eddce37ca839e3ca05e6860f51",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.7",
            "size": 7386,
            "upload_time": "2025-10-09T05:36:05",
            "upload_time_iso_8601": "2025-10-09T05:36:05.117635Z",
            "url": "https://files.pythonhosted.org/packages/db/10/e3427709ffd5d6dedd004e67ea5f3d77337c72387123935045363b25923d/wicked_print-0.1.1.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2025-10-09 05:36:05",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "zergzzlun",
    "github_project": "wicked_print",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": true,
    "lcname": "wicked-print"
}
        
Elapsed time: 4.59791s