Saravanan666/pypi-org huggingface dataset:
Package: qyaml-smartptr
QYAML — query YAML with YAML with YAML resultWalk synchronously throughqueryanddoc, and print the list of matching branches ofdocas a YAML document.Result is printed to standard output as a list of found matches, including their keys.Givenfile.yaml:dict:first:value1second:value2QYAML may be used to query, for example, the value of thefirstkey of thedictdictionary:$qyaml"dict: first"<file.yaml
-dict:first:value1The query is itself a YAML document.The output may be flatten withfyamlto only values (default behavior) or preserving the keys withkeysargument, or format as a JSON string withjsonargument:$catfile.yaml|qyaml"dict: first"|fyaml
value1

$catfile.yaml|qyaml"dict: first"|fyamlkeys
first:value1

$catfile.yaml|qyamldict|fyamljson["value1","value2"]$catfile.yaml|qyamldict|fyamljsonkeys[{"first":"value1"},{"second":"value2"}]Query rulesQuery\DocumentStringNumberBooleanListDictionaryString (regexp)regex-match--regex-match list elementsregex-match keysNumberstr[i]match-list[i]-Boolean--match-b ? values : keysListfor-each--matchlist[i]for eachqsearch keysDictionary---i: match, bool: filterkey:value match
Package: qyet
QyetPython package with tools for suppressing output.shhh... please be qyetInstallationpipinstallqyetUsageFor now, there is only one decorator,shhh, which suppresses the output of a function.fromqyetimportshhh@shhhdeffoo():print("Hello, world!")foo()# No outputLicenseMITThanks to@dunossauro for agreat content (in pt_BR) on how to create a Python package.
Package: qy-ip-parse
qy ip parseqy ip parse.InstallingInstall and update usingpip:$ pip install -U qy-ip-parseA Simple Exampleimporttimefromqy_ip_parseimportIP_IPIP_IP.init(host='127.0.0.1',port=6379,pwd=None,ex=10)if__name__=='__main__':s=time.time()ip=IP_IP.parse('111.12.33.11')print(ip.country_name,ip.region_name,ip.city_name,ip.isp_domain)print(time.time()-s)time.sleep(5)s=time.time()ip=IP_IP.parse('111.12.32.11')print(ip.country_name,ip.region_name,ip.city_name,ip.isp_domain)print(time.time()-s)time.sleep(6)s=time.time()ip=IP_IP.parse('111.12.35.11')print(ip.country_name,ip.region_name,ip.city_name,ip.isp_domain)print(time.time()-s)time.sleep(5)s=time.time()ip=IP_IP.parse('111.12.55.11')print(ip.country_name,ip.region_name,ip.city_name,ip.isp_domain)print(time.time()-s)
Package: qymeta
QYmeta Python SDK清元多链QYmeta Python是针对国内多家联盟链提供的一套完整的web3、数字藏品等解决方案的python sdk版。开发者无需深入了解各联盟链的相关技术知识，可通过QYmeta python SDK 快速搭建自己的web3、数字藏品应用。清元多链官网清元链 NFT SDK文档InstallationpipinstallqymetaUpgradepipinstallqymeta--upgradeQuick Startimport qymeta as qy
result = qy.qy_nft_create_nft_info(appid = "……", secret = "……", title = "……", author = "……", url = "……")
print(result)Change Logs0.0.4 2022/11/01清元链 NFT 相关接口发布
Package: qymeta-qy
QYmeta Python SDK清元多链QYmeta Python是针对国内多家联盟链提供的一套完整的web3、数字藏品等解决方案的python sdk版。开发者无需深入了解各联盟链的相关技术知识，可通过QYmeta python SDK 快速搭建自己的web3、数字藏品应用。清元多链官网清元链 NFT SDK文档InstallationpipinstallqymetaUpgradepipinstallqymeta--upgradeQuick Startimport qymeta as qy
result = qy.qy_nft_create_nft_info(appid = "……", secret = "……", title = "……", author = "……", url = "……")
print(result)Change Logs0.0.1 2022/11/01清元链 NFT 相关接口发布
Package: qytPython
Python工具包安装方式下载此项目，进入项目根目录，执行如下命令安装：pythonsetup.pyinstall使用pip进行安装pipinstallqytPython适用平台LinuxWindowsPython版本要求大于等于python 3.6版本信息当前版本（增加ZIP解压，增加ftp下载）：v0.0.3历史版本0.0.1 : 基础版本使用文档git地址：https://github.com/q759729997/qytPython工具类使用手册-readme_tools.md致谢开源项目：https://github.com/fastnlp/fastNLP
Package: qywechat
QyWechatThis is a msg-robot forqywechatInstallpython -m pip install qywechatGetting Startedsend text msgimport qywechat
key = "b8cxxx"
bot = qywechat.Bot(key)
data = {
    	"msgtype": "text",
    	"text": {
        	"content": "hello world"
    	}
   }
