Saravanan666/pypi-org huggingface dataset:
Package: grepy
GrepyA Python clone ofGrep.InstallYou can installgrepyfrom PyPI like any other package:pipinstallgrepyTo get the last version:pipinstallgit+https:/github.com/UltiRequiem/grepyIf you use Linux, you may need to install this with sudo to
be able to access the command throughout your system.UsageSame as Grep:grepy"String to grep"file_to_grep.pyLicenseGrepy is licensed under theMIT License.
Package: grequests
GRequests allows you to use Requests with Gevent to make asynchronous HTTP
Requests easily.UsageUsage is simple:import grequests

urls = [
    'http://www.heroku.com',
    'http://tablib.org',
    'http://httpbin.org',
    'http://python-requests.org',
    'http://kennethreitz.com'
]Create a set of unsent Requests:>>> rs = (grequests.get(u) for u in urls)Send them all at the same time:>>> grequests.map(rs)
[<Response [200]>, <Response [200]>, <Response [200]>, <Response [200]>, <Response [200]>]
Package: gResistor
gResistor3To allow for identification, resistors are usually marked
with colored bands. Often refered to as color codes, these
markings are indicative of their resistance, tolerance and
temperature coefficient. gResistor helps you translate
resistor color codes into a readable value. All you have to
do is watch the colors on the resistor and then enter them
in the program. As you enter colours you'll see that the
resistor value is changing accordingly.InstallationPypiYou can install gResistor using the command :$ pip install gResistorpypi pageSource CodeIf you want, you can clone the git repo and run directly the setup.py script on your machine:$ git clone https://github.com/stethewwolf/gResistor.git

$ cd gresistor

$ python setup.py installRun the programTo run the program just:typegresistor3click the icon in 'Applications>Accesories>gResistor'Report an IssuePleas if you find an error or if you want to propose something new, please visit thispageReferencesThis is based on the application developed by 'Pop Gheorghe'pop.gheorghe@rdslink.roand downloaded fromsourceforgeResistor color codes are explainedElectronic color codearrow.comMany information, such description and desktop files came from theold debian
packageList of the colors code got fromhereThis project is hosted onGitHubProject home page
Package: gretel-client
Gretel Python ClientCLI and Python SDKs for interacting with Gretel's privacy engineering APIs.Getting StartedThe following command will install the latest stable Gretel CLI and Python SDKpip install gretel-clientTo install the latest development version, you may runpip install git+https://github.com/gretelai/gretel-python-client@mainTo configure the CLI, rungretel configureSystem RequirementsThe Gretel CLI and python SDKs require Python version 3.9 or greater. Docker is required for local training and generation jobs.For more information please refer to theGretel Environment Setupdocs.Client SDKsThegretel-clientpackage also ships with a set of Python Client SDKs that may be used to interact with Gretel APIs using a familiar pythonic interface. For more information on how to use these SDKs, please refer to the following linksProjects SDK Reference
Package: gretis
An asynchronous redis::Connection object using Greenlets and Tornado’s
event-loop.RequiresTornadoGreenletInstallationpipinstallgretisGetting StartedWith redis-py:Create a redis ConnectionPool instructing it to use the Gretis
AsyncConnection as its connection. You must have a parent greenlet or
you will get an exception. (Examples assume you are in greenlet context
already)importredisfromgretis.async_connectionimportAsyncConnectionpool=redis.ConnectionPool(connection_class=AsyncConnection,host='localhost',port=6379,db=0,socket_timeout=1)r=redis.StrictRedis(connection_pool=pool)r.set('foo','bar')Or with redis-cluster-py:Create a redis cluster ConnectionPool and give it an
AsyncClusterConnection.importredisfromgretis.async_cluster_connectionimportAsyncClusterConnectionfromredisclusterimportClusterConnectionPool,StrictClusterRedispool=ClusterConnectionPool(connection_class=AsyncClusterConnection,host='localhost',port=700,socket_timeout=1)r=StrictRedisCluster(connection_pool=pool)r.set('foo','bar')
Package: gretry
gretry包含以下两个模块错误重试装饰器 retry错误跳转装饰器 error_jump安装pip install gretry模块介绍retry 模块用来进行错误重试参数如下：retry: 失败重试次数（默认 3 次）delay: 错误重试间隔（默认 0s）on_exceptions: 哪些报错才重试（默认 都重试）ignore_exceptions: 哪些报错不重试（默认 无）callback: 执行成功回调结果函数error_callback: 执行失败回调结果函数raise_exception: 一直失败，最后是否需要抛出错误（默认 True）注意：多个 @retry 装饰器套着用是不可取的，因为一个装饰器重新执行程序，那么其他装饰器也会再次执行error_jump 模块用于执行错误时跳转，当然，正确也可以跳转参数如下：on_exceptions: 哪些报错才跳转（默认 都跳转）ignore_exceptions: 哪些报错不执行跳转（默认 无）callback: 执行成功回调结果函数error_callback: 执行失败回调结果函数raise_exception: 是否需要抛出错误（默认 True）注意：有多个 @error_jump 装饰器时，不要使用 raise_exception = False 不然其余装饰器无法捕获错误注意点exceptionon_exceptions 和 ignore_exceptions 只有一个能被设置当有 callback 参数时当有正确的结果时，会将结果作为参数放入 callback 并执行有 callback 则不会返回结果无正确结果则直接抛出当有 error_callback 参数时当执行失败时，会在抛出前，将函数的执行参数，作为参数放入 error_callback 并执行错误的继承类的问题比如 FileExistsError 类型是 OSError 的子类，这里判断的时候是 FileExistsError 就是 FileExistsError，不会向上识别示例-retry示例 1【demo】from gretry import retry


