Saravanan666/pypi-org huggingface dataset:
Package: py-mini-sh
NoteVersion: 0.1.4This package provides helper functions to simplify the writing of
platform-independent sh-like scripts in Python.Full documentation can be found atRead-the-Docs, the source for which is in thedocsfolder.Using this packageEither fetch this package directly from Git, or pull it from the Python
Packaging index.Pip-install from Git:pip install -U git+https://bitbucket.org/abelana/py_mini_sh.gitPip-install from PyPI:pip install -U py_mini_shDog FoodThe script used to develop and test this component uses the py_mini_sh
itself. To start development of this component, follow these steps:Clone this repo onto a machine fromhttps://bitbucket.org/abelana/py_mini_sh.git:git clone https://bitbucket.org/abelana/py_mini_sh.gitCd to thepy_mini_shfolder and run thebuildallscript in
this folder:buildall 36The argument specifies which version of Python you wish to use. 27,
34, 35, and 36 are supported.Thisbuildallscript will perform the following steps:Builds a virtualenv derived from the specified version of Python.Installs the py_mini_sh package into this virtualenv in “develop”
mode.Builds the documentation into the SHIP folder.Runs pylint over the source and fails if the results are worse than
the previous run.Runs pytest tests which generate a coverage report into the SHIP
folder.Builds the bdist_wheel for this package into the SHIP folder.LicenseThis software is made available under the MIT License (see LICENSE.txt).
Package: pyminizip
pyminizipTo create a password encrypted zip file in python.
And the zip file is able to extract in WINDOWS.This is a simple Minizip wrapper of python.
(http://www.winimage.com/zLibDll/minizip.html)This software uses zlib.
License: zlib/libpng License.Install$ pip install pyminizipInstall zlib# linux
$ sudo apt-get install zlib
# mac
$ xcode-select --install
$ brew install zlibHow to useThis package just provides three functions.pyminizip.compress("/srcfile/path.txt", "file_path_prefix", "/distfile/path.zip", "password", int(compress_level))Args:src file path (string)src file prefix path (string) or None (path to prepend to file)dst file path (string)password (string) or None (to create no-password zip)compress_level(int) between 1 to 9, 1 (more fast) <---> 9 (more compress) or 0 (default)Return value:always returns Nonepyminizip.compress_multiple([u'pyminizip.so', 'file2.txt'], [u'/path_for_file1', u'/path_for_file2'], "file.zip", "1233", 4, progress)Args:src file LIST path (list)src file LIST prefix path (list) or []dst file path (string)password (string) or None (to create no-password zip)compress_level(int) between 1 to 9, 1 (more fast)  <---> 9 (more compress)optional function to be called during processing which takes one argument, the count of how many files have been compressedReturn value:always returns Nonepyminizip.uncompress("/srcfile/path.zip", "password", "/dirtoextract", int(withoutpath))Args:src file path (string)password (string) or None (to unzip encrypted archives)dir path to extract files or None (to extract in a specific dir or cwd)withoutpath (exclude path of extracted)Return value:always returns None
Package: pymink
PyMink - An N-Gram Based Classification PackagePymink is currently in its early stages of development. It is intended to be a simple text classification package. I intend to implement a language and category classification. A word prediction model may also be in the grand scheme of things.If you wish to collaborate on this start up project feel free to create a pull request to the following github link:https://github.com/fabiocfabini/pymink
Package: pyminknow
minKNOW mock serverThis code will emulate aOxford Nanopore Technologiesgene sequencing device (e.g.minIONor minKNOW) using its gRPC Remote Procedure CallsLIMS interfaceto interact with its embedded software. This package is designed to form part of a software development environment to facilitate rapid prototyping and automated testing.GlossaryminKNOWdevice manager (host software)gridIONa physical device containing an array of sequencing devicesminIONa physical sequencing deviceSee alsoDeveloped at The University of Sheffield, IT Services,Research & Innovation.pyminknowat PyPipyminknowat Docker Hubpyminknowat GitHubpyminknowat FigShareInstallation$pipinstallpyminknowUsageThe service may run in a container or in a Python environment. To see the usage reference, run:$pythonpyminknow--helpTest clientYou may useclient.pyto test the functionality of the server. To get help, run:$pythonclient.py--helpUnit tests may be used to systematically test the server functionality.$python-munittestContainerThe container is based on Debian Linux and uses Python 3.7 as defined in theDockerfile. You may build and run the container using the commands below.$dockerbuild--tagpyminknow:latest.
$dockerrun--nameminit--publish5901:5901-publish22:22-dpyminknow:latest# Start the SSH service$dockerexec-it--userrootminitservicesshstartPythonYou should do this inside a Python 3.7 virtual environment. Install packages and then run the service.$pipinstallpyminkow
$python-mpyminknow
Package: pyminmax
pyminmaxminmax(iterable, *, key=None)
minmax(iterable, *, default, key=None)
minmax(arg1, arg2, *args, key=None)With a single iterable argument, return its smallest and largest items as a
tuple pair. Thedefaultkeyword-only argument specifies an object to return if
the provided iterable is empty. If the iterable is empty anddefaultis not
provided, aValueErroris raised.With two or more arguments, return the smallest and largest arguments as a
tuple pair.Thekeyargument specifies a one-argument ordering function like that used
forlist.sort().If multiple items are minimal or maximal, the function returns the first ones
encountered.It iswritten in C,
adapted straight from CPython'simplementationofmin(),max().Installationpip install pyminmaxUsage>>>frompyminmaximportminmax>>>minmax([5,2,0,100,-100,10])(-100,100)>>>minmax((),default=1)1>>>minmax(5,2,0,100,-100,10)(-100,100)>>>minmax(5,2,0,100,-100,10,key=lambdax:-x)(100,-100)TestOnce installed, run the test suite viapython -m unittest pyminmax.tests --verboseBranches0.1branch contains the latest release (0.1.4).mainis the development branch.
Package: pymin-reqs
pymin_reqsThis module attempt to make a minimalrequirements.txtfile based on the imports are used inside of the code of your project,.pyfiles. These requirements are a subset of what would be given usingpip freezeorconda list --exportas these commands give everything that is used inside of the Python environment. This is useful if a project is used inside of a shared environment or if you want a cleanerrequirements.txtthat only has your imported modules but not the dependencies, and sub-dependencies, of those modules.Install With Pippython3 -m pip install pymin-reqsUsageusage: pymin_reqs [-h] [-d DIRECTORY] [--conda] [--pip] [-f] [-s] [-v] [-e] [-o OUTFILE]

optional arguments:
  -h, --help            show this help message and exit
  -d DIRECTORY, --directory DIRECTORY
                        Specify the input directory. Default: '.'
  --conda               Output conda requirements instead of pip. Use --pip --conda to show both
  --pip                 Show pip requirements. not required by default unless --conda is also specified
  -f, --force           Force overwrite of the given file in --outfile
  -s, --stats           Show import locations and count of imported modules.
  -v, --verbose         Verbose mode
  -e, --ignore-errors   Ignore errors when possible
  -o OUTFILE, --outfile OUTFILE
                        Specify the output file. Default 'requirements.txt'ExamplesShow requirements on command linepymin_reqsOutput requirements to a file "requirements.txt"pymin_reqs -o requirements.txtOutput requirements to a file "requirements.txt" and force overwritepymin_reqs -f -o requirements.txtThis module uses the abstract syntax tree(ast module) to find imports. If there are invalid python file this might cause errors in parsing. To get around this you can specify--ignore-errorspymin_reqs --ignore-errorsExample output from commandspip==20.2.4
setuptools==50.3.1
Package: pyminuteinbox
PyMinuteInboxA simple python api wrapper libary forhttps://www.minuteinbox.comInstallationRun the following command to install$pipinstallpyminuteinboxUsage# Import the libaryfrompyminuteinboximportTempMailInbox,TempMail# Create new Temp Mail Inboxinbox=TempMailInbox()# Fetch the latest mailmail:TempMail=inbox.get_latest_mail()# Print the inbox amountprint(f'Currently{str(len(inbox_get_all_mails()))}mails in inbox.')print(f'Mail{mail.subject}from{mail.sender}received.')
Package: pymip
# PyMIP [![PyPI version][fury-image]][fury-url] [![Build Status][travis-image]][travis-url]
Provides a Python API to manipulate the [MIP][mip] analysis pipeline: setup, starting, monitoring, and parsing output.## FeaturesTODO### Archive analysis
After a case has been solved or abandoned it is necessary to wrap up the analysis and archive the results. Pymip will handle this task by bundling the most vital assets from the output and deleting the rest.Assets that are kept:CRAM file as a source of the raw (aligned) readsBCF file as a source of all (unannotated) variantsQC metrics as a source for quality metricsPymip will not touch any of the files under “exomes/genomes” only “analysis”. Physically the files will be collected in a folder under “exomes/genomes” names “archive”. The script will also update theAnalysisRunStatusin the QC sample info file toArchived.## Install for development`bash $ pip install--editable. `## Contributing
Anyone can help make this project better - read [CONTRIBUTING](CONTRIBUTING.md) to get started!## License
MIT. See the [LICENSE](LICENSE) file for more details.[fury-url]:http://badge.fury.io/py/pymip[fury-image]:https://badge.fury.io/py/pymip.png[travis-url]:https://travis-ci.org/Clinical-Genomics/pymip[travis-image]:https://img.shields.io/travis/Clinical-Genomics/pymip.svg?style=flat[mip]:http://mip-api.readthedocs.org/en/latest/
Package: pymipago
pymipagoPython package to make payment requests with Basque Government’s payment serviceFree software: GNU General Public License v3Documentation:https://pymipago.readthedocs.io.FeaturesThis package allows to use theBasque Governent’s Payment Service, a platform
that allows Basque public institutions to receive payments from the citizens.CreditsThis package was created withCookiecutterand theaudreyr/cookiecutter-pypackageproject template.The development of this package was funded byAMETX Erakunde AutonomoaHistory1.0 (2020-01-21)Use new Travis CI
[erral]Remove bumpversion as dependency
[erral]1.0b7 (2018-07-24)Force control digits
[erral]Test against python 3.7
[erral]Update dependency versions
[erral]1.0b6 (2018-06-01)Fix control digit calculation
[erral]Document new extra parameters for logos and XSLT template.
[erral]1.0b5 (2018-04-27)Add extra parameters to send logo urls
[erral]Add an extra parameter to send the XSLT template
[erral]1.0b4 (2018-04-25)Add an extra parameter to register additional optional information into the payment service
[erral]1.0b3 (2018-04-20)Previous was an errored relase.
[erral]1.0b2 (2018-04-20)Add a parameter to use the testing environment of the Payment service.
[erral]1.0b1 (2018-04-18)Implementation of notebook 60 payments in short format (521)
[erral]
Package: pymiparse
pymiparsepymiparse is an easy to use parser for MediaInfo text logs.
Most current MediaInfo parsing libraries for Python either act as straight wrappers around
the MediaInfo binary or are only capable of translating XML output from MediaInfo.In addition, pymiparse is capable of automatically parsing and identifying the following in a developer-friendly format,
so that developers don’t have to:All MediaInfo sections (General, Audio, Video, Text, Menu)Filename and containerPrimary video codecPrimary audio codecCommon audio channel configurations (1.0, 2.0, 2.1, 5.1, 7.1)All audio languagesAll subtitle languagesAnd more!pymiparse is powerful and easy to use:>>> import pymiparse
>>> with open('mediainfo_log.txt', 'r') as f:
...     logs = pymiparse.parse_from_file(f)
...
>>> logs[0].get_primary_video_codec()
'H.264'
>>> logs[0].get_primary_audio_codec()
'AAC'
>>> logs[0].get_primary_audio_channels()
'2.0'
>>> logs[0].get_audio_languages()
['Japanese']
>>> logs[0].get_subtitle_languages()
['English', 'Japanese']Installingpymiparse can be installed withpip:$ pip install pymiparseAlternatively, you can grab the latest source code fromGitHub:$ git clone git://github.com/wchill/pymiparse.git
$ python setup.py installDocumentationTo be completed…ContributingTo be completed…Maintainers@wchill(Eric Ahn)Changes0.1.1 (2016-11-03)Fixed several parsing bugs.0.1.0 (2016-11-03)Initial release.
Package: pymirai
Py-miraiThanks for the great work ofMirai.This python binding relies onMirai Console v0.3.1withmirai-api-http-1.0.0installed.Insallpipinstallpymirai--upgradepymiraiWrite a bot from scratchfrompymiraiimport*@FriendMessageHandler(restricted_sender=[])asyncdeffriend_msg_handler(event:FriendMessageEvent):# 纯文字awaitevent.reply_text('hello, world!',quote=True)# 组合消息 + 图片image_id=awaitevent.bot.uploadImage('sample.gif','friend')message_chain=[miraiPlain('photo\n'),miraiImage(image_id),miraiPlain('\nend')]awaitevent.reply_message(message_chain)# 复读mc=event.message_chainawaitevent.reply_message(mc)asyncdefmain():asyncwithBot(QQNUM,'auth_key','server','port')asbot:bot:Botbot.addEventHandler(friend_msg_handler)awaitbot.loopEvent()if__name__=='__main__':try:asyncio.run(main())exceptKeyboardInterrupt:exit()InfoThis package is merely a non-complete python wrapper for mirai-api-http, use it at your own risk and for learning purposes only.For a better experience, seekuriyama.
Package: py-miraie-ac
Python MirAIe AC APIAn API to send commands and read the status of MirAIe air conditioners by PanasonicInstallationpip install py-miraie-acUsageimport asyncio
from api import MirAIeAPI
from enums import AuthType
from device import Device

async with MirAIeAPI(
        auth_type=AuthType.MOBILE, 
        login_id="YOUR_MOBILE_NUMBER", 
        password="YOUR_PASSWORD"
    ) as api:
    await api.initialize()
    for device in api.devices:
        print("Found device: ", device.friendly_name)
        device.set_temperature(24)
        device.turn_on()

asyncio.get_event_loop().run_until_complete(start())
Package: pymirna
pyMiRNA README file===================The pyMiRNA is a Pythonic library for microRNA data analysis.Install=======python setup.py buildpython setup.py testpython setup.py install --record installed_files.txtUninstall=========cat installed_files.txt | xargs rm -rfExample Usage=============1. Reading fasta sequencecd pymirna/Examplespython seqio_example.py ../Datasets/EST_test.fasta# __author__="kulwadee"
Package: pymisc
Python miscis module with set of python modules, where you’ll find anything from decorators to data readers. One thing in common - all this helps to write code faster.ContentsRequirementsInstallationUse pymiscLicenseRequirementspython >= 2.5 (python 3.x supported as well)pip >= 0.8config >= 0.3 (optional)InstallationPython miscshould be installed using pip:pip install git+git://github.com/ilblackdragon/pymisc.gitUse pymiscImport pymisc in your moduleProfit =)More detailed information will be posted laterLicenseCopyright (C) 2012 Illia Polosukhin
This program is licensed under the MIT License (see LICENSE)
Package: pymiscell
Miscellaneous toolsThis package contains miscellaneous Python functions, intented to be included across more complex projects.InstallationEasisest way to install the package is calling:pip install pymiscellNevertheles, if you use a conda manager based environment, such asAnacondaorMinicondadistributions, then you should first install required dependencies, using conda installer:conda install --yes h5py IPython matplotlib numpy pandas pytest rpy2 scipy sympy tqdmAnd then call pip to install the package. Doing so you don't risk mixing non-compatible dependencies.
Package: pymisclib
pymisclibA collection of various useful Python routines.AuthorsChristian DöngesDocumentationDocumentation is available athttps://pymisclib.readthedocs.io/en/stable/.Assuming that you haveSphinxinstalled, you can build it yourself:cddocs
makehtmlThe documentation is created atdocs/_build/html.InstallationInstall pymisclib usingpip:python-mpipinstallpymisclibOn Debian and possibly other systems, you may have to usepython3-mpipinstallpymisclibRequirementsPython 3.9 or later. Python 3.10 recommended.LICENSE© Copyright 2012-2022, 2023, 2024 by Christian Döngescd.pymisclib@platypus-projects.netLicensed under the Apache License, Version 2.0 (the "License"); you may
not use this file except in compliance with the License. You may obtain a
copy of the License athttp://www.apache.org/licenses/LICENSE-2.0Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.If you need another license, contact the author to discuss terms.ANSI SupportThe supported ANSI features of various terminals are listed in theansiterminaldocumentation.
Package: pymisp-async
AdvisoryThis library is an experimental project porting the original PyMISP project to python async to address I/O bound processing difficulties often encountered when using large MISP instances.It is an ALPHA release, this code has not been tested, USE AT YOUR OWN RISK!PyMISP - Python Library to access MISPPyMISP is a Python library to accessMISPplatforms via their REST API.PyMISP allows you to fetch events, add or update events/attributes, add or update samples or search for attributes.This project aims at porting the original PyMISP project to Python async using theaiohttplibrary instead of the synchronousrequestslibrary.Install from pipIt is strongly recommended to use a virtual environmentIf you want to know more about virtual environments,python has you coveredOnly basic dependencies:pip3 install pymisp-asyncInstall the latest version from repo from development purposesNote: poetry is required; e.g., "pip3 install poetry"git clone https://github.com/pixmaip/PyMISP-async.git && cd PyMISP-async
git submodule update --init
poetry installUsageInitialize thePyMISPobject using the asynchronous context manager:async with PyMISP(url, key) as misp_obj:
    events = await misp_obj.events()DocumentationThe official MISP documentation is availablehere.Allasyncfunctions present in this library use the same API as the original MISP package.LicensePyMISP is distributed under anopen source license. A simplified 2-BSD license.
Package: pymissense
pymissensePyMissense generates the pathogenicity plot and modified pdb as shown in theAlphaMissense paperfor custom proteins.What it doesAlphaMissense allows you to identify regions in your amino acid chain that are critical for protein function. This script does two things:It generates a plot similar toFigure 3Dof theAlphaMissense paperIt generates a modified PDB file where the temperature factor (bfactor) is replaced by the pathogenicity predicted by AlphaMissense, allowing the effect to be visualised with Chimerax, as inFigure 3Eof the paper:How to installpip install pymissenseHow to use itGeneral usage is:usage: pymissense[-h] [--tsv TSV] [--pdbpath PDBPATH] [--maxacid MAXACID] uniprot_id output_path

AlphaMissense plot and pdb generator

positional arguments:
  uniprot_id         UNIPROT ID
  output_path        Output folder

options:
  -h, --help         show this help message and exit
  --tsv TSV          You can provide the path to the tsv file if you want to skip the download. (default: None)
  --pdbpath PDBPATH  If defined, it will write the pathogenicity as bfactor in that PDB. If its not defined or not existing it will instead download the alphafold predicted PDB (default: None)
  --maxacid MAXACID  Maximum squence number to use in the plot. (default: None)You can give the optional argument--pdbpathif you want to use an experimental PDB, otherwise it will download the alphafold predicted PDB instead. With--tsvyou can provide the decompressed AlphaMissense database, so that pymissense does not need to download it.For example, to reproduceFigure 3D(the middle one) and generate the PDB shown inFigure 3Edo:wget https://files.rcsb.org/download/7UPI.pdb
pymissense Q9UQ13 out --maxacid 200 --pdbpath 7upi.pdbNote that only the first 200 amino acids are shown in the plots and the pathogenicity is shown with the experimental PDB7upi.ContributionsThis script was developed in collaboration with Tobias Raisch
Package: pyMissingAHP
pyMissingAHPIntroductionThe multi-criteria technique Analytic Hierarchy Process (AHP) needs a complete Pairwise Comparison Matrix (PCM) to generate results. With an incomplete PCM, our algorithm can infer the best (continuous or discrete) values to complete the missing data. The values can be calculated based on the minimum inconsistency (f0), target rank preservation (f1), or both (f0_f1). The target rank preservation can be total (when all criteria are ranked) or partial (when only a set of criteria are ranked). We also allow ties in ranks (criteria with the same rank). For small problems with discrete scale, we offer a brute force method that can find all available solutions.It's worth noting that our implementation can deal with AHP and Fuzzy AHP. The Fuzzy AHP needs a fuzzy triangular scale to work, and although the user can define his scale, we have implemented a default fuzzy triangular scale that can be used in most problems:Crisp NumberFuzzy Number1/9(1/9, 1/9, 1/9)1/8(1/9, 1/8, 1/7)1/7(1/8, 1/7, 1/6)1/6(1/7, 1/6, 1/5)1/5(1/6, 1/5, 1/4)1/4(1/5, 1/4, 1/3)1/3(1/4, 1/3, 1/2)1/2(1/3, 1/2,   1)1(  1,   1,   1)2(  1,   2,   3)3(  2,   3,   4)4(  3,   4,   5)5(  4,   5,   6)6(  5,   6,   7)7(  6,   7,   8)8(  7,   8,   9)9(  9,   9,   9)CitationHEYMANN, M.C., PEREIRA, V. & CAIADO, R.G.G. (2023). PyMissingAHP: An Evolutionary Algorithm for Filling Missing Values in Incomplete Pairwise Comparisons Matrices with Real or Fuzzy Numbers via Mono and Multiobjective Approaches. Arabian Journal for Science and Engineering. DOI:https://doi.org/10.1007/s13369-023-08227-4UsageInstallpipinstallpyMissingAHPTry it inColab:Single Objective AHP:Example 1a - (AHP; f0; Discrete): (Colab Demo)Example 1b - (AHP; f0; Continuous): (Colab Demo)Example 1c - (AHP; f1; Discrete; Different Rank Positions): (Colab Demo)Example 1d - (AHP; f1; Continuous; Different Rank Positions): (Colab Demo)Example 1e - (AHP; f1; Discrete; Same Rank Positions): (Colab Demo)Example 1f - (AHP; f1; Continuous; Same Rank Positions): (Colab Demo)Example 1g - (AHP; f1; Discrete; Partial Rank Positions): (Colab Demo)Example 1h - (AHP; f1; Continuous; Partial Rank Positions): (Colab Demo)Example 1  -  Brute Force - (AHP; Discrete): (Colab Demo)Single Objective Fuzzy AHP:Example 2a - (Fuzzy AHP; f0; Discrete): (Colab Demo)Example 2b - (Fuzzy AHP; f1; Discrete): (Colab Demo)Example 2c - (Fuzzy AHP; f0; Discrete; Custom Fuzzy Scale): (Colab Demo)Example 2d - (Fuzzy AHP; f1; Discrete; Custom Fuzzy Scale): (Colab Demo)Example 2  -  Brute Force - (Fuzzy AHP; Discrete): (Colab Demo)Multiobjective AHP:Example 3a - (AHP; f0 & f1; Discrete): (Colab Demo)Example 3b - (AHP; f0 & f1; Continuous): (Colab Demo)Multiobjective Fuzzy AHP:Example 4a - (Fuzzy AHP; f0 & f1; Discrete): (Colab Demo)Example 4b - (Fuzzy AHP; f0 & f1; Discrete; Custom Fuzzy Scale): (Colab Demo)OtherspyDecision- A library for many MCDA methods3MOAHP- Inconsistency Reduction Technique for AHP and Fuzzy-AHP MethodsELECTRE-Tree- Algorithm to infer the ELECTRE Tri-B method parametersRanking-Trees- Algorithm to infer the ELECTRE II, III, IV and PROMETHEE I, II, III, IV method parameters