Saravanan666/pypi-org huggingface dataset:
Package: iSSVD
iSSVD - Intergrative Biclustering for Multi-view data with nested stability selectionInputs:X: A list contains multi-view data.standr: If True each view will to be standardized. Default: False.pointwise: If True a fast pointwise control method will be performed for stability selection. Default: True.steps: Number of subsmaples used to perform stability selection. Default: 100.size: Size of the subsamples used to perform stability selection. Default: 0.5.vthr: The proportion to be explained by eigenvalues. Default: 0.7.ssthr: Range of the threshold for stability selection. Default: [0.6, 0.8].nbicluster: A user specified number of biclusters to be detected. Default: 10.rows_nc: If True allows for negative correlation of rows over columns. Default: True.cols_nc: If True allows for negative correlation of columns over rows. Default: True.col_overlap: If True allows for columns overlaps among biclusters. Default: False.row_overlap: If True allows for rows overlaps among biclusters. Default: False.pceru: Per-comparrison wise error rate to control the number of falsely selected coefficients in the left singular vectors. Default: 0.1.pcerv: Per-comparrison wise error rate to control the number of falsely selected coefficients in the right singular vector. Default: 0.1.merr: Convergence threshold. Default: 1e-4.iters: Maximal iteration for detecting each bicluster. Default: 100.Outputs:iSSVD returns the stable solutions of left singular vectors for each bicluster, and right singular vectors from each view for each bicluster.N: Number of biclusters detected.Info: Stability selection results of left and right singular vectors.Sample_index: The indices of bicluster samples.Variable_index: The indices of bicluster variables.Iterations:The interations run for each bicluster.Please checkhttps://github.com/weijie25/iSSVD/blob/master/iSSVD/Guide.mdfor a simple guide.ReferenceWeijie Zhang and Sandra E. Safo. "Robust Integrative Biclustering for Multi-view Data."Bioinformaticssubmitted (2020).
Package: istao
Python Library: istaoLibrary for Tao Python applications to check if the intended operating system is being usedInstallationYou may either install a pre-built version of the package or build it yourself.Downloading a pre-built packagePre-built packages are available onPyPI(for Windows and macOS) and inTao-Repo.Building the package manuallyTo build the package manually, follow these steps:Install needed dependencies:sudopacman-S--neededpythonpython-buildpython-coloramapython-distroClone this repository:gitclonehttps://github.com/Tao-Linux/python-istao.gitNavigate to the repository directory:cdpython-istaoBuild the package:python-mbuildAfter the above command finishes, there should be package files in thedist/directory.Looking for thepacmanversion of this package? That's inpython-istao-PKGBUILD.Usage in PythonThe library is intended to check if the operating system being used is Tao Linux. If it is not, it will exit, displaying an error.First, import the package:importistaoThen call the check function (usually at the very beginning of a given script):istao.check()LicenseThis repository is licensed under theGPLv3 License. If you have found that Tao has violated any licenses or copyrights, please don't hesitate to open an issue on the repository/repositories that do so, and we will do our best to respond in a timely manner.
Package: istatcelldata
ISTAT Cell DataConISTAT Cell Datapuoi ottenere facilmente il set di dati riferiti ai censimenti ISTAT in cui sono stati rilasciati anche i dati delle celle censuarie.Installazionepip install istatcelldataNoteAd oggi i dati censuari ufficiali sono riferiti agli anni 1991, 2001 e 2011.
Il 2 febbraio 2023 ISTAT ha pubblicato unanotain cui indica che i dati del censimento 2021 verranno pubblicati entro il primo semestre 2023.I dati dei censimenti della popolazione a cadenza decennale si differiscono da quelli del censimento permanente. I dati del censimento permanente sono riferiti ad un campione della popolazione italiana, mentre quelli del censimento decennale sono a carattere puntuale.Per la descrizione dei dati dal 1991 al 2011 si è fatto riferimento alladocumentazioneufficiale.Questo progetto non è collegato ad ISTAT nè supportato da ISTAT.
Package: is-that-you
IS THAT YOU?"IS THAT YOU?" is a vtuber software that automatically recognizes your emotions and changes your vtuber image to show the appropriate emotion. It also opens and closes the character's mouth when !InstallationIf you have any trouble during installation, you can consult me:https://t.me/megahomyakWindows: Install Python 3.8 (don't forget to check the "Add to PATH" checkbox)macOS, Linux: Install Python 3.8Windows: Open the console (Google how to do it on your OS) and enterpython -m pip install is_that_you. Get ready for this installation to take a very long time due to very big libraries being used for emotion recognitionmacOS, Linux: Open the console (Google how to do it on your OS) and enterpython3 -m pip install is_that_you. Get ready for this installation to take a very long time due to very big libraries being used for emotion recognitionPreparing the imagesTo make the program accept your own character images, place all of them into a folder of your choice. All the images should be of the same size and having the name in the format of either "{emotion name}_mouth_open.png" or "{emotion name}_mouth_closed.png" (without braces; yes, they should be PNGs). You don't have to provide the images you don't want to be shown, except for the "neutral_mouth_closed.png" image, which is the default onePossible emotionsangerdisgustfearhappysadsurpriseneutralRunning the thingWindows: Open the console again, runpython -m is_that_you --helpto get the list of available flagsmacOS, Linux: Open the console again, runpython3 -m is_that_you --helpto get the list of available flagsRerun the command without the--helpflag and with the flags you need (for example, you will almost certainly have to specify the--pathto the directory with the images)
Package: is-thirteen
Python implementation ofis_thirteenbyjezenA python package(pypi) to check whether the input is13or not.Installpipinstall--upgradeis_thirteenUsagefromis_thirteenimportNumber,Str# basic skillsNumber(13).thirteen()# TrueNumber(12.8).roughly().thirteen()# TrueNumber(6).within(10).thirteen()# True# math operationsNumber(4).plus(5).thirteen()# FalseNumber(12).plus(1).thirteen()# TrueNumber(4).minus(7).thirteen()# FalseNumber(14).minus(1).thirteen()# TrueNumber(1).times(8).thirteen()# FalseNumber(26).divides(2).thirteen()# True# spelling and chemistry skillzStr("ThirTEEn").thirteen()# TrueStr("nEETrihT").backwards().thirteen()# True
Package: isthmuslib
Convenience utils for plotting, styling, and manipulating high-dimensional vectors.Analyses and plotting methods are one line to call, and produce consistently-formatted publication-ready plots.Enables rapid exploratory data analysis (EDA) and prototyping, perfect for taking a quick peek at data or making a quick figure to stash in the lab book (with labels and titles automatically included). Seeexamples here.Designed for easy drop-in use for other projects, whether using internally to the code or for clean notebooks. Import isthmuslib to avoid writing many lines of plotting code when it would distract or detract from the main focus of your project.The visual and text configuration objects (StyleandRosetta, respectively) can be directly attached to a given data set, so you can “set it and forget it” at instantiation. All subsequent outputs will automatically have matching colors, sizes, labels, etc.TheVectorSequenceobject is designed for handling, plotting, and manipulating timeseries-like high-dimensional vectors. Its functionality includes: dimensionality reduction via singular vealue decomposition, seasonal (e.g. weekly, monthly, …) timeseries decomposition, infosurface generation, and more.Uses industry standard libraries (pyplot, numpy, seaborn, pandas, etc) under the hood, and exposes their underlying functionality through the wrappers.Free software under theMIT license.Contact:isthmuslib@mitchellpkt.comInstallationpip install isthmuslibDocumentationTo use the project:importisthmuslib
Package: istockphoto
iStockPhoto DownloaderGracefully download datasets from istock-photo.QuickstartDownload PyPI packagepipinstall-UistockphotoExamplesDownload images aboutpandaphrase.importasynciofromistockphotoimportIstockif__name__=="__main__":istock=Istock.from_phrase("panda")asyncio.run(istock.mining())Similar modeimportasynciofromistockphotoimportIstock# phrase, image_idname2similar=[("horse","1280951754"),("panda","91781059"),("cat","1325997570")]if__name__=="__main__":forname,similarinname2similar:istock=Istock.from_phrase(name)istock.more_like_this(similar)asyncio.run(istock.mining())What's moreHome · QIN2DIM/istockphoto Wiki (github.com)
Package: istop
ISTOPTOPSIS (Technique for Order of Preference by Similarity to Ideal Solution) implementation in pythonPlease checkout thislinkto see more details
about TOPSIS steps.InstallYou can install the latest release,$pipinstallistopUsage>>>importnumpyasnp>>>fromistopimportTopsis>>>evaluation_matrix=np.array([...[1,2,3,4],...[4,3,2,1],...[3,3,3,3],...[4,4,4,4],...[1,2,4,4]...])>>>criteria=[False,True,True,True]>>>weights=[5,5,9,0]>>>topsis=Topsis(...matrix=evaluation_matrix,...criteria=criteria,...weights=weights...)>>>result=topsis.calculate()>>>print(result.best_ranks)[2,3,4,1,5]>>print(result.worst_similarities)[0.568427260.183228840.437606270.558611950.68474356]>>>print(result)best_ranks=[2,3,4,1,5]best_similarities=[0.431572740.816771160.562393730.441388050.31525644]worst_ranks=[2,3,4,1,5]worst_similarities=[0.568427260.183228840.437606270.558611950.68474356]Theweightsparameter is optional.
If you don't send it, the default value for each attribute will be 1.ContributionPlease check to the pylint and flake8 steps in workflow before contribution.
Package: istr
istrCase-insensitive string implementation based on:https://code.activestate.com/recipes/194371/https://stackoverflow.com/a/29247821/1258307LicenseFree software: Apache Software License 2.0Documentationhttps://istr.readthedocs.io.CreditsThis package was created withCookiecutterand theaudreyr/cookiecutter-pypackageproject template.History1.x.x (2020-xx-xx)1.x.x (2020-02-17)Fixed upgrading of pip in tox.ini to use ‘python -m pip install’ so it can
work on Windows.Added support for Python 3.6, 3.7, 3.8.1.0.1 (2018-01-08)Minor changes to README for proper description on PyPi1.0.0 (2018-01-08)First release (Deleted from PyPI).
Package: istruct
Immutable struct built on top ofcollections.namedtuplewith sane defaultsGoalsImmutable, dictionary-like data structure (Note:istructisnotan immutable version of the existingstructin Python)MinimalSupport requiredandoptional fields (with default values)Strictly disallow positional argumentsInstallationpip install istructQuick StartFirst, create anistructobject calledpersonwherefirst_nameandlast_namearerequiredwhereasmiddle_name,dobandemailareoptional(with default values specified).>>> from istruct import istruct
>>> person = istruct("first_name", "last_name", middle_name="", dob="2000-01-01", email=None)Then, create an instance ofpersonwithfirst_name,last_nameandmiddle_name.>>> p = person(first_name="Jim", last_name="Raynor", middle_name="Eugene")
>>> p
istruct(first_name='Jim', last_name='Raynor', email=None, dob='2000-01-01', middle_name='Eugene')You can retrieve field values like you would normally do.>>> p.first_name
'Jim'
>>> p.dob
'2000-01-01'pis immutable, meaning that it cannot be modified after created. Thus, set/delete operations like below would fail, raising anAttributeError.>>> p.first_name = "James"
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
AttributeError: can't set attribute
>>> del p.email
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
AttributeError: can't delete attributeistructonly accepts named/keyword arguments. It strictly disallows positional arguments by design.>>> p = person("Jim", "Raynor")
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/Users/microamp/src/microamp/istruct/istruct/__init__.py", line 52, in _istruct
    "(%d found)" % (len(positional),))
