Saravanan666/pypi-org huggingface dataset:
Package: tencentserverless
tencent-serverless-python腾讯云云函数SDK，集成云函数业务流接口InstallpipinstalltencentserverlessExample01本地测试：fromtencentserverlessimportscffromtencentserverless.exceptionimportTencentServerlessSDKExceptiontry:data=scf.invoke('test',secret_id="your secret id",secret_key="your secret key",data={"a":"b"})printdataexceptTencentServerlessSDKExceptionase:printeexceptTencentCloudSDKExceptionase:printeexceptExceptionase:printe云函数环境测试：fromtencentserverless.scfimportinvokefromtencentserverless.exceptionimportTencentServerlessSDKExceptiontry:data=invoke('test',data={"a":"b"})printdataexceptTencentServerlessSDKExceptionase:printeexceptTencentCloudSDKExceptionase:printeexceptExceptionase:printeExample02本地测试：fromtencentserverless.scfimportclientfromtencentserverless.exceptionimportTencentServerlessSDKExceptionscf=client(secret_id="your secret id",secret_key="your secret key")try:data=scf.invoke('test',data={"a":"b"})printdataexceptTencentServerlessSDKExceptionase:printeexceptTencentCloudSDKExceptionase:printeexceptExceptionase:printe云函数环境测试：fromtencentserverless.scfimportclientfromtencentserverless.exceptionimportTencentServerlessSDKExceptionscf=client()try:data=scf.invoke('test',data={"a":"b"})printdataexceptTencentServerlessSDKExceptionase:printeexceptTencentCloudSDKExceptionase:printeexceptExceptionase:printeAPI ReferenceclientinvokeTencentServerlessSDKExceptionclient[init]Params:参数名是否必填类型描述region否string地域信息，默认与调用接口的函数所属地域相同，本地调用默认是广州secret_id否string用户 secret_id， 默认是从云函数环境变量中获取，本地调试必填secret_key否string用户 secret_key， 默认是从云函数环境变量中获取，本地调试必填token否string用户 token，默认是从云函数环境变量中获取[invoke]Params:参数名是否必填类型描述function_name是string函数名称qualifier否string函数版本，默认为$LATESTdata否对象函数运行入参，必须可以被json.dumps的对象namespace否string命名空间，默认为defaultInvoke调用函数。暂时只支持同步调用。Params:参数名是否必填类型描述region否string地域信息，默认与调用接口的函数所属地域相同，本地调用默认是广州secret_id否string用户 secret_id， 默认是从云函数环境变量中获取，本地调试必填secret_key否string用户 secret_key， 默认是从云函数环境变量中获取，本地调试必填token否string用户 token，默认是从云函数环境变量中获取function_name是string函数名称qualifier否string函数版本，默认为$LATESTdata否string函数运行入参，必须可以被json.dumps的对象namespace否string命名空间，默认为defaultTencentServerlessSDKException属性[code][message][request_id][response][stack_trace]方法[get_code]返回错误码信息[get_message]返回错误信息[get_request_id]返回request_id信息[get_response]返回response信息[get_stack_trace]返回stack_trace信息TODO List支持管理流接口LicenceMIT
Package: tencentyun-porndetect
# 万象优图智能鉴黄Python SDK（非官方）本程序基于腾讯云万象优图智能鉴黄服务* 地址：(http://www.qcloud.com/event/pd)## Installpip install tencentyun-porndetector# download packagepython setup install## Example>>> from tencentyun_porndetect.porndetect import TencentYunPornDetect>>> appid = ''>>> secret_id = ''>>> secret_key = ''>>> bucket = ''>>> img_url = 'http://<public_url>'>>> pd = TencentYunPornDetect(appid, secret_id, secret_key, bucket)>>> # default expired: 10>>> pd.porn_detect(img_url, expired)>>> {u'message': u'success', u'code': 0, u'data': {u'confidence': 14.737, u'hot_score': 100.0, u'porn_score': 0.0, u'result': 0, u'normal_score': 0.0}}## Response### Ok正确返回结果说明：result int    供参考的识别结果，0正常，1黄图confidence    double  识别为黄图的置信度，范围0-100；是normal_score, hot_score, porn_score的总和评分normal_score  double  图片为正常图片的评分hot_score     double  图片为性感图片的评分porn_score    double  图片为色情图片的评分例如：{'message': 'success','code': 0,'data': {'confidence': 14.737,'hot_score': 100.0,'porn_score': 0.0,'result': 0,'normal_score': 0.0}}### error code错误返回说明：http://www.qcloud.com/wiki/万象优图黄图鉴别文档#2.3_.E9.94.99.E8.AF.AF.E7.A0.81错误码  含义1       错误的请求2       签名为空3       签名串错误4       appid/bucket/url不匹配5       签名编码失败（内部错误）6       签名解码失败（内部错误）7       签名过期8       appid不存在9       secretid不存在10      appid不匹配11      重放攻击12      签名失败13      错误的检测类型14      CGI错误15      请求包body错误16      请求处理失败（内部错误）17      处理过程中出现错误（内部错误）18      处理错误## LicenseMIT
Package: tencirchem
TenCirChemEnglish |简体中文TenCirChem is an efficient and versatile quantum computation package for molecular properties.
TenCirChem is based onTensorCircuitand is optimized for chemistry applications.Easy InstallationGetting started with TenCirChem by installing the package via pip:pipinstalltencirchemSimple to UseTenCirChem is written in pure Python, and its use is straightforward. Here's an example of calculating UCCSD:fromtencirchemimportUCCSD,Md=0.8# distance unit is angstromh4=M(atom=[["H",0,0,d*i]foriinrange(4)])# configurationuccsd=UCCSD(h4)# calculate and returns energyuccsd.kernel()# analyze resultuccsd.print_summary(include_circuit=True)Running uccsd.kernel() in the above code determines the optimized circuit ansatz parameters and VQE energy.TenCirChem also allows the user to supply custom parameters. Here's an example:importnumpyasnpfromtencirchemimportUCCSDfromtencirchem.moleculeimporth4uccsd=UCCSD(h4)# evaluate various properties based on custom parametersparams=np.zeros(uccsd.n_params)print(uccsd.statevector(params))print(uccsd.energy(params))print(uccsd.energy_and_grad(params))For more examples and customization,
please refer to thedocumentationExciting FeaturesTenCirChem's features include:Statics moduleUCC calculation with UCCSD, kUpCCGSD, pUCCD at an extremely fast speedNoisy circuit simulation via TensorCircuitCustom integrals, active space approximation, RDMs, GPU support, etc.Dynamics moduleTransformation fromrenormalizermodels to qubit representationVQA algorithm based on JAXBuilt-in models: spin-boson model, pyrazine S1/S2 internal conversion dynamicsDesign principleTenCirChem is designed to be:FastUCC speed is 10000x faster than other packagesExample: H8 with 16 qubits in 2s (CPU). H10 with 20 qubits in 14s (GPU)Achieved by analytical expansion of UCC factors and exploitation of symmetryEasy to hackAvoid defining new classes and wrappers when possibleExample: Excitation operators are represented astupleofint. An operator pool is simply alistoftupleMinimal class inheritance hierarchy: at most two levelsExpose internal variables through class attributesLicenseTenCirChem is released under Academic Public License.
See theLICENSE filefor details.
In short, you can use TenCirChem freely for non-commercial/academic purpose
and commercial use requires a commercial license.Citing TenCirChemIf this project helps in your research, please cite our software whitepaper:TenCirChem: An Efficient Quantum Computational Chemistry Package for the NISQ Erawhich is also a good introduction to the software.Research and ApplicationsVariational basis state encoderAn efficient algorithm to encode phonon states in electron-phonon systems for quantum computation.
Seeexamplesand thetutorial.
Reference paper:https://arxiv.org/pdf/2301.01442.pdf(published in PRR).
Package: tenda
tendaUnofficial Tenda Model N301 APIInstall it using:$pipinstalltendaThese are the function currently available.importtendamanager=tenda.TendaManager('<ip_address>','<your_password>')# Get QOSonline_devices=manager.get_online_devices()blocked_devices=manager.get_black_list()# Set QOSmanager.block_device('<some_mac_address>')# Rebootmanager.reboot()
Package: tenda4g09
py-tenda4g09Simple Python lib for the tenda4g09 router.FeaturesLogin to the Tenda4G09 LTE routerGet the current status of the routerReboot the router...More could be added quite easilyInstallpip3 install tenda4g09Usagefromtenda4g09importTenda4G09tenda=Tenda4G09("192.168.0.1")iftenda.login("somepassword"):print(tenda.status())
Package: tendenci
TendenciTendenci is an open source content management system built for non-profits, associations and cause-based sites. Functionality including association management, event registration, membership management, forums, photo galleries, donations, payments, newsletters, CRM, and much more.Demo?https://demo.tendenci.com/This site resets every hour or two. Use "admin/admin" or "user/user" to log in and look around.InstallationSeehttps://tendenci.readthedocs.orgVision"Connect and Organize the World's People"LicenseLicense information (GNU GPLv3+) can be found inLICENSECreditsSeedocs/credits.mdMonitoring
Package: tendenci-group-on-email
Tendenci Group on EmailAdd automatic groups based on email suffix, eg. “.edu” for use with discounts and such.Free software: GNU General Public License v3To install, addgroup_on_emailto Django’sINSTALLED_APPSsetting.
Thereafter, members are added to and removed from the “.edu” group when their
profile is updated. The group can be entirely regenerated with thegroup_on_emailmanagement command.For commercial support and extensions to your Tendenci system, visit https://www.sturm.com.au/.History0.1.9 (2021-09-29)Switch to setup.cfg.0.1.0 (2018-03-01)First release on PyPI.
Package: tendermint-chunked-genesis-download
Tendermint Chunked Genesis DownloadA library to easily download a chunked genesis from a Tendermint chain (eg: Cosmos). Access to an RPC enabled node is required. It is usually running on port 26657 (eg: local node address 127.0.0.1:26657).Installpip install tendermint-chunked-genesis-downloadUsageImport thetendermint_chunked_genesis_downloadpackage and call thedownload_genesis(url)function. Provide a valid Tendermint RPC url as a parameter to the function.import tendermint_chunked_genesis_download as tcgd

