```text
██████╗ ██╗ ██╗██████╗ ██████╗ ██╗███╗ ██╗████████╗██╗ ██╗
██╔══██╗╚██╗ ██╔╝██╔══██╗██╔══██╗██║████╗ ██║╚══██╔══╝╚██╗ ██╔╝
██████╔╝ ╚████╔╝ ██████╔╝██████╔╝██║██╔██╗ ██║ ██║ ╚████╔╝
██╔═══╝ ╚██╔╝ ██╔═══╝ ██╔═══╝ ██║██║╚██╗██║ ██║ ╚██╔╝
██║ ██║ ██║ ██║ ██║██║ ╚████║ ██║ ██║
╚═╝ ╚═╝ ╚═╝ ╚═╝ ╚═╝╚═╝ ╚═══╝ ╚═╝ ╚═╝
```
# version 2.0.2.
## Description:
Extensions for printing and strings in general.
Create simple animations, loading bars, manage user messages in custom fonts.
Text designs, and special prints.
And all - by yourself.
## Documentation:
For documentation via github [Click here.](https://yedist.github.io/pyprinty/)
## license:
MIT © 2025 Yedidya steinmetz
## simple example:
```text
from pyprinty import Font, Fonts
my_font = Font(load=Fonts.CLASSIC) # Creating a font, using a ready-made font
# Printing a message to the user from the font we created
print(my_font("hello ", input("What is your name?"), sep=" "), end="!")
# You don't have to use ready-made fonts, you can create your own, and much more!
```
## little more:
This is just a part:
```text
from pyprinty import Font, Fonts
from pyprinty import Colors, Color
from pyprinty import Effects, Cursor
from pyprinty import Animation
from pyprinty import size
# Creating the fonts:
my_font = Font(
text_color=Colors.RED, # Ready color
base_color=Color(0, 255, 0), # Background color, Custom color
effects=[Effects.Bold, Effects.Speedblink] # Two ready-made effects
)
error_font = Font(load=Fonts.ERROR) # Creating a font and loading ready-made font settings Error
# Creating a management animation of the prints
my_animation = Animation(
load={ # Loading by dict, this can also be done in font
# Creates an animated object, sets the font, and makes it into a normal print mode.
"message": {"font": my_font, "mode": "print"}
}
)
# Adding an object manually, on glossy print mode
my_animation.add_font("error", error_font, mode="glare")
# Using the message object we created
my_animation.send(
"message", # the object
"hello", input("What is your name?"), # the text
sep=" ", end="" # The library preserves all parameters.
)
Cursor.PRINT(Cursor.CLEAR_ALL) # Reset the entire terminal (there are many more such commands)
# Demonstration of printing via the print command using the error font
print(
error_font(
# Print the current line size and number of lines of the terminal
"your consul size is", size(), sep=" "
),
end="!"
)
# There's a lot more in this library!
```
Raw data
{
"_id": null,
"home_page": null,
"name": "pyprinty",
"maintainer": null,
"docs_url": null,
"requires_python": ">=3.8",
"maintainer_email": null,
"keywords": "print, terminal, text, output, effects, colors, strings, str, fonts, console",
"author": null,
"author_email": "Yedidya steinmetz <yd.sc.20@gmail.com>",
"download_url": "https://files.pythonhosted.org/packages/85/d6/d61548bd42b50b0f2ed8e373f51692b677d944e5bffed25d11343b98ef5d/pyprinty-2.0.2.tar.gz",
"platform": null,
"description": "```text\r\n\u2588\u2588\u2588\u2588\u2588\u2588\u2557 \u2588\u2588\u2557 \u2588\u2588\u2557\u2588\u2588\u2588\u2588\u2588\u2588\u2557 \u2588\u2588\u2588\u2588\u2588\u2588\u2557 \u2588\u2588\u2557\u2588\u2588\u2588\u2557 \u2588\u2588\u2557\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2557\u2588\u2588\u2557 \u2588\u2588\u2557\r\n\u2588\u2588\u2554\u2550\u2550\u2588\u2588\u2557\u255a\u2588\u2588\u2557 \u2588\u2588\u2554\u255d\u2588\u2588\u2554\u2550\u2550\u2588\u2588\u2557\u2588\u2588\u2554\u2550\u2550\u2588\u2588\u2557\u2588\u2588\u2551\u2588\u2588\u2588\u2588\u2557 \u2588\u2588\u2551\u255a\u2550\u2550\u2588\u2588\u2554\u2550\u2550\u255d\u255a\u2588\u2588\u2557 \u2588\u2588\u2554\u255d\r\n\u2588\u2588\u2588\u2588\u2588\u2588\u2554\u255d \u255a\u2588\u2588\u2588\u2588\u2554\u255d \u2588\u2588\u2588\u2588\u2588\u2588\u2554\u255d\u2588\u2588\u2588\u2588\u2588\u2588\u2554\u255d\u2588\u2588\u2551\u2588\u2588\u2554\u2588\u2588\u2557 \u2588\u2588\u2551 \u2588\u2588\u2551 \u255a\u2588\u2588\u2588\u2588\u2554\u255d\r\n\u2588\u2588\u2554\u2550\u2550\u2550\u255d \u255a\u2588\u2588\u2554\u255d \u2588\u2588\u2554\u2550\u2550\u2550\u255d \u2588\u2588\u2554\u2550\u2550\u2550\u255d \u2588\u2588\u2551\u2588\u2588\u2551\u255a\u2588\u2588\u2557\u2588\u2588\u2551 \u2588\u2588\u2551 \u255a\u2588\u2588\u2554\u255d\r\n\u2588\u2588\u2551 \u2588\u2588\u2551 \u2588\u2588\u2551 \u2588\u2588\u2551 \u2588\u2588\u2551\u2588\u2588\u2551 \u255a\u2588\u2588\u2588\u2588\u2551 \u2588\u2588\u2551 \u2588\u2588\u2551\r\n\u255a\u2550\u255d \u255a\u2550\u255d \u255a\u2550\u255d \u255a\u2550\u255d \u255a\u2550\u255d\u255a\u2550\u255d \u255a\u2550\u2550\u2550\u255d \u255a\u2550\u255d \u255a\u2550\u255d\r\n```\r\n# version 2.0.2.\r\n\r\n\r\n## Description:\r\nExtensions for printing and strings in general.\r\nCreate simple animations, loading bars, manage user messages in custom fonts.\r\nText designs, and special prints.\r\nAnd all - by yourself.\r\n\r\n## Documentation:\r\nFor documentation via github [Click here.](https://yedist.github.io/pyprinty/)\r\n\r\n## license:\r\nMIT \u00a9 2025 Yedidya steinmetz\r\n\r\n## simple example:\r\n\r\n```text\r\nfrom pyprinty import Font, Fonts\r\n\r\n\r\nmy_font = Font(load=Fonts.CLASSIC) # Creating a font, using a ready-made font\r\n\r\n# Printing a message to the user from the font we created\r\nprint(my_font(\"hello \", input(\"What is your name?\"), sep=\" \"), end=\"!\")\r\n\r\n# You don't have to use ready-made fonts, you can create your own, and much more!\r\n\r\n```\r\n\r\n## little more:\r\nThis is just a part:\r\n```text\r\nfrom pyprinty import Font, Fonts\r\nfrom pyprinty import Colors, Color\r\nfrom pyprinty import Effects, Cursor\r\nfrom pyprinty import Animation\r\nfrom pyprinty import size\r\n\r\n\r\n# Creating the fonts:\r\nmy_font = Font(\r\n text_color=Colors.RED, # Ready color\r\n base_color=Color(0, 255, 0), # Background color, Custom color\r\n effects=[Effects.Bold, Effects.Speedblink] # Two ready-made effects\r\n)\r\nerror_font = Font(load=Fonts.ERROR) # Creating a font and loading ready-made font settings Error\r\n# Creating a management animation of the prints\r\nmy_animation = Animation(\r\n load={ # Loading by dict, this can also be done in font\r\n # Creates an animated object, sets the font, and makes it into a normal print mode.\r\n \"message\": {\"font\": my_font, \"mode\": \"print\"}\r\n }\r\n)\r\n# Adding an object manually, on glossy print mode\r\nmy_animation.add_font(\"error\", error_font, mode=\"glare\")\r\n# Using the message object we created\r\nmy_animation.send(\r\n \"message\", # the object\r\n \"hello\", input(\"What is your name?\"), # the text\r\n sep=\" \", end=\"\" # The library preserves all parameters.\r\n)\r\nCursor.PRINT(Cursor.CLEAR_ALL) # Reset the entire terminal (there are many more such commands)\r\n# Demonstration of printing via the print command using the error font\r\nprint(\r\n error_font(\r\n # Print the current line size and number of lines of the terminal\r\n \"your consul size is\", size(), sep=\" \"\r\n ),\r\n end=\"!\"\r\n)\r\n# There's a lot more in this library!\r\n\r\n```\r\n",
"bugtrack_url": null,
"license": "MIT",
"summary": "Extensions to the print command and strings in general.",
"version": "2.0.2",
"project_urls": null,
"split_keywords": [
"print",
" terminal",
" text",
" output",
" effects",
" colors",
" strings",
" str",
" fonts",
" console"
],
"urls": [
{
"comment_text": null,
"digests": {
"blake2b_256": "661f630493ef3dc75a636b971d7a6004b3b5a99de616d6906c58dc7d68333a2d",
"md5": "4576f5a82abcdde120be1a0c8cb7cd4c",
"sha256": "3bebe2e25f406198794f9adeb0d962a78ab4767262a45b67c189aed82aaa3d66"
},
"downloads": -1,
"filename": "pyprinty-2.0.2-py3-none-any.whl",
"has_sig": false,
"md5_digest": "4576f5a82abcdde120be1a0c8cb7cd4c",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.8",
"size": 8229,
"upload_time": "2025-07-15T15:35:06",
"upload_time_iso_8601": "2025-07-15T15:35:06.838386Z",
"url": "https://files.pythonhosted.org/packages/66/1f/630493ef3dc75a636b971d7a6004b3b5a99de616d6906c58dc7d68333a2d/pyprinty-2.0.2-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": null,
"digests": {
"blake2b_256": "85d6d61548bd42b50b0f2ed8e373f51692b677d944e5bffed25d11343b98ef5d",
"md5": "6633cd9046c8ccc60087e2230990da0e",
"sha256": "d45d4480aa5c64d2e8cfca7f8ec3d233cd2ad540f6ab24b2f83ff0a22ee6ba13"
},
"downloads": -1,
"filename": "pyprinty-2.0.2.tar.gz",
"has_sig": false,
"md5_digest": "6633cd9046c8ccc60087e2230990da0e",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.8",
"size": 7939,
"upload_time": "2025-07-15T15:35:08",
"upload_time_iso_8601": "2025-07-15T15:35:08.095511Z",
"url": "https://files.pythonhosted.org/packages/85/d6/d61548bd42b50b0f2ed8e373f51692b677d944e5bffed25d11343b98ef5d/pyprinty-2.0.2.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2025-07-15 15:35:08",
"github": false,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"lcname": "pyprinty"
}