TypeError: No positional arguments are allowed in istruct (2 found)istructwould raise aTypeErrorwhen one or morerequiredfields are omitted.>>> p = person(last_name="Raynor")
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/Users/microamp/src/microamp/istruct/istruct/__init__.py", line 56, in _istruct
    return nt(**merge_dicts(kwargs, attrs))
TypeError: __new__() missing 1 required positional argument: 'first_name'Versions TestedPython 2.7Python 3.2Python 3.3Python 3.4Python 3.5Python 3.6PyPyPyPy3TODOFind ways to annotate typesLicenseMIT
Package: istsos-proto
istSOS𝜇 protocol buffer repository.This module contains all the proto files of istsos.Qry UtilsSimple usage examplefromistsosprotoimportqryconditions=qry({"value":"value_obs","updated":"updated_obs"}).get_conditions(Where(operator=Where.AND,where=[Where(operator=Where.GREATER_THAN,property='value',measure=2.0),Where(operator=Where.NOT_NULL,property='updated')]))print(conditions)get_conditionscall returns a tuple with the SQL and a list of parameters:('(value_obs > $1 AND updated_obs IS NOT NULL)',[2.0])Comparison operatorsSupported operators:NULLNOT_NULLEQUALSNOT_EQUALSLIKEGREATER_THANGREATER_THAN_OR_EQUAL_TOLESS_THANLESS_THAN_OR_EQUAL_TONULLWhere(operator=Where.NULL,property='updated')result:("updated IS NULL",[])NOT_NULLWhere(operator=Where.EQUALS,property='updated')result:("updated IS NOT NULL",[])EQUALSWhere(operator=Where.EQUALS,property='value',mesaure=10.9)result:("value = $1",[10.9])NOT_EQUALSWhere(operator=Where.NOT_EQUALS,property='value',mesaure=10.9)result:("value <> $1",[10.9])LIKEWhere(operator=Where.LIKE,property='name',text='%foo')result:("name IS LIKE $1",['%foo])Usage with functionSupported functions are:STARTS_WITHST_INTERSECTSST_DWITHINST_CONTAINSINTERSECTSfromqryimport*conditions=qry({"geom":"geom_loc"}).get_conditions(Where(function=Where.ST_INTERSECTS,property='geom',ewkt='SRID=4326;BOX(-180 -90, 180 90)'))print(conditions)get_conditionscall returns a tuple with the SQL and a list of parameters:("ST_Intersects(geom_loc, ST_GeomFromEWKT($1))",['SRID=4326;BOX(-180 -90, 180 90)'])DWITHINfromqryimport*conditions=qry({"geom":"geom_loc"}).get_conditions(Where(function=Where.ST_DWITHIN,property='geom',ewkt='SRID=3857;POINT(3072163.4 7159374.1)',xmeasure=200))print(conditions)get_conditionscall returns a tuple with the SQL and a list of parameters:("ST_DWithin(geom_loc, ST_GeomFromEWKT($1), $2)",['SRID=4326;BOX(-180 -90, 180 90)',200])CONTAINSfromqryimport*conditions=qry({"geom":"geom_loc"}).get_conditions(Where(function=Where.ST_CONTAINS,property='geom',ewkt='SRID=3857;POINT(3072163.4 7159374.1)',xmeasure=200))print(conditions)get_conditionscall returns a tuple with the SQL and a list of parameters:("ST_Contains(geom_loc, ST_GeomFromEWKT($1))",['SRID=3857;POINT(3072163.4 7159374.1)'])
Package: istub
iStubValidator for type annotations.Stubs generationCode style checking withflake8Type checking withmypyandpyrightType consistency checking withmypy.stubtestUsageBasic usageLet's assume that you want to checkmylib-stubspackage againstmylibCreate a fileistub.ymlin your project root:packages:-name:mylibpath:./mylib-stubschecks:mypy:truestubtest:trueRun checker:python-mistubYou can create a whitelist of acceptable errors:python-mistub--updateCustom configurationpackages:-name:mylibpath:./mylib-stubschecks:mypy:truestubtest:trueflake8:falsepyright:falsepip_install:-pypi_dependency-pypi_dependency2pip_uninstall:-dependency_to_uninstallbuild:-./build_cmd.shLatest changesFull changelog can be found inReleases.Versioningistubversion followsPEP 440format.Support and contributingPlease reports any bugs or request new features inistubrepository.
Package: istype
# istype[![Build Status](https://travis-ci.com/Cologler/istype-python.svg?branch=master)](https://travis-ci.com/Cologler/istype-python)Support python version: `3.6`, `3.7`.## UsageAfter python 3.5, we got a `typing` module.We known `typing.Union[int, str]` mean the type is one of `int` or `str`.However, we cannot use `isinstance()` for test it.So...``` pyfrom typing import Unionfrom istype import isinstanceofassert isinstanceof(1, Union[int, str])```You can use `from istype import isinstanceof as isinstance` to replace the builtins `isinstance`.## Supported types* Union* Any* Optional* Tuple* List* AnyStr* Set* Dict* Type* Iterable* Collection## Configurable``` pyfrom typing import Listfrom istype import TypeMatchermatcher = TypeMatcher()assert not matcher.isinstance([1], List[str])matcher.check_list_elements = Falseassert matcher.isinstance([1], List[str]) # now can ignore element checks```
Package: isubrip
iSubRipA Python package for scraping and downloading subtitles from AppleTV / iTunes movie pages.Latest version: 2.5.2 (changelog)RequirementsPython 3.8+InstallationPyPI (Recommended)python3 -m pip install isubripGit Source Codepython3 -m pip install -e git+https://github.com/MichaelYochpaz/iSubRip.git#egg=isubripUsageisubrip <iTunes movie URL> [iTunes movie URL...]ConfigurationATOMLconfig file can be created and used to configure different options and features.
A config file will be looked for in one of the following paths (according to OS):Windows:%USERPROFILE%\.isubrip\config.tomlLinux / macOS:$HOME/.isubrip/config.tomlExamples:Windows:C:\Users\Michael\.isubrip\config.tomlLinux:/home/Michael/.isubrip/config.tomlmacOS:/Users/Michael/.isubrip/config.tomlExample Config:[downloads]folder="C:\\Subtitles\\iTunes"languages=["en-US","fr-FR","he"]zip=false[subtitles]convert-to-srt=truefix-rtl=true[subtitles.webvtt]subrip-alignment-conversion=trueA complete config with all the available options and explanations for each configuration can be foundhere.LogsA log file, containing debug information, will be created for each run on one of the following paths (according to OS):Windows:%USERPROFILE%\.isubrip\logsLinux / macOS:$HOME/.isubrip/logsLog rotation (deletion of old files, once a certain amount of files is reached) can be configured in the config file using thegeneral.log-rotation-sizesetting. The default log rotation value is15.
Package: isupdated
Usagefromisupdatedimportis_updatedis_updated('https://github.com/chroming/pdfdir','v0.2.1')# If you want return download link when has updateis_updated('https://github.com/chroming/pdfdir','v0.2.1',with_dl=True)# If the version string is split with character "|"is_updated('https://github.com/chroming/pdfdir','v0|2|1',split='|')
Package: isv
ISV packagePythonpippackage for easy prediction of pathogenicity Copy Number Variants (CNVs)If you mention or use the ISV tool, please cite our articlehttps://www.nature.com/articles/s41598-021-04505-zInstallInstall withpip install isvThis will also automatically install all required additional packages. Thus it is recommended to install the package in a separate environment (e.g. virtualenv, conda, ...)Package url:https://pypi.org/project/isv/Module reference available athttps://tsladecek.github.io/isv_package/ModulesThe package contains a wrapper function:isv.isv(cnvs, proba, shap)which automatically annotates and predictscnvsprovided in a list, np.array or pandas DataFrame format represented in 4 columns:chromosome,start (grch38),end (grch38)andcnv_typeTheprobaparameter controls whether probabilities should be calculatedTheshapparameter controls whether shap values should be calculatedand a Wrapper class (which is recommended):isv.ISV(cnvs)with methods:ISV.predict(proba)ISV.shap(data=None)where thedataargument is optionalISV.waterfall(cnv_index)for creating an interactive waterfall plot for a CNV at indexcnv_indexThe main subfunctions of the package are:1.isv.annotate(cnvs)annotates cnvs provided in a list, np.array or pandas DataFrame format represented in 4 columns:chromosome,start (grch38),end (grch38)andcnv_typeReturns an annotated dataframe which can be used as an input to following two functions2.isv.predict(annotated_cnvs, proba)returns an array of isv predictions.annotated_cnvsrepresents annotated cnvs returned by the annotate function3.isv.shap_values(annotated_cnvs)calculates shap values for given CNVs.annotated_cnvsrepresents annotated cnvs returned by the annotate functionFor exampleusing the simple wrapperfrom isv import isv


cnvs = [
    ["chr8", 100000, 500000, "DEL"],
    ["chrX", 52000000, 55000000, "DUP"]
] 

results = isv(cnvs, proba=True, shap=True)using the ISV classfrom isv import ISV


cnvs = [
    ["chr8", 100000, 500000, "DEL"],
    ["chrX", 52000000, 55000000, "DUP"]
] 

cnv_isv = ISV(cnvs)
predictions = cnv_isv.predict(proba=True)
shap_vals = cnv_isv.shap()
cnv_isv.waterfall(cnv_index=1)Can be also used as a command line tool. Make sure to:1. clone the repository (https://github.com/tsladecek/isv_package)2. install requirements, e.g.virtualenv venv
source venv/bin/activate
pip install -r requirements.txt3. Use ISV!python isv_cmd.py -i <input_cnvs>.bed -o <outputpath> [-p] [-sv]where the input should be a list of CNVs in a bed format, with columns:chromosome,start (grch38),end (grch38)andcnv_typeResults will be saved in a tab separated file at path specified by userOptionally, use following flags:-p: whether probabilities should be returned-sv: whether shap values should be calculatedFor examplepython isv_cmd.py -i examples/loss_gain_cnvs.bed -o examples/loss_gain_cnvs_out.bed -p -sv
Package: is-valid-postgres-column-name
I found it weird there's no simple way to check if a given string can be a PostgreSQL column name.
Although, to my understanding, you can escape with quotation marks some names that are otherwise invalid,
I don't think escaping such a thing is a good idea.This validation is required if your column name can be dynamically generated.How to use>>>fromis_valid_postgres_column_nameimportis_valid_postgres_column_name>>>is_valid_postgres_column_name("column_A")>>>True>>>is_valid_postgres_column_name("1column_A")>>>FalseAll PostgreSQL versions are supported. The only difference between versions, to my knowledge, are reserved keywords.>>>is_valid_postgres_column_name("column_A",version=7.1)>>>TrueInstallation$pipinstall-Uis_valid_postgres_column_nameRequirementsPython 3.0+DependenciesNone.ContributionWelcome.
Package: is-wordpress
is_wordpressA simple (or useless) Program to check if a website is based on wordpress or not and if it's on wordpress which version does it use.Installingpip install is-wordpressUsageusage: main.py [-h] url

Check if selected website is based on wordpress or not.It also show the
wordpress version.

positional arguments:
  url         URL to check the website.

optional arguments:
  -h, --help  show this help message and exitExample$ is_wordpress goodarzi.net
WordPress 4.9.8ContributionFeel free to fork and fix problems. PRs are welcome. :heart:IssuesUse Issues section to report any problem.
Package: isx
isx: pure-python API to read Inscopix dataThis is a pure-python API to read Inscopix ISXD files.DocumentationRead the documentationSupportFile typeSupportISXD CellSet✅ISXD Movie✅ISXD Movie (multi-plane)❌ISXD Movie (dual-color)❌GPIO data❌ISXD Events❌ISXD VesselSet❌InstallPoetrypoetryaddisxpippipinstallisxCautionThis is a work in progress, and all reading functions in the IDPS Python API are not supported yet.TestingThis code is tested using GitHub Actions on the following python
versions:3.93.103.113.12