Saravanan666/pypi-org huggingface dataset:
Package: pytdlpack
pytdlpackIntroductionNOAA/NWS Meteorological Development Lab (MDL) produces model output statistics (MOS) for a variety of NOAA/NCEP Numerical Weather Prediction (NWP) models.  MOS is produced via MDL's in-house MOS-2000 (MOS2K) Fortran-based software system.  MOS2K uses a GRIB-like binary data format called TDLPACK.pytdlpackis a Python interface to reading and writing TDLPACK files.  A brief introduction to TDLPACK files and data format can be foundhere.MotivationProvide a Python interface for reading and writing TDLPACK files.RequirementsPython 3.6+setuptools 34.0+NumPy 1.12+GNU or Intel Fortran compilerInstallationpip3installpytdlpackBuild and Install from Sourcepython3setup.pybuild_ext--fcompiler=[gnu95|intelem]build
python3setup.pyinstall[--user|--prefix=PREFIX]ModulesThe pytdlpack package contains 2 modules.  See the docstrings for usage of each modulepytdlpackimportpytdlpackTdlpackIOimportTdlpackIOIMPORTANT:TdlpackIOisexperimentaland it usage and functionality could change with future releases.  TdlpackIO is a pure python implementation for reading TDLPACK "sequential" files (i.e. Fortran variable-length record binary files).  Currently, it does not read TDLPACK random-access files and it may never have that capability.  It requirespytdlpackfor unpacking records.
Package: pytdsbconnects
pytdsbconnectsA basic Python TDSB Connects API using aiohttp.Made with info and help from @mincrmatt12.Example usage:importasyncioimportdatetimeimporttdsbconnectsfromgetpassimportgetpassasyncdefmain():asyncwithtdsbconnects.TDSBConnects()assession:# type: tdsbconnects.TDSBConnectsprint("loggin in")awaitsession.login(input("Username: "),getpass())print("getting info")info=awaitsession.get_user_info()print(info.name,"is a",info.roles[0],"at",info.schools[0].name,"with code",info.schools[0].code,"in the school year",info.schools[0].school_year,"starting on",info.schools[0].school_year_start,"and ending on",info.schools[0].school_year_end)date=datetime.datetime.strptime(input("enter a date to get your timetable for (YYYY-MM-DD): "),"%Y-%m-%d")timetable=awaitinfo.schools[0].timetable(date)iftimetable:print("that day is a day",timetable[0].course_cycle_day,"and here are your courses:")foritemintimetable:print("In period",item.course_period,"(starting at",item.course_start,"and ending at",item.course_end,") you have class",item.course_name,"with code",item.course_code,"(block",item.course_block,") with teacher",item.course_teacher_name,"(email:",item.course_teacher_email,")")else:print("no timetable for that day.")asyncio.get_event_loop().run_until_complete(main())
Package: pytds-md5
Make sure you have upgraded version of pipWindowspy -m pip install --upgrade pipLinux/MAC OSpython3 -m pip install --upgrade pipCreate a project with the following structurepackaging_tutorial/
├── LICENSE
├── pyproject.toml
├── README.md
├── setup.cfg
├── src/
│   └── example_package/
│       ├── __init__.py
│       └── example.py
└── tests/
touch LICENSE
touch pyproject.toml
touch setup.cfg
mkdir src/mypackage
touch src/mypackage/__init__.py
touch src/mypackage/main.py
mkdir testspyproject.tomlThis file tells tools like pip and build how to create your project[build-system]
requires = [
    "setuptools>=42",
    "wheel"
]
build-backend = "setuptools.build_meta"build-system.requires gives a list of packages that are needed to build your package. Listing something here will only make it available during the build, not after it is installed.build-system.build-backend is the name of Python object that will be used to perform the build. If you were to use a different build system, such as flit or poetry, those would go here, and the configuration details would be completely different than the setuptools configuration described below.Setup.cfg setupUsing setup.cfg is a best practice, but you could have a dynamic setup file using setup.py[metadata]
name = example-pkg-YOUR-USERNAME-HERE
version = 0.0.1
author = Example Author
author_email = author@example.com
description = A small example package
long_description = file: README.md
long_description_content_type = text/markdown
url = https://github.com/pypa/sampleproject
project_urls =
    Bug Tracker = https://github.com/pypa/sampleproject/issues