tcgd.download_genesis('https://evmos-rpc.evmosis.com')Using from command linetendermint-chunked-genesis-download TENDERMINT_RPC_URLExceptionsNameReasonInvalidRPCThe Tendermint RPC url is invalidNodeNotSynchronizedThe Tendermint node is not yet fully synchronizedUnsuccessfulHttpRequestThe node request has not returned a 2XX HTTP success codeDependenciesPython libraries which helped:requestsclicksetuptoolsProjects that use the genesis download libraryEvmosis liquid staking module for Evmos
Package: tendermintwallet
tendermintwalletVersion 0.0.2Tools for Tendermint-based wallet management, offline transaction signing, and broadcast through an RPC.InstallingInstalling from PyPIrepository:pip3installtendermintwalletInstalling from source code:gitclonehttps://github.com/algo-vaultstaking/tendermintwalletcdtendermintwallet
pip3install.UsageGenerating a walletfromtendermintwalletimportgenerate_walletwallet=generate_wallet()The value assigned towalletwill be a dictionary just like:{"seed":"arch skill acquire abuse frown reject front second album pizza hill slogan guess random wonder benefit industry custom green ill moral daring glow elevator","derivation_path":"m/44'/118'/0'/0/0","private_key":b'\xbb\xec^\xf6\xdcg\xe6\xb5\x89\xed\x8cG\x05\x03\xdf0:\xc9\x8b\x85\x8a\x14\x12\xd7\xa6a\x01\xcd\xf8\x88\x93',"public_key":b"\x03h\x1d\xae\xa7\x9eO\x8e\xc5\xff\xa3sAw\xe6\xdd\xc9\xb8b\x06\x0eo\xc5a%z\xe3\xff\x1e\xd2\x8e5\xe7","address":"comdex1uuhna3psjqfxnw4msrfzsr0g08yuyfxesqggqd",}Converter functionsMnemonic seed to private keyfromtendermintwalletimportseed_to_privkeyseed="teach there dream chase fatigue abandon lava super senior artefact close upgrade"privkey=seed_to_privkey(seed,path="m/44'/118'/0'/0/0")Private key to public keyfromtendermintwalletimportprivkey_to_pubkeyprivkey=bytes.fromhex("6dcd05d7ac71e09d3cf7da666709ebd59362486ff9e99db0e8bc663570515afa")pubkey=privkey_to_pubkey(privkey)Public key to addressfromtendermintwalletimportpubkey_to_addresspubkey=bytes.fromhex("03e8005aad74da5a053602f86e3151d4f3214937863a11299c960c28d3609c4775")addr=pubkey_to_address(pubkey)Private key to addressfromtendermintwalletimportprivkey_to_addressprivkey=bytes.fromhex("6dcd05d7ac71e09d3cf7da666709ebd59362486ff9e99db0e8bc663570515afa")addr=privkey_to_address(privkey)Address to addressfromtendermintwalletimportaddress_to_addressaddr=address_to_address(address,prefix)Signing transactionsSend transactionfromtendermintwalletimportTransactiontx=Transaction(privkey=bytes.fromhex("26d167d549a4b2b66f766b0d3f2bdbe1cd92708818c338ff453abde316a2bd59"),account_num=11335,sequence=0,fee=0,gas=200000,memo="",chain_id="comdex-1",sync_mode="broadcast_tx_sync",# "broadcast_tx_sync", "broadcast_tx_async", "broadcast_tx_commit")tx.add_transfer(recipient="comdex103l758ps7403sd9c0y8j6hrfw4xyl70j4mmwkf",amount=387000)tx.add_transfer(recipient="comdex1lzumfk6xvwf9k9rk72mqtztv867xyem393um48",amount=123)One or more token transfers can be added to a transaction by calling theadd_transfermethod.When the transaction is fully prepared, callingget_pushablewill return a signed transaction in the form of a JSON string.pushable_tx=tx.get_pushable()This can be used as request body when calling endpoint of thehttps://rpc_api:26657, more detaileshereimportrequestsres=requests.post(url=<rpc_api>,data=pushable_tx)Or you can callbroadcast(rps: str)method and it will make a signed transaction and POST it with defined RPC_api.res=tx.broadcast(url=<RPC_api>)
Package: tendo
tendoTendo is a python module that adds basic functionality that is
not provided by Python. Read thedocumentationfor more info.transparent Unicode support for text file operations (BOM detection)console logging coloringenable you to use symlinks under windowspython tee implementationfor executing external programs and redirecting their output to both console/fileimproved execfileRequirements and compatibilitypython 3.6 or newertox for running testsRelated projects and packagesjaraco -http://pypi.python.org/pypi/jaraco.utilpexpect (maybe)
Package: tend-odoo
bobtemplates.odoois a set ofmr.bobtemplates to use when developing Odoo addons.It provides the following templates:addon: an addon skeletton, with optional OCA README and iconmodel: an Odoo model with accompanying form, tree, action, menu,
demo data and ACLtest: a test classwizard: a wizard with transient model, view and actionThe following are candidates (pull requests welcome):reportcontrollerwidgetInstallpipinstallbobtemplates.odooQuickstartCAUTION: it is recommanded to backup or vcs commit your current
directory before running these commands, so you can easily see
what has been generated and/or changed.Create a new addon in the current directory:mrbobbobtemplates.odoo:addonNow go to the newly created addon directory and run this to
add a new model, with associated views, demo data, and acl:mrbobbobtemplates.odoo:modelAdd a test class:mrbobbobtemplates.odoo:testTip: read themr.bob user guide.
In particular it explains how to set default values to avoid
retyping the same answers at each run (such as the copyright
author).Useful linkspypi page:https://pypi.python.org/pypi/bobtemplates.odoocode repository:https://github.com/acsone/bobtemplates.odooreport issues at:https://github.com/acsone/bobtemplates.odoo/issuesCreditsAuthor:Stéphane Bidoul (ACSONE)Inspired byhttps://github.com/plone/bobtemplates.plone.Contributors:Adrien Peiffer (ACSONE)Olivier Laurent (ACSONE)Mohamed CherkaouiThomas Binsfeld (ACSONE)MaintainerThis module is maintained by ACSONE SA/NV.
Package: tendril-apiserver-core
IntroductionTODO Some brief introductionPackage InformationThe latest version of the documentation, including installation, usage, and
API/developer notes can be found atReadTheDocs.The latest version of the sources can be found atGitHub. Please use
GitHub’s features to report bugs, request features, or submit pull/merge requests.The principle author fortendril-apiserver-coreis Chintalagiri Shashank. The
author can be contacted if necessary via the information on theauthor’s github profile. See the AUTHORS file
for a full list of collaborators and/or contributing authors, if any.tendril-apiserver-coreis distributed under the terms of theAGPLv3 license.
A copy of the text of the license is included along with the sources.
Package: tendril-artefacts
IntroductionTODO Some brief introductionPackage InformationThe latest version of the documentation, including installation, usage, and
API/developer notes can be found atReadTheDocs.The latest version of the sources can be found atGitHub. Please use
GitHub’s features to report bugs, request features, or submit pull/merge requests.The principle author fortendril-artefactsis Chintalagiri Shashank. The
author can be contacted if necessary via the information on theauthor’s github profile. See the AUTHORS file
for a full list of collaborators and/or contributing authors, if any.tendril-artefactsis distributed under the terms of theAGPLv3 license.
A copy of the text of the license is included along with the sources.
Package: tendril-async-utils-core
IntroductionTODO Some brief introductionPackage InformationThe latest version of the documentation, including installation, usage, and
API/developer notes can be found atReadTheDocs.The latest version of the sources can be found atGitHub. Please use
GitHub’s features to report bugs, request features, or submit pull/merge requests.The principle author fortendril-async-utils-coreis Chintalagiri Shashank. The
author can be contacted if necessary via the information on theauthor’s github profile. See the AUTHORS file
for a full list of collaborators and/or contributing authors, if any.tendril-async-utils-coreis distributed under the terms of theAGPLv3 license.
A copy of the text of the license is included along with the sources.
Package: tendril-auth
IntroductionTODO Some brief introductionPackage InformationThe latest version of the documentation, including installation, usage, and
API/developer notes can be found atReadTheDocs.The latest version of the sources can be found atGitHub. Please use
GitHub’s features to report bugs, request features, or submit pull/merge requests.The principle author fortendril-authis Chintalagiri Shashank. The
author can be contacted if necessary via the information on theauthor’s github profile. See the AUTHORS file
for a full list of collaborators and/or contributing authors, if any.tendril-authis distributed under the terms of theAGPLv3 license.
A copy of the text of the license is included along with the sources.
Package: tendril-caching
IntroductionTODO Some brief introductionPackage InformationThe latest version of the documentation, including installation, usage, and
API/developer notes can be found atReadTheDocs.The latest version of the sources can be found atGitHub. Please use
GitHub’s features to report bugs, request features, or submit pull/merge requests.The principle author fortendril-cachingis Chintalagiri Shashank. The
author can be contacted if necessary via the information on theauthor’s github profile. See the AUTHORS file
for a full list of collaborators and/or contributing authors, if any.tendril-cachingis distributed under the terms of theAGPLv3 license.
A copy of the text of the license is included along with the sources.
Package: tendril-config
IntroductionTODO Some brief introductionPackage InformationThe latest version of the documentation, including installation, usage, and
API/developer notes can be found atReadTheDocs.The latest version of the sources can be found atGitHub. Please use
GitHub’s features to report bugs, request features, or submit pull/merge requests.The principle author fortendril-configis Chintalagiri Shashank. The
author can be contacted if necessary via the information on theauthor’s github profile. See the AUTHORS file
for a full list of collaborators and/or contributing authors, if any.tendril-configis distributed under the terms of theAGPLv3 license.
A copy of the text of the license is included along with the sources.
Package: tendril-connector-geda
IntroductionTODO Some brief introductionPackage InformationThe latest version of the documentation, including installation, usage, and
API/developer notes can be found atReadTheDocs.The latest version of the sources can be found atGitHub. Please use
GitHub’s features to report bugs, request features, or submit pull/merge requests.The principle author fortendril-connector-gedais Chintalagiri Shashank. The
author can be contacted if necessary via the information on theauthor’s github profile. See the AUTHORS file
for a full list of collaborators and/or contributing authors, if any.tendril-connector-gedais distributed under the terms of theAGPLv3 license.
A copy of the text of the license is included along with the sources.
Package: tendril-connector-influxdb
IntroductionTODO Some brief introductionPackage InformationThe latest version of the documentation, including installation, usage, and
API/developer notes can be found atReadTheDocs.The latest version of the sources can be found atGitHub. Please use
GitHub’s features to report bugs, request features, or submit pull/merge requests.The principle author fortendril-connector-influxdbis Chintalagiri Shashank. The
author can be contacted if necessary via the information on theauthor’s github profile. See the AUTHORS file
for a full list of collaborators and/or contributing authors, if any.tendril-connector-influxdbis distributed under the terms of theAGPLv3 license.
A copy of the text of the license is included along with the sources.
Package: tendril-connector-mq
IntroductionTODO Some brief introductionPackage InformationThe latest version of the documentation, including installation, usage, and
API/developer notes can be found atReadTheDocs.The latest version of the sources can be found atGitHub. Please use
GitHub’s features to report bugs, request features, or submit pull/merge requests.The principle author fortendril-connector-mqis Chintalagiri Shashank. The
author can be contacted if necessary via the information on theauthor’s github profile. See the AUTHORS file
for a full list of collaborators and/or contributing authors, if any.tendril-connector-mqis distributed under the terms of theAGPLv3 license.
A copy of the text of the license is included along with the sources.
Package: tendril-connector-rabbitmq
IntroductionTODO Some brief introductionPackage InformationThe latest version of the documentation, including installation, usage, and
API/developer notes can be found atReadTheDocs.The latest version of the sources can be found atGitHub. Please use
GitHub’s features to report bugs, request features, or submit pull/merge requests.The principle author fortendril-connector-rabbitmqis Chintalagiri Shashank. The
author can be contacted if necessary via the information on theauthor’s github profile. See the AUTHORS file
for a full list of collaborators and/or contributing authors, if any.tendril-connector-rabbitmqis distributed under the terms of theAGPLv3 license.
A copy of the text of the license is included along with the sources.
Package: tendril-connector-tally
IntroductionTODO Some brief introductionPackage InformationThe latest version of the documentation, including installation, usage, and
API/developer notes can be found atReadTheDocs.The latest version of the sources can be found atGitHub. Please use
GitHub’s features to report bugs, request features, or submit pull/merge requests.The principle author fortendril-connector-tallyis Chintalagiri Shashank. The
author can be contacted if necessary via the information on theauthor’s github profile. See the AUTHORS file
for a full list of collaborators and/or contributing authors, if any.tendril-connector-tallyis distributed under the terms of theAGPLv3 license.
A copy of the text of the license is included along with the sources.
Package: tendril-conventions-electronics
IntroductionTODO Some brief introductionPackage InformationThe latest version of the documentation, including installation, usage, and
API/developer notes can be found atReadTheDocs.The latest version of the sources can be found atGitHub. Please use
GitHub’s features to report bugs, request features, or submit pull/merge requests.The principle author fortendril-conventions-electronicsis Chintalagiri Shashank. The
author can be contacted if necessary via the information on theauthor’s github profile. See the AUTHORS file
for a full list of collaborators and/or contributing authors, if any.tendril-conventions-electronicsis distributed under the terms of theAGPLv3 license.
A copy of the text of the license is included along with the sources.
Package: tendril-conventions-motifs
IntroductionTODO Some brief introductionPackage InformationThe latest version of the documentation, including installation, usage, and
API/developer notes can be found atReadTheDocs.The latest version of the sources can be found atGitHub. Please use
GitHub’s features to report bugs, request features, or submit pull/merge requests.The principle author fortendril-conventions-motifsis Chintalagiri Shashank. The
author can be contacted if necessary via the information on theauthor’s github profile. See the AUTHORS file
for a full list of collaborators and/or contributing authors, if any.tendril-conventions-motifsis distributed under the terms of theAGPLv3 license.
A copy of the text of the license is included along with the sources.