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]
Release files for banner_j25ng 0.3.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| banner_j25ng-0.3.1.tar.gz | 2.1 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| banner_j25ng-0.3.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 5.1 kB