How to use the portray._version.__version__ function in portray

To help you get started, we’ve selected a few portray examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github timothycrosley / portray / portray / logo.py View on Github external
from portray._version import __version__

ascii_art = rf"""
                      __
                     /\ \__
 _____     ___   _ __\ \ ,_\  _ __    __     __  __
/\ '__`\  / __`\/\`'__\ \ \/ /\`'__\/'__`\  /\ \/\ \
\ \ \L\ \/\ \L\ \ \ \/ \ \ \_\ \ \//\ \L\.\_\ \ \_\ \
 \ \ ,__/\ \____/\ \_\  \ \__\\ \_\\ \__/.\_\\/`____ \
  \ \ \/  \/___/  \/_/   \/__/ \/_/ \/__/\/_/ `/___/> \
   \ \_\                                         /\___/
    \/_/                                         \/__/
        Your Project with Great Documentation.

Version: {__version__}
Copyright Timothy Edmund Crosley 2019 MIT License
"""

__doc__ = f"""
```python
{ascii_art}