Metadata-Version: 2.1
Name: Suluoya
Version: 1.1.1
Summary: All kinds of things written by Suluoya.
Home-page: https://github.com/pypa/sampleproject
Author: Suluoya
Author-email: 1931960436@qq.com
License: UNKNOWN
Description: # Suluoya
        
        ## This is a package written by Suluoya just for fun!
        
        ### import
        
        ```python
        import Suluoya as sly
        ```
        
        search_question
        
        ```python
        #search question by inputting for only once
        sly.search_question()
        #search question by inputting for many times
        sly.search_question(again=True)
        #search question by calling parameters and return answer
        print(sly.search_question(question='Besides key points, the other element a summary should include is:'))
        #search question by calling parameters and directly print answer 
        sly.search_question(question='Besides key points, the other element a summary should include is:',show=True)
        ```
        
        download_music
        
        ```python
        #download music to d:\ 
        sly.download_music()
        #download music to any path you want
        sly.download_music(path='c:\\')
        ```
        
        draw_a_heart
        
        ```python
        #draw a Suluoya heart
        sly.draw_a_heart()
        #draw any hearts you want
        sly.draw_a_heart(name='any name you like')
        ```
        
        xkcd
        
        ```python
        #You know what I mean!
        sly.xkcd()
        ```
        
        get_soup
        
        ```python
        #directly get soup from url
        #not need to fill all
        #url='https://pypi.org/project/Suluoya-pkg/' in default
        #code='utf8' in default
        #payloads means data in module 'requests' 
        #'show=False' means show the soup instead of return it
        get_soup(url='',code='',headers='',params={},payloads={},show=False)
        ```
        
        get_json
        
        ```python
        #directly get json from url
        #not need to fill all
        #if url='',Suluoya will go on strike
        #code='utf8' in default
        #payloads means data in module 'requests'
        #'show=False' means show the json instead of return it
        get_soup(url='',code='',headers='',params={},payloads={},show=False)
        ```
        
        QRcode
        
        ```python
        #make a QRcode
        #fill in an url or some strings in content
        #fill in the name of the QRcode in name
        sly.QRcode(content='',name='')
        ```
        
        download
        
        ```python
        #download anything you want with an url
        sly.download('http:\\...')
        ```
        
        translate
        
        ```python
        #could translate both English and Chinese
        sly.translate(text='hello word!')
        ```
        
        text_compare
        
        ```python
        #copare text
        #accurate=True --> accurate match mode
        #accurate=False --> fuzzy match mode
        #show=False --> return ratio without print
        sly.text_compare(text1='',text2='',accurate=True,show=True)
        ```
        
        gender_guess
        
        ```python
        #name should be a Chinese name!
        sly.gender_guess(name='',show=True)
        ```
        
        contact
        
        ```python
        #If you wanna contact Suluoya...
        sly.contact(mode='wechat')
        sly.contact(mode='qq')
        ```
        
        pay
        
        ```python
        #If you wanna make a donation...
        sly.pay(mode='alipay')
        sly.pay(mode='wechatpay')
        ```
        
        
Platform: UNKNOWN
Classifier: Programming Language :: Python :: 3
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Description-Content-Type: text/markdown