# @ user, all user
# data = {
#    "msgtype": "text",
#    "text": {
#        "content": "LiuKeTest Msg",
#		"mentioned_list":["liuke","@all"],
#		"mentioned_mobile_list":["13800001111","@all"]
#    }
#}
bot.send_msg(data)send markdown msgdata = {
    "msgtype": "markdown",
    "markdown": {
        "content": "实时新增用户反馈<font color=\"warning\">132例</font>，请相关同事注意。\n
         >类型:<font color=\"comment\">用户反馈</font>
         >普通用户反馈:<font color=\"comment\">117例</font>
         >VIP用户反馈:<font color=\"comment\">15例</font>"
    }
}send imagebot.img_msg("path/test.jpg")send filemedia_id = bot.upload_file("path/liuke.zip")
data = {
    "msgtype": "file",
    "file": {
 		"media_id": media_id
    }
}
bot.send_msg(data)send image & text msgdata = {
    "msgtype": "news",
    "news": {
       "articles" : [
           {
               "title" : "LiuKeTest",
               "description" : "qywechat",
               "url" : "https://xxx",
               "picurl" : "http://xxx.png"
           }
        ]
    }
}
bot.send_msg(data)FeaturesSupport all types messageSupport send imageSupport upload fileContributingContributions are welcome.If you've found a bug within this project, please open an issue to discuss what you would like to change.If it's an issue with the API, please report any new issues atqywechat issues
Package: qyweixin
qyweixinEnterprise weixin, interface.Usageget token>>>importqyweixin>>>token=qyweixin.get_token('corpid','corpsecret')>>>token...push message>>>importqyweixin>>>push_msg=qyweixin.WeixinPush()>>>push_msg.push_text_msg(token=token,agentid=0,content='test msg',touser='test',toparty='test_group',totag='',safe=0)Trueupload files>>>importqyweixin>>>media_id=qyweixin.upload(token,filename,filepath,filetype)...Featurespush messagesuploads mediamanage mediamore qyweixin apiInstallationTo install qyweixin, simply:$pipinstallqyweixinNoticeThis package on v0.3.0 has one broken api. When the message fails to send, the details are returned.LicenseCopyright (C) 2015-2017 TaoBeierHISTORY2015.09.27 Start2015.10.08 Add file upload2015.11.19 Simple API2016.11.22 Upgrade to 0.2.2 improve push_message API
Package: qzlt
qzltAQuizletclone for the command line.Built WithPythonTyperPoetry(back to top)InstallationPyPIpip install qzltFrom sourceWithPoetryinstalled, rungit clone https://github.com/calvincheng/qzlt.git
cd qzlt
poetry shell
poetry install(back to top)UsageQuick startLet's create a new set to start learning some common Chinese vocabulary. Runquiz sets createTitle: chinese
Description: Common expressions in Chineseand follow the prompts to give your set a title and a description.You can see that the newly created set exists by listing all sets viaquiz sets listTITLE               DESCRIPTION
chinese             Common expressions in ChineseBy default, new sets are empty when created. Let's change that by adding some cards. Runquiz set add chineseYou'll be prompted to start giving your card a term and a definition.Term: 你好
Definition: Hello
Card addedAdd as many cards as you want. When you're done, pressctrl-Cto exit.To see all the cards you've just added, runquiz set list chineseTERM         DEFINITION
[0]   你好          Hello
[1]   再見          Goodbye
[2]   開心          Happy
[3]   傷心          Sad
[4]   蘋果          Apple
[5]   香蕉          BananaYou're all set! To study your new set, runquiz study chineseTo see all the study modes available, runquiz study --helpCommandsUsage: quiz [OPTIONS] COMMAND [ARGS]...

Options:
  --install-completion  Install completion for the current shell.
  --show-completion     Show completion for the current shell, to copy it or
                        customize the installation.
  --help                Show this message and exit.

Commands:
  set    Manage an individual set
  sets   Manage all sets
  study  Begin a study session(back to top)RoadmapImport from AnkiCollect and display statistics (review heatmap, streaks, etc.)Add config file to customise experience (e.g. shuffle by default)Smarter corrections (e.g. allow answers from either grammatical gender: professeur•e)Markdown support for cardsIncorporate TTSResume interrupted sessions(back to top)LicenseDistributed under theMIT License.(back to top)ContactCalvin Cheng -calvin.cc.cheng@gmail.comProject Link:https://github.com/calvincheng/qzlt(back to top)