Saravanan666/pypi-org huggingface dataset:
Package: botcity-whatsapp-plugin
BotCity Whatsapp Plugin - Python🤖 Computer-vision based UI AutomationRecognize and interact with UI elements using state-of-art computer vision module.Operate any UI interface independent of the technology or platform (desktop, web, terminal).🐍 Generate Python Code while Interacting with your UIUse our Development Tool alongside your favorite IDE to select UI components and generate python code.SIGN UPand download our tools.🚀 Getting Started📦 PrerequisitesPython 3.7+💫 Installingpipinstallbotcity-whatsapp-plugin⭐ Using the Plugin📚 DocumentationDocumentation is available athttps://documentation.botcity.dev/plugins.💻 Developers Portal💬 Forum🌎 BotCity Automation PlatformBotCity is a platform to develop, deploy, manage and maintain automations. Automations can be developed in Python or Java using open-source libraries that are market standard.1️⃣  All in One PlatformDevelop, deploy, manage and scale your Automation Ops using All in One platform that provides task queue, runtime environment management, reports, alerts, logs and much more.2️⃣  Deploy with a Single LineUse BotCity command-line interface (CLI) to deploy your bot into a runtime environment with a single line:3️⃣  Manage your Task Queue4️⃣  Manage your Runtime Environments5️⃣  Create Alerts and Reports from the Automation Execution6️⃣  Create Google Data Studio Dashboards7️⃣  Create your Community AccountWe have a community account for hobbyists and students. Just signup and start automating.⛑ Support📢 Contact usIf you have questions or comments in general about the framework, we want to know.You can choose between the channels the one that best fit you:BotCity Community(Public)
Package: botcli
BotCliBot Cli is adiscord.pyproject generator for a structure that I prefer.PrerequisitesPython 3.8+Docker(Optional)A Brain(Optional)InstallationInstall the package withpippipinstallbotcliUsageSimply just runmakebotand follow the prompts providedSupportJoin theTND Discord ServerContributingPull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.LicenseThis project is under theMIT License
Package: botco
botco- Telegram bot api wrapper (WIP)Installationpip install botcoQuick startfrombotcoimportBot,Dispatcher,typesfrombotco.contrib.fsmimportFSMbot=Bot("token_here")dp=Dispatcher()@dp.message(commands="start")defstart_message(message:types.Message,bot:Bot,state:FSM):message.answer("Hello world!")@dp.message()defecho(message:types.Message):message.reply(message.text)dp.start_polling(bot)
Package: bot-controller
BotController-pythonThis is a bot-controller package to help you choose the type of your controller and easily get started with the DotBot and the Sail Boat.
How to install:
- Clone the code on Github locally.
- Navigate to folder /BotController-python in shell
- Use the commandpip install .- The commands will be executed usingbot-controller, checkbot-controller --helpfor more information
Package: botCreate
botCreatebotCreate is a module to create discord bots in python.InstallingType these commands in a command prompt.# Linux/macOS
python3 -m pip install -U botCreate

