magnopy.logo#
- magnopy.logo(date_time=False, comment_char=None, logo_width=None, **kwargs)[source]#
Generates a logo of Magnopy.
Returns the logo and some information about the package.
- Parameters:
- date_timebool, default False
Whether to include the date and time to the info or not.
- comment_charstr or bool, optional
Changed in version 0.6.0:: Renamed from
commentWhether to use some character at the beginning of each string. If
boolandTrue, then "# " is used. Ifstr, then this string is used. IfNone, then no character is used.- logo_widthint, optional
Including
comment_char. The logo will be centered in the string of this width. By default it is the maximum between the width of the logo and the width of lines in theinfo.- **kwargs
For backwards compatibility.
- Returns:
- logo_stringstr
Logo and information about the package. Use
print(logo())to display it.