def failed(name):
    print('failed', name)


def success(result):
    print('success', result)


@retry(max_retry=3, delay=1, callback=success, error_callback=failed)
def run(name):
    raise FileExistsError('文件不存在！')


if __name__ == '__main__':
    run(name='郭一会儿')【输出】failed 郭一会儿
Traceback (most recent call last):
  File "D:\Program\Python\Pypi\gretry\test.py", line 18, in <module>
    run(name='郭一会儿')
  File "D:\Program\Python\Pypi\gretry\gretry\gretry.py", line 136, in wrapper
    return self.runner(func, *args, **kwargs)
  File "D:\Program\Python\Pypi\gretry\gretry\gretry.py", line 103, in runner
    raise exception
  File "D:\Program\Python\Pypi\gretry\gretry\gretry.py", line 74, in runner
    result = func(*args, **kwargs)
  File "D:\Program\Python\Pypi\gretry\test.py", line 14, in run
    raise FileExistsError('文件不存在！')
FileExistsError: 文件不存在！示例 2on_exceptions、ignore_exceptions 参数可以是错误的类型或者是列表@retry(max_retry=3, on_exceptions=FileExistsError, ignore_exceptions=[OSError])
def run(name):
    raise FileExistsError('文件不存在！')示例-error_jumpfrom gretry import retry, error_jump


def error(s):
    print('error1')


def error2(s):
    print('error2')


def success(res):
    print('success', res)


@error_jump(on_exceptions=FileExistsError, error_callback=error)
@error_jump(on_exceptions=FileNotFoundError, error_callback=error2)
@error_jump(callback=success)
def run(s):
    raise FileExistsError('1')


if __name__ == '__main__':
    run(2)
Package: gretta
GRETTAGeneralizedREstrictedTensorTimeseriesAnalysis.This package is designed to perform multivariate analysis of incomplete timeseries based on the generalization of the restricted SSA method to sparse higher order (3D) data.
See an example on the analysis of spatiotemporal humidity data in theExample-1.ipynbjupyter notebook.RequirementsnumpyscipypandasnumbaCitationIf you usegrettain published research, please cite:Frolov E, Oseledets I. 2023. Tensor-Based Sequential Learning via Hankel Matrix Representation for Next Item Recommendations. IEEE Access. 2023 Jan 5; 11:6357-71. DOI:10.1109/ACCESS.2023.3234863. arXiv:2212.05720.BibTex entry:@ARTICLE{Frolov2023,
  author={Frolov, Evgeny and Oseledets, Ivan},
  journal={IEEE Access}, 
  title={Tensor-Based Sequential Learning via Hankel Matrix Representation for Next Item Recommendations}, 
  year={2023},
  volume={11},
  number={},
  pages={6357-6371},
  doi={10.1109/ACCESS.2023.3234863}}