classifiers =
    Programming Language :: Python :: 3
    License :: OSI Approved :: MIT License
    Operating System :: OS Independent

[options]
package_dir =
    = src
packages = find:
python_requires = >=3.6

[options.packages.find]
where = srcRunning the buildMake sure your build tool is up to dateWindowspy -m pip install --upgrade buildLinux/MAC OSpython3 -m pip install --upgrade buildCreate the buildpy -m buildReferenceshttps://packaging.python.org/tutorials/packaging-projects/
Package: pytdx
文档用户文档会逐步转移到gitbook上，您可以在https://rainx.gitbooks.io/pytdx/content/阅读使用该api接口的详细文档。概述Pytdx 是一款纯Python语言开发的类似TradeX的行情数据接口的实现。特点纯python实现，无须引入动态连接库.dll/.so文件支持python2.7+/3.5+， 以及全平台Windows/MacOS/Linux可以通过设置参数提供线程安全接口调用实现心跳包机制,可以在长时间没有交互的情况下保持不断线(试验）支持多连接构成的连接池机制，和failover处理机制，保证稳定性。可以自定义的自动重连策略(试验）支持异步行情接口 ，由 @JaysonAlbert 提供实现,
详情查看async分支pytdx将重点放在底层包的解析，对于更高层的封装，建议参考或者直接使用`Quantaxis<https://github.com/yutiansut/QUANTAXIS/blob/master/QUANTAXIS/QAFetch/QATdx.py>`__的实现..安装pip install pytdx接口实现标准行情 pytdx.hq用于读取标准行情信息扩展行情 pytdx.exhq用于读取扩展行情（外盘，期权，期货等）数据文件读取 pytdx.reader用于读取行情软件导出的k线数据历史专业财务数据的爬取和解析感谢 @datochan 根据https://github.com/rainx/pytdx/issues/133方法实现交易相关 (使用TdxTradeServer(wrapper of trade.dll))https://rainx.gitbooks.io/pytdx/content/pytdx_trade.htmlpytdx.pool (试验性质)用于实现备用连接池以及failover支持的行情接口命令行我们提供了方便命令行调试和导出数据的命令行工具hqget以及hqreader具体使用方法请参考这里。缘起因为之前TradeX的接口是使用Python扩展的方式调用C++代码实现的，功能上有诸多的限制，如只支持32位的Python，
不支持MacOS, Linux等， 无奈我自己使用的电脑是Mac系统,
服务器又是基于Linux的，所以只能自己重新实现一份。声明此代码用于个人对网络协议的研究和习作，不对外提供服务，任何人使用本代码遇到问题请自行解决，也可以在github提issue给我，但是我不保证能即时处理。
由于我们连接的是既有的行情软件兼容行情服务器，机构请不要使用此代码，对此造成的任何问题本人概不负责。其它欢迎对量化交易感兴趣的朋友互相交流，可以来我们的智矿社区看看http://zhikuang.org
Package: pytdx-async
文档用户文档会逐步转移到gitbook上，您可以在https://rainx.gitbooks.io/pytdx/content/阅读使用该api接口的详细文档。概述Pytdx 是一款纯Python语言开发的类似TradeX的行情数据接口的实现。特点纯python实现，无须引入动态连接库.dll/.so文件支持python2.7+/3.5+， 以及全平台Windows/MacOS/Linux可以通过设置参数提供线程安全接口调用实现心跳包机制,可以在长时间没有交互的情况下保持不断线(试验）支持多连接构成的连接池机制，和failover处理机制，保证稳定性。可以自定义的自动重连策略(试验）支持异步行情接口 ，由 @JaysonAlbert 提供实现,
详情查看async分支pytdx将重点放在底层包的解析，对于更高层的封装，建议参考或者直接使用`Quantaxis<https://github.com/yutiansut/QUANTAXIS/blob/master/QUANTAXIS/QAFetch/QATdx.py>`__的实现..安装pip install pytdx接口实现标准行情 pytdx.hq用于读取标准行情信息扩展行情 pytdx.exhq用于读取扩展行情（外盘，期权，期货等）数据文件读取 pytdx.reader用于读取行情软件导出的k线数据pytdx.pool (试验性质)用于实现备用连接池以及failover支持的行情接口命令行我们提供了方便命令行调试和导出数据的命令行工具hqget以及hqreader具体使用方法请参考这里。缘起因为之前TradeX的接口是使用Python扩展的方式调用C++代码实现的，功能上有诸多的限制，如只支持32位的Python，
不支持MacOS, Linux等， 无奈我自己使用的电脑是Mac系统,
服务器又是基于Linux的，所以只能自己重新实现一份。声明此代码用于个人对网络协议的研究和习作，不对外提供服务，任何人使用本代码遇到问题请自行解决，也可以在github提issue给我，但是我不保证能即时处理。
由于我们连接的是既有的行情软件兼容行情服务器，机构请不要使用此代码，对此造成的任何问题本人概不负责。其它欢迎对量化交易感兴趣的朋友互相交流，可以来我们的智矿社区看看http://zhikuang.org
Package: pytdxattest
TDX Attestation ToolThe measurement tool runs within TD guest to getRTMRvalue from TDREPORT via
Linux attestation driver, and gets the full TD event log from CCEL ACPI table.
Then it uses the TD event log to verify the RTMR value or change.CSP or tenant developer could use it to analyze and debug the TDX measurement
before providing the TDX guest VM.OverviewTheRTMRstands for Run-time Measurement Register, recording measurement for the component participating in the booting process.
As of 2023.4, TDX supports four RTMRs, including RTMR[0], RTMR[1], RTMR[2] and RTMR[3].The same RTMR may store measurement for different section indirect bootorgrub boot.Direct bootRTMR[0]: It stores the measurement for the TDVF configuration. Changes on a part of the tdvm launch parameters, such memory size, will affect the final measurement.RTMR[1]: It stores the measurement for the kernel and cmdline passed to the kernel.RTMR[2] and RTMR[3]: They are reserved and can be used by the guest software to extend the measurement.Grub bootRTMR[0]: It works as it does in the direct boot.RTMR[1]: It stores the measurement for the OS loader,  such as grub.RTMR[2]: It works as it does in the direct boot.RTMR[3]: It is reserved and can be used by the guest software to extend the measurement.More details can be found in theArticles-906357andCommit 9d2b64aPrerequisitesThe Log Area Start Address (LASA) is from ACPI CCEL table. Please seeGHCI specification.RunGet Event Log./tdx_eventlogsThe example output for the event log ingrub bootanddirect bootGet TD Report./tdx_tdreportVerify the RTMR./tdx_verify_rtmrExtend the RTMR./tdx_extend_rtmr -s 'test_extend_rtmr' -i 3User can extend RTMR register with different kinds of data, including raw data(with '-r', must be 48B length), string data(with '-s',
will be converted to SHA384 digest) and SHA384 digest string(with '-d'). User can also change the index of RTMR register by using '-i'.InstallationBuild and install TDX Measurement Tool:python3setup.pybdist_wheel
pip3installdist/*.whl--force-reinstall
Package: pytdxmeasure
TDX Measurement ToolThe measurement tool runs within TD guest to getRTMRvalue from TDREPORT via
Linux attestation driver, and gets the full TD event log from CCEL ACPI table.
Then it uses the TD event log to verify the RTMR value or change.CSP or tenant developer could use it to analyze and debug the TDX measurement
before providing the TDX guest VM.OverviewTheRTMRstands for Run-time Measurement Register, recording measurement for the component participating in the booting process.
As of 2023.4, TDX supports four RTMRs, including RTMR[0], RTMR[1], RTMR[2] and RTMR[3].The same RTMR may store measurement for different section indirect bootorgrub boot.Direct bootRTMR[0]: It stores the measurement for the TDVF configuration. Changes on a part of the tdvm launch parameters, such memory size, will affect the final measurement.RTMR[1]: It stores the measurement for the kernel and cmdline passed to the kernel.RTMR[2] and RTMR[3]: They are reserved and can be used by the guest software to extend the measurement.Grub bootRTMR[0]: It works as it does in the direct boot.RTMR[1]: It stores the measurement for the OS loader,  such as grub.RTMR[2]: It works as it does in the direct boot.RTMR[3]: It is reserved and can be used by the guest software to extend the measurement.More details can be found in theArticles-906357andCommit 9d2b64aPrerequisitesThe Log Area Start Address (LASA) is from ACPI CCEL table. Please seeGHCI specification.RunGet Event Log./tdx_eventlogsThe example output for the event log ingrub bootanddirect bootGet TD Report./tdx_tdreportVerify the RTMR./tdx_verify_rtmrExtend the RTMR./tdx_extend_rtmr -s 'test_extend_rtmr' -i 3User can extend RTMR register with different kinds of data, including raw data(with '-r', must be 48B length), string data(with '-s',
will be converted to SHA384 digest) and SHA384 digest string(with '-d'). User can also change the index of RTMR register by using '-i'.InstallationBuild and install TDX Measurement Tool:python3setup.pybdist_wheel
pip3installdist/*.whl--force-reinstall
Package: pyte
_
              | |
 _ __   _   _ | |_  ___
| '_ \ | | | || __|/ _ \
| |_) || |_| || |_|  __/
| .__/  \__, | \__|\___|
| |      __/ |
|_|     |___/      0.8.2What ispyte?It’s an in memory VTXXX-compatible terminal emulator.XXXstands for a series of video terminals, developed byDECbetween
1970 and 1995. The first, and probably the most famous one, was VT100
terminal, which is now a de-facto standard for all virtual terminal
emulators.pytefollows the suit.So, why would one need a terminal emulator library?To screen scrape terminal apps, for examplehtoporaptitude.To write cross platform terminal emulators; either with a graphical
(xterm,rxvt) or a web interface, likeAjaxTerm.To have fun, hacking on the ancient, poorly documented technologies.Note:pytestarted as a fork ofvt102,
which is an incomplete pure Python implementation of VT100 terminal.InstallationIf you havepipyou can do the usual:pip install pyteOtherwise, download the source fromGitHuband run:python setup.py installSimilar projectspyteis not alone in the weird world of terminal emulator libraries,
here’s a few other options worth checking out:Termemulator,pyqonsole,webtty,AjaxTermand of coursevt102.
Package: pytea2
pytea极其快速的TEA加密解密工具速度是其他PYTEA算法实现的300倍usageimportpyteatea=pytea.TEA(bytes(16),16)data=tea.encrypt("哈哈哈".encode())print(tea.decrypt(data).decode())安装python -m pip install pytea2本地编译git clonehttps://github.com/synodriver/pytea.gitpython -m pip install -r requirements.txtpython setup.py sdist bdist_wheel
Package: pyteal
PyTeal: Algorand Smart Contracts in PythonPyTeal is a Python language binding forAlgorand Smart Contracts (ASC1s).Algorand Smart Contracts are implemented using a new language that is stack-based,
calledTransaction Execution Approval Language (TEAL).However, TEAL is essentially an assembly language. With PyTeal, developers can express smart contract logic purely using Python.
PyTeal provides high level, functional programming style abstractions over TEAL and does type checking at construction time.InstallPyTeal requires Python version >= 3.10.If your operating system (OS) Python version < 3.10, we recommend:Rather than override the OS Python version, install Python  >= 3.10 alongside the OS Python version.Usepyenvor similar tooling to manage multiple Python versions.Recommended: Install from PyPiInstall the latest official release from PyPi:pip install pytealInstall Latest CommitIf needed, it's possible to install directly from the latest commit on master to use unreleased features:WARNING:Unreleased code is experimental and may not be backwards compatible or function properly. Use extreme caution when installing PyTeal this way.pip install git+https://github.com/algorand/pytealDocumentationPyTeal Docsdocs/(README) contains raw docs.Development SetupSetup venv (one time):python3 -m venv venvActive venv:. venv/bin/activate(if your shell is bash/zsh). venv/bin/activate.fish(if your shell is fish)Pip install PyTeal in editable state with dependencies:make setup-developmentOR if you don't havemakeinstalled:pip install -e . && pip install -r requirements.txtFormat code:black .Lint using flake8:flake8 docs examples pyteal scripts tests *.pyType checking using mypy:mypy pyteal scriptsRun unit tests:pytest pyteal tests/unitRun integration tests (assumes a developer-modealgodis available on port 4001):pytest tests/integrationStand up developer-mode algod on ports 4001, 4002 andtealdbgon port 9392 (assumesDockeris available on your system):docker-compose up -dTear down and clean up resources for the developer-mode algod stood up above:docker-compose down
Package: pytealext
Pyteal ExtensionsAdditional useful operations for PythonAvailable OperationsMulDiv64: calculatem1*m2/dwith no overflow on multiplication (TEAL 3+)Uint64Array: for when you need convenient integer arrays.Mul128,FastExp: Optimize operations that take uints and output bytes (big ints)Min,Max: calculate minimum/maximum of 2 expressions, without using slots or evaluating arguments more than once (TEAL 4+)LazyAnd,LazyOr: lazily evaluate arguments in And/Or operationSaturatingAdd,SaturatingSub: saturating addition/subtractionAutoLoadScratchVar: more convenient way to use scratch variables. Removes the need to use.load()everytime, adds.increment()method.Inner Transactions: simplified making of inner transactionsMakeInnerPaymentTxn,MakeInnerAssetTransferTxnand more!MakeInnerGroupTxnto execute inner atomic group transactionsSerializeIntegers,DeserializeIntegers,DeserializeIntegersToSlots: serialize/deserialize integers to/from bytesGlobalState,LocalState,GlobalStateArray,LocalStateArray,GlobalStateArray2D,LocalStateArray2D: easily access global/local stateState manipulationGlobalStateandLocalStateallow for manipulating global and local state respectively.
They both have the same interface.frompytealimportApp,Bytes,Int,Seq,TealTypefrompytealextimportLocalStateuser_counter=LocalState("UC",TealType.uint64)program=Seq(# increment using pyteal local stateApp.localPut(Int(0),Bytes("UC"),App.localGet(Int(0),Bytes("UC"))+Int(1)),# increment using put/getuser_counter.put(user_counter.get()+Int(1)),# increment using add_assignuser_counter.add_assign(Int(1))# decrementuser_counter.sub_assign(Int(1)))Want to simulate arrays in the global state? UseGlobalStateArrayandLocalStateArray.
Technically, the indexes can be any uint64 value and don't have to be sequential.
Each array element takes one slot in the local/global state.frompytealimportAssert,For,Int,Return,ScratchVar,SeqfrompytealextimportLocalStateArrayuser_counters=LocalStateArray("Counters")i=ScratchVar()accumulator=ScratchVar()program=Seq(user_counters[0].put(Int(10)),user_counters[0].add_assign(Int(1)),user_counters[0].sub_assign(Int(2)),Assert(user_counters[0].get()==Int(9)),# set some other indexesuser_counters[1].put(Int(9)),user_counters[2].put(Int(9)),# Indexes can also be accessed with Exprsaccumulator.store(Int(0)),For(i.store(Int(0)),i.load()<Int(3),i.store(i.load()+Int(1))).Do(accumulator.store(accumulator.load()+user_counters[i.load()].get())),Return(accumulator.load()==Int(27)),)Example usageExample usage forLazyAnd:frompytealimportGtxn,TxnType,Bytes,IntfrompytealextimportLazyAnd# Evaluate fields of some transaction but don't panic if an argument down the line would panicvalidation=LazyAnd(Gtxn[0].type_enum()==TxnType.ApplicationCall,Gtxn[0].application_args.length()==Int(1),Gtxn[0].application_args[0]==Bytes("AX"),)Installationpip install pytealextTestingpytestCreated by Łukasz Ptak and Paweł Rejkowicz
Package: pyteamcity
PyTeamCityPython interface to theREST
APIofTeamCityInstallationpip install pyteamcityNew API work-in-progressNote that I am working on a new API currently calledpyteamcity.future(initially added in#37).Goal here is to create a brand new API that is much more flexible and to
have nicer code that is easier to work with. The old code encourages
adding a zillion methods for different ways of filtering. The new code
has an API with a smaller number of methods that are more consistent and
more flexible in terms of filtering. It is modeled after the Django ORM
API.There’s no formal docs for this API yet, but you should be able to
figure out how to use it by looking at theunit
tests.I am probably not going to merge PRs that add things to the old API,
because I see the new API as the future. I of course am very interested
in PRs that add things to the new API!ExamplesConnect to serverfrompyteamcityimportTeamCity# This initialises the Client with the settings passed. <port> has to be an integer.tc=TeamCity('account','password','server',<port>)or specify no parameters and it will read settings from environment
variables:TEAMCITY_USERTEAMCITY_PASSWORDTEAMCITY_HOSTTEAMCITY_PORT(Defaults to 80 if not set)frompyteamcityimportTeamCity# Initialises with environment variables: TEAMCITY_{USER,PASSWORD,HOST,PORT}tc=TeamCity()Getting datatc.get_projects()tc.get_project_by_project_id('MyProject')tc.get_all_users()tc.get_user_by_username('codyw')tc.get_all_vcs_roots()tc.get_all_build_types()tc.get_changes_by_build_id(73450)tc.get_build_statistics_by_build_id(73450)tc.get_build_tags_by_build_id(73450)tc.get_all_changes()tc.get_change_by_change_id(16884)tc.get_all_builds(start=0,count=3)tc.get_build_by_build_id(73450)tc.get_server_info()tc.get_agents()tc.get_all_plugins()You can also look atsample.pyortest_legacy.pyAcknowledgementsThis is a heavily-modified fork ofhttps://github.com/yotamoron/teamcity-python-rest-clientso many thanks
are due toYotam OronChanges0.1.1 (2016-11-09)Fix setup for sub
packageUnreleased
Package: pyteams-msg
PyTeams-MsgThis module allows to build and send custom messages to Microsoft Teams Webhooks.Message TypesFor the time being only themessagetype container has been implemented.AdaptiveCardsAdaptive cards are platform-agnostic snippets of UI, authored in JSON.Card ElementsThe following are the currently implemented card elements that can be added to the AdaptiveCard sections.TextBlock: Displays texts, allowing control over font sizes, weight and colorImage: Displays an image. Acceptable formats are PNG, JPEG, and GIF. The URL field allows data URI since v1.2+For further information on all the available snipets and it's format check:https://adaptivecards.io/explorer/Sample Usagefrompyteams_msg.teamsmessageimportTeamsMessagefrompyteams_msg.adaptivecardimportAdaptiveCardfrompyteams_msg.sectionsimportTextBlock,Imagemy_msg=TeamsMessage(webhook=os.environ["TEAMS_WEBHOOK"])card=AdaptiveCard()title_section=TextBlock("Some cool clickbait",size=TextBlock.SIZE_EXTRA_LARGEcolor=TextBlock.COLOR_ACCENT)body_section=TextBlock("Beer Ipsum... yada yada")image_from_url=Image("https://cdn.pixabay.com/photo/2016/11/21/15/48/dog-1846066_960_720.jpg")image_from_file=Image()image_from_file.add_image("path/to/some/file")card.add_section(title_section)card.add_section(body_section)card.add_section(image_from_url)card.add_section(image_from_file)my_msg.add_card(card)my_msg.send()
Package: pytechfin
NoteFor the latest source, discussion, etc, please visit theGitHub repositorypytechfinInitializingfrompytechfinimportTechfin,TOTVSRacAuthcred={"client_id":"123","client_secret":"123",}auth=TOTVSRacAuth(**cred)tf=Techfin(auth)Good practice using tokenNever write in plain text your credentials. One can use
the environment variablesTECHFINCLIENTIDfor the client IDTECHFINCLIENTSECRETfor the client secretCAROLUSERCarol User with tenant accessCAROLPWDCarol User Passworde.g., one can create a.envfile like this:TECHFINCLIENTID=123TECHFINCLIENTSECRET=1234CAROLUSER=mycaroluser@mail.comCAROLUSER=My@Pwdand thenfrompytechfinimportTechfinfromdotenvimportload_dotenvload_dotenv(".env")#this will import these env variables to your execution.tf=Techfin()
Package: pytechnicolor
Technicolor Gateway Scraper libraryThis is a library to use in order to scrape Technicolor GatewayInstallationpip install pytechnicolorHow to use itfrom technicolorgateway import TechnicolorGateway
    
gateway = TechnicolorGateway("192.168.1.1", "80", "user", "pass")
  
gateway.srp6authenticate()
  
devices = gateway.get_device_modal()
  
broadband = gateway.get_broadband_modal()Credits to:https://github.com/mswhirl/TechnicolorStatScraper
Package: pytecord
DispyAdvantagesPackage withasync/awaitsupportWrappers and decorators supportSimple code with syntax sugarMinimal python version is 3.8Readable library codeGetting startedDispy is package for creating bots in Discord. This package use discord API and discord Gateway
for handle events or, for example, sending messages. Bot use for different goals; handle information
on your server, creating mini games in discord, auto moderation in your discord server and other.For example, you can reply to message that is sended by any user using this code:fromdisspyimportClient,Message# Import libraryimportosTOKEN=os.environ['TOKEN']client=Client(TOKEN)# Create a client@client.on_message('create')# On message createasyncdefon_messagec(message:Message):awaitmessage.reply('Hello!')# Reply to the messageclient.run()# Run clientDownload packageDownload stable version# Windows
pip install -U disspy

# MacOS / Linux
python3 -m pip install -U disspyDownload dev version (needs git)# Windows
git clone https://github.com/pixeldeee/disspy.git
cd dispy
pip install -U .

# MacOs / Linux
git clone https://github.com/pixeldeee/disspy.git
cd dispy
python3 -m pip install -U .LinksGithub|PyPi|Docs|Discord
Package: pytedee
Python Tedee Client PackageThis is a Tedee Lock Client package.Download:git clonehttps://github.com/joerg65/pytedee.gitInstall:pipenv install -e .orpython3 setup.py installTry it with the example.py:Generate personal key. Instructions:https://tedee-tedee-api-doc.readthedocs-hosted.com/en/latest/howtos/authenticate.html#personal-access-keyMinimal scopes required for enable integration are:Devices.ReadLock.OperateEdit personalKey with generated value.