Saravanan666/pypi-org huggingface dataset:
Package: gilp
GILP (Geometric Interpretation of Linear Programs) is a Python package for
visualizing the geometry of:Linear Programs(LPs)The Simplex AlgorithmThe Branch and Bound AlgorithmLPs can be constructed from NumPy arrays and many examples
(such as theKlee-Minty cube)
are included. The revised simplex method is implemented along with phase I for finding
an initial feasible solution. The package relies onPlotlyto generate standalone HTML files which can be viewed in a Jupyter Notebook
inline or in a web browser.ExamplesInstallationThe quickest way to get started is with a pip install.pipinstallgilpDevelopmentTo develop and run tests on gilp, first download the source code in the desired
directory.gitclonehttps://github.com/engri-1101/gilp.gitNext, cd into the gilp directory and create a Python virtual enviroment.cdgilp
python-mvenvenv_nameActivate the virtual enviroment.sourceenv_name/bin/activateRun the following in the virtual enviroment. The-eflag lets you make
adjustments to the source code and see changes without re-installing. The[dev]installs necessary dependencies for developing and testing.pipinstall-e.[dev]To run tests and see coverage, run the following in the virtual enviroment.coveragerun-mpytest
coveragereport--include=gilp/*UsageThe LP class creates linear programs from (3) NumPy arrays: A, b, and c which define the LP in standard inequality form.For example, consider the following LP:The LP instance is created as follows.importgilpimportnumpyasnpfromgilp.simpleximportLPA=np.array([[2,1],[1,1],[1,0]])b=np.array([[20],[16],[7]])c=np.array([[5],[3]])lp=LP(A,b,c)After creating an LP, one can run simplex and generate a visualization withfromgilp.visualizeimportsimplex_visualsimplex_visual(lp)wheresimplex_visual()returns a plotly figure. The figure can then be
viewed on a Jupyter Notebook inline usingsimplex_visual(lp).show()If.show()is run outside a Jupyter Notebook enviroment, the visualization
will open up in the browser. Alternatively, the HTML file can be written and then
opened.simplex_visual(lp).write_html('name.html')Below is the visualization for the example LP. The plot on the left shows the
feasible region and constraints of the LP. Hovering over an extreme point shows
the basic feasible solution, basis, and objective value. The iteration slider
allows one to toggle through the iterations of simplex and see the updating
tableaus. The objective slider lets one see the objective line or plane for
some range of objective values.LicenseThis work is licensed under aCreative Commons Attribution-NonCommercial-ShareAlike 4.0 International License
Package: gImage
This is a simple python module mostly meant to be used on the command line. It’s really simple, you pass it a search query, it queries google, and returns the first image it gets back. It’s pretty damn addictive.To use it on the command line, type:python-mgimage sarah silvermanTo use it in your project:#!/usr/bin/env python

from gimage import get_image_url

print get_image_url("sarah silverman")on github.
Package: gimagedownload
Download Google Image search results with free proxiespipinstallgimagedownloadFirst stepCreate a proxy pkl file using [freeproxydownloader](freeproxydownloader · PyPI)If you have already installed  [site2hdd](site2hdd · PyPI)   (before 2023-01-24  , you need to update it)pip install --upgrade site2hddorpip install --upgrade gimagedownloadfromsite2hddimportdownload_url_list,get_proxies,download_webpagexlsxfile,pklfile=get_proxies(save_path_proxies_all_filtered='c:\\newfilepath\\myproxiefile\\proxy',#  path doesn't have to exist, it will be created, last# part (proxy) is the name of the file - pkl and xlsx will be added# important: There will be 2 files, in this case: c:\\newfilepath\\myproxiefile\\proxy.pkl and c:\\newfilepath\\myproxiefile\\proxy.xlsxhttp_check_timeout=4,# if proxy can't connect within 4 seconds to wikipedia, it is invalidthreads_httpcheck=50,# threads to check if the http connection is workingthreads_ping=100,# before the http test, there is a ping test to check if the server existssilent=False,# show results when a working server has been foundmax_proxies_to_check=20000,# stops the search at 20000)CLI#You can download the pictures using the command line:python"C:\Users\Gamer\anaconda3\envs\dfdir\Lib\site-packages\gimagedownload\__init__.py"-pc:\newfilepath\myproxiefile\proxy.pkl-shouse,elephant,lion-df:\googleimgdownload-v3-t50-r7-q9#Underlines are converted to spacepython"C:\Users\Gamer\anaconda3\envs\dfdir\googleimgs.py"-pc:\newfilepath\myproxiefile\proxy.pkl-sbrazilian_food,ferrari,Los_Angeles-df:\googleimgdownload-v3-t50-r7-q9CLI Arguments#arguments:-p/--proxy_pickle_fileTheproxypklfilecreatedwithfreeproxydownloader# pip install freeproxydownloader-s/--searchSearchtermsseparatedbycomma:house,elephant,lion-d/--download_folderDownloadfolder,willbecreatedifitdoesn't existdefault:os.path.join(os.getcwd(),"GOOGLE_IMAGE_DOWNLOADS")-v/--variationsGrablinksfromslightlydifferentsearchtermsdog/DoG/Dog/doG(onlyuppercase/lowercasevariations)withdifferentproxies.Don't exaggerate. It might get very slow, but it helps to get more results. 3 or 4 is a good startdefault=3-t/--threadsHowmanyrequeststhreadsdefault=50-r/--requests_timeoutTimeoutinsecondsforrequestsdefault=7-q/--thread_timeoutTimeoutinsecondsforrunningthread.Itshouldbehigherthanthetimeoutforrequeststoavoidproblems.default=9Import the functionfromgimagedownloadimportstart_image_downloadstart_image_download(ProxyPickleFile=r'c:\newfilepath\myproxiefilexxx\proxy.pkl',# pip install freeproxydownloadersearch_terms=['halloween'],download_folder=r'f:\googleimgdownload',search_variations=3,threadlimit=50,RequestsTimeout=7,ThreadTimeout=9,)Results "brazilian_food"Results "elephant"Results "ferrari"Results "house"Results "lion"Results "los_angeles"
Package: gimbal
Gimbal is a package for importing, creating, editing and querying
three-dimensional molecular geometries. It specializes in intramolecular
transformations relevant to dynamical simulation.InstallationTo install the latest release from PyPI, use:$ pip install gimbalAlternatively, clone the repository and use setup.py to install via:$ git clone https://github.com/ryjmacdonell/gimbal.git
$ cd gimbal/
$ python setup.py installInstallation will also add several executables frombin/to your path for
easily editing recognized file formats.RequirementsRequires at least Python 3.4, NumPy v1.6.0, SciPy v0.9.0 and PyParsing v2.2.0DocumentationFor additional documentation, see thedocumentation page.AuthorRyan J. MacDonell
Package: gimdl
Google Image Search & Download using the APIThis will fetch images using the google API and save to an 'images' subdirectory from where you run your code. You just specify the search term. eg. "cat" or "dog"InstallationRun the following to install:pipinstallgimdlUsageimportgimdlfromgimdlimportfetch_images# specify what images you want to fetchfetch_images("cat")RequirementURLpip install Google-Images-Searchhttps://pypi.org/project/Google-Images-Search/Google API Keyhttps://console.developers.google.compip install python-dotenvhttps://pypi.org/project/python-dotenv/pip install windows-curses (Windows only)https://pypi.org/project/windows-curses/
Package: gimei
GimeiThis package generates the name and the address at random.Original isgimei.
Thank's @willnetInstallationstable$pipinstallgimeitest versionpipinstall-ihttps://test.pypi.org/simple/gimeiUsagefromgimeiimportGimeiname=Gimei().nameprintname# 川端 一世printname.kanji# 川端 一世printname.hiragana# かわばた ひとせprintname.katakana# カワバタ ヒトセprintname.last.kanji# 川端printname.last.hiragana# かわばたprintname.last.katakana# カワバタprintname.first.kanji# 一世printname.first.hiragana# ひとせprintname.first.katakana# ヒトセaddress=Gimei().addressprintaddress# 大分県三潴郡大木町小原西printaddress.kanji# 大分県三潴郡大木町小原西printaddress.hiragana# おおいたけんみずまぐんおおきまちこばらにしprintaddress.katakana# オオイタケンミズマグンオオキマチコバラニシprintaddress.prefecture.kanji# 大分県printaddress.prefecture.hiragana# おおいたけんprintaddress.prefecture.katakana# オオイタケンprintaddress.city.kanji# 三潴郡大木町printaddress.city.hiragana# みずまぐんおおきまちprintaddress.city.katakana# ミズマグンオオキマチprintaddress.town.kanji# 小原西printaddress.town.hiragana# こばらにしprintaddress.town.katakana# コバラニシRecommendationpyyamlis very convenient,
but it's for a short while later to deal with a great deal of data.
It's recommended hard to installlibyaml.LicenseMITAuthorMao Nabetatwitter
Package: gimlet
Gimlet - Simple High-Performance WSGI SessionsScott Torborg -Cart LogicGimlet is a Python infrastructure block to provide versatile key-value
‘session’ storage for WSGI applications. The design philosophy is ‘as fast as
possible with slow components’, which is to say, I/O load will be minimized,
but it will work with fairly simple and mature storage backends. It provides:Easy setup and configurationKey-value dict-like session accessMultiple backend options, including redis and SQLEfficient - absolute minimal I/O loadOptional client-side storage for a whitelist of keysIt is also:2 oz gin1/2 oz lime juice1/4 oz simple syruplime garnishInstallationInstall with pip:$ pip install gimletDocumentationGimlet hasextensive documentation here.LicenseGimlet is licensed under an MIT license. Please see the LICENSE file for more
information.Code StandardsGimlet has a comprehensive test suite with 100% line and branch coverage, as
reported by the excellentcoveragemodule. To run the tests, simply run in
the top level of the repo:$ nosetestsThere are noPEP8orPyflakeswarnings in the codebase. To
verify that:$ pip install pep8 pyflakes
$ pep8 .
$ pyflakes .Any pull requests must maintain the sanctity of these three pillars.
Package: gimli
gimliMines for system information."AND MY AXE!" -GimliInstall gimliOption 1, install in a virtualenv.$python3-mvenvenv
$.env/bin/activate
$python3-mpipinstall--upgradegimliOption 2, install to the user folder.$python3-mpipinstall--user--upgradegimliOption 3, if you want a system-wide install...$sudopython3-mpipinstall--upgradegimliRun it like so$gimli
usage:gimli[-h|cpu|mem|stat|meminfo|serve[n]]Or... use the gimli APIPython3.7.1(default,Nov22018,20:33:06)[GCC7.3.0]onlinux
Type"help","copyright","credits"or"license"formoreinformation.
>>>fromgimliimportGimli
>>>g=Gimli()>>>g.meminfo()
Package: gimme-aws-creds
# Gimme AWS Credsgimme-aws-creds is a CLI that utilizes an [Okta](https://www.okta.com/) IdP via SAML to acquire temporary AWS credentials via AWS STS.Okta is a SAML identity provider (IdP), that can be easily set-up to do SSO to your AWS console. Okta does offer an [OSS java CLI]((https://github.com/oktadeveloper/okta-aws-cli-assume-role)) tool to obtain temporary AWS credentials, but we found it needs more information than the average Okta user would have and doesn’t scale well if you have more than one Okta App.With gimme-aws-creds all you need to know is your username, password, Okta url and MFA token, if MFA is enabled. gimme-aws-creds gives you the option to select which Okta AWS application and role you want credentials for.## Prerequisites[Okta SAML integration to AWS using the AWS App](https://help.okta.com/en/prod/Content/Topics/Miscellaneous/References/OktaAWSMulti-AccountConfigurationGuide.pdf)Python 3.7+## InstallationThis is a Python 3 project.Install/Upgrade from PyPi:`bash pip3 install--upgradegimme-aws-creds`Full usage guide is available at the [project page](https://github.com/Nike-Inc/gimme-aws-creds)
Package: gimme-aws-creds-browser
# Gimme AWS Credsgimme-aws-creds is a CLI that utilizes an [Okta](https://www.okta.com/) IdP via SAML to acquire temporary AWS credentials via AWS STS.Okta is a SAML identity provider (IdP), that can be easily set-up to do SSO to your AWS console. Okta does offer an [OSS java CLI]((https://github.com/oktadeveloper/okta-aws-cli-assume-role)) tool to obtain temporary AWS credentials, but we found it needs more information than the average Okta user would have and doesn’t scale well if you have more than one Okta App.With gimme-aws-creds all you need to know is your username, password, Okta url and MFA token, if MFA is enabled. gimme-aws-creds gives you the option to select which Okta AWS application and role you want credentials for.## Prerequisites[Okta SAML integration to AWS using the AWS App](https://help.okta.com/en/prod/Content/Topics/Miscellaneous/References/OktaAWSMulti-AccountConfigurationGuide.pdf)Python 3.6+## InstallationThis is a Python 3 project.Install/Upgrade from PyPi:`bash pip3 install--upgradegimme-aws-creds`Full usage guide is available at the [project page](https://github.com/Nike-Inc/gimme-aws-creds)
Package: gimmecert
Gimmecert is a simple CLI tool for quickly issuing X.509 server and
client certificates using locally-generated CA hierarchy with minimal
hassle.The tool is useful for issuing certificates in:Local environment, when trying out a piece of new software that
depends on use of certificates.Development environment, when it is necessary to issue certificates
either for purpose of integration with other systems, or for ability
to develop new feature that involves use of certificates.Testing/CI/CD environment, when it is necessary to deploy/configure
tests to use certificates in order to ensure the tests are run
properly and in full.At time of this writing, Gimmecert is compatible with the following
Python versions:Python 3.8Python 3.9Python 3.10Python 3.11Python 3.12Why was this tool created?The tool was created to remove the pain of setting-up a CA hierarchy,
and then using this hierarchy to issue a couple of test certificates.While there are existing tools that can be used to this end (in
particular the OpenSSL’s CLI and GnuTLS’certtool), the process of
using them is tedious, slow, and error-prone.There are some more long-lived solutions out there, in form of
full-blown CAs, but those can be both an overkill and resource hog
when all a person needs is a couple of certificates that can be thrown
away.FeaturesGimmecert provides the following features:It is very easy to use. Commands are intuitive, and require minimal
input from the user.Initialisation of CA hierarchy for issuing certificates. CA
hierarchy depth can be specified, letting you easily simulate your
production environment.Issuance of TLS server certificates, with any number of DNS subject
alternative names.Issuance of TLS client certificates.All generated artifacts stored within a single sub-directory
(.gimmecert), relative to directory where command is
invoked. This allows you to easily issue per-project testing
certificates.SupportIn case of problems with the tool, please do not hesitate to contact
the author atgimmecert (at) majic.rs. Known issues and planned
features are tracked on website:https://projects.majic.rs/gimmecert/The tool is hosted on author’s own server, alongside a mirror on
Github:https://code.majic.rs/gimmecerthttps://github.com/azaghal/gimmecertDocumentation is available on:https://gimmecert.readthedocs.io/LicenseGimmecertcodeis licensed under the terms of GPLv3, or (at
your option) any later version. You should have received the full copy of the
GPLv3 license in the local fileLICENSE-GPLv3, or you may read the full text
of the license at:https://www.gnu.org/licenses/gpl-3.0.txtGimmecertdocumentationis licensed under the terms of CC-BY-SA 3.0
Unported license. You should have received the full copy of the CC-BY-SA 3.0
Unported in the local fileLICENSE-CC-BY-SA-3.0-Unported, or you may read
the full text of the license at:https://creativecommons.org/licenses/by-sa/3.0/
Package: gimme-iphotos
Gimme-iPhotosDownload media files from iCloud.This tool usespyicloudto synchronize photos and videos from iCloud to your
local machine.FeaturesDownloads media files from iCloud in parallel (might be beneficial on small files and wide bandwidth)Keeps local collection in sync with iCloud by:skipping files which exist locallyremoving local files which were removed from the cloudReads configuration from ini-fileStores password in keychain (provided bypyicloud)Supports two-factor authenticationShows nice progress bars (thanks totqdm)Installation$pip3installgimme-iphotosor$dockerpullzebradil/gimme-iphotosUsage$ gimme-iphotos --help
usage: gimme-iphotos [-h] [-c CONFIG] [-v] [-u USERNAME] [-p PASSWORD] [-d DESTINATION] [-o] [-r] [-n PARALLEL] [-g] [--zero-pad]

Downloads media files from iCloud

optional arguments:
  -h, --help            show this help message and exit
  -c CONFIG, --config CONFIG
                        Configuration file.
                        It's ini-like file (see configparser module docs), must contain [main] section.
                        Keys are fully-named arguments, except help, config and verbose.
                        Values specified using command line arguments take precedence over values from a provided config file.
  -v, --verbose         Increase verbosity. Can be specified multiple times.
                        Use -vvvv to get maximum verbosity.
  -u USERNAME, --username USERNAME
                        iCloud username (email). Can be specified interactively if not set.
  -p PASSWORD, --password PASSWORD
                        iCloud password. Can be specified interactively if not set.
  -d DESTINATION, --destination DESTINATION
                        Destination directory. Can be specified interactively if not set.
  -o, --overwrite       Overwrite existing files. Default: false.
  -r, --remove          Remove missing files. Default: false.
  -n PARALLEL, --num-parallel-downloads PARALLEL
                        Max number of concurrent downloads.
                        Increase this number if bandwidth is not fully utilized. Default: 3
  -g, --group           Group the photos into year and month directories.
  --zero-pad            Zero pad months when grouping photos.Using config file:$catjohn.cfg[main]username=john.doe@example.compassword=not-secure123destination=/home/john/Photosremove=True

$gimme-iphotos-cjohn.cfgOverriding config file:$gimme-iphotos-cjohn.cfg--destination/tmp/icloudWithout config file:$# Password will be requested interactively$gimme-iphotos-ujohn.doe@rexample.com--destination/tmp/icloud
EnteriCloudpasswordforjohn.doe@rexample.com:DockerThe CLI is the same but requires mounting destination directory and config file (if needed).$dockerrun-it\-v<destination>:/somedir\-v${PWD}/john.cfg:/app/john.cfg\zebradil/gimme-iphotos-cjohn.cfgLicenseLicensed under theMIT License.ByGerman Lashevich.
Package: gimmemotifs
GimmeMotifsSuite of motif tools, including a motif prediction pipeline for ChIP-seq experiments.Seefull GimmeMotifs documentationfor detailed installation instructions and usage examples.For documentation on the development version seehere.The manuscript describing this latest release is available onbiorRxivas a preprint and can be cited as:GimmeMotifs: an analysis framework for transcription factor motif analysisNiklas Bruse, Simon J. van HeeringenbioRxiv(2018) DOI:10.1101/474403You can interactively try out the Python API in a Jupyter notebook using binder:We need your help!GimmeMotifs was originally developed for our own needs but we would really like it to be useful to the wider community. However, this also depends on your input. Let us know what you think! What features are missing? Which tutorial would you like to see? What part of the documentation is unclear? Have great ideas for future developments? Maybe you even want to join in developing this software?Let us know!Easy installationThe most straightforward way to install GimmeMotifs is viacondausing thebiocondachannel.If you have not used bioconda before, first set up the necessary channels (in this order!). You only have to do this once.$ conda config --add channels defaults
$ conda config --add channels bioconda
$ conda config --add channels conda-forgeYou can now install GimmeMotifs with one command:# Create an environment called gimme with all dependencies
$ conda create -n gimme python=3 gimmemotifs

# Activate the environment
$ conda activate gimmePython 3 is the required, from version 0.13.0 on GimmeMotifs no longer supports Python 2.
Don't forget to activate the environment withconda activate gimmewhenever you want to use GimmeMotifs.Quick startPredict some de novo motifs:$ gimme motifs my_peaks.bed my_motifs -g /data/genomes/hg38/hg38.fa --denovoDownload a genomeThe example above assumes that you have the hg38 genome in/data/genomes/hg38/hg38.fa.
GimmeMotifs can also use genomes installed bygenomepy.You can configure the directory where genomepy stores genomes by editing~/.config/genomepy/genomepy.yamlgenome_dir: /data/genomesTo download a genome from UCSC:$ genomepy install hg38 --annotation  # genomepy >=0.9.0Now you can specify this genome for GimmeMotifs by name.$ gimme motifs my_peaks.bed -g hg38 -n my_motifsHelpFull documentation:http://gimmemotifs.readthedocs.io/.Check theFAQfor
common issues.The preferred way to get support is through the GithubissuespageFinally, you can reach me bymailorTwitter.
Package: gimme-secrets
Gimme Secretsgimme-secrets is a cli tool to manage AWS Parameter Store values.It can:Put entry in Parameter StoreGet value from Parameter StoreDecrypt and Encrypt value using KMSMove Parameter Store entries between AWS accounts and regions.PrerequisitesPython 3.6 or aboveConfigurationFor AWS set theAWS_MASTER_ROLE_ARNto the ARN of the account which has permissions to switch to other accounts.How to use?Install/Upgrade from PyPi:pip3 install --upgrade gimme-secretsrungimme-secretsfor available optionsgimme-secrets
Usage: gimme-secrets [OPTIONS] COMMAND [ARGS]...

  Command-line interface for managing secrets for:

   AWS

Options:
  --help  Show this message and exit.

Commands:
  aws-decrypt-secret  aws decrypt secrets using kms key
  aws-encrypt-secret  aws encrypt secrets using kms key
  aws-get-secret      aws get values from Parameter Store
  aws-put-secret      aws put values in Parameter Store
  copy-secret         copy secrets
Package: gimme-that
Gimme ThatA lightweight, simple but extensible dependency injection framework. Read the full documentationhereGetting startedInstall fromPyPIpip install gimme-thatBasic usageimportgimmeclassMyService:passclassServiceConsumer:def__init__(self,service:MyService):self.service=service# gimme.that automatically detects and resolves dependencies based on type annotationsconsumer=gimme.that(ServiceConsumer)isinstance(consumer.service,MyService)# TrueFeaturesAutomatically detects dependencies based on type annotationsWorks withdataclassclasses andattr.sClass repository that stores created objects for re-useRegister classes to provide additional configuration on howgimme.thatshould instantiate classesCustom factory functionsStore or do not store created objectsProvide additional keyword arguments to the initializerScoped repositories to manage the lifetime of created objects (useful for testing)Does not require any decorators or other additions to your classes (most of the time). They remainyourclassesDetects circular dependencies, and provides the means to resolve themExtensibility using plugins: create your own logic for resolving dependencies and instantiating classesDevelopmentpip install -e .[dev]