Package: grevillea
grevilleaWork in ProgressGoogle Cloud Functions support for ASGIRequirementsPython 3.7Installationpip3installgrevilleaExamplefromgrevilleaimportGrevilleaasyncdefapp(scope,receive,send):awaitsend({"type":"http.response.start","status":200,"headers":[[b"content-type",b"text/plain; charset=utf-8"]],})awaitsend({"type":"http.response.body","body":b"Hello, world!"})handler=Grevillea(app)
Package: grewritingpool
Helper for GRE Writing PoolBecause why not?Installpip install grewritingpoolor install from source:python3 setup.py installUsageAs a APIget_list(writing_type='default')Return a json list of articles. Input can beall,issueorargument, default toall.Returned json format:[
    {
        'type': <writing type>,
        'first': <first part of the question>,
        'second': <first part of the question, might not exist>,
        'instruc': <instruction>
    },
    ...
]get_random(writing_type='default')Return a random json string from the json list of articles. Input can beall,issueorargument, default toall.Returned json format:{
    'type': <writing type>,
    'first': <first part of the question>,
    'second': <first part of the question, might not exist>,
    'instruc': <instruction>
}As a executablegrewriting[all|issue|argument]LicenseGPLv3.
Package: grey
Grey: Black, but brighter, but not as bright as White (arbitrarily–inspired)Blackis an amazing tool for auto–formatting
Python code in a style that I don’t really care about, but I like consistency,
so I use it in all my projects.It hasoneconfiguration option — to change its default line–length of88chars to, say,120, like I like.That isexactlywhatgreydoes. It invokes$ black--line-length120on your behalf.Usage$ grey myapp.py
reformatted myapp.pyInstallation$ pipenv install white
✨🍰✨
Package: greycdata
Installation of required packagesInstall pytorch geometric >= 2.0
seehttps://pytorch-geometric.readthedocs.io/en/latest/notes/installation.htmlpipenv installContentsgreycdata :|- datasets.py : Implementation of three GREYC chemistry small datasets as pytorch
geometric datasets : Alkane, Acyclic and MAO. See https://brunl01.users.greyc.fr/CHEMISTRY/ for details
 - loaders.py : load the same datasets as list of networkx graphsExamplesTwo notebooks, one for classification, one for regression, are provided for testing
purposesAuthorsBenoit Gaüzèrebenoit.gauzere@insa-rouen.frLinlin Jiahttps://github.com/jajupmochi
Package: grey_harvest
grey_harvestScrapes the web for reliable http/https proxies and tests them for
speed and reliability. Can be used as both a python module and a
command line utility. When run as a command line utility, proxies
are sent to stdout. When run as a module, it returns a generator.Check out the project on PyPi athttps://pypi.python.org/pypi/grey_harvest/0.1.3.5Key FeaturesQuickly and easily generate a list of reliable http/https proxiesUsable as a comamnd line utility or a python moduleCan filter for proxies that support SSLCan filter for proxies locationed within specific countriesCan exclude proxies located within specific countriesInstallationFirst, install the following dependencies:# On Centos/RHEL/Fedora:
sudo yum install python-devel libxlt-devel libxml-devel

# On Debian/Ubuntu:
sudo apt-get install python-dev libxml2-dev libxslt1-devThen install grey_harvest using pip as follows:pip install grey_harvestUsageWe can generate a list of 10 viable proxies with the following command:# use the -n flag to specify number of proxies to generate
grey_harvest -n 10To select only proxies with SSL enabled, we do this:# use the -H flag to select only https proxies
grey_harvest -n 10 -HWe can use the -a flag to filter for proxies located within a
list of specific countries. For example, to choose proxies located
within Ukraine, Hong Kong, and the United States, we’d use this:# use the -a flag to filter by country
grey_harvest -a "United States" "Hong Kong" Ukraine -n 10We can use the -p flag to filter for ports running on specific ports:# the -p flag to only use proxies that run on port 80
grey_harvest -p 80 -n 10We can deny proxies located within specific countries by using
the -d flag. Proxies located within China are blocked by default
as they are often located behind the Great Firewall, and as such
tend to be unreliable. This can be changed within grey_harvest.py’s
internal configs.:# use the -d flag to deny proxies located within France and
# Germany
grey_harvest -d France Germany -n 10 -Hgrey_harvest library - basic exampleBefore diving into the documentation for the grey_harvest library,
check out how easily we can generate a list of 20 proxies:import gray_harvest

