Saravanan666/pypi-org huggingface dataset:
Package: aliceio
AliceIOАсинхронный фреймворк длянавыков АлисыизЯндекс.ДиалоговBased onaiogram v3ОсобенностиАсинхронность (asyncio docs,PEP 492)Тайп-хинты (PEP 484, может быть использован сmypy)ПоддержкаPyPyРоутеры (Blueprints)Машина состояний (Finite State Machine)Мидлвари (для входящих событий и вызовов API)Мощныемагические фильтрыРеакция надолгое время работыВажно!Настоятельно рекомендуется иметь опыт работы сasyncioперед использованиеaliceioБыстрый стартКак получитьskill_idи подключить навык к Алисе можно прочитатьтут.fromaiohttpimportwebfromaliceioimportDispatcher,Skillfromaliceio.typesimportMessagefromaliceio.webhook.aiohttp_serverimportOneSkillRequestHandler,setup_applicationdp=Dispatcher()skill=Skill(skill_id="...")@dp.message()asyncdefhello(message:Message)->str:returnf"Привет,{message.session.application.application_id}!"defmain()->None:app=web.Application()webhook_requests_handler=OneSkillRequestHandler(dispatcher=dp,skill=skill)WEB_SERVER_HOST="127.0.0.1"WEB_SERVER_PORT=80WEBHOOK_PATH="/alice"webhook_requests_handler.register(app,path=WEBHOOK_PATH)setup_application(app,dp,skill=skill)web.run_app(app,host=WEB_SERVER_HOST,port=WEB_SERVER_PORT)if__name__=="__main__":main()ДокументацияТуториалДокументацияПримерыСвязьЕсли у вас есть вопросы, вы можете посетить чат сообщества в Telegram🇷🇺@aliceio_ruЛицензияCopyright © 2023-2024K1rL3sandZloyKobraЭтот проект используетMITлицензию
Package: alice-ml
ALICE - Automated Labeling of Independent Components for EEGThe project aims to develop a sustainable algorithm for EEG IC artifact removal and collect a publically available dataset.Read about out project in the recentpublicationalice-mllibrary contains pretrained ML models to label IC. It's compatible withMNElibrary.RequirementsPython >= 3.7InstallationCurrently only pip installation is supportedpip install alice-ml
Package: alice-onboarding
onboarding-pythonThe aim of this Python package is to manage the authentication and backend operations against Alice Onboarding API.If you want more information about how to integrate with Alice technology, please contact us atsupport@alicebiometrics.com.RequirementsPython 3.8+Installation :computer:pip install alice-onboardingGetting Started 📈ConfigConfigure your credentials withConfigclassfromaliceimportConfigconfig=Config(api_key="<YOUR-API-KEY>")By default, this configure theproductionenvironment, if you
want to use thesandboxenvironment, you have two options:Addenvironmentparameter onConfigfromaliceimportConfig,Environmentconfig=Config(api_key="<YOUR-API-KEY>",environment=Environment.SANDBOX)OnboardingTo manage the operations with Alice Onboarding API, useOnboardingclass.
This class deals with authentication automatically.export ONBOARDING_API_KEY="<YOUR-API-KEY>"python examples/onboarding.pysee onboarding examplehereAuthentication 🔐To manage authorization and token creations, useAuthclass.Available tokens:Type TokenInfoBACKEND_TOKENUsed to secure global requests.BACKEND_TOKEN_WITH_USERUsed to secure global requests include user_id information embeddedUSER_TOKENUsed to secure requests made by the users on their mobile devices or web clients.To create a BACKEND_TOKEN_WITH_USER and a USER_TOKEN you will need a valid user_id obtained from Alice Onboarding API.export ONBOARDING_API_KEY="<YOUR-API-KEY>"python examples/auth.pysee auth examplehereSandbox (Only for early stages of integration)To manage the operations with the Sandbox API, useSandboxclass.export ONBOARDING_SANDBOX_TOKEN="<YOUR-SANDBOX-TOKEN>"python examples/sandbox.pysee sandbox examplehereAdvanced features 🎩⚠️ These features could not be available by default. If you obtain a HTTP Error (405 method not allowed). Please, contact us to make them available for your credentials.Certified OnboardingIf you need certify your user data, you can retrieve a certified Pdf Report with these feature.export ONBOARDING_API_KEY="<YOUR-API-KEY>"python examples/onboarding_with_certificate.pysee certified onboarding usagehereUser ScreeningAlice Onboarding API bring us the opportunity of screening a user over different databases & lists (sanctions, PEP, etc)..export ONBOARDING_API_KEY="<YOUR-API-KEY>"python examples/onboarding_with_screening.pysee screening onboarding usagehereWebhooksConfigure your webhooks through the api with theWebhooksobject.export ONBOARDING_API_KEY="<YOUR-API-KEY>"python examples/onboarding_with_webhooks.pysee onboarding webhooks usagehereNote: You can configure your webhooks using the Onboarding dashboard.Documentation 📄For more information about Alice Onboarding:https://docs.alicebiometrics.com/onboarding/Contact 📬support@alicebiometrics.com
Package: alicia
AlicIAUsage: alicia [OPTIONS] COMMAND [ARGS]...

  A CLI to download, create, modify, train, test, predict and compare an image classifiers.

  Supporting mostly all torch-vision neural networks and datasets.

  This will also identify cute 🐱 or a fierce 🐶, also flowers or what type of
  🏘️ you should be.

Options:
  -v, --verbose
  -g, --gpu
  --version      Show the version and exit.
  --help         Show this message and exit.

Commands:
  compare   Compare the info, accuracy, and step speed two (or more by...
  create    Creates a new model for a given architecture.
  download  Download a MNIST dataset with PyTorch and split it into...
  info      Display information about a model architecture.
  modify    Changes the hyper parameters of a model.
  predict   Predict images using a pre trained model, for a given folder...
  test      Test a pre trained model.
  train     Train a given architecture with a data directory containing a...View a FashionMNIST demoInstall and usagepip install alicia
alicia --helpIf you just want to see a quick showcase of the tool, download and runshowcase.shhttps://github.com/aemonge/alicia/raw/main/docs/showcase.shFeaturesTo see the full list of features, and option please refer toalicia –helpDownload common torchvision datasets (tested with the following):MNISTFashionMNISTFlowers102EMNISTStanfordCarsKMNIST and CIFAR10Select different transforms to train.Train, test and predict using different custom-made and torch-vision models:SqueezeNetAlexNetMNASNetGet information about each model.Compare models training speed, accuracy, and meta information.View test prediction results in the console, or with matplotlib.Adds the network training history log, to the model. To enhance the info and compare.Supports pre-trained models, with weights settings.Automatically set the input size based on the image resolution.ReferencesUseful links found and used while developing thishttps://medium.com/analytics-vidhya/creating-a-custom-dataset-and-dataloader-in-pytorch-76f210a1df5dhttps://stackoverflow.com/questions/51911749/what-is-the-difference-between-torch-tensor-and-torch-tensorhttps://deepai.org/dataset/mnisthttps://medium.com/fenwicks/tutorial-1-mnist-the-hello-world-of-deep-learning-abd252c47709
Package: alicloudcli
#AliCloud Command Line InterfaceThe AliCloud Command Line Interface is a unified tool to manage your AliCloud services. With just one tool to download and configure, you can control multiple AliCloud services from the command line and automate them through scripts.If you got any problems, please send mail to us:aliyun-developers-efficiency@list.alibaba-inc.com###Prerequisites:* Windows, Linux, OS X, or Unix* Python 2 version 2.6.X or version 2.7.x not support python 3.x* Pip###Install the Alicloud CLI using pip:$ sudo pip install alicloudcliTo upgrade an existing Alicloud CLI installation, use the --upgrade option::$ sudo pip install --upgrade alicloudcliFor windows system, you please dont use sudo.###Command Completion:On Linux and Mac OS systems, the AliCloud CLI includes a command-completion feature that can enable you to use the TAB key to complete a partially typed command. This feature needs you configure it manually.Configuring command completion requires two pieces of information: the name of the shell you are using and the location of the alicloud_completer script.####bash:$ complete -C '/usr/local/bin/alicloud_completer' alicloud####zsh:% source /usr/local/bin/alicloud_zsh_complete.sh###Configure the AliCloud CLI:Run alicloud configure at the command line to set up your credentials and settings.$ alicloud configureAlicloud Access Key ID [****************wQ7v]:Alicloud Access Key Secret [****************fxGu]:Default Region Id [cn-hangzhou]:Default output format [json]:After configure you can use the tool now:$ alicloud Ecs DescribeInstances$ alicloud Ecs StartInstance --InstanceId your_instance_id$ alicloud Rds DescribeDBInstances###Install the SDK using pipAliCloud CLI needs SDK to work , you can install SDK using pip like follow:$sudo pip install aliyun-python-sdk-ecs$sudo pip install aliyun-python-sdk-rds$sudo pip install aliyun-python-sdk-slbMore detail you can access our official website:http://intl.alicloud.com
Package: alicloud-exporter
Prometheus Exporter for Alibaba CloudQuick Start原作者GitHub地址代码修改：添加自定义标签根据标签push到~/metrics添加日志打印修复自定义标签自动匹配dict.key配置文件重定义，增加【global_config;metrics-team,game_name-cluster】InstallationPython 3.5+ is required.pip3installalicloud-exporterUsageConfig your credential and interested metrics:credential:access_key_id:<YOUR_ACCESS_KEY_ID>access_key_secret:<YOUR_ACCESS_KEY_SECRET>region_id:<REGION_ID>metrics:acs_cdn:-name:QPSteam:'team-name'acs_mongodb:-name:CPUUtilizationperiod:300measure:Maximumgame_name:dev:-id_qazqweasd:二_哈output-example:
  aliyun_acs_ecs_dashboard_DiskWriteIOPS{altype="wx",app="yyds",cluster="dev",instanceId="i-a***d",name="web",region="CN",team="abc123***"} 66.6Run the exporter:>aliyun-exporter-p9525-caliyun-exporter.ymlThe default port is 9525, default config file location is./aliyun-exporter.yml.Visit metrics inlocalhost:9525/metricsConfigurationrate_limit:5# request rate limit per second. default: 10credential:access_key_id:<YOUR_ACCESS_KEY_ID># requiredaccess_key_secret:<YOUR_ACCESS_KEY_SECRET># requiredregion_id:<REGION_ID># default: 'cn-hangzhou'metrics:# required, metrics specificationsacs_cdn:# required, Project Name of CloudMonitor-name:QPS# required, Metric Name of CloudMonitor, belongs to a certain Projectrename:qps# rename the related prometheus metric. default: same as the 'name'period:60# query period. default: 60measure:Average# measure field in the response. default: Averageinfo_metrics:-ecs-rds-redisNotes:Find your target metrics usingMetrics MetaCloudMonitor API has an rate limit, tuning therate_limitconfiguration if the requests are rejected.CloudMonitor API also has an monthly quota for invocations (AFAIK, 5,000,000 invocations / month for free). Plan your usage in advance.Given that you have 50 metrics to scrape with 60s scrape interval, about 2,160,000 requests will be sent by the exporter for 30 days.Special ProjectSome metrics are not included in the Cloud Monitor API. For these metrics, we keep the configuration abstraction consistent by defining special projects.Special Projects:rds_performance: RDS performance metrics, available metric names:Performance parameter tableAn example configuration file of special project is provided asspecial-projects.ymlNote: special projects invokes different API with ordinary metrics, so it will not consume your Cloud Monitor API invocation quota. But the API of special projects could be slow, so it is recommended to separate special projects into a standalone exporter instance.Metrics Metaaliyun-exportershipped with a simple site hosting the metrics meta from the CloudMonitor API. You can visit the metric meta inlocalhost:9525after launching the exporter.host:portwill host all the available monitor projectshost:port/projects/{project}will host the metrics meta of a certain projecthost:port/yaml/{project}will host a config YAML of the project's metricsYou can easily navigate in this pages by hyperlink.
Package: alicona-converter
Alicona ConverterConverter for Surface Data FormatsThis script transforms the output format of the optical microscope by Alicona
to different input formats, for example the format used tribo-x.UsageThe basic usage is to call the script directlypython alicona_converter.pyor, if it has been installed by pip,python -m alicona_converter.
For more information on the usage, seepython alicona_converter -h.APIThis module can also be used to parse Alicona's output format directly to
a numpy array:from alicona_converter import parse_alicona_data

data = parse_alicona_data(filename)
Package: alicorn
AlicornAlicorn is a Python grpc framework with built in dependency injection and middleware management.NB: This project is in alpha status at the moment, some functionality may be missing.fromalicornimportAlicorn,GrpcContext,Dependsfromhelloworld_pb2importHelloWorldRequest,HelloWorldResponsefromhelloworld_pb2_grpcimportHelloWorldServicerapp=Alicorn()app.debug=TrueclassDatabase:pass@app.serviceclassHelloWorld(HelloWorldServicer):defSayHello(self,request:HelloWorldRequest,context:GrpcContext,*,database:Database=Depends()):returnHelloWorldResponse(message=f"Hello{request.name}")if__name__=='__main__':app.run()FeaturesDependency Injectionbefore_request, after_request, after_request_teardown request handlers.proto defined grpc services or python-defined grpc servicesExtension SupportPlanned Future FeaturesIncoming data validation (using proto rules)More internal extensionsOther grpc server support (besides the Google implementation)RequirementsPython 3.7+grpcioInstallationFrom PyPi:pip install alicornorpipenv install alicornTo DoFinish DocumentationCommand-Line OptionsBetter examples
Package: aliddns2
AliDDNS阿里云 Python DDNS 客户端 (https://github.com/kalixi/AliDDNS)PS: Fork fromhttps://github.com/rfancn/aliyun-ddns-client.中文 |English限制本版本的 DDNS client只支持自动更新 “A” 类型 IPv4 地址的 DomainRecord。其他类型不支持，因为它们需要以下值格式，而不是IP地址:NS,MX,CNAME类型 DomainRecord 需要域名格式值AAAA类型 DomainRecord 需要 IPv6 地址格式的值SRV类型 DomainRecord 需要名称.协议格式的值显式URL和隐式URL需要 URL 格式值先决条件下面是 AliDDNS 需要的一些第三方 python 库，你可以通过 pip 或 easy_install 安装:requestsnetifaces例如:pipinstallrequestsnetifaces安装1. 使用 cron下载所有文件到某个地方, 例如:/opt/aliddns将ddns.conf.example重命名为ddns.conf创建一个 cron 任务，定时执行python ddns.py, 例如:*/5****cd/opt/aliddns&&/usr/bin/pythonddns.py确保 cron 用户可以访问ddns.conf2. 使用 SystemD下载所有文件到某个地方, 例如:/root/tools/aliddns将ddns.conf.example重命名为ddns.conf复制ddns.timer和ddns.service到/usr/lib/systemd/system执行:root@local#systemctldaemon-reload
root@local#systemctlstartddns.timer
root@local#systemctlstatusddns.timer-l配置/etc/ddns.conf中需要设置的选项:access_idaccess_keydomainsub_domain可选的选项:type[DEFAULT]# access id obtains from aliyunaccess_id=# access key obtains from aliyunaccess_key=# it is not used at this moment, you can just ignore itinterval=600[DomainRecord1]# domain name, like google.comdomain=# subdomain name, like www, blog, bbs, *, @, ...sub_domain=# resolve type, 'A', 'AAAA'..., currently it only supports 'A'type=A[feature_public_ip_from_nic]enable=falseinterface=eth0开始使用在阿里云控制台手动创建 DNS 解析条目，例如:blog.guanxigo.com您可以在阿里云服务器上为该条目留下任何IP地址，如 192.168.0.1确保所有必需的选项都正确输入到ddns.conf启用您想要使用的功能确保ddns.conf对于设置cron作业的用户来说是可读的注意: 只更新本地配置文件和阿里云服务器中定义的域记录。常见问题问: 为什么报错The input parameter "Timestamp" that is mandatory for processing this request is not supplied.?答: 请检查参数 TimeStamp 的值是多少, 如果与正确时间相差较大，需要使用ntpdate将系统时间同步到正确的时间。问: 为什么报错Failed to save the config value?答: 您需要确保当前的 cron 用户有权限写/etc/ddns.conf文件。问: 为什么报错AttributeError: 'X509' object has no attribute '_x509'?答：PyOpenSSL 版本需要 >= 0.14，你可以尝试通过以下方法解决这个问题:sudoyumuninstallpython-requests
sudopipuninstallpyopensslcryptographyrequests
sudopipinstallrequests
Package: aliddns-python
aliddns-pythonAn easy-to-use dynamic DNS(DDNS) tool for Alibaba Cloud.Use CasesYou have domain names hosted in Alibaba Cloud, and you want to setup DDNS.
DDNS is pretty usefull when you have public but dynamic IP from your ISP.
Some advanced home routers support DDNS of many kinds out of box,
but many cheap or old ones do not. This easy to use script allows you to setup
up Alicloud DDNS sync on your home PC or any python-enabled devices.Installationpipinstall--upgradealiddns-pythonQuickstart# update the given domain name DNS record with current public ippython-maliddns.ddns--key=<ACCESS_KEY>--secret=<SECERT_KEY>--record=www.yourdomain.comUsageJob Scheduling# update dns record every 5 mins using cron job# use `crontab -e` to edit the crob job# m h  dom mon dow   command*/5***python-maliddns.ddns--key=<ACCESS_KEY>--secret=<SECERT_KEY>--record=www.yourdomain.comDocumentationGet Your Access Keys from Alibaba CloudGetting a key pair is easy, and lets you to use more API features apart from the DNS one.

In order to get one, log into your Alibaba Cloud console and in the top navigation bar, hover with your mouse in your email address and click "accesskeys" as illustrated below.

<https://www.alibabacloud.com/blog/Dynamic-DNS-using-Alibaba-Cloud-DNS-API_459542>ReferencesOffical Alicloud DNS APIDynamic DNS using Alibaba Cloud DNS APIAlicloud OpenAPI ExplorerLICENSECopyright (c) 2019 cheng10

Permission 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.
Package: alidock
alidock=======Run your ALICE environment from a container. InstallDocker,then:bash <(curl -fsSL https://raw.githubusercontent.com/alidock/alidock/master/alidock-installer.sh)Windows users caninstall the package with pipinstead.You may need to close and reopen your terminal as advised. Run alidock now:alidockYou are instantly dropped in a shell with a consistent ALICE environment from a Docker container.From there you can directly run, for example:aliBuild init O2@dev --defaults o2

aliBuild build O2 --defaults o2and it will download the precompiled binaries for you.Your home directory in the container, called/home/alidock, is available from outside thecontainer in~/alidock. This means you can use your favourite text editor or IDE from your laptop,no need to edit from inside the container.📜 Full documentation availableon the Wiki.
Package: aliendev-cdk
CDK ModuleThe CDK (Cloud Development Kit) module is a critical component of the serverless API, allowing clients to manage the deployment and configuration of the infrastructure required for the API's operation. It provides a simple and intuitive way to define and configure the necessary resources, such as AWS Lambda functions, API Gateway, and IAM roles, that are needed to run the API effectively.By leveraging the power of the CDK, clients can easily define and deploy their serverless API infrastructure using familiar programming languages like TypeScript or Python. The CDK abstracts the underlying cloud infrastructure, providing a more user-friendly way to manage and maintain the API's components.Some of the key features of the CDK module include:Easy-to-use APIs for defining and deploying infrastructure resourcesBuilt-in support for popular AWS services like Lambda, API Gateway, and IAMComprehensive documentation and examples to get started quicklyAutomatic dependency management and resource tracking to simplify maintenance and updatesUsing the CDK module, clients can quickly and easily deploy their serverless API with confidence, knowing that the underlying infrastructure is well-defined and optimized for performance and scalability.To get started with the CDK module, refer to the documentation and examples provided in the cdk directory of this repository. From there, you can explore the APIs and learn how to define and deploy your serverless API infrastructure with ease.How to installpip install aliendev-cdkCreate your first time projectCreate project base templatealiendev-cdk initand enter your project nameFor Register aliendev accountaliendev-cdk registerLogin into your accountaliendev-cdk loginSign Out usingaliendev-cdk logoutDeploy your projectaliendev-cdk deploy
Package: aliendev-sentiment
AlienDev Sentiment AnalyzerAlienDev Sentiment Analyzer is a Python library that allows you to analyze the sentiment of textual content. This library makes use of the Google Translator API for translation and the VADER Sentiment Analysis tool for sentiment analysis.InstallationYou can install AlienDev Sentiment Analyzer using pip:pipinstallaliendev-sentimentUsageHere's an example of how to use AlienDev Sentiment Analyzer:fromaliendev_sentimentimportSentimentAnalyzer# Define the content dictionarycontent={"content":"..."# Your content goes here}# Create a SentimentAnalyzer instancesentiment=SentimentAnalyzer(content=content.get("content"))# Analyze sentimentresponse=sentiment.analyze_sentiment()print("Sentiment:",response)Replace the"..."placeholder in thecontentdictionary with your actual textual content that you want to analyze for sentiment.OutputTheanalyze_sentimentmethod of theSentimentAnalyzerclass will return a sentiment label, which could be one of the following:"Positive""Neutral""Negative"DisclaimerThis library is intended for educational and informational purposes only. The sentiment analysis results provided are based on algorithms and may not accurately reflect human sentiment. Decision-making based on the sentiment analysis results should be done with caution.
Package: alienHTML
alienHtmlA Python package to help with HTML development.Install:pip install alienHTMLLatest Version:pip install alienHTML==0.0.7Features:Edit or create a HTML file.Open HTML files in your browser.Print the contents of the HTML file in the shell wth indentation.Add Headings, Images and Pragraphs.Example:fromalienHTMLimport*# "w" is the mode to open, in this case write.mypage=WebPage("/path/to/file/to/create/or/edit","w",tabhead="Hello World",bgcolour="powderblue",icon="path/to/icon.ico")# If you put it as "a" it switches to edit mode# For tabhead, bgcolour and icon, if not set it will automatically set itself to some defaults.# This creates a heading of the largest size as the number is one.# It will ask you where you want it in the <body> section of your codemypage.Heading("Hello World",1)# Similar for images, just with different parameters. The second is the alt text.mypage.Image("/path/to/image.png","Image!")mypage.showfile()# Prints the contents of the file with line numbers and indentation.mypage.openpage()# Opens the HTML file in web browser.Outputs:Ask you where to put code for heading and image.Prints the file in shell.Opens the page in a web browserTo do:Add more web page features.Make the showfile function open the HTML file in web browser, so there is syntax highlighting.Credits:Made by TomTheCodingGuy