File tree Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change 22
33A python module for making your outputs have aesthetique.
44
5- ## Installation
5+ ## Installation
66
77 $ pip install pyaesthetique
88
9- ## Usage
9+ ## Usage
1010
1111``` python
1212from aesthetique import Aesthetique
1313a = Aesthetique()
1414a.translate(" python module for adding aesthetic to your outputs" )
15- ' python module for adding aesthetic to your outputs 湯浅 倫太郎'
15+ ' 『 python module for adding aesthetic to your outputs 』 湯浅 倫太郎'
1616```
1717
1818Adds aesthetic to your string, and then sprinkls some Japanese kanji that doesn't make any sense just for fun.
Original file line number Diff line number Diff line change 11from gimini import Gimei
22
33class Aesthetique :
4-
4+
55 def __init__ (self ):
66 pass
77
@@ -12,5 +12,5 @@ def translate(self, input):
1212 widemap = dict ((ord (x [0 ]), x [1 ]) for x in zip (normal , wide ))
1313 wide_output = input .translate (widemap )
1414 name_output = Gimei ().name .kanji
15- output = '{0} {1}' .format (wide_output , name_output )
15+ output = '『 {0} 』 {1}' .format (wide_output , name_output )
1616 return output
You can’t perform that action at this time.
0 commit comments