Saravanan666/pypi-org huggingface dataset:
Package: usts
ustsSimple cli tool for creating status text to something like dwm-bar.ModulesModuleDependenciesDescriptionstrDisplay string.timedatetimeDisplay current time with strftime formating.cpupsutilDisplay percent of cpu usage.rampsutilDisplay memory usage (percent, available, etc...)diskosDisplay disk usage (free, available, total)temppsutilDisplay temperature (cpu, gpu, etc...)weatherrequestsDisplay weather from city with openweathermap.org api.Weather icons.xkbstatesubprocessDisplay keyboard layout withxkblayout-stateutility.batpsutilDisplay battery level.Installation$pipinstallusts~/.config/usts/config.py example# import modules from mkmod.py filefromusts.mkmodimport*# You also can import each module at selffromusts.modules.modcpuimportModCPU# setup list of itemsitems=[ModuleWeather("API_KEY",city="London",country="UK"),ModuleTemp(),ModuleCPU(),# print example -> RAM: 10.1/16.0GbModuleRAM("RAM:{used}/{total}{data_format}",data_format="Gb"),# print example -> /: 121.3GbModuleDisk("{path}:{free}{data_format}"),ModuleTime(),ModuleStr("☭")]# Execute is action with status#   setxroot -> setxroot -name "status"#   stdout   -> just print status in terminalexecute="stdout"# Separator between modules#   like: text1 SEPARATOR text2 SEPARATOR text3separator=" | "# Update periodic is sleep time between updating displayupdate_periodic=1.0Usage$ustsContactsContactDescriptionMatrixMatrix server.DiscordDiscord server.DonatesMonero:47KkgEb3agJJjSpeW1LpVi1M8fsCfREhnBCb1yib5KQgCxwb6j47XBQAamueByrLUceRinJqveZ82UCbrGqrsY9oNuZ97xN
Package: usual
Put all your repeated imports at one place and load them with one import.Installation:pipinstallusualUsage:fromusual.dsimport*# now you can use pandas as it's loaded from the 'usual' packagepd.DataFrame()loading C:\Users\israelil\Downloads\my_things\pypi\usual\src\usual\ds.py (you can change it!)
setting pandas defaults
doneThere is also usual.basic and you can add more as you wishNote that this is not a good practice for projects, just for small local scripts...
Package: usualsuspects
usualsuspectsThe repo contains a small set of tools to create visualisations I constantly find inside of ML papers. It is also primarily a personal testbed for practicing software engineering practices and the whole PyPI/RTD/Github/CI ecosystem.If you find any of the tools useful please consider leaving a star on the repo or contributing!InstallationThe most stable version can be installed from PyPI viapipin the terminal.pipinstallusualsuspectsAlternatively thebleedingedge version of this little library will be on the repo. Buiding from sources is as simple as cloning the repo and running a developer install in the root folder of the directory (wheresetup.pyis) with:pipinstall-e.This will allow you to adapt the source code to your liking and the changes will take effect immediately.ContributingTODO. Will set this up after CI is set up.
Package: usum
USUM: Plotting sequence similarity using USEARCH & UMAPUSUM usesUSEARCHandUMAP(ort-SNE) to plot DNA 🧬 and protein 🧶 sequence similarity embeddings.InstallationInstallUSEARCHdependency manually:https://drive5.com/usearch/download.html(consider supporting the author by buying the 64bit license)Installusumusing PIP:pipinstallusumUsageUseusumto plot input protein or DNA sequences in FASTA format.Show all available options usingusum --helpMinimal exampleusumexample.fa--maxdist0.2--termdist0.3--outputexampleMultiple input files with labelsusumfirst.fasecond.fa--labelsFirstSecond--maxdist0.2--termdist0.3--outputexampleThis will produce a PNG plot:An interactiveBokehHTML plot is also created:Using t-SNE instead of UMAPYou can also produce a t-SNE plot using the--tsneflag.usumfirst.fasecond.fa--labelsFirstSecond--maxdist0.2--termdist0.3--tsne--outputexampleThis will produce a PNG plot:Plotting random subsetYou can use--limitto extract and plot a random subset of the input sequences.# Plot 10k sequences from each input fileusumfirst.fasecond.fa--labelsFirstSecond--limit10000--maxdist0.2--termdist0.3--outputexampleYou can control randomness and reproducibility using the--seedoption.Plotting optionsSeeusum --helpfor all plotting options.SeeUMAP API Guidefor more info about the UMAP options.Use--limitto plot a random subset of recordsUse--widthand--heightto control plot size in pixelsUse--resumeto reuse previous distance matrix from the output folderUse--tsneto produce a t-SNE embedding instead of UMAP (you can use this with--resume)Use--umap-spreadto control how close together the embedded points are in the UMAP embeddingUse--umap-min-distto control minimum distance between points in UMAP embeddingUse--neighborsto control number of neighbors in UMAP graphReusing previous resultsWhen changing just the plot options, you can use--resumeto reuse previous results from the output folder.WarningThis will reuse the previous distance matrix, so changes to limits or USEARCH args won't take effect.# Reuse result from umap output directoryusum--resume--outputexample--width600--height600--themefireProgrammatic usefromusumimportusum# Show helphelp(usum)# Run USUMusum(inputs=['input.fa'],output='usum',maxdist=0.2,termdist=0.3)How it worksA sparse distance matrix is calculated using USEARCHcalc_distmxcommand.The distances are based on % identity, so the method is agnostic to sequence type (DNA or protein)The distance matrix is embedded as aprecomputedmetric usingUMAPThe embedding is plotted usingumap.plot.
Package: usury
Why usury?  Historically, charging any interest on a loan was considered usury.
Of course, in today’s world, the term refers to the practice of loans which
abuse the lendee to enrich the lender, typically due to excessive or abusive
interest rates.Mr. Burns: By the way, are you acquainted with our state’s stringent usury
laws?Homer: Us-ury?Mr. Burns: Oh, silly me!  I must have just made up a word that doesn’t
exist.  Now, what is the purpose of this loan?But that’s okay, the usury library doesn’t judge you.  Whether you are trying
to set up a savings and loan bank in the MMO of your choice, just trying to do
some financial planning / analysis of your debt, or maybe you fell into the trap
of loaning money to people… this library can help you do the math.Well, assuming you want a simple interest loan, that is.  Anything else isn’t
exactly supported yet.  More should be Coming Soon (tm).We welcome feedback on via the issues and pull request system on Github.InstallationTo install usury:$pipinstallusuryDocumentationDocumentation is available athttps://usury.readthedocs.org/
Package: usyslog
Simple remote syslog senderInstallingInstall and update usingpip:$ pip install usyslogusyslog supports Python 2 and newer, Python 3 and newer, and PyPy.A Simple ExampleWhat does it look like? Here is an example of a simple usyslog program:fromusyslogimportsyslogmessage="This is an error"syslog(message,level=LEVEL['error'],facility=FACILITY['daemon'],host='localhost',port=514)# default host = 'localhost'# default port = 514# orsyslog(message,3,3,'192.168.0.1')SupportPython 2.7 +, Python 3.xWindows, LinuxLinksLicense:BSDCode:https://bitbucket.org/licface/usyslogIssue tracker:https://bitbucket.org/licface/make_color/issues
Package: ut2chartrender
Utluna Chart SVG RendererUsing chrome-driverInstallation!!! Important !!!Make sure you have chrome-driver installedOn Alpine v3.10, run:echo"https://dl-4.alpinelinux.org/alpine/v3.10/main">>/etc/apk/repositoriesecho"https://dl-4.alpinelinux.org/alpine/v3.10/community">>/etc/apk/repositories
apkupdate
apkaddchromiumchromium-chromedriverOnce chrome driver is successfully installed, install the library itself:Use the package manager pip to install ut2chartrenderer.pipinstallation instructions areherepipinstallut2chartrenderUsageImport libraryimportut2chartrenderDefine settings in such way:settings={"options":{"title":{"text":"Atmosphere Temperature by Altitude"},"subtitle":{"text":"According to the Standard Atmosphere Model"},"xAxis":{"reversed":false,"title":{"enabled":true,"text":"Altitude"},"labels":{"formatter":"function () { return this.value +\"km\"; }"},"maxPadding":0.05,"showLastLabel":true},"yAxis":{"title":{"text":"Temperature"},"labels":{"formatter":"function () { return this.value +\"°\"; }"},"lineWidth":2},"legend":{"enabled":true},"tooltip":{"headerFormat":"<b>{series.name}</b><br/>","pointFormat":"{point.x}km:{point.y}°C"}},"datasets":[{"name":"Temperature by altitude","series_type":"spline","marker":{"enabled":true},"data":[[0,15],[10,-50],[20,-56.5],[30,-46.5],[40,-22.1],[50,-2.5],[60,-27.7],[70,-55.7],[80,-76.5]]}]}Finally generate chart:
Way #1:svg_xml=ut2chartrender.generate_chart(**settings)or way #2:svg_xml=ut2chartrender.generate_chart(options=settings["options"],datasets=settings["datasets")If you dumpsvg_xmlvariable, you should see something like this:<?xml version="1.0" standalone="no"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"><svg class="highcharts-root" height="400" style='font-family:"Lucida Grande", "Lucida Sans Unicode", Arial, Helvetica, sans-serif;font-size:12px;' version="1.1" viewbox="0 0 800 400" width="800" xmlns="http://www.w3.org/2000/svg">which is an SVG file contentsContributingPull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.LicenseMIT
Package: ut61e
This is a Python package helping you to capture and interpret data from
the digital multimeter Uni-T UT61E. You can easily install it viapip.Tools which this package provides:es51922– Interprets the output of the ES51922 chipThis utility interprets data sent by the Cyrustek ES51922 chip used in
the Uni-Trend digital multimeter UT61E. It reads lines from stdin, tries
to interpret them as messages from the chip and prints basic information
on the stdout. In addition it writes a CSV file with a lot more
information to the working directory.he2325u_hidapi– Reads from the USB/HID adapter cable using HIDAPIThis tool tries to read from the adapter cable using the HID API
provided by the operating system. It relies oncython-hidapi.The tool is called after the original chip from the USB/HID cables which
was theHoitek HE2325U. Nowadays those cables come with a newer chip
calledWCH CH9325but the way to get data out of them didn’t change.This tool prints its output to stdout so that you can directly pipe it
intoes51922. Works on Linux and Mac OS X (Windows not tested)
without root access. On Linux you may have tocreate a udev
rulein order to get access to the/dev/hidrawXdevice as a regular user.he2325u_pyusb– Reads from the USB/HID adapter cable using PyUSBThis tool is very much similar tohe2325u_hidapias it also allows
to read from the USB/HID adapter cable. It also prints its output to
stdout. It uses PyUSB instead of HIDAPI which in turn uses direct libusb
calls to talk to the adapter.Needs to be run as root.Works on
Linux only.InstallationThis Python package is registered on PyPI with the nameut61e. To install it, simply
runpip install ut61eUsageTo read data from the USB/HID adapter cable and interpret it as Cyrustek
ES51922 information, you can do:he2325u_hidapi | es51922RequirementsYou need either Python2 or Python3 to run this software.To analyze output usinges51922you don’t need any external modules.If you want to runhe2325u_hidapi, you needcython-hidapi.If you want to runhe2325u_pyusb, you needPyUSB.Software using this PackageI also wrote a web interface for the display of the UT61E. I put it in
the repositoryut61e-webon
Github. It relies on the tools from this package.AlternativesThere is also a C++ based software out there which can read and
interpret the data from the digital multimeter. The older version is
calleddmm_ut61eand the newer versionut61e-linux-sw, both of
which you can find in my repositoryut61e_cppon Github.If you run Windows, you may be better off withDMM.exe, an open
source tool provided by Henrik Haftmann.AcknowledgementThe file es51922.py was originally written by Domas Jokubauskis
(1) and was reused in
this project. I’m very grateful to his work and the work of many others
spent on analyzing the USB/HID interface and the protocol, including
Steffen Vogel
(2)
and Henrik Haftmann
(3).Licence and AuthorsThis software is licenced under the LGPL2+Authors:Philipp Klaus (philipp.l.klaus@web.de)Domas Jokubauskis (domas@jokubauskis.lt)
Package: uta
The UTA stores transcripts aligned to genome reference assemblies using
multiple methods in order to improve the precision and accuracy by which
the scientific and clinical communities describe variants.It will facilitate the following:enabling an interpretation of variants reported in literature against
obsolete transcript recordsidentifying regions where transcript and reference genome sequence
assemblies disagreecharacterizing transcripts of the same gene across transcript sourcesidentifying transcripts and genomic regions with ambiguous alignments
that may affect clinical interpretationquerying for multiple transcript sources through a single
interface
Package: uta-align
uta-alignprovides C-based (Cython) Needleman-Wunsch and
Smith-Waterman alignment algorithmsOriginal author: Kevin JacobsIMPORTANT: Python 3.7 only for the moment (PRs welcome!)InstallationFrom source:$ python setup.py installFor DevelopmentInstall developer environment:$ make devreadyAlternatively:$ python3 -m venv myvenv
$ source myvenv/bin/activate
$ make setupActivate the environment:$ source venv/3.7/bin/activate(or other python version as appropriate for your system)During development, you’ll need to recompile any code changes to the
.pyx files, like this:$ pip install -e .Test it (in current Python environment):$ make test
======================================== test session starts ========================================
platform linux -- Python 3.7.5, pytest-5.3.5, py-1.8.1, pluggy-0.13.1
rootdir: /home/reece/projects/biocommons/uta-align, inifile: setup.cfg, testpaths: tests
collected 5 items
tests/test_align_algorithms.py .                                                              [ 20%]
tests/test_align_gap_open.py ..                                                               [ 60%]
tests/test_cigar_utils.py .                                                                   [ 80%]
tests/test_nw.py .                                                                            [100%]
========================================= 5 passed in 0.12s =========================================Tox test it (in multiple environments:$ make tox

GLOB sdist-make: /home/reece/projects/biocommons/uta-align/setup.py
py37 inst-nodeps: /home/reece/projects/biocommons/uta-align/.tox/.tmp/package/...
...
py37: commands succeeded
congratulations :)
Package: utaformatix-data
UtaFormatix Data in PythonSerialization/Deserialization ofUtaFormatix Data Formatimplemented in Python.Installpipinstallutaformatix-dataExampleimportufdata# parse JSON textjsonstr="..."# load from somewheredata=ufdata.load(jsonstr)# type: ufdata.UfData# access memebersprint(data.project.tracks[0].notes[-1].lyric)# dump to JSON textdumped=data.dump()# versionsprint(data.format_version)# version of the data loadedprint(ufdata.get_current_data_version())# version of the format used by current library version
Package: utagent
# 质量平台本地Agent## 简介
用户在PC或Mac上安装好agent后，通过在终端运行utagent命令启动代理服务，服务启动后会向质量平台注册本地的ip、port、挂载的设备等信息；本地agent会接收来自质量平台发来的请求，执行对应的本地任务。## 支持任务类型
1、启动Macaca server2、初始化测试工程3、Macaca脚本录制4、Macaca脚本回放5、获得测试报告和单步截图## 使用方法
(venv) ➜  test utagentA Terminal Tools For slave AgentPlease enter a path [.]: /Users/mafei/UITestPlease enter a environment [alpha]: alphaBottle v0.12.13 server starting up (using WSGIRefServer())…Listening onhttp://:9096/Hit Ctrl-C to quit.(venv) ➜  test utagent –helpA Terminal Tools For slave AgentUsage: utagent [OPTIONS]Options:-v, –version—help         Show this message and exit.(venv) ➜  ui utagent -vA Terminal Tools For slave AgentVersion: 0.0.31
Package: utah
# utahThis module is used as an example package for the Sept 2018 meetup,and also used as an example on slcpy.com.# Standard Installation- `pip install utah`- Set your `MEETUP_API_KEY` value: `$export MEETUP_API_KEY=api_key_value`, located at [meetup.com](https://secure.meetup.com/meetup_api/key/).- Test with `from utah import slcpython; slcpython.howdy()` in a python interpreter. You should see details of the next meetup.# Dev Installation- Install `pipenv`: `python3 -m pip install pipenv`.- Install the pipenv requirements: `pipenv sync --dev'- After hacking, use `pipenv install -e .`- For testing use: `python -m pytest`## TODO- [x] Add tests- [x] Integrate `meetup api` to find latest meetups.- [ ] Research if public api exists.- [ ] Figure out friendly auth flow for API key.- [ ] Use rst for README
Package: utah-project
Utah Project is designed to help developers build full stack web app solutions in python. It does this by integrating many of the
components in the python ecosystem into one software stack realized in a preconfigured reference application.
It begins with a set of base libraries to handle common needs when building web applications
and fronts them with flask. It takes into consideration the following problems:Externalized Content Management and DeliveryAuthenticationAuthorizationProfile ManagementConfiguration BootstrappingSite NavigationCommand processingRobust and Dynamic Page TemplatingInternationalizationServer Configuration (For CentOS and Redhat)APIsFor more detail go to ourhome page.Consumption ModelsUtah can be consumed in two modes.Canned installable RPM for Linux SystemsWorkspace for building your own applicationsInstalling our canned application on a server is pretty straight forward and out
of the box will provide a nice content management and delivery solution.  To get
started follow ourQuick StartguideThe workspace gives you the ability to mix your functionality with our out of
the box services. Our command processing is all based onflask. Your first question
might be why flask? Simple enough; flask is awesome and the most straight forward
way to implement web functionality in python. If you know flask, adding
functionality will be a simple proposition. The workspace comes with all
of the component dependancies preconfgiured in a working application ready
to have your functionality added to it. In addtion the workspace comes with an RPM spec
which is needed to build your application into your own RPM so your
application is server deployable.Setting up a workspace is also straightforward.  To do so follow ourworkspace setupguide.Release NotesVersion 1.7.0Features:Added extra structure to facilitate ease in customizationBug Fixes:Added confirmation to user, group and rights deleteInternal:Added selenium test harness to the arches build
Package: utaskweb
Utils for scraping and crawling Utask-web website and get announces fromhttp://www.c.u-tokyo.ac.jp.InstallationFrom pypi$pipinstallutaskwebFrom source$gitclonehttps://github.com/wkentaro/utaskweb&&cdutaskweb$pythonsetup.pyinstallUsage>>>importutaskweb>>>fork,vinutaskweb.get_class_cancels()[1][0].items():printk,v...updated2015/3/25room154教室period2day木date4月9日teacher相澤隆subjectドイツ語二列LicenseCopyright (C) 2015 Kentaro WadaReleased under the MIT licensehttp://opensource.org/licenses/mit-license.php
Package: utaufile
Utaufile介绍操作UTAU ust文件和袅袅虚拟歌手nn文件的python库本python库依赖numpy安装pip install utaufile功能ust文件：解析与写入ust文件导出nn文件导出mid文件（需要mido）导出dv文件（需要dvfile）导出五线谱（需要music21）批量获取、替换、设置歌词flag解析获取音域量化（将音符对齐到节拍线）nn文件：解析与写入nn文件导出ust文件导出mid文件（需要mido）导出dv文件（需要dvfile）导出五线谱（需要music21）参与贡献Fork 本仓库新建 Feat_xxx 分支提交代码新建 Pull Request
Package: utaupy
utaupyUTAU周辺のデータ処理を行うPythonのパッケージです。READMEは書いてる途中です。
PythonでUTAUプラグインを作りたい場合は、C# 用のutauPluginをPythonに移植したpyUtauのほうがいいかもしれません。ビブラートやピッチの扱いが便利そうです。利用規約LICENSE ファイルをご覧ください。処理できるファイル.ust (UTAU).txt (UTAU Plugin Script).txt (録音リスト).ini (setParam および UTAU音源原音設定).lab (歌唱データベース用音素ラベル).table (ローマ字かな対応表).svp (Synthesizer V R2).csv (REAPER リージョン・マーカー用)機能概要INI, UST, LAB ファイルのデータをクラスオブジェクトとして扱います。INI, UST, LAB ファイルを変換できます。ただし不可逆の処理が多いです。Methodsutaupy.ustUstUST ファイルを取り扱うためのクラスload(path)USTファイルを読み取り、Ust オブジェクトにする。ustobj=utaupy.ust.load(path)print(type(ustobj))# <class 'utaupy.ust.Ust'>utaupy.otoiniUTAUの原音設定ファイルを扱うモジュール。setParamでの利用を想定。class utaupy.otoini.OtoIni(collections.UserList)oto.ini ファイルを扱うためのクラス。class utaupy.otoini.Oto(collections.UserDict)oto.ini に含まれる各原音のパラメータを扱うクラス。utaupy.tableかなローマ字変換表などを扱うモジュール。utaupy.convertUst オブジェクト、OtoIni オブジェクト、Label オブジェクトなどを変換するモジュール。utaupy.reaperREAPER (DAW) のリージョン・マーカー用CSVファイルを扱うモジュール。utaupy.utauUTAUエディタで行う操作の代替と、UTAU音源の原音値取得などをするモジュール。「パラメータ自動調整」などができる。utaupy.utaupluginUTAUプラグインをつくるためのモジュール。utaupy.utauplugin.UtauPlugin クラスは utaupy.ust.Ust を継承し、プラグイン用に最適化した子クラス。使用例として半音上げプラグインを貼っておきます。importutaupydefnotenum_plus1(utauplugin):"""utauplugin: utaupy.utauplugin.UtauPlugin class object全てのノートを半音上げる"""# 全ノートを取得notes=utauplugin.notes# 半音上げfornoteinnotes:note.notenum+=1if__name__=='__main__':# automatically# read the utau plugin script# load as utaupy.utauplugin.UtauPlugin class object# overwrite the utau plugin scriptutaupy.utauplugin.run(notenum_plus1)連絡先Twitter: @oatsu_cGitHub: oatsu-gh
Package: utbot-executor
UtBot ExecutorUtil for python code execution and state serialization.InstallationYou can install module fromPyPI:python-mpipinstallutbot-executorUsageFrom console with socket listenerRun with your<hostname>and<port>for socket connection$python-mutbot_executor<hostname><port><logfile>[<loglevelDEBUG|INFO|ERROR>]<coverage_hostname><coverage_port>Request format{"functionName":"f","functionModule":"my_module.submod1","imports":["sys","math","json"],"syspaths":["/home/user/my_project/"],"argumentsIds":["1","2"],"kwargumentsIds":["4","5"],"serializedMemory":"string","memoryMode":"REDUCE","filepath":["/home/user/my_project/my_module/submod1.py"],"coverageId":"1"}functionName- name of the tested functionfunctionModule- name of the module of the tested functionimports- all modules which need to run function with current argumentssyspaths- all syspaths which need to import modules (usually it is a project root)argumentsIds- list of argument's idskwargumentsIds- list of keyword argument's idsserializedMemory- serialized memory throwdeep_serializationalgorithmmemoryMode- serialization mode (PICKLE,REDUCE)filepath- path to the tested function's containing filecoverageId- special id witch will be used for sending information about covered linesResponse format:If execution is successful:{"status":"success","isException":false,"statements":[1,2,3],"missedStatements":[4,5],"stateInit":"string","stateBefore":"string","stateAfter":"string","diffIds":["3","4"],"argsIds":["1","2","3"],"kwargs":["4","5","6"],"resultId":"7"}status- always "success"isException- boolean value, if it istrue, execution ended with an exceptionstatements- list of the numbers of covered rowsmissedStatements- list of numbers of uncovered rowsstateInit- serialized states from requeststateBefore- serialized states of arguments before executionstateAfter- serialized states of arguments after executiondiffIds- ids of the objects which have been changedargsIds- ids of the function's argumentskwargsIds- ids of the function's keyword argumentsresultId- id of the returned valueor error format if there was exception in running algorith:{"status":"fail","exception":"stacktrace"}status- always "fail"exception- string representation of the exception stack traceSubmoduledeep_serializationJSON serializer and deserializer for python objectsStates memory json-format{"objects":{"id":{"id":"1","strategy":"strategy name","typeinfo":{"module":"builtins","kind":"int"},"comparable":true,// iff strategy is 'repr'"value":"1",// iff strategy is 'list' or 'dict'"items":["3","2"],// iff strategy = 'reduce'"constructor":"mymod.A.__new__","args":["mymod.A"],"state":{"a":"4","b":"5"},"listitems":["7","8"],"dictitems":{"ka":"10"}}}}SourceGitHubrepository