''' spawn a harvester '''
harvester = grey_harvest.GreyHarvester()

''' harvest some proxies from teh interwebz '''
count = 0
for proxy in harvester.run():
        print proxy
        count += 1
        if count >= 20:
                breakThat’s it. We now have 20 http/https proxies ready to go.History0.1.5 (2016-04-20)Fixed connections errors that occur when specifying custom test domain0.1.4 (2016-04-19)Users can now filter for proxies running on specific ports0.1.3 (2015-05-26)Added documentation0.1.2 (2015-05-26)Corrected some build issues0.1.0 (2015-05-26)Initial releaseCredits“grey_harvest” is written and maintained by Gabriel ‘s0lst1c3’ Ryan.ContributorsPlease add yourself here alphabetically when you submit your first pull request.
Package: greymatter
Grey MatterGrey Matter reduces the time it takes to get up and running withSelenium.InstallationUsepipto installgreymatteras follows:pip install greymatterUsage (Examples)Instantiating ChromeDriverfromgreymatterimportBy,ChromeDriver,KeysclassWebsite(ChromeDriver):def__init__(self):super().__init__()Finding WebElementsArguments:by — a selenium locator strategycriteria — the search criteria to the locator strategyfoo=self.element_is_present(By.TAG_NAME,"input")bar=self.element_is_clickable(By.XPATH,'//button[text()="bar"]')Getting Field ValuesArguments:field — the name of the field@propertydefemail_address(self):returnself.get_field_value("Email:")Pressing KeysArguments:key — a selenium Keys objectnumber_of_times — the number of times to press the keyself.press_key(Keys.TAB,3)Setting Field ValuesArguments:field — the name of the fieldvalue — the value to set the field todeflogin(self,username,password):self.set_field_value("Username:","foo")self.set_field_value("Password:","bar")ExceptionsSelenium'sElementNotInteractable,StaleElementReference, andTimeoutexceptions can be imported from thursday as follows:fromgreymatter.exceptionsimportElementNotInteractableException,StaleElementReferenceException,TimeoutExceptionLicenseGNU General Public License (v3 only)
Package: grey-model
基础窗口：Grey model首先安装：pip install grey_model然后简单调用importgrey_modelasgmgm.window()然后即可在图像窗口下进行简单的Gm(1,1)模型的操作，按照操作指引，可以进行GM plus ARIMA的修正模型。GM系列的模型我在未来进行更新，相信会是一年以后吧，尽情期待。2023-11-26 我回来了，我要继续完成我的包了！！！！新的方法：词云图fromgrey_model.wordimportwinwin.win()
Package: greynirseq
GreynirSeqGreynirSeq is a natural language parsing toolkit for Icelandic focused on sequence modeling with neural networks. It is under active development and is in its early stages.The modeling part (nicenlp) of GreynirSeq is built on top of the excellentfairseqfrom Facebook (which is built on top of pytorch).GreynirSeq is licensed under the GNU AFFERO GPLv3 license unless otherwise stated at the top of a file.What's new?An Icelandic RoBERTa model,IceBERTfinetuned for NER and POS tagging.Icelandic - English translation.What's on the horizon?More fine tuning tasks for Icelandic, constituency parsing and grammatical error detectionBe aware that usage of the CLI or otherwise downloading model files will result in downloading ofgigabytesof data.
Simply installinggreynirseqwill not download any models, they are automatically downloaded on-demand.InstallationIn a suitable virtual environment# From PyPI$pipinstallgreynirseq# or from git main branch$pipinstallgit+https://github.com/mideind/greynirseq@mainFeaturesTL;DR give me the CLIThegreynirseqCLI interface can be used to run pretrained models for various tasks. Runpip install greynirseq && greynirseq -hto see what options are available.POSInput is accepted from file containing a singletokenizedsentence per line, or from stdin.$echo"Systurnar Guðrún og Monique átu einar um jólin á McDonalds ."|greynirseqpos--input-

