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
Metadata
Release files for shuaifu 1.4.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| shuaifu-1.4.0.tar.gz | 4.0 kB | Without provenance | Details for shuaifu-1.4.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| shuaifu-1.4.0-py3-none-any.whl | Python 3 | none | any | Details for shuaifu-1.4.0-py3-none-any.whl |
Total release size: 11.4 kB
Release files / shuaifu-1.4.0.tar.gz
| Download URL | shuaifu-1.4.0.tar.gz |
|---|---|
| Size | 4.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
d064acb0e6cb5cf19994d3670b6d8bfa1afbd298135da0386e3628df98a81411
|
|
BLAKE2b-256 checksum How to use checksums |
90918d65f4818a4fe2450832fd64cdb73cb609a3539d351efc6da6e46839e9b3
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is 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
|
Release files / shuaifu-1.4.0-py3-none-any.whl
| Download URL | shuaifu-1.4.0-py3-none-any.whl |
|---|---|
| Size | 7.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
2ec56e5f7652f556d6e195d4776fe4ca2428c22a9eac5f1f4f462439b1e128df
|
|
BLAKE2b-256 checksum How to use checksums |
880a1c2783c2be6d8a72f90d4892a498bb1a4fe4c1c682104e7593722f6a2fe3
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is 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
|
Security for shuaifu 1.4.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.