Banner Output Program
Project description
banner_j25ng
_ ___ ______
(_)__ \ / ____/___ ____ _
/ /__/ //___ \/ __ \/ __ `/
/ // __/____/ / / / / /_/ /
__/ //____/_____/_/ /_/\__, /
/___/ /____/
Usage
source code : banner.py
from pyfiglet import Figlet
def show():
f = Figlet(font='slant')
print(f.renderText('j25ng'))
def pic():
p = """
// ASKIII PIC
"""
print(p)
def lotto():
l = random.sample(range(1,46),6)
print(l)
add pyproject.toml option
[project.scripts]
j25ng-banner = 'banner_j25ng.banner:show'
j25ng-pic = 'banner_j25ng.banner:pic'
j25ng-lotto = 'banner_j25ng.banner:lotto'
install
$ pip install .
on shell
$ j25ng-banner
_ ___ ______
(_)__ \ / ____/___ ____ _
/ /__/ //___ \/ __ \/ __ `/
/ // __/____/ / / / / /_/ /
__/ //____/_____/_/ /_/\__, /
/___/ /____/
$ j25ng-pic
-------------:------::--:::-=#@@%+--------=--===-=
-----=---:----:--:--------:--=@@@@*-------------=-
---=======--------*@@+--==-:--*@@@%*++=---=-:----=
-=====-=----------=%@@%*++*****#%%%%%#+==--::.:-==
====+=========--=-=@@@@@@@@@@@%%%@@@%%#*=-=====-==
====+===+++========@@@@%%%@%*%@%%@@@%%%%+==+======
===++====++==++-===%@@%%#@@+.#@##%@@%%%%*===-=====
+=+++++============+@@@%##+:.*##%%%%%%%%#++=====++
++====++===========+#@%%%+.::.-#@%%%%@@%%*+===++==
+=-=-=++==========++%%%#*::=-:.=*#%%@@@%%*===+++=+
=-===+=====++==--=*%%%*----::--+##%@@@%%*=-=++*++=
=====---==+++**+++#@@@%+:::::-#%%%@@%*=:.-=+=--===
+++=======+++***+#%@@@%*:..:=*%@@%@@#++:.:==+++++=
==++++=====+++=+*%@@@@@%#-:+%@@@@@@%#**+:-=+*+==+=
+*+++*==**=++++*#@@@@@@%#+=*#%@@@@@%#*****+**+=---
=+++++==++===+*#%@@@@##*++++*#@%@@%#**===+++===-==
-=++**++=====*%@@@%##**+=###%@@@@@*****##*++++===+
$ j25ng-lotto
[40, 25, 2, 18, 30, 8]
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
banner_j25ng-0.3.1.tar.gz
(2.1 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters