Saravanan666/pypi-org huggingface dataset:
Package: asu-cli
AWS S3 CLI utils (asu)UsageUsage: asu [OPTIONS] COMMAND [ARGS]...

  AWS S3 CLI utils

Options:
  --install-completion [bash|zsh|fish|powershell|pwsh]
                                  Install completion for the specified shell.
  --show-completion [bash|zsh|fish|powershell|pwsh]
                                  Show completion for the specified shell, to
                                  copy it or customize the installation.

  --help                          Show this message and exit.

Commands:
  sse   List default encryption for all buckets
  tags  List tag for all bucketsInstallInstall the latest version usingpipx:pipx install asu-cliIf you have previously installed asu, runpipx upgrade asu-clito upgrade to the latest version.DevelopmentPrerequisitesmakenode (required for pyright. Install viabrew install node)python >= 3.7Getting startedTo get started runmake install. This will:install git hooks for formatting & linting on git pushcreate the virtualenv in./venv/install this package in editable modeThen runmaketo see the options for running checks, tests etc.. venv/bin/activateactivates the virtualenv. When the requirements insetup.pychange, the virtualenv is updated by the make targets that use the virtualenv.
Package: asuds
---------------------------------------Lightweight SOAP client (Authentise's fork).---------------------------------------Based on the Jurko suds project by Jurko Gospodnetić hosted athttps://bitbucket.org/jurko/sudsBased on the original 'suds' project by Jeff Ortel (jortel at redhatdot com) hosted at 'http://fedorahosted.org/suds'.'Suds' is a lightweight SOAP-based web service client for Pythonlicensed under LGPL (see the LICENSE.txt file included in thedistribution).This is hopefully just a temporary fork of the original suds Pythonlibrary project created because the original project development seemsto have stalled. Should be reintegrated back into the original projectif it ever gets revived again.
Package: asukiaaa-py-i2c-lcd
asukiaaa_py_i2c_lcdAn i2c driver to control lcd from raspberry pi with python.UseageInstallsudoaptinstallsmbuspython-pipsudopipinstallasukiaaa_py_i2c_lcdActivate I2C of raspberry pisudoraspi-configInterface Options -> I2C -> YesConnectRaspberry piI2C Relay3.3vVCC2 (SDA)SDA03 (SCL)SCL0GNDGNDI2C RelayLCDVCC (3.3v)VCCSDA1SDASCL1SCLGNDGNDRunExecute the following command.fromasukiaaa_py_i2c_lcd.coreimportI2cLcd,AQM1602_ADDRI2C_BUS_NUM=1lcd=I2cLcd(I2C_BUS_NUM,AQM1602_ADDR)lcd.setCursor(0,0)lcd.write("Hello")lcd.setCursor(3,1)lcd.write("World")Referencesraspberry piでLCD（AQM1602）を使い、IPを表示する方法ストロベリー・リナックス/秋月電子のI2C液晶/OLEDほかをArduinoで使う
Package: asumpy3
Created By PyxisCopyright(c) <2021><Pyxis/Anvay Arora>Created as a mathematical tool to solve the common questions of Angle Sum property that is all 3 angles of a triangle adds up to 180 degrees.This package Pertains to all possibilities given:Angle A is missing(To Use Just type in asumpy3.angA())Angle B is missing(To Use Just type in asumpy3.angB())Angle C is missing(To Use Just type in asumpy3.angC())More given onhttps://github.com/the-protagonist-view/anglesum-package
Package: asuna-api
asuna_apiPython wrapper for asuna.ga
I'm not the creator of asuna api, and some of the code came from theiDutchy some-random-api projectso credits to them.
Credits to iDutchy for the Original source and Thank You for letting me use your code.For any questions and support for the wrapper, you can visit theDiscord support serveror DM me on Discord at JDJG Inc. Official#3493.Alternative Discord ServerGetting Started:To begin with, you'll have to install the package by doing one of the following commands:pipinstall-Uasuna-apipython-mpip-Uinstallasuna-apiOr you can install directly from source by doing one of the following commands:pipinstall-Ugit+https://github.com/Senarc-Studios/asuna_apipython-mpipinstall-Ugit+https://github.com/Senarc-Studios/asuna_apiAfter that, you will have to create the client:importasuna_apiclient=asuna_api.Client()For full usage, please read thedocumentation
Package: asus-charge-control
asus-charge-controlSet your recent ASUS notebook's maximum charge level on Linux.Recent ASUS notebooks come with a Windows application to set the maximum battery
charge level, in order to reduce stress on the battery and prolong its lifespan. On
Linux kernels >= version 5.4, theasus_nb_wmikernel module exposes a sysfs object to manage this setting.Getting or setting the charge end threshold is rather verbose:$cat/sys/class/power_supply/BAT0/charge_control_end_threshold100$echo80|sudotee/sys/class/power_supply/BAT0/charge_control_end_threshold80asus-charge-control offers a quicker way.Installationasus-charge-control should work with any device running a recent kernel (>= 5.4) with theasus_nb_wmimodule loaded. Uselsmod | grep asus_nb_wmito check; if you see a line likeasus_nb_wmi            32768  0, then the module is running.It has been tested with the following ASUS notebooks:ASUS VivoBook 15X512DAA Python version >= 3.7 is necessary to run this script. Most Linux distributions come with the right version. To verify that Python is installed onDebian/Ubuntu-based distributions, use apt:sudo apt install python3As root privileges are necessary to set the charge end threshold, asus-charge-control should be installed as a global package:sudo pip install --system asus-charge-controlDANGER:Normally, Python packages should not be installed withsudo, as they may execute arbitrary code. I encourage you to readsetup.pybefore installation.UsageYou can get the current charge end threshold by callingasuschargefrom  the command line:$asuschargeCurrent charge end threshold: 100%Setting the charge end threshold requires root privileges:$sudoasuscharge80Successfully set charge end threshold to 80%Note:The charge end threshold resets back to 100% when the system is rebooted.You can use a cron job to set the charge end threshold automatically on boot. To do so, find the path of the asuscharge command like so:$whichasuscharge/usr/local/bin/asuschargeModify the root user's crontab file:sudo crontab -eAdd the following line to the end of the file:@reboot /usr/local/bin/asuscharge MAXReplaceMAXwith the charge end threshold you would like, then save and close the file.DevelopmentYou can use theasuschargepackage in your own applications. The package offers aChargeThresholdControllerobject, with a settableend_thresholdproperty. It also offers three methods to check if the user's platform supports the charge end threshold feature:supported_platform(), supported_kernel(), and module_loaded().Version history1.0.2 (2020-12-28)(fix)MAXwasn't properly range checked for a value between 60-100.(feature) added--forceto set a threshold value beneath 60.1.0.1 (2020-12-06)(fix) supported_kernel() returned an incorrect value for Linux kernel versions > 5.9.1.0.0 (2020-12-04)Initial release.
Package: asus-charge-daemon
asus-charge-daemonA daemon exposing D-Bus services for managing the charge level of recent
ASUS notebooks.Recent ASUS notebooks come with a Windows application to set the maximum battery
charge level, in order to reduce stress on the battery and prolong its lifespan. On
Linux kernels >= version 5.4, theasus_nb_wmikernel module exposes a sysfs object to manage this setting.asus-charge-daemonis a system service that runs in the background, exposing a D-Bus interface on the System Bus, enabling userspace applications to manage the maximum battery charge level.Installationasus-charge-daemon should work with any device running a recent kernel (>= 5.4) with theasus_nb_wmimodule loaded. Uselsmod | grep asus_nb_wmito check; if you see a line likeasus_nb_wmi            32768  0, then the module is running.It has been tested with the following ASUS notebooks:ASUS VivoBook 15X512DAA Python version >= 3.7 is necessary to run this daemon. Most Linux distributions come with the right version. To verify that Python is installed onDebian/Ubuntu-based distributions, useapt:sudo apt install python3OnArch-based distributions, usepacman:sudo pacman -Syu pythonOnRHEL/Fedora-based distributions, userpm:sudo rpm -i python3ManualAveryrudimentary installation script is included for easy installation. It will copy the files to the appropriate places, install the Python modules, and run the system service.Download and run the installation script:curl https://raw.githubusercontent.com/cforrester1988/asus-charge-daemon/main/install.py -o install.pychmod +x install.pysudo ./install.py installTo update, run the installation script again, as above. To uninstall:sudo ./install.py uninstallgit versionClone the git repository locally:$gitclonehttps://github.com/cforrester1988/asus-charge-daemon.gitCloning into 'asus-charge-daemon'...Navigate to the directory you cloned the repository into, and run the installation script. Appendlocalto work with the cloned package, instead of downloading it from PyPI.cd asus-charge-daemonsudo ./install.py install localTo update, pull the latest changes and reinstall:git pullsudo ./install.py reinstall localTo uninstall, run the installation script again:sudo ./install.py uninstallVersion history0.3.0 (2021-02-07)(feature) Desktop notifications(feature) Monitor threshold for outside changes(feature) Monitor config for changes0.2.0 (2021-01-23)Initial public release.
Package: asv
airspeed velocity(asv) is a tool for benchmarking Python
packages over their lifetime.It is primarily designed to benchmark a single project over its
lifetime using a given suite of benchmarks.  The results are displayed
in an interactive web frontend that requires only a basic static
webserver to host.See anexample airspeed velocity site.See thefull documentationfor more information.The latest release can be installed from PyPI using:pip install asvAre you usingasv?  Consider adding a badge to your project’s
README like this:By using the following markdown:[![asv](http://img.shields.io/badge/benchmarked%20by-asv-blue.svg?style=flat)](http://your-url-here/)License:BSD three-clause license.Authors: Michael Droettboom, Pauli Virtanen, asv Developers
Package: asva
asva質点系による振動解析プログラム概要asva は Python による質点系の振動解析プログラムです。現在、次のような機能が実装されています。固有値解析地震応答解析応答倍率計算
etc.ドキュメント詳しくはドキュメントを確認してください。必要なものPython3.8+使い方インストールとインポート・pypiからインストールして使う場合pip install asvaimportasvaasap・asvaのコードを直接修正しながら使う場合以下のようにrequirements.txtをインストールした上で、asvaをフォルダを任意の場所に配置pip install -r path/to/asva/requirements.txtimportpath.to.asvaasapコード例importasvaasapconfig:ap.AnalysisConfigType={# analysis'BETA':1/4,# case'CASES':[{'NAME':'Example','WAVE':'Sample','AMP':1,'DAMPER':'None','NDIV':2,'START_TIME':0,'END_TIME':None,},],# damper'DAMPERS':{'None':[[],],},# model'BASE_ISOLATION':False,'H':0.02,'H_TYPE':0,'I':[[1],],'MI':[100],'KI':[[{'n1':0,'n2':1,'type':'elastic','k0':4000,},],],# wave'WAVES':{'Sample':{'NAME':'Sample','DT':0.02,'NDATA':2688,'TO_METER':0.01,'INPUT_FILE':'wave/Sample.csv','DELIMITER':None,'SKIPROWS':3,'COL':0,'ENCORDING':'utf',},},}defmain():analysis=ap.Analysis(config,0)# ０は最初のケースを回す。analysis.analysis()print(analysis.resp.dis)if__name__=='__main__':main()Config の設定Config では、解析モデルや解析方法、出力設定を Dict で指定します。
設定方法は以下の通りです。
詳細なタイプの確認はTypesを確認してください。classAnalysisConfigType(TypedDict):# analysisBETA:float# Newmarkβ法のβBASE_ISOLATION:bool# 剛性比例型の減衰計算で1層目を無視(C1を0)# waveWAVES:Dict[str,WaveType]# 地震波の設定# caseCASES:List[CASESType]# 解析ケースのリスト# modelH:float# 主系粘性減衰定数H_TYPE:Literal[0,1]# 0: 初期剛性比例型　1: 瞬間合成比例型I:List[List[float]]# インプットする外力（NDOF×1）の行列で指定。地震波入力の場合、通常全て1。MI:List[float]# 主系の質量[ton]KI:List[KIType]# 主系の剛性[kN/m]# damperDAMPERS:Dict[str,List[List[DamperType]]]# ダンパーのリスト履歴則現在以下の履歴則が組み込まれています。名称タイプキー備考弾性elasticバイリニアbilinearトリリニアtrilinear逆行型gyakko武田モデルtakedaダンパー現在以下のダンパーが組み込まれています。名称タイプキー時刻歴計算応答倍率計算備考質量ダンパーMASS○○層間加速度に比例する要素ストッパーStopper○×粘性ダンパー（CV^α）VDA○○粘性ダンパー（バイリニア）VDB○○TMDTMD○○iRDTiRDT○○ご使用にあたってasva は開発中のため、間違っている場合や不正確な場合があります。何かありましたらissuesにお知らせください。
Package: asv_bench_memray
asv_bench_memrayThis a proof-of-concept externally definedmemraybenchmark pluginforasv.UsageIn yourasv.conf.jsonadd the following to the requirements matrix:"matrix": {
    "req": {
        "numpy": ["1.21"],
        "asv_plugin_memray": [""]
    },
},This should be enough for an example like the following to run:importnumpyasnpclassMyBenchmark:params=[10,int(2e4)]defray_sum(self,n):self.data=np.random.rand(n)np.sum(self.data)Which should result in something roughly like:ASV_RUNNER_PATH="../asv_runner"asvrun--benchsum
·Creatingenvironments.......
·Discoveringbenchmarks
··Uninstallingfromvirtualenv-py3.9-asv_bench_memray.._asv_bench_memray-numpy1.21
··Building30a650cb<main>forvirtualenv-py3.9-asv_bench_memray.._asv_bench_memray-numpy1.21.
··Installing30a650cb<main>intovirtualenv-py3.9-asv_bench_memray.._asv_bench_memray-numpy1.21
·Running1totalbenchmarks(1commits*1environments*1benchmarks)[0.00%]·Forprojectcommit30a650cb<main>:[0.00%]··Benchmarkingvirtualenv-py3.9-asv_bench_memray.._asv_bench_memray-numpy1.21[100.00%]···benchmarks.MyBenchmark.ray_sumok[100.00%]···===============param1---------------101.72k20000162k===============ASV_RUNNER_PATH="../asv_runner"asvrun--benchsum8.72suser3.04ssystem99%cpu11.877totalDevelopmentDuring development, one needs to pass a relative path:"matrix": {
    "req": {
        "asv_bench_memray": ["../asv_bench_memray"]
    },
},Also it may be necessary to cleanup older environments and explicitly point to an instance ofasv_runner:rm-rf.asv&&ASV_RUNNER_PATH="../asv_runner"asvrun--benchsumPersonally I keep benchmarks for testing at anexperiments repo, but any local test will do.ConventionsLike all externally defined benchmark plugins forasv, this has a strict hierarchy.The package name begins withasv_benchBenchmarks are defined in abenchmarksfolder under the package moduleEach exported new benchmark type has theexport_as_benchmark = [NAMEBenchmark]attributeFor more conventions follow the documention ofasv_runner.LicenseMIT.
Package: asvmq
# SRM Autonomous Surface Vehicle Messaging Queue API------The team SRMASV uses this repository as an API to transfer data from one process or device to another process or device.------### Installation------To install just type in the following command:`pip install asvmq`There are three type of topologies involved:1. [x] Topic Topology2. [ ] Work Queue Topology3. [ ] Merge Topology## Instructions for Use:#### PublisherThe `publisher` objects sends data over RabbitMQ broker, acting as the sole messenger to send data over the `asvmq` exchange.The message has to either be an instance of a protobuf message, or it must be a string to be sent over, otherwise the publisher will generate an error and not send your message altogether.The syntax of Publisher is  asvmq.Publisher(**topic_name**,**object_type**,hostname, port)Here, the required arguments are bolded.If the parameter passed to the publish method is a protobuf message, you need not serialise the message, but instead pass the protobuf object to the method itself.To use the `publisher` object, write the code in the following manner:```import asvmqimport asvprotobuf.*_pb2pub = asvmq.Publisher("hello", asvprotobuf.sensor_pb2.Imu)while True:pub.publish("Hello world!!")```
Package: asvprotobuf
SRMASV Protobuf LibraryThis repository contains the SRMASV protobuf library.You can install with the following commands:pip install asvprotobufThe following module contains the following messages implemented in Google Protobuf:asvprotobuf.stdHeaderOrientationVectorLogGraphasvprotobuf.sensorImuGPSFixImageLaserScanSerialPWMasvprotobuf.navPoseTwistOdometryMapMetaDataOccupancyGrid
Package: asv_runner
AboutCore Python benchmark code forasv.This package shall not have any dependencies on external packages and must be
compatible with all Python versions greater than or equal to3.7.For other functionality, refer to theasvpackage or consider writing an extension.ContributionsAll contributions are welcome, this includes code and documentation
contributions but also questions or other clarifications. Note that we expect
all contributors to follow ourCode of
Conduct.Developing locallyApre-commitjob is setup on CI to enforce consistent styles, so it is best to
set it up locally as well (usingpipxfor isolation):# Run before commitingpipxrunpre-commitrun--all-files# Or install the git hook to enforce thispipxrunpre-commitinstall
Package: asv_txt
This module helps you for attaching text (article) fields
to any django models trought ContentType.In this fields You may use Creole wiki markup and some
additional macroses:
<<img NNN>> – insert image from asv_imgs
<<yt key>>  – insert youtube movie to article
or <<ythttp://url.to.movie/?any_parametrs>>It’s contains database model, templatetag
and inline-form for Django-admin page.
Package: aswan
aswancollect and organize data into a T1 data depot
named after theAswan DamCollect and compress data from the internet for later parsingquick, parallel, customizable to collectcompressed to storequick to sync with a remote storesync to continue collectingsync to parseimmutable collectionTo Setup a Remoteset the environment variablesASWAN_AUTH_HEXandASWAN_AUTH_PASSaccording to thezimmauthpackage, andASWAN_REMOTEwith the name of the default remote.Conceptsobjectssaved by collection eventseventscollectionregistration (v2: registration for parsing)(v2) parsingrunsmanual run vs automated runmakes manual adding of urls easy but revertiblehas unique idgenerates eventslinked to a specific version of the codeideally commit hash + pip freezestatusesdetermined by base status + runs integratedcontainswhat urls need to be collected(v2) what collected objects need to be parsedsqlite file, constantly trimmedStructureobjects00, 01, ...runsrun-hashcontext.yamlcommit-hash, pip-freeze, ...events.zipstatusesstatus-hashcontext.yamlparent-status, integrateddb.sqlite.zipcurrent-runcontext.yamleventsthese to be compressed into ../runsstatus.sqlitethere is a 'TEST' statuscannot be integrated whatever is based on ita test run can be made on it...when starting a run:check if current-run is emptyif not, fail withfind latest statusif it has not integrated all past runs, create a new status that hasstart collection (+ registration)either stops or breaks, all events and objects are saved to diskif properly stops, move and compress stuffbased on one that was the starter, and current run idPre v1.0 laundry listparallelize push / pullparsing/connection/broken session error docstransferring / ignoring cookiestemplate projectsoddsportalupdating thingy, based on latest match in seasonfootyrottenboxoffice
Package: aswfdocker
ASWF Python UtilitiesTheaswfdockercommand line tool is available to help with package and
image builds.InstallationFor usersClone this repository and run the setup:gitclonehttps://github.com/AcademySoftwareFoundation/aswf-dockercdaswf-docker
python3setup.pyinstallFor developersInstallpipenvfor Python 3 first:pip3installpipenvThen clone this repository, start the pipenv shell and install the
dev dependencies:gitclonehttps://github.com/AcademySoftwareFoundation/aswf-dockercdaswf-docker
pipenvshell
pipenvinstall--devYou should now be in a Pythonvirtualenvshell where theaswfdockercommand is available.FinallyYou should check the command is working:aswfdocker--helpUsageList packages and imagesList all known packages:aswfdockerpackagesList all known images:aswfdockerimagesDevelopmentProcessOnce in thepipenv shellyou should first install thepre-commithooks by runningpre-commit install.The pre-commit hooks will run the following commands, which can be run
individually as well:RunBlackon the code to ensure formatting
is okay:black pythonRun the tests to ensure everything is okay:pytest python/aswfdockerRunmypyto ensure static types are okay:mypy python/aswfdockerRunPyLinton the code to ensure
linting is okay:pylint python/aswfdockerTo run them all manually usepre-commit run --all-files.Adding new pip dependenciesRunpipenv install xyzRunpipenv-setup syncto updatesetup.pywith added dependency
(pipenv-setupis a "dev" dependency already declared inPipfile)
Package: as-ws-wrapper
Accestage Webservice WrapperServiço webservice SOAP oferecido pela Accesstage para
realizar conectividade de troca de arquivos de transaçõesServiços oferecidos via SOAPlista de serviçosenvio de mensagemlista de mensagensrecuperação de mensagemconfirmação de retirada de mensagemLista de serviçosCada serviço disponível é um tipo de transação bancária possível de ser realizada.Cada serviço possui seu identificador mnemônico de tipo de transação.Envio de mensagemUma mensagem representa uma requisição de transação.Precisa ter o identificador mnemônico da transação a ser realizada e ter o arquivo com os dados da transação.Lista de mensagensNessa lista só ficam as mensagens com sucesso?Recuperação de mensagemÉ o 'retrieve' de uma mensagem específica. Contendo seu status e dados!Confirmação de retirada de mensagemConfirma que tal mensagem foi retirada (serve como ack de um pub/sub consumer?).Remove da lista de mensagens essa mensagem com sucesso?Referências técnicashttps://docs.python-zeep.org/en/master/https://medium.com/@bkaankuguoglu/how-to-send-soap-requests-in-python-using-zeep-9fd78adb5346https://medium.com/@ayushi21095/working-with-soap-based-web-service-using-python-8f532195bc6c
Package: asx-terminus
# asx-terminus[![pypi version]( https://img.shields.io/pypi/v/asx-terminus.svg)]( https://pypi.python.org/pypi/asx-terminus)[![Build Status](https://travis-ci.org/geeknam/asx-terminus.svg?branch=master)](https://travis-ci.org/geeknam/asx-terminus)![Screenshot](https://raw.githubusercontent.com/geeknam/asx-terminus/master/asxterminus.png)### InstallationInstall via pip:$ pip install asx-terminusAdd `.asxterminus.yaml` file to your `$HOME` dirStart in you terminal:$ asxterminus### Sample Configuration fileSample `~/.asxterminus.yaml` file```yamlrefresh_interval: 1200codes:- KGN- A2M- APXtransactions:KGN:-- 1.48- 10000-- 1.34- 5000A2M:-- 2.7- 5000APX:-- 2.5- 10000columns:- code- last_price- open_price- day_high_price- day_low_price```### Available fields (columns)- code- desc_full- last_price- open_price- day_high_price- day_low_price- change_price- change_in_percent- volume- bid_price- offer_price- previous_close_price- previous_day_percentage_change- year_high_price- last_trade_date- year_high_date- year_low_price- year_low_date- year_open_date- pe- eps- average_daily_volume- annual_dividend_yield- market_cap- number_of_shares- deprecated_market_cap- deprecated_number_of_shares### TODO- [x] Add Google Finance RSS feeds- [x] Add progress bar when loading data- [ ] Add Portfolio Return- [ ] Add Return Rate (%)
Package: asy
asyasyis easy and powerful supervisor forasyncio.Motivation for developmentSimple cancellationImprove the coordination of async functions between librariesNo more programs for execution managementDevelop specifications like ASGIRequirementPython 3.8+InstallationpipinstallasyGetting startedCreate functions inexample.py:All you have to do is say the magic wordtoken, and you can handle the function's lifetime at will.importasyncio# cancelable infinity loopasyncdeffunc1(token):whilenottoken.is_cancelled:awaitasyncio.sleep(1)return"complete func1."# uncancelable limited loopasyncdeffunc2(token):foriinrange(10):awaitasyncio.sleep(1)returnf"complete func2.  result:{i}"# force cancel infinity loopasyncdeffunc3():whileTrue:awaitasyncio.sleep(1)return"complete func3. unreachable code."# uncancelable limited loopdeffunc4():foriinrange(1000):...returnf"complete func4.  result:{i}"# from callableclassYourDeamon:def__init__(self,value):self.value=valueasyncdef__call__(self,token):value=self.valuewhilenottoken.is_cancelled:awaitasyncio.sleep(1)returnf"complete func5.  result:{value}"func5=YourDeamon(1)# Do not run# infinity loop# async def func5():#     while True:#         print("waiting")Run in shell.python3-masyexample:func1example:func2example:func3example:func4example:func5Run in Python script.importasyfromexampleimportfunc1,func2,func3,func4,func5supervisor=asy.supervise(func1,func2,func3,func4,func5)supervisor.run()# orasy.run(func1,func2,func3,func4,func5)Let's end the daemon withCtrl-Cand enjoyasy!Cautionasyis a beta version. Please do not use it in production.