Skip to content

Commit

Permalink
First Commit
Browse files Browse the repository at this point in the history
  • Loading branch information
UncleEngineer authored Apr 22, 2021
0 parents commit da504fe
Show file tree
Hide file tree
Showing 8 changed files with 168 additions and 0 deletions.
21 changes: 21 additions & 0 deletions LICENSE
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
MIT License

Copyright (c) 2021 Uncle Engineer

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
21 changes: 21 additions & 0 deletions LICENSE.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
MIT License

Copyright (c) 2021 Uncle Engineer

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
21 changes: 21 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
# AIBuilders Art

แพ็คเกจนี้ใช้สำหรับโชว์รูปศิลปะ ascii ซึ่งได้ผลงานมาจากสมาชิกเพจ AIBuilders ช่วยกันเขียนขึ้นมา

### วิธีติดตั้ง

เปิด CMD / Terminal

```python
pip install aibuildersart
```

### วิธีใช้งาน

```python
from aibuildersart import *

show = UncleEngineer()
show.art()
print("Author: {}".format(show.name))
```
26 changes: 26 additions & 0 deletions README.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
AIBuilders Art
==============

แพ็คเกจนี้ใช้สำหรับโชว์รูปศิลปะ ascii ซึ่งได้ผลงานมาจากสมาชิกเพจ
AIBuilders ช่วยกันเขียนขึ้นมา

วิธีติดตั้ง
~~~~~~~~~~~

เปิด CMD / Terminal

.. code:: python
pip install aibuildersart
วิธีใช้งาน
~~~~~~~~~~

.. code:: python
from aibuildersart import *
show = UncleEngineer()
show.art()
print("Author: {}".format(show.name))
1 change: 1 addition & 0 deletions aibuildersart/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
from aibuildersart.asciiart import *
39 changes: 39 additions & 0 deletions aibuildersart/asciiart.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
class UncleEngineer:
'''
test = UncleEngineer()
test.art()
'''
def __init__(self):
self.name = 'Uncle Engineer'

def art(self):
asciiart = '''
Z
Z
.,., z
(((((()) z
((('_ _`) '
((G \ |)
(((` " ,
.((\.:~: .--------------.
__.| `"'.__ | \ |
.~~ `---' ~. | . :
/ ` | `-.__________)
| ~ | : :
| | : |
| _ | | [ ## :
\ ~~-. | , oo_______.'
`_ ( \) _____/~~~~ `--___
| ~`-) ) `-. `--- ( - a:f -
| '///` | `-.
| | | | `-.
| | | | `-.
| | |\ |
| | | \|
`-. | | |
`-| '
'''
print(asciiart)

def __str__(self):
return self.name
2 changes: 2 additions & 0 deletions setup.cfg
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
[metadata]
description-file = README.md
37 changes: 37 additions & 0 deletions setup.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
import io
from os.path import abspath, dirname, join
from setuptools import find_packages, setup


HERE = dirname(abspath(__file__))
LOAD_TEXT = lambda name: io.open(join(HERE, name), encoding='UTF-8').read()
DESCRIPTION = '\n\n'.join(LOAD_TEXT(_) for _ in [
'README.rst'
])

setup(
name = 'aibuildersart',
packages = ['aibuildersart'],
version = '0.0.1',
license='MIT',
description = 'ASCII ART by AIBuilders member',
long_description=DESCRIPTION,
author = 'AIBuilders member',
author_email = 'loong.wissawakorn@gmail.com',
url = 'https://github.com/UncleEngineer/AIBuildersArt',
download_url = 'https://github.com/UncleEngineer/AIBuildersArt/archive/v0.0.1.zip',
keywords = ['ASCII','AIBuilders','Uncle Engineer'],
classifiers=[
'Development Status :: 3 - Alpha',
'Intended Audience :: Education',
'Topic :: Software Development :: Build Tools',
'License :: OSI Approved :: MIT License',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3.9',
],
)

0 comments on commit da504fe

Please sign in to comment.