Saravanan666/pypi-org huggingface dataset:
Package: uniphy
[![PyPI version](https://badge.fury.io/py/uniphy.svg)](https://badge.fury.io/py/uniphy)[![Build Status](https://travis-ci.org/Phynix/uniphy.svg?branch=master)](https://travis-ci.org/Phynix/uniphy)[![Code Health](https://landscape.io/github/Phynix/uniphy/master/landscape.svg?style=flat)](https://landscape.io/github/Phynix/uniphy/master)[![Dependency Status](https://www.versioneye.com/user/projects/5967cb390fb24f004276ac8c/badge.svg?style=flat-square)](https://www.versioneye.com/user/projects/5967cb390fb24f004276ac8c)# uniphyUniphy stands for "**Uni**versity **Phy**sics". The package focuses on specialised functionality for research and teaching on university level without a focus on a certain branch of physics or science. It is part of the Phynix project.## Current projectsThe package is still in its early stage of planning and first implementations. It is currently not usable for any production-like application.### OutputWhat if "print" would simply save everything also into a file if I want to and not if I don't want to? Or if only those "prints" will be saved which I want to be saved?The answer is **Output** which does exactly the above (and more). But most of all, it does not change anything if not wanted.Simply replace **every** print with out.print. And everything works as usual. One line will let you save the output. If you like. And won't if you don't.Minimal example:```pythonimport uniphy as upout = up.output()out.print("Same as print", "\nBut I can be saved as well.")ORout = up.output("/my/path/to/folder")out.print("Same as print again, but will be saved this time")```
Package: unipi-control
Unipi ControlUnipi Control use Modbus for fast access to the I/O and provide MQTT topics for reading and writing the circuits. Optionally you can enable the Home Assistant MQTT discovery for binary sensors, sensors, switches and covers.For more information please read the documentation at:docs.superbox.oneGetting startedRecommended installation (only for Unipi Neuron)We have a ready to use SD card image calledUnipi Control OS.Alternative installation with pip (Debian based systems)Requirements:Unipi Neuron Kernel Module and Unipi tools (Use the officially APT mirror (https://repo.unipi.technology/debian/) from Unipi Technology)Python >= 3.8Create a virtual environment:python3-mvenvPATH_TO_VENVActivate the virtual environment:sourcePATH_TO_VENV/bin/activateInstallunipi-controlwith pip:pipinstallunipi-controlCopy theconfig filesto/etc/unipiand configurate the/etc/unipi/control.yaml.Create the systemd service/etc/systemd/system/unipi-control.servicewith following content:[Unit]Description=Unipi ControlAfter=multi-user.target[Service]Type=simpleExecStart=PATH_TO_VENV/bin/unipi-control --log systemdEnvironment=PYTHONUNBUFFERED=1[Install]WantedBy=multi-user.targetEnable and start the systemd service:systemctl--systemdaemon-reload
systemctlenableunipi-control.service
systemctlstartunipi-control.serviceChangelogThe changelog lives in theCHANGELOG.mddocument. The format is based onKeep a Changelog.ContributingWe're happy about your contributions to the project!You can get started by reading theCONTRIBUTING.md.DonationWe put a lot of time into this project. If you like it, you can support us with a donation.ExtrasWe have a Home Assistant blueprint automation to control covers with binary sensors. Take a look in theextrasdirectory.Additional informationThis is a third-party software forUnipi Neuron. This softwareis NOTfromUnipi Technology s.r.o..
Package: unipixel
Unipixel - Simulate neopixels in a terminalunipixelis a package designed to be used interchangeably with theadafruit-circuitpython-neopixelpackage for the purposes of testing and development on systems where, for whatever reason, actual neopixels aren't available.Note about compatibilityunipixelworks by wrapping the █ (0x2588) unicode character in ANSI color escape sequences. This method requires a terminal that supports both unicode and "true color" forunipixelto render properly.A list of terminals that support true color can be foundhere.
Package: uniplaces-aws-scheduler
# Uniplaces AWS SchedulerThe AWS Scheduler is a script that given a set of profiles schedule the uptime of ec2 instances.## Getting StartedInstall through pip.pip install uniplaces-aws-schedulerThe initial configuration is done in the `aws.conf` file. Copy the `aws.conf.dist`to `aws.conf` and configure with the right credentials.By default `aws.conf` reads schedule profiles from `scheduler.json` but you can changethe directory from where you want to load the profiles.To run the scheduler just runaws-scheduler -c path/to/config_file#### ProfilesThe scheduler expects you to create profiles to start and stop the machines.You can just copy the `scheduler.json.dist` and start creating your new profiles from there.```{"profiles": [ // an array of profiles{"name": "staging", // profile name"region": "us-west-1", // aws region"schedule": { // weekday schedule"monday": {"start": 9, // start hour"stop": 19 // stop hour},"tuesday": {"start": 9,"stop": 19},"wednesday": {"start": 9,"stop": 19},"thursday": {"start": 9,"stop": 19},"friday": {"start": 9,"stop": 19},"saturday": {"start": 9,"stop": 19},"sunday": {"start": 9,"stop": 19}},"instance_tags": [ // tags from the instances you want to attach this profile schedule"jobs-staging", // this tag should be the name of the instance tag:Name"admin-staging","reports-staging"],"elb_names": [ // add this configuration if you want to reregister this elb instances"example-tag-elb-name"]}]}```
Package: unipose
UniPose - 2D Pose in Unity, using Pytorch PoseNetWritten by Julie GaneshanThis codebase is adapted fromhttps://github.com/rwightman/posenet-pytorchPlease seeoriginal_docsAll rights for PoseNet in Pytorch to Ross Wightman. My modifications
are entirely contained inpose_server.pyThe model weights are from GoogleFor the full docs, see the github repohttps://github.com/Sanjay-Ganeshan/UniPoseThis package relies on Pytorch, and is only compatible with Windows 10Please install Pytorch, as perhttps://pytorch.org/get-started/locally/- this is NOT auto installed.To install this package, just usepip install unipose
Package: unipress
unipressThis is a library developed by Institute of High Pressure Physics of Polish Academy of Sciences.DescriptionApproximationsThis submodule contains approximations of functions related to physical phenomena.Functions:tau_scoul1,tau_scoul2: approximations of the Shockley-Read-Hall recombination capture time accounting for the attraction of the minority carrier by the Coulomb force. They depend on capture length to Coulomb length ratio, Coulomb length to screening distance ratio and original SRH parameter for the considered semiconductor material.
Package: uniprop
SummaryThis module reports the Unicode properties of codepoints, beyond what Python’sunicodedatamodule provides.UnicodeThis module supports Unicode 14.0.0.Examples>>>importuniprop>>>uniprop.script('A')'Latin'>>>uniprop.script('\N{GREEK SMALL LETTER ALPHA}')'Greek'>>>uniprop.block('A')'Basic_Latin'>>>uniprop.block('\N{GREEK SMALL LETTER ALPHA}')'Greek_And_Coptic'>>>uniprop.numeric_value('\N{VULGAR FRACTION ONE THIRD}')'1/3'>>>uniprop.numeric_value('A')'NaN'>>>uniprop.numeric_type('\N{VULGAR FRACTION ONE THIRD}')'Numeric'>>>uniprop.numeric_type('A')'None'Please note that all of the results are strings. This differs from theunicodedatamodule wherenumeric_valuereturns a float.
Package: uniprop-fixed
SummaryThis module reports the Unicode properties of codepoints, beyond what Python’sunicodedatamodule provides.UnicodeThis module supports Unicode 14.0.0.Examples>>>importuniprop>>>uniprop.script('A')'Latin'>>>uniprop.script('\N{GREEK SMALL LETTER ALPHA}')'Greek'>>>uniprop.block('A')'Basic_Latin'>>>uniprop.block('\N{GREEK SMALL LETTER ALPHA}')'Greek_And_Coptic'>>>uniprop.numeric_value('\N{VULGAR FRACTION ONE THIRD}')'1/3'>>>uniprop.numeric_value('A')'NaN'>>>uniprop.numeric_type('\N{VULGAR FRACTION ONE THIRD}')'Numeric'>>>uniprop.numeric_type('A')'None'Please note that all of the results are strings. This differs from theunicodedatamodule wherenumeric_valuereturns a float.
Package: unipropic
Universal Profile PictureA CLI app that automatically puts a profile image in all your accounts.Installationpipinstallunipropic
unipropic-v# Check if it's workingUnipropic supports Python 3.11 and newer.Usageunipropic<browser><path-to-the-profile-picture>The supported browsers are Firefox, Chrome, Chromium, Brave(See below more info), Edge and Internet Explorer.Reliability warningThis app interacts with web pages in a quirky way so it's prone to fail sometimes. To avoid continuous errors in some websites it's recommend to put them in english and set the emerging browser in 16:9 aspect ratio.OptionsFlagUsage--help,-hSee the help info message.--version,-vShows the current version.--config-path,-cSelect a custom configuration directory file path.--forget-config,-fIgnore the settings saved for the browser and ask for them again.--select-services,-sSelect the services to be saved to the configuration file for default use.--temporal-services,-tSelect the desired services ignoring the ones saved in the configuration file.--binary-path,-bSelect a custom browser binary path.Custom binary pathSome browsers, like Brave, will fail to start if you install them in a unexpected path. Because of this you can set a custom binary path with-bor--binary-path.IncompatibilitiesThe compatiblity of this app is determinated by the availability of webdrivers in your platform by the developer of the browser. Due to this, some platforms are not available, such as Chromium on Macs with ARM.AuthorCreated with :heart: byKutu.GitHub -kutu-devTwitter -@kutu_dev
Package: uniprot-cli
uniprot-cli- An Unofficial client for Uniprotuniprot-cliis an Unofficial client for the Uniprot protein database
written in python.This project is still in its early stages under heavy development.
Do not expect this to work properly untilv1.0.0.InstallationInstallation is done withpip:pip install uniprot-cliUsageuniprot-clihas two modes of usage, an interactive-mode and a cli-mode.
The interactive-mode can be invoked by simply running:uniprot-cliAnd the user will be prompted for relevant input, step by step.The cli-mode is used by passing arguments touniprot-cliin the terminal:Example:uniprot-cli -q B5ZC00This will causeuniprot-clito skip interactive prompts and query Uniprot directly.ArgumentsThe following arguments can be passed touniprot-cliin cli-mode:ArgumentTypeDefaultExplaination-q,--querystrNoneQuery string.-m,--multipleboolFalseQuery multiple results.-f,--formatstr'fasta'Data format for query result.-d,--datasetstr'uniprotkb'Data set on Uniprot.-n,--nosaveboolFalseDon't save the result.-v,--versionN/AN/APrint version.-h,--helpN/AN/APrint help and usage information.
Package: uniprotmapper
#uniprotmapperA little package for running mapping requests through UniProt's onlineAPI.##installationDownload the .zip to your favorite directory on your local machine, `cd`there and run the command:```$ python setup.py install```Alternatively, one can:```$ pip install uniprotmapper```##exampleHere is an example:```pythonimport uniprotmapper as ummymapper = um.Mapper()mymapper.params.update({"to":"WORMBASE_ID","from":"ID","organism":"6239","format":"tab"})myquery = {"query":["some gene", "some gene", "some gene", "some gene"]}response = mymapper.get_data(myquery)#alternativelymymapper.params.update(myquery)response = mymapper.get_data()```Have fun! :D
Package: uniprot_mapper
map a string of whitespace seperated entries from one format onto
another using uniprots mapping apiArgs:
    query: to be mapped
    f: from ACC | P_ENTREZGENEID | ...
    t: to ...
    format: tab by default

Help:
    for a list of all possible mappings visit
    'http://www.uniprot.org/faq/28'InstallationFrom pypi (recommended)pip install uniprot_mapperFrom source (UNIX) as standaloneClone the git repositorygit clone https://github.com/jdrudolph/uniprot_mapper.gitMake the script executable and add it to yourPATH:chmod +x uniprot_mapper/uniprot_mapper/uniprot_mapper.py
cd /usr/local/bin
sudo ln -s /path/to/uniprot_mapper.py .Examplestandaloneuniprot_mapper.py ACC P_ENTREZGENEID acc_file map_fileThis will read UniprotIDs seperated by whitespaces fromacc_fileand
store them tomap_file.Using a pipe:echo P31749 | uniprot_mapper.py ACC P_ENTREZGENEIDwill print the result tostdoutwhich can be redirected furtherinside a python scriptimport uniprot_mapper as mapper
print mapper.map('P31749')
Package: uniprotparser
UniProt Database Web Parser ProjectTLDR: This parser can be used to parse UniProt accession id and obtain related data from the UniProt web database.To use:python-mpipinstalluniprotparserorpython3-mpipinstalluniprotparserWith version 1.2.0, we have exposedtoandfrommapping parameters for UniProt API where you can indicate which database you want to map to and from.fromuniprotparserimportget_from_fields,get_to_fields#to get all available fields to map fromfrom_fields=get_from_fields()print(from_fields)#to get all available fields to map toto_fields=get_to_fields()print(to_fields)These parameters can be passed to theparsemethod of theUniprotParserclass as followfromuniprotparser.betaparserimportUniprotParserparser=UniprotParser()forpinparser.parse(ids=["P06493"],to_key="UniProtKB",from_key="UniProtKB_AC-ID"):print(p)With version 1.1.0, a simple CLI interface has been added to the package.Usage:uniprotparser[OPTIONS]Options:-i,--inputFILENAMEInputfilecontainingalistofaccessionids-o,--outputFILENAMEOutputfile--helpShowthismessageandexit.With version 1.0.5, support for asyncio throughaiohttphas been added tobetaparser. Usage can be seen as followfromuniprotparser.betaparserimportUniprotParserfromioimportStringIOimportasyncioimportpandasaspdasyncdefmain():example_acc_list=["Q99490","Q8NEJ0","Q13322","P05019","P35568","Q15323"]parser=UniprotParser()df=[]#Yield result for 500 accession ids at a timeasyncforrinparser.parse_async(ids=example_acc_list):df.append(pd.read_csv(StringIO(r),sep="\t"))#Check if there were more than one result and consolidate them into one dataframeiflen(df)>0:df=pd.concat(df,ignore_index=True)else:df=df[0]asyncio.run(main())With version 1.0.2, support for the new UniProt REST API have been added underbetaparsermodule of the package.In order to utilize this new module, you can follow the example bellowfromuniprotparser.betaparserimportUniprotParserfromioimportStringIOimportpandasaspdexample_acc_list=["Q99490","Q8NEJ0","Q13322","P05019","P35568","Q15323"]parser=UniprotParser()df=[]#Yield result for 500 accession ids at a timeforrinparser.parse(ids=example_acc_list):df.append(pd.read_csv(StringIO(r),sep="\t"))#Check if there were more than one result and consolidate them into one dataframeiflen(df)>0:df=pd.concat(df,ignore_index=True)else:df=df[0]To parse UniProt accession with legacy APIfromuniprotparser.parserimportUniprotSequenceprotein_id="seq|P06493|swiss"acc_id=UniprotSequence(protein_id,parse_acc=True)#Access ACCIDacc_id.accession#Access isoform idacc_id.isoformTo get additional data from UniProt online databasefromuniprotparser.parserimportUniprotParserfromioimportStringIO#Install pandas first to handle tabulated dataimportpandasaspdprotein_accession="P06493"parser=UniprotParser([protein_accession])#To get tabulated dataresult=[]foriinparser.parse("tab"):tab_data=pd.read_csv(i,sep="\t")last_column_name=tab_data.columns[-1]tab_data.rename(columns={last_column_name:"query"},inplace=True)result.append(tab_data)fin=pd.concat(result,ignore_index=True)#To get fasta sequencewithopen("fasta_output.fasta","wt")asfasta_output:foriinparser.parse():fasta_output.write(i)
Package: uniprotpy
UniProtPyPython library that interfaces with UniProt API.For something likeopenvax/pyensemblwith UniProt.The REST API has changed as of 2022. Many of the ways to extract data from UniProt is now different and there isn't a clean way to interface with it.GoalsAllow users to pull any kind of data from UniProt.Store and query large data using a local database.Manipulate and output data in many standard formats.InstallationpipinstalluniprotpyGetting a proteome for a speciesuniprotpyget-best-proteome--taxon-id9606TODORetrieve individual entries in all supported formats.Get metadata (protein ID, name, gene, # of isoforms, etc.) for entries.Retrieve proteomes via proteome ID or select "best" proteome based on taxon ID.Query proteomes for a protein by ID, name, seq, or peptide unit.
Package: uniprot_tools
uniprot provides a command-line and python interface to access the
uniprot databaseavailable services: map, retrievemapmap a list of ids from one format onto another using uniprots
mapping apiArgs:
    query: id or list of ids to be mapped
    f: from ACC | P_ENTREZGENEID | ...
    t: to ...
    format: tab by default

Help:
    for a list of all possible mappings visit
    'http://www.uniprot.org/faq/28'retrieverequest entries by uniprot acc using batch retrievalArgs:
    query: list of ids to retrieve
    format: txt by default

Help:
    possible formats:
    txt, xml, rdf, fasta, gffInstallationFrom pypi (recommended)pip install uniprot_toolsFrom source (UNIX) as standalone onlyClone the git repositorygit clone https://github.com/jdrudolph/uniprot.gitUsedistutilsto install the packagecd uniprot
sudo python setup.py installExamplestandaloneuniprot map ACC P_ENTREZGENEID acc_file map_fileThis will read UniprotIDs seperated by whitespaces fromacc_fileand
store them tomap_file.uniprot retrieve acc_file entries.txtRetrieve textual etries for all uniprot ids inacc_fileand save toentries.txtUsing a pipe:echo P31749 | uniprot map ACC P_ENTREZGENEIDwill print the result tostdoutwhich can be redirected furtherecho P31749 | uniprot retrievewill print the result tostdoutwhich can be redirected furtherinside a python scriptimport uniprot as uni
print uni.map('P31749', f='ACC', t='P_ENTREZGENEID') # map single id
print uni.map(['P31749','Q16204'], f='ACC', t='P_ENTREZGENEID') # map list of ids
print uni.retrieve('P31749')
print uni.retrieve(['P31749','Q16204'])
Package: uniq
uniq is a Python API client library for Cisco’s Application Policy
Infrastructure Controller Enterprise Module (APIC-EM) Northbound APIs.DescriptionThe APIC-EM Northbound Interface is the only API that you will need to
control your network programmatically. The API is function rich and
provides you with an easy-to-use, programmatic control of your network
elements, interfaces, and hosts.The APIC-EM API provides you with the ability to think about your
network at a higher policy level rather than how to implement that
policy. When you use the APIC-EM API, your applications will make
network policy decisions, which will then be implemented by the APIC-EM
Controller through its Southbound Interfaces. Thus you tell the network
what you want (i.e., the policy) and the controller figures out how to
implement that policy for you.The APIC-EM API is REST based and thus you will discover and control
your network using HTTP protocol with HTTP verbs (i.e., GET, POST, PUT,
and DELETE) with JSON syntax.This package provides a handle to this rich API library in an easy to
consume fashion.Getting StartedInstallTo install uniq, simplypipinstalluniqUseImport the package and make an API call.fromuniq.apis.nb.client_managerimportNbClientManagerclient=NbClientManager(server="1.1.1.1",username="username",password="password",connect=True)# NorthBound API call to get all usersuser_list_result=client.user.getUsers()# Serialize the model object to a python dictionaryusers=client.serialize(user_list_result)print(users)Sample ScriptsFor sample scripts check out thesample_scriptsdirectory.PythonThis project has been tested and working on Python 3.0+
Package: uniqcalc
Uniq CalcThis package will help you Calculate Numbers Quickly.How to Install it?On Windowspip install uniqcalcOn Linux:sudo pip3 install uniqcalcHow to use it?Initializing Packagefrom uniqcalc import uniqcalc

num_1 = 8
num_2 = 1

calc = uniqcalc(num_1, num_2)Adding Numberscalc.addition()Substracting Numberscalc.substraction()Multiplying Numberscalc.multiplication()Dividing Numberscalc.division()
Package: uniqcharcounter
UniqCharCounter Package- Package for calculate count of unique characters in a string or file- uniqcharcounter for use from command lineInstallationUsing PIPpipinstalluniqcharcounterUsage in scriptsscript_name.pyfromuniqcharcounterimportmainif__name__=='__main__':data=main()Usage from command line$pythonscript_name.py--string"string_data"$pythonscript_name.py--data"/path/to/file"Usage from command line without imports$uniqcharcounter--string"string_data"$uniqcharcounter--data"/path/to/file"Licenseuniqcharcounteris licensed (MIT license).
Package: uniqed
The uniqed packageSimple python implementation of the Temporal Outlier Factor[1](TOF) anomaly detection method.Installation instructionsInstall it directly from PyPI:pipinstalluniqedSimple exampleThis is a simple example:fromuniqed.data.gen_logmapimportgenerate_logmapdatafromuniqed.runners.tof_runimportdetect_outlierimportmatplotlib.pyplotasplt# Generate some datadata_df=generate_logmapdata(rseed=359)# Detect outliersres_df=detect_outlier(data_df[['value']],cutoff_n=80)# plot the resultsfig,axs=plt.subplots(2,1,sharex=True)fig.suptitle('TOF anomaly detection demo')axs[0].plot(res_df['value'],color='tab:blue',label='time series')axs[0].plot(res_df['value'].loc[data_df.query("is_anomaly==1").index.values],color='tab:green',label='anomaly')axs[0].plot(res_df.query("TOF==1")['value'],lw=0,marker='o',color='tab:orange',label='TOF detections')axs[0].set_ylabel('values')axs[0].legend(loc='upper left',framealpha=1)axs[1].plot(res_df['TOF_score'],color='k',label='TOF score')axs[1].plot(res_df['TOF_score'].loc[data_df.query("is_anomaly==1").index.values],color='tab:green',label='anomaly')axs[1].plot(res_df.query("TOF==1")['TOF_score'],lw=0,marker='o',color='tab:orange',label='TOF')axs[1].set_ylabel('TOF score')axs[1].set_xlabel('t')axs[1].legend(['TOF score','anomaly','TOF detections'],loc='upper left',framealpha=1)axs[1].set_xlim(0,2000)axs[0].grid(True)axs[1].grid(True)fig.tight_layout(rect=[0,0,1,1],pad=1,h_pad=0,w_pad=0)fig.savefig("example_run.png")plt.show()References[1]Benkő, Z., Bábel, T., & Somogyvári, Z. (2020). How to find a unicorn: a novel model-free, unsupervised anomaly detection method for time series.http://arxiv.org/abs/2004.11468
Package: uniqmin
UNIQmin: An alignment-independent tool for the study of viral sequence diversity at any given rank of taxonomy lineageBrief DescriptionSequence variation among viruses, even of a single amino acid, can expand their host repertoire or enhance the infection ability. Alignment-independent or -free approach represents an alternative to the study of viral diversity, which is devoid of the need for sequence conservation to perform comparative analyses. Herein, we present UNIQmin, a tool that utilises an alignment independent method to generate the minimal set of viral sequences, as a way to study their diversity, across any rank of taxonomic lineage. The minimal set refers to the smallest possible number of sequences required to capture the entire repertoire of viral peptidome diversity present in a sequence dataset.Installationpip install uniqminUpgrade installed UNIQminpip install uniqmin --upgradeUsageuniqmin [-h] [-i INPUT] [-o OUTPUT] [-k KMERLENGTH] [-t THREADS]For example, the UNIQmin tool is applied to generate a minimal set (in an output folder,e.g.result) with a sample input file ("exampleinput.fas"). Ak-mer window size of nine (9; nonamer) is used and utilising 4-threads:uniqmin -i exampleinput.fas -o result -k 9 -t 4Command-line ArgumentsArgumentParameterTypeRequiredDefaultDescription-hhelpN/AFALSEN/AShow this help message and exit-isequence input fileStringTRUEN/APath of the input file (in FASTA format)-ooutput directory nameStringTRUEN/APath of the output file to be created-kk-mer window sizeIntegerFALSE9The length ofk-mers to be used-tnumber of threadsIntegerFALSE4The number of threads to be usedFor more information, please visitUNIQmin GitHub page.License© 2021 Chong LCThis repository is licensed under the MIT license.
See LICENSE for details.