# Windows
py -3 -m pip install -U botCreateExamplesClientimportbotCreateclient_type=botCreate.CLIENTbotCreate.create(name='my super bot',token='Token.example.123456789',prefix='!',type=client_type,launch=True)BotimportbotCreatebot_type=botCreate.BOTbotCreate.create(name='my super bot',token='Token.example.123456789',prefix='!',type=bot_type,launch=True)Sharded botimportbotCreatesharded_bot_type=botCreate.SHARDED_BOTbotCreate.create(name='my super bot',token='Token.example.123456789',prefix='!',type=sharded_bot_type,launch=True)
Package: botc-tokens
Token Tools for Blood on the ClocktowerA simple fan-made utility to help create custom tokens for the game Blood on the Clocktower.InstallationTo use this tool, you will need to have Python 3 installed on your computer. You can download it from theofficial website.Once you have Python installed, you can install these scripts usingpip:pipinstallbotc_tokensor manually by cloning this repository and running the following command in the root folder:pipinstall.We useWandto handle image manipulation, which requires theImageMagicklibrary to be installed on your system. Check thewand install guidefor details on how to get
that set up.UsageThe main script is run through its entrypointbotc_tokens. You can use the--helpflag to see the available
commands and options.
A typical workflow would use theupdatecommand to download the latest assets from the web, and then thecreatecommand to generate the tokens, followed by agroupcommand to organize them into a single printable sheet using a
json file from theofficial script tool.Updating from the webIf you want to create experimental tokens for your in-person games, you can use theupdatecommand to download the
current list from theofficial wiki. This is an incremental update, so it
will only download assets that are not already present in the local folder. We highly recommend double-checking the
resulting entries, especially the reminder token section. While the utility does its best to guess, it isn't perfect.
If you already know the reminder tokens, you can create a JSON file for the utility to use. See the example folder for
an example of the format.botc_tokensupdate--output-dir/path/to/inputs--reminders/path/to/reminders.jsonCreating tokensOnce you have your role info, whether from theupdatecommand or from your own creation, you can use thecreatecommand to generate the tokens. This will create a folder with the role name and a subfolder for each token type. If you
would like to customize the appearance of the tokens, you can use the--component-diroption to specify where to
find your custom components. Check theexamplefolder for an example of the expected structure.botc_tokenscreate/path/to/inputs/path/to/tokens--component-dir/path/to/componentsGrouping tokensOnce you have created your token images, you can use thegroupcommand to organize the tokens into a single
printable sheet. This command requires a JSON file with desired role grouping, which can be created using theofficial script tool.botc_tokensgroup/path/to/script.json--token-dir/path/to/tokens--output-dir/path/to/printablesAnd that's it!You can now print your tokens and use them in your games. Remember, this is a fan-made utility and is not
affiliated with the official game in any way. We do not own the rights to the game, and we do not claim to. We are just
fans who want to make the game more accessible to everyone. Please support the creators bybuying the game. It is absolutely worth it!
Package: botdash.py
BotDash.pyhttps://botdash.proGet startedfrombotdashimportClientdash=Client(token="TOKEN_HERE",return_value=False,# Set to truedebug=False# Use this for debugging)val=dash.get("GUILD_ID_HERE","DATABASE_ID_HERE").value# REMOVE .value if "return_value" is Trueprint(val)
Package: botdash.py-dev
BotDash.pyhttps://botdash.proGet startedimportdiscordimportbotdashimporttimeDISCORD_TOKEN="haha"BOTDASH_TOKEN="you thought"intents=discord.Intents.all()client=discord.Client(intents=intents)dashboard=botdash.Client(token=BOTDASH_TOKEN,return_value=True,debug=True,client=client)@dashboard.on("change")asyncdefchange(data):# THIS SHOULD ALWAYS BE ASYNC!!!#{ key, value, oldValue, guild }# Key is the key / database ID of the setting.# Value is the new value of the setting.# oldValue is the old value of the setting.# guild is the guild ID of the guild the setting was changed for.return@dashboard.on("trigger")asyncdeftrigger(data):# THIS SHOULD ALWAYS BE ASYNC!!!# { name, currentSave, guildId }# Name is the key / database ID of the setting.# currentSave is the current state/save of the page | [ { Key: Value }, { Key: Value } ]# guildId is the guild ID of the guild the trigger is for.return@client.eventasyncdefon_ready():print('Logged in as')print(client.user.name)print(client.user.id)print('------')@client.eventasyncdefon_message(msg):ifmsg.author==client.user:returnifmsg.content.startswith('!get'):start_time=time.time()value=dashboard.get(msg.guild.id,"prefix")end_time=time.time()start_time_two=time.time()valueTwo=dashboard.getUsingRest(msg.guild.id,"prefix")end_time_two=time.time()awaitmsg.channel.send(f"```Prefix NEW Method:{value}- Time:{end_time-start_time}\nPrefix OLD Method:{valueTwo}- Time:{end_time_two-start_time_two}```")ifmsg.content.startswith('!set'):dashboard.set(msg.guild.id,"prefix",msg.content[4:])awaitmsg.channel.send(f"Set prefix to{msg.content[4:]}")client.run(DISCORD_TOKEN)Old ExamplefrombotdashimportClientdash=Client(token="TOKEN_HERE",return_value=False,# Set to truedebug=False# Use this for debugging)val=dash.get("GUILD_ID_HERE","DATABASE_ID_HERE").value# REMOVE .value if "return_value" is Trueprint(val)
Package: bote
Bote"Bote" is German for messenger or courier. Thebotelibrary sends plain-text email from localhost or a remote SMTP server. The base functionality is in the standard library, but this package improves upon that in several ways:Enforce that any connection to a SMTP server - exceptlocalhost/127.0.0.1/::1- is encrypted. (Of course this does not influence how the SMTP server sends the message to the recipient.)Good error messagesType-Hints in the code (PEP 484)Extensive testingAutomatically wrap messages preserving intentional line-breaks.How to use itimportosimportbotemail_settings={'server':'smtp.example.com','server_port':587,'encryption':'starttls',# or 'ssl', or 'off'# Best practice: get secrets from environment variables# instead of hardcoded strings =>'username':os.environ.get('MAIL_USER'),'passphrase':os.environ.get('MAIL_PASSPHRASE'),'recipient':'foo@example.com','sender':'bar@example.com','wrap_width':80}mailer=bote.Mailer(mail_settings)mailer.send_mail('Test bote',# subject'It worked!'# mail body)# If the setting recipient is a dictionary and contains# an admin key:mailer.send_mail_to_admin('Test','Message for the admin')All parameters exceptrecipientandsenderare optional asbotehas defaults for all others:ParameterDefault Valueserverlocalhostserver_portNoneencryptionoffusernameNonepassphraseNonewrap_width80The parameterrecipientcan either be an email address as a string or a dictionary. In the later case, this should have adefaultkey with the standard recipient as value. Otherwise the recipient has to be set for every message. If it contains anadminkey, the shorthand commandsend_mail_to_admincan be used.Keeping Your Credentials SaveYou should not store secrets in code that may be shared or saved to source control.To avoid accidental exposure of secrets it is best practice to use environment variables that can be accessed withos.environ.get(). Thepython-dotenvcould be useful for this too - do not forget to add.envfiles to.gitignore.
Package: botele
botelePython Telegram Bot FactoryInstallation$pipinstallboteleBasic Usage$mkdirmybot
$cdmybot
$botelesetup.
$echo"<BOT TOKEN>">mybot.token
$vimmybot.py# Write your bot file...
$botelemake# Checks for bot consistency$boteleinstall
$botelelist
Availablebots:1.mybot
$botelerunmybot# Here we go!>StartedPolling,goingidle.
Package: botfly
BotflyAn enhanced debugger that usesprompt-toolkit.Sinceprompt-toolkitis a cross-platformreadlinereplacement it should work on all platforms.You can also import thebotfly.debuggermodule in your code and call thepost_mortemfunction, as withpdb.Some notable features:Colorized UI - stacktrace, prompt, etc.More informative reports, prompt shows current position in stack.Invoke your editor at current point.REPL-like evaluatorEnter sub-REPL if desired.Display opcodes.Switch to different stack in context or cause exceptions.Debug co-routines.Automatic DebuggingDon't like those annoying uncaught exceptions? Just put the following in your code (during development) to automatically enter the debugger in the event of an uncaught exception.frombotflyimportdebuggerdebugger.autodebug()...Then if an exception happens that isn't handled you will see the debugger.
Package: botframe
Как пользоватьсяУстановкаpip install vk-api botframeПримерfrombotframeimportBotbot=Bot('123abc',123465)@bot.arg()defname(event,bot):text=event.message['text'].split()iflen(text)>2:fornuminrange(2,len(text)):if" ".join([text[num-2],text[num-1]]).lower()=='i am':returntext[num]returnNone@bot.command(["i am"],all_text=True)defhello(api,name):ifname:message=f"Hello,{name}"else:message=f"Hello"api.reply(message=message)return"world"if__name__=="__main__":bot.run()>> Hello, Bot. I am Eugene
<< Hello, Eugene

>> word word i am
<< HelloСпасибоpython273заvk_api, который используется в этом проекте как бэкэнд.
Package: botframework-streaming
Streaming Extensions libraries for BotFramework.How to Installpipinstallbotframework-streamingDocumentation/WikiYou can find more information on the botframework-python project by visiting ourWiki.RequirementsPython >= 3.7.0Source CodeThe latest developer version is available in a github repository:https://github.com/Microsoft/botframework-python/ContributingThis project welcomes contributions and suggestions.  Most contributions require you to agree to a
Contributor License Agreement (CLA) declaring that you have the right to, and actually do, grant us
the rights to use your contribution. For details, visithttps://cla.microsoft.com.When you submit a pull request, a CLA-bot will automatically determine whether you need to provide
a CLA and decorate the PR appropriately (e.g., label, comment). Simply follow the instructions
provided by the bot. You will only need to do this once across all repos using our CLA.This project has adopted theMicrosoft Open Source Code of Conduct.
For more information see theCode of Conduct FAQor
contactopencode@microsoft.comwith any additional questions or comments.Reporting Security IssuesSecurity issues and bugs should be reported privately, via email, to the Microsoft Security
Response Center (MSRC) atsecure@microsoft.com. You should
receive a response within 24 hours. If for some reason you do not, please follow up via
email to ensure we received your original message. Further information, including theMSRC PGPkey, can be found in
theSecurity TechCenter.LicenseCopyright (c) Microsoft Corporation. All rights reserved.Licensed under theMITLicense.
Package: bothlent-asr-eval
bothlent_asr_eval介绍借助EditDistance算法，计算wer，ser指标。软件架构软件架构说明安装教程xxxxxxxxxxxx使用说明xxxxxxxxxxxx参与贡献Fork 本仓库新建 Feat_xxx 分支提交代码新建 Pull Request特技使用 Readme_XXX.md 来支持不同的语言，例如 Readme_en.md, Readme_zh.mdGitee 官方博客blog.gitee.com你可以https://gitee.com/explore这个地址来了解 Gitee 上的优秀开源项目GVP全称是 Gitee 最有价值开源项目，是综合评定出的优秀开源项目Gitee 官方提供的使用手册https://gitee.com/helpGitee 封面人物是一档用来展示 Gitee 会员风采的栏目https://gitee.com/gitee-stars/
Package: bot-hosting-wrapper
Bot-Hosting.net API Wrapper | InformationThis README will probably only work on github, not pypi, idk whyImportant: Your account token expires every 2 weeks! If something isnt working, make sure you use an up-to-date Auth ID :)A simple API Wrapper for certain information in python for bot-hosting.netThis is made by @suspectedesp on discord, staff member but not developer of bot-hosting.netWhat a blessing that pdactyl existsTable of ContentsInstallationUsageChange LogLicenseContributionCreditsInstallationDependencies (+ used version) :requests==2.31.0colorama==0.4.6datetime==5.4UsageHow to get the Authorization keyPlease follow the instructions to get your auth id:Login to your account and go tothis pageOpen your browser's console (usually by pressing F12 or pressing Control + Shift + I)Navigate to the 'Console' tabPaste in the following code:var token = localStorage.getItem('token');
console.log('Your Auth ID:', token);Now you got your Auth ID and can use all the scripts, congrats!For an usage of the commands etc. please gohereChangelogLatest Changelog:Added function descriptionsTested for optimization as alwaysFixed the README file once againLicenseMIT LicenseCopyright (c) 2024 VortexPermission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.ContributingFollow these simple steps for contributing viaGithubFork the repository.Create a new branch: git checkout -b feature/my-feature.Commit your changes: git commit -am 'Add my feature'.Push to the branch: git push origin feature/my-feature.Submit a pull request.CreditsMany thanks to:@mathiasDPX for giving me some ideas and remaking the code@pondwader for letting me upload this@iamkubi api wrapper for pterodactyl panelMany thanks guys! I appreciate it <3
Package: bothpy-ctp
说明基于CTP期货版的6.6.7接口封装开发，接口中自带的是【穿透式实盘环境】的dll文件。
由 vnpy_ctp 修改而来打包python setup.py bdist_wheel需要进行C++编译，因此在执行上述命令之前请确保已经安装了【Visual Studio（Windows）】、【GCC（Linux）】、【XCode（Mac）】编译器。发布先安装一下 twine：python -m pip install twine
twine upload dist/*没有账户去注册一个https://pypi.org/安装直接使用pip命令：pip install bothpy_ctp使用以脚本方式启动（script/run.py）：from bothpy.event import EventEngine
from bothpy.trader.engine import MainEngine
from bothpy.trader.ui import MainWindow, create_qapp

from bothpy_ctp import CtpGateway


def main():
    """主入口函数"""
    qapp = create_qapp()

    event_engine = EventEngine()
    main_engine = MainEngine(event_engine)
    main_engine.add_gateway(CtpGateway)
  
    main_window = MainWindow(main_engine, event_engine)
    main_window.showMaximized()

    qapp.exec()


if __name__ == "__main__":
    main()
Package: boticordpy
The easiest way to use BotiCord API in Python.·DocsFeaturesObject-orientedFull BotiCord API CoverageModern Pythonic API usingasync/awaitsyntaxBotiCord WebsocketIt is not necessary to use any particular library used to interact with the Discord API.InstallationPython 3.8 or newer is required.Enter one of these commands to install the library:pip install boticordpypython3 -m pip install boticordpyOr just clone the repo:https://github.com/boticord/boticordpyExamplesYou can find other examples in an examples folder.Discord.py Autopost examplefromdiscord.extimportcommandsfromboticordpyimportBoticordClientbot=commands.Bot(command_prefix="!")# Function that will return the current bot's stats.asyncdefget_stats():return{"servers":len(bot.guilds),"shards":None,"members":len(bot.users)}# Function that will be called if stats are posted successfully.asyncdefon_success_posting():print("wow stats posting works")boticord_client=BoticordClient("your_boticord_api_token",version=3)# <--- BotiCord API tokenautopost=(boticord_client.autopost().init_stats(get_stats).on_success(on_success_posting).start("id_of_your_bot")# <--- ID of your bot)bot.run("bot token")# <--- Discord bot's tokenLinksPyPiDocumentationGithubBotiCordSupportHelpIf You need any help we recommend you to check the documentation. You can find ushere. Main developer isMarakarka
Package: botify
IntroductionThis Package provides Botify class can be used to create your bot.
Your bot will take orders in natural language and performing
various actions based on the List of Tasks which you specify.Note that, this package does not intends to really understand the
natural langauge. Instead, you need to specify a mapping between
various keywords and the tasks you need your bot to perform. This
technique works pretty well as demonstrated by our example projectnlcalc.Features include:Ability to understand a large set of commands in natural language based on
very little input.Installationpip install botifyLinksDocumentationSourceAPI ReferenceLicenseThis project is licensed under the MIT License - see theLICENSE.txtfile for details.
Package: botify-telegram
BotifyGetting startedInstall library via pip (Unavailable yet)pipinstallbotifyCreate config folder in your project root directory
with .yaml file (name doesn't matter)name:botify# Whatever you want, but don't use '.' character.token:<YOUR-BOT-API-TOKEN-HERE>db_uri:sqlite:///data.dbAnd then use it like this:frombotifyimportbotify@botify.start()asyncdefstart_handler(message):awaitbotify.send(message.from_user.id,"Hello, {{ user.firstname }}. {% if user.id == 1 %}You are first!{% endif %}",buttons=[("Github","#https://github.com/dmitriypaulov/botify")])botify.run()See more indocs
Package: botik
BotikBotik позволяет вам писать код для ботов, одновременно исполняемый на разных мессенджерах.
Так же вам предлагается перейти от типичного написания функций-хендлеров на новую абстракцию страниц.Техническая документацияУстановка# Telegrampipinstallbotik-telebot# VKpipinstallbotik-vkbottleПример кода страницыВаше приложение на Botik будет представлять собой набор страниц.
Страница — это объект для обработки пользовательского ввода и вывода.classExamplePage(Page):asyncdefmake_page_content(self,user):text="Пример страницы"# ButtonCallback ожидает асинхронный метод с первым аргументом user,# и всеми последующими с явным указанием их именself.markup.add_row([ButtonData("Нажми меня!",ButtonCallback(self.send,message="Привет, мир!"))])self.markup.add_row([ButtonData("Back",ButtonCallback(navigator.get_back)),ButtonData("Home",ButtonCallback(navigator.change_page,path=f"~/"))])awaitself.send(user,text,markup=True)Запуск ботаСоздаем два модуля-входных точек для нашего приложения.Сперва инициализируем Backbone фреймворк для работы с мессенджером и прокидываем его в конструктор ядра приложения.# Telegramfromtelebot.async_telebotimportAsyncTeleBotfrombotik_telebot.appimportTgApptoken="токен бота"bot=AsyncTeleBot(token)app=TgApp(bot)# VKfromvkbottleimportAPIfromvkbottle.botimportBotfrombotik_vkbottle.appimportVkApptoken="токен бота"# Текущая реализация фреймворка требует ссылки на High и Low Level APIbot=Bot(token=token)low_api=API(token)app=VkApp(bot,low_api)Создаем экземпляры, описывающие наши будущие страницы# Первым аргументом тип страницы, вторым относительный адрес, третьим адрес или объект родительской страницыmain_data=PageData(MainPage,'/','',inline=True,one_time=True)page1=PageData(FirstPage,'/page1',main_data,inline=False,one_time=False)# ...# Собираем их в списокpages=[main_data,page1]Устанавливаем странички и запускаем приложение!app.set_pages(pages)app.start()Основан наpyTelegramBotAPIиVKBottle
Package: botl
NAMEBOTL - cli libraryDESCRIPTIONBOTL has all the python3 code to program a unix cli program, such as
disk perisistence for configuration files, event handler to
handle the client/server connection, code to introspect modules
for commands, deferred exception handling to not crash on an
error, a parser to parse commandline options and values, etc.

BOTL uses OBJX, a module that allows for easy json save//load
to/from disk of objects. It provides an "clean namespace" Object class
that only has dunder methods, so the namespace is not cluttered with
method names. This makes storing and reading to/from json possible.AUTHORBart Thate <bthate@dds.nl>COPYRIGHTBOTL is Public Domain.