Shuaifu
Yet another language
Install
pip install shuaifu
Usage
import shuaifu
shuaifu.believe() # print believe words
print(shuaifu.get_version()) # print version
print(shuaifu.translate('woxbyhukfu!')) # translate into pinyin
or
import shuaifu
shuaifu.xbyh() # uuiuxbyhwfbf
print(shuaifu.bjbf()) # uuiubjbf
print(shuaifu.fjyi('woxbyhukfu!')) # fjyidcpbyb
Get Holidays
import shuaifu
if __name__ == '__main__':
startYear = 2000
count = 10
for i in shuaifu.holidays(startYear,count):
print(i)
or
import shuaifu
if __name__ == '__main__':
kdui = 2000
uull = 10
for i in shuaifu.jxqi(kdui,uull):
print(i)
the out put will be
2002-12-14
2003-12-14
2008-12-14
Advanced Usage
import shuaifu
@shuaifu.believe
def hello(name):
print('Hello '+ name)
if __name__ == '__main__':
hello('World')
the output will be
函数hello受到了感化,函数hello开始信仰帅副了!
函数hello沐浴教旨,努力工作,终于有了结果
Hello World
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
shuaifu-1.4.0.tar.gz
(4.0 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
File details
Details for the file shuaifu-1.4.0.tar.gz.
File metadata
- Download URL: shuaifu-1.4.0.tar.gz
- Upload date:
- Size: 4.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.19.1 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.7.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d064acb0e6cb5cf19994d3670b6d8bfa1afbd298135da0386e3628df98a81411
|
|
| MD5 |
50afa9cd0ec6320abba01a0958d952c5
|
|
| BLAKE2b-256 |
90918d65f4818a4fe2450832fd64cdb73cb609a3539d351efc6da6e46839e9b3
|
File details
Details for the file shuaifu-1.4.0-py3-none-any.whl.
File metadata
- Download URL: shuaifu-1.4.0-py3-none-any.whl
- Upload date:
- Size: 7.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.19.1 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.7.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2ec56e5f7652f556d6e195d4776fe4ca2428c22a9eac5f1f4f462439b1e128df
|
|
| MD5 |
dbb2ea91d87e0cf3147bbfe521c7a707
|
|
| BLAKE2b-256 |
880a1c2783c2be6d8a72f90d4892a498bb1a4fe4c1c682104e7593722f6a2fe3
|