nvfngnven-scn---ssfg3fþlvfnsfafnhfogafn----splNERInput is accepted from file containing a singletokenizedsentence per line, or from stdin.$echo"Systurnar Guðrún og Monique átu einar um jólin á McDonalds ."|greynirseqner--input-

OB-PersonOB-PersonOOOOOB-OrganizationOTranslationInput is accepted from file containing a singleuntokenizedsentence per line, or from stdin.# For en->is translation$echo"This is an awesome test that shows how to use a pretrained translation model."|greynirseqtranslate--source-langen--target-langis

Þettaeræðislegtprófsemsýnirhvernignotamáforprófaðþýðingarlíkan.# For is->en translation$echo"Þetta er æðislegt próf sem sýnir hvernig nota má forprófað þýðingarlíkan."|greynirseqtranslate--source-langis--target-langen

Thisisanawesometestthatshowshowapre-testedtranslationmodelcanbeused.Neural Icelandic Language Processing - NIceNLPIceBERT is an Icelandic BERT-based (RoBERTa) language model that is suitable for fine tuning on downstream tasks.The following fine tuning tasks are available both through thegreynirseqCLI and for loading programmatically.POS taggingNER taggingThere are also a some translation models available. They are Transformer models trained from scratch or finetuned based on mBART25.TranslationDevelopmentTo install GreynirSeq in development mode we recommend using poetry as shown belowpipinstallpoetry&&poetryinstallLintingAll code is checked withSuper-Linterin aGitHub Action, we recommend running it locally before pushing./run_linter.shType annotationType annotation will soon be checked with mypy and should be included.
Package: greyopt
بسم الله الرحمن الرحيمIn the name of Allah, the Compassionate, the MercifulGreyOptGreyOpt is a software package for large-scale grey-box optimization.Website (and documentation):https://greyopt.github.ioSource:https://github.com/greyopt/greyoptBug reports:https://github.com/greyopt/greyopt/issues
Package: greypredict
Grey-PredictShort - term Prediction of Poor Data Using Grey Prediction Model
Three grey prediction models are provided. They are GM ( 1,1 ) model, new information GM ( 1,1 ) model and metabolism GM ( 1,1 ) model.
It provides pre-test, grade ratio test and quasi-index test for the data to be predicted.
A post-test function is provided to test the accuracy of the grey model, and the evaluation indexes that can be selected are relative error, mean square error ratio and small error probability.
Package: grfs
This app allows you to mount yourRicoh GR IIwith FUSE over WiFi. It implements a read-only filesystem for accessing
photos on a Ricoh GR II camera over the built-in WiFi feature and the HTTP API
the camera exposes.Why?This library was created to experiment with the REST-ish API the Ricoh GR II
exposes for theGR Remoteweb-based app.StatusIt works but it’s really slow. Reasons for the slow speed being:Slow WiFi by which the camera is equipped.The necessity to make aGETrequest for each file individually to read the
HTTP headers to determine file size.When you mount the camera, you get three different foldersthumb,view,
andfullwhich correspond to the different image sizes available through
the camera’s HTTP API. Note thatviewmight no contain all the images
available.InstallationInstall FUSE on your system (e.g.$ brew install osxfuse)Install this package$ pip install grfsUsageTurn on your Ricoh GR IITurn on the WiFi feature on the cameraConnect your computer to the WiFi network from the cameraMount the camera$ mkdir ~/GR; grfs ~/GR(create the mountpoint directory first)Access your files$ ls-l~/GR(or from you system file browser)
Package: grg-grgdata
release:dev status:grg-grgdata is a minimalist python package for working with GRG data files.The package can be installed via:pip install grg-grgdataLicenseThis package is developed at Los Alamos National Laboratory and is provided under a BSD-3 license as part of the Grid Research for Good Software Tools (C18036), see theLICENSEfile for the full text.Changelogstagednothingv0.2.4Drop support for python 2.7 and 3.4v0.2.3Added include_package_data to setup functionv0.2.2Update manifest for schema filesv0.2.1Add manifest for schema filesv0.2.0Update to GRG v4.1v0.1.1Fixed minor typo in readme.v0.1.0Initial releasev0.0.1Initial test tag
Package: grg-mp2grg
release:dev status:grg-mp2grg is a python package for translating between with Matpower and GRG data files.The package can be installed via:pip install grg-mp2grgLicenseThis package is developed at Los Alamos National Laboratory and is provided under a BSD-3 license as part of the Grid Research for Good Software Tools (C18036), see theLICENSEfile for the full text.Changelogstagednothingv0.1.2dropped support for python 2.7 and 3.4v0.1.1fixed grg2mp bug when adding bus namesfixed grg2mp bug when no groups were presentv0.1.0Initial releasev0.0.1Initial test tag
Package: grg-mpdata
release:dev status:grg-mpdata is a minimalist python package for working with Matpower data files.The package can be installed via:pip install grg-mpdataLicenseThis package is developed at Los Alamos National Laboratory and is provided under a BSD-3 license as part of the Grid Research for Good Software Tools (C18036), see theLICENSEfile for the full text.Changelogstagednothingv0.1.1Drop support for python 2.7 and 3.4v0.1.0Initial releasev0.0.2PyPI test releasev0.0.1initial test tag
Package: grg-psse2grg
release:dev status:grg-psse2grg is a python package for translating between with PSSE and GRG data files.The package can be installed via:pip install grg-psse2grgLicenseThis package is developed at Los Alamos National Laboratory and is provided under a BSD-3 license as part of the Grid Research for Good Software Tools (C18036), see theLICENSEfile for the full text.Changelogstagednothingv0.0.3dropped support for python 2.7 and 3.4v0.0.2made grg2psse more robust to optional grg data itemsv0.0.1Initial test tag
Package: grg-pssedata
release:dev status:grg-pssedata is a minimalist python package for working with PSS/E data files.The package can be installed via:pip install grg-pssedataLicenseThis package is developed at Los Alamos National Laboratory and is provided under a BSD-3 license as part of the Grid Research for Good Software Tools (C18036), see theLICENSEfile for the full text.Changelogstagednothingv0.1.4Improved support for component default valuesFixed type of xfrrat and nxfrat values (Issue #4)Fixed line endings in file exportv0.1.3Improved support for non-string values in class constructorsFixed Bus default valuesv0.1.2Added support for default values in data filesImproved error reporting when a data line does not split into an acceptable number of itemsv0.1.1Drop support for python 2.7 and 3.4Fixed bug where parsing lines with commas or comment characters inside single quotes would failAdded support for FACTS Devices, Two-Terminal DC Lines, VSC DC Lines, Multi-Terminal DC Lines, Interarea Transfers, Transformer Impedance Correction Tables, Induction Machines, and Multi-Section Line Groupingsv0.1.0Initial releasev0.0.2PyPI test releasev0.0.1Initial test tag
Package: grgr
grgrgrgris a library for usingggplot2frompython.grgrcan create figures inpythonusing grammar similar toggplot2.pythondoes not create the figure itself, but generates a code that can be executed inR, and executes it in R to create the figure. In other words,grgris an interface frompythontoR'sggplot2. Therefore, this library directly depends onRandggplot2.QuickstartYou can installgrgrthroughpipby runningpip install grgr. In order to usegrgr, you need to haveRandggplot2installed. Please make sure that these are installed beforehand. Once the installation is complete, you can draw a figure inpythonwith the grammer same asggplot2. A basic usage example can be found inexample/basic.py.
Package: grgrjax
This library provides some useful additional tools toJAX, such as amultivariate Newton method,val_and_jacfwdor vectorized JVP and VJP functions.The moduledocumentationcan be found on Readthedocs.Installation withpipIt’s as simple as typingpipinstallgrgrjaxin the terminal (Unix/Mac) or the Anaconda Prompt (Win).