Skip to main content
Ctrl+K
Wulfric v0.5.4 - Home Wulfric v0.5.4 - Home
  • Installation
  • User Guide
  • API reference
  • Release notes
    • Contributor`s guide
    • How to cite us?
    • Support
  • GitHub
  • PyPI
  • Installation
  • User Guide
  • API reference
  • Release notes
  • Contributor`s guide
  • How to cite us?
  • Support
  • GitHub
  • PyPI

Section Navigation

  • wulfric.cell
  • wulfric.constants
  • wulfric.crystal
  • wulfric.io
  • wulfric.visualization
  • wulfric.geometry
  • wulfric.Kpoints
  • wulfric.compare_numerically
  • wulfric.add_sugar
  • wulfric.remove_sugar
  • wulfric.print_2d_array
  • wulfric.logo
  • wulfric.StandardizationTypeMismatch
  • wulfric.FailedToDeduceAtomSpecies
  • wulfric.NiggliReductionFailed
  • API reference
  • wulfric.logo

wulfric.logo#

wulfric.logo(info=None, line_length=None, flat=False, date_time=False, comment=None)[source]#

Generates logo of wulfric with some information about the package

Parameters:
infolist of str, optional

Information about the package, that is displayed below the logo. Each element should not exceed 50 characters. by default it displays the version, release date, git hash and documentation link. You can pass th empty list to display only the logo.

line_lengthint, optional

Length of the lines to be returned. Minimum value is 62.

flatbool

Whether to return a flat logo or not.

date_timebool, default False

Whether to include the date and time to the standard info or not.

commentstr or bool, optional

Whether to use some character at the end of each string. If bool and True, then "# " is used. If str, then this string is used. If None, then no character is used.

Returns:
logo_infostr

Logo and information about the package.

Examples

>>> import wulfric as wulf
>>> print(wulf.logo(info=[]))
██╗      ██╗ ██╗   ██╗ ██╗      ███████╗ ██████╗  ██╗  ██████╗
██║      ██║ ██║   ██║ ██║      ██╔════╝ ██╔══██╗ ██║ ██╔════╝
██║  █╗  ██║ ██║   ██║ ██║      █████╗   ██████╔╝ ██║ ██║
██║ ███╗ ██║ ██║   ██║ ██║      ██╔══╝   ██╔══██╗ ██║ ██║
╚███╔══███╔╝ ╚██████╔╝ ███████╗ ██║      ██║  ██║ ██║ ╚██████╗
╚══╝  ╚══╝   ╚═════╝  ╚══════╝ ╚═╝      ╚═╝  ╚═╝ ╚═╝  ╚═════╝

previous

wulfric.print_2d_array

next

wulfric.StandardizationTypeMismatch

On this page
  • logo()
Edit on GitHub

This Page

  • Show Source

© Copyright 2023-2025, Andrey Rybakov.

Created using Sphinx 8.2.3.

Built with the PyData Sphinx Theme 0.16.1.