Skip to main content

Shuaifu Language

Project description

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

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

shuaifu-1.0.0.tar.gz (3.7 kB view hashes)

Uploaded Source

Built Distribution

shuaifu-1.0.0-py3-none-any.whl (6.9 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page