Saravanan666/pypi-org huggingface dataset:
Package: gFunctionDatabase
gFunctionDatabaseA submodule of the GLHE Design Tool, containing libraries of g-functions, access and accurate interpolationThe libraries of g-functions available are the following:Configuration NameNumber of casesNotesRectangle1651Standard NxM cases (i.e. N rows, M columns) with uniform spacing. Only one key is required to access a specific configuration.Zoned Rectangle12615Similar to the Rectangle configurations, this configuration type has had rows/ columns removed from the interior in order to represent configurations where the interior spacing of the borefield is greater than the exterior (or perimeter) spacing. This library defines a specific configuration using the N and M values for the exterior as well as Ni and Mi values for the interior section. Two keys are required to access a specific configuration.Open Rectangle2332These configurations represent N by M rectangular cases where boreholes are only located around the perimeter, but the perimeter can have more than one row of boreholes. The number of rows around the perimeter is defined by an integer number ranging from 1-3. Two keys are required to access a specific configuration.C4525This type of configuration may be thought of as an open rectangle configuration that has had some number of boreholes removed from the top side. The current C configurations in the library all have one row of boreholes around the perimeter. The number of holes removed is the secondary key integer value. The range of values depend on the configuration. Two keys are required to access a specific configuration.L495These configurations consist of a line of N boreholes and M boreholes wide. The L cases have a single row of boreholes. Only one key is required to access a specific configuration.U3248This type of configuration is U-shaped, with the opening at the top. The U may have up to 3 perimeter rows of boreholes around all sides of the U. The number of rows around the perimeter is defined by an integer ranging from 1-3. Two keys are required to access a specific configuration.LopU (Lopsided U)9455These configurations consist of U cases that have had some number of boreholes removed from their right side. These configurations all have a single rows of perimeter boreholes. The secondary key is an integer that is represented by the number of boreholes removed. There are two keys required to access a specific configuration.DocumentationSee the online documentation atReadTheDocsand an offlineg-function library guidereport in pdf format.AcknowledgementsThe need for a database of g-functions would not have been realized by the developer(s) without the Department of Energy contract DE-AC05-00OR22725, via a subcontract from Oak Ridge National Laboratory. Computation of the database g-functions was made possible
by the Oklahoma State University High Performance Computing Center. Development of the g-function calculation tool, cpgfunction, was supported via the OG&E Energy Technology Chair.
Package: gfutilities
A small collection of utilties to aid in firmware development for the Glowforge laser cutter.This project is not affiliated nor endorsed by Glowforge, Inc.As Glowforge’s own software is in continuous BETA, so will this software.
It is recommended not to rely on this code for production as Glowforge does
not publish their protocols nor do they provide any change notices.As a result, this code may break without warning.USE AT YOUR OWN RISK!
Package: gfw-creator
GFW CreatorGFW Creator allows you to generate files for the gfw_atmo switch in ECHAM6/JSBACH of AWI-ESMFree software: GNU General Public License v3Documentation:https://gfw-creator.readthedocs.io.FeaturesTODOCreditsThis package was created withCookiecutterand theelgertam/cookiecutter-pipenvproject template, based onaudreyr/cookiecutter-pypackage.History0.1.0 (2020-11-03)First release on PyPI.
Package: gfwlist2pac
Generate fast PAC file from gfwlist. Examples:fast
mode/precise
mode.Fast mode: use O(1) domain lookupPrecise mode: use adblock plus engineUsagepip install gfwlist2pac

usage: gfwlist2pac [-h] [-i GFWLIST] -f PAC -p PROXY [--user-rule USER_RULE]
               [--precise]

optional arguments:
  -h, --help            show this help message and exit
  -i GFWLIST, --input GFWLIST
                        path to gfwlist
  -f PAC, --file PAC    path to output pac
  -p PROXY, --proxy PROXY
                        the proxy parameter in the pac file, for example,
                        "SOCKS5 127.0.0.1:1080;"
  --user-rule USER_RULE
                        user rule file, which will be appended to gfwlist
  --precise             use adblock plus algorithm instead of O(1) lookupPerformanceThe PAC generated by GFWList2PAC is 1900x faster than SwitchySharp.Testing fast mode pac generated by gfwlist2pac
avg: 0.50us

Testing precise mode pac generated by gfwlist2pac
avg: 1.66us

Testing pac generated by switchysharp
avg: 952.99us
Package: gfwlist2privoxy
UsageGenerate action file for privoxy from gfwlist, inspired by clowwindy’sgfwlist2pacand modified from it.It requires Python 3.6+ to run, if you need to run it under Python 2.7.x, please use 1.x of gfwlist2privoxy.pip install gfwlist2privoxy

usage: gfwlist2privoxy [-h] [-i GFWLIST] -f ACTION -p PROXY -t TYPE [--user-rule USER_RULE]

detail arguments:
  -h, --help                    show this help message and exit

  -i GFWLIST, --input GFWLIST   local path or remote url of gfwlist, ignore to use default address

  -f ACTION, --file ACTION      path to the output action file

  -p PROXY, --proxy PROXY       the proxy in the action file, for example, "127.0.0.1:1080"

  -t TYPE, --type TYPE          the proxy type in the action file, should be one of the followings,
                                "http socks4 socks4a socks5 socks5t"

  --user-rule USER_RULE         user rule file, which will be appended to gfwlist

Please set https proxy in your system if you ignore the argument GFWLIST.Example Action FileAn example of generated action file ishere.
Package: gfworkflow
gfworkflowA set of wrappers around git flow andbump2version.InstallationYou can usepipxand havegfworkflowavailable via command linepipx install gfworkflowIf you prefer you can also use pip:pip install gfworkflowPlease note, bumping version is achieved throughbump2version, so make sure it is available via command lineUsageInit git flowInitializes git flow with default configuration, and addsvas version tag prefixgfworkflow --init... which is equivalent to:git flow init -d -f
git config gitflow.prefix.versiontag vBump versionBumps current versiongfworkflow --bump-version {part}partmust bemajor,minor,patchor custom part... which is equivalent to:bumpversion {part}Start releaseStarts a new releasegfworkflow --start-release {part}partmust bemajor,minor,patchor custom part... which is equivalent to:git flow release start {new_version}... except thatnew_versionis calculated with bump2versionFinish releaseFinishes a releasegfworkflow --finish-release... which is equivalent to:git flow release finish -m " - " {release_version}... except that it getsrelease_versionfrom current branchBump releaseBumps a release, which means to:Start releaseBump versionFinish releasepython workflow --bump-release {part}partmust bemajor,minor,patchor custom partv0.1.0
Package: gfx2cuda
Gfx2Cuda - Graphics to CUDA interoperabilityGfx2Cudais a python implementation of CUDA's graphics interopability methods for DirectX, OpenGL, etc.
The main usage is for quick transfer of images rendered with for example Godot or Unity to CUDA memory buffers such as
pytoch tensors, without needing to transfer the image to cpu and back to gpu.For now only DirectX 11 is supported. This can be useful for implementing CUDA ipc (interprocess-communication) for
Windows, since that functionality is not available in vanilla CUDA for Windows.
You would use a DirectX texture as buffer that can be seen by multiple processes without having to download any gpu data
to cpu and back.ExampleRender to texture and copy to pytorch tensorimportgfx2cudaimporttorch# Shape: [height, width, channels]shape=[480,640,4]tensor1=torch.ones(shape).contiguous().cuda()tensor2=torch.zeros(shape).contiguous().cuda()# Create copy of a tensor but as a texturetex=gfx2cuda.texture(tensor1)withtexasptr:tex.copy_to(tensor2)print(tensor2.data)# pytorch tensor should now contain a copy of the texture dataShare texture between process, write on one process and see results in the otherfrommultiprocessingimportProcessimportgfx2cudaimporttorchshape=[4,4,4]deff(handle):tex=gfx2cuda.open_ipc_texture(handle)# Received and opened the textureprint(tex)# >> Texture with format TextureFormat.RGBA32FLOAT (4 x 4)tensor1=torch.ones(shape).contiguous().cuda()withtex:tex.copy_from(tensor1)if__name__=="__main__":tensor=torch.zeros(shape).contiguous().cuda()# Initialize as all zerostex=gfx2cuda.texture(tensor)p=Process(target=f,args=(tex.ipc_handle,))p.start()p.join()withtex:tex.copy_to(tensor)print(tensor.data)# See all ones
Package: gfxhat
https://shop.pimoroni.com/products/gfx-hatCombining a 128x64 pixel monochrome LCD, 6 touch buttons, a 6 zone RGB
backlight and 6 button LEDs the GFX HAT has everything you need to turn
your Pi into a controller and status display.InstallingFull install (recommended):We’ve created an easy installation script that will install all
pre-requisites and get your Pan-Tilt HAT up and running with minimal
efforts. To run it, fire up Terminal which you’ll find in Menu ->
Accessories -> Terminal on your Raspberry Pi desktop, as illustrated
below:Finding the terminalIn the new terminal window type the command exactly as it appears below
(check for typos) and follow the on-screen instructions:curlhttps://get.pimoroni.com/gfxhat|bashIf you choose to download examples you’ll find them in/home/pi/Pimoroni/gfxhat/.Manual install:Library install for Python 3:sudopip3installgfxhatLibrary install for Python 2:sudopip2installgfxhatDevelopment:If you want to contribute, or like living on the edge of your seat by
having the latest code, you should clone this repository,cdto the
library directory, and run:sudopython3setup.pyinstall(orsudo python setup.py installwhichever your primary Python
environment may be)In all cases you will have to enable the i2c and spi buses.LicensingFiles under library/gfxhat/fonts are licensed according supplied OFL
licenses.Bitbuntu and Bitocra fonts from:https://github.com/ninjaaron/bitocraDocumentation & SupportGuides and tutorials -https://learn.pimoroni.com/gfx-hatFunction reference -http://docs.pimoroni.com/gfxhat/GPIO Pinout -https://pinout.xyz/pinout/gfx_hatGet help -http://forums.pimoroni.com/c/support0.0.1Initial Release
Package: gfxls
gfxlsList files in command-line, with thumbnails.Synopsisgfxls [--icon-columns COLS] [--icon-size SIZE] [--name-below-icon] [--uniform-icon-size] [path]ThumbnailsThumbnails are supported for a wide range of file formats, with images and
videos, thanks tovignette.
They follow the FreeDesktop standard and so are reused between different apps.TerminalThumbnails are shown in 24 bits colors ("truecolor") and Unicode characters.ChafaIfchafais installed, it will be used for better image quality rendering.
Note that--uniform-icon-sizedoes not work with chafa for now.DependenciesPython 3.7 at leastvignettepython-prettytablepython-pillowa truecolor-capable terminaloptionally,chafa
Package: gg
Git and GitHub command line swiss army knife for the productivity addicted.ggis a base command, and all the work to create branches, list branches,
clean up branches, connect to Bugzilla etc. are done byplugins.ggis stateful. Meaning, plugins (not all!) need to store additional
information that is re-used for other commands. For example, to
connect to your GitHub account might need to store a GitHub Access Token.Installationggrequires Python 3.The idea is that you installggglobally:sudo pip install ggBut that’s optional, you can also just install it in your current
virtual environment:pip install ggIf you don’t want to installggand its dependencies in either the
current working virtual environmentorin your global system Python,
you can first installpipxthen once you’ve installed and set that up:pipx install ggNext, you need to install some plugins. SeePLUGINS.rstfor a list of available plugins.Bash completionFirst downloadgg-complete.shand save it somewhere on your computer. Then put this line into your.bashrc(or.bash_profileif you’re on OSX):source /path/to/gg-complete.shHow to developTo work on this, first run:pip install -U --editable .Now you can type:gg --helpIf you have install more plugins they will be listed under the same--helpcommand.LintingThis project tracksblackand expects
all files to be as per howblackwants them. Please see its repo for how to
set up automatic formatting.All code needs to beflake8conformant. Seesetup.cfgfor the rules.To test both, run:tox -e lintHow to write a pluginTo write your own custom plugin, (similar togg/builtins/commands/commit)
these are the critical lines you need to you have in yoursetup.py:setup(
    ...
    install_requires=['gg'],
    entry_points="""
        [gg.plugin]
        cli=gg_myplugin:start
    """,
    ...
)This assumes you have a file calledgg_myplugin.pythat has a function
calledstart.Version History0.1Proof of concept
Package: gga-csm
GGA-Identifying-Untrustworthy-PredictionsCode relative to "Identifying Untrustworthy Predictions in Neural Networks by Geometric Gradient Analysis"Leo Schwinn, An Nguyen, René Raab, Leon Bungert, Daniel Tenbrinck, Dario Zanca, Martin Burger, Bjoern EskofierPaper:https://arxiv.org/abs/2102.12196Accepted at UAI 2021We propose a geometric gradient analysis (GGA) of the input gradients of neural networks to detect out-of-distribution data and adversarial attacks. GGA does not require retraining of a given model. Here, we analyze and interpret the gradient of a neural network w.r.t. its input (e.g., saliency map). More precisely, for a given input sample we inspect the geometric relation among all possible saliency maps, calculated for each output class of the model. This is achieved by a pairwise calculation of the cosine similarity between saliency maps. The cosine similarites for a given input can be summarizes with cosine similiarty maps (CSMs)The following image exemplifies how GGA can be used to differentiate different data types for a MNIST model by calculating the respective CSM for every input.Examples of CSMs for the "Standard" CIFAR10 model provided by RobustBench libary (https://github.com/RobustBench/robustbench) are given below:How to use GGAGGA can be installed with the following command:Instalationpip install gga-csmTo compute the cosine similarity map for a given input use the following code:fromgga.CSMimportcosine_similarity_mapscsm=cosine_similarity_maps(model,x)An example is also given in main.pyCitationIf you use our method in a publication please cite:@article{schwinn2021identifying,
  author    = {Leo Schwinn and
               An Nguyen and
               Ren{\'{e}} Raab and
               Leon Bungert and
               Daniel Tenbrinck and
               Dario Zanca and
               Martin Burger and
               Bjoern Eskofier},
  title     = {Identifying Untrustworthy Predictions in Neural Networks by Geometric
               Gradient Analysis},
  journal   = {CoRR},
  volume    = {abs/2102.12196},
  year      = {2021},
}
Package: ggb
GGB Color SpaceThis package is implementation of GGB color space fromDevelopment of a Robust Algorithm for Detection of Nuclei and Classification of White Blood Cells in Peripheral Blood Smear Image.InstallationInstall GGBThis package could be installed viaPyPI.pip3 install ggbor manually:python3 setup.py installBuilding Docker ImageDockerfileis also provided in this project. To build the image:cddocker/
bashdocker.build.shor pull it directly fromDocker Hub:docker pull reshalfahsi/ggbBuilding the DocumentationThe documentations to this package could be built usingSphinx.cddocs/
pip3install-rrequirements.txt
makehtmlThe HTML pages are in docs/build/html.Quick DemoThis package supports various computer vision libraries such as OpenCV and PIL. Complete examples for these computer vision libraries are provided inhere. For the short example in Python3:# import the package and its necessary componentsfromggbimportGGB,ColorSpace# we are using OpenCVimportcv2importurllib.requestasurllibimportnumpyasnp# load image from internetreq=urllib.urlopen('https://github.com/reshalfahsi/GGB/raw/master/docs/img/leukocytes.png')arr=np.asarray(bytearray(req.read()),dtype=np.uint8)img=cv2.imdecode(arr,-1)# convert to GGB Colorggb_image=GGB(image=img,input_color=ColorSpace.BGR).process()# show the resultggb_image.show()# save the image to OpenCV formatimg=ggb_image.write()This package also could be run through CLI:ggb /path/to/image --output /path/to/outputResultLeukocytesFundusCar
Package: ggce
Generalized Green’s function Cluster ExpansionInstallationWe provide detailed information on how to install the GGCE package in ourdocumentation.AcknowledgementsThis software is based upon work supported by the U.S. Department of Energy, Office of Science, Office of Advanced Scientific Computing Research, Department of Energy Computational Science Graduate Fellowship under Award Number DE-FG02-97ER25308. This work also used theory and computational resources of the Center for Functional Nanomaterials, which is a U.S. Department of Energy Office of Science User Facility, and the Scientific Data and Computing Center, a component of the Computational Science Initiative, at Brookhaven National Laboratory under Contract No. DE-SC0012704. We also acknowledge support from the Natural Sciences and Engineering Research Council of Canada (NSERC) and the Stewart Blusson Quantum Matter Institute (SBQMI).CitationIf you use this software, please cite our preprint here:@article{carbone2022generalized,
  title={The Generalized Green's function Cluster Expansion: A Python package for simulating polarons},
  author={Carbone, Matthew R and Fomichev, Stepan and Millis, Andrew J and Berciu, Mona and Reichman, David R and Sous, John},
  journal={arXiv preprint arXiv:2210.12260},
  year={2022}
}We are also in the process ofeditorial/peer review at the Journal of Open Source Software.If you make references to the theory or application of the GGCE methodology, please consider citing the following two manuscripts:Carbone, Reichman et al.andCarbone, Millis et al:@article{carbone2021,
  title={Numerically exact generalized Green's function cluster expansions for electron-phonon problems},
  author={Carbone, Matthew R and Reichman, David R and Sous, John},
  journal={Phys. Rev. B.},
  volume={104},
  number={3},
  pages={035106},
  year={2021},
  publisher={APS}
}

@article{carbone2021bond,
  title={Bond-Peierls polaron: Moderate mass enhancement and current-carrying ground state},
  author={Carbone, Matthew R and Millis, Andrew J and Reichman, David R and Sous, John},
  journal={Phys. Rev. B.},
  volume={104},
  number={14},
  pages={L140307},
  year={2021},
  publisher={APS}
}
Package: ggci
Gitlab Google Chat IntegrationA Python Flask web application that forwards webhook requests
from GitLab to Google Chat.Installationggciis available as a Python package
onPyPI.
It can be installed via standard package managers in Python, e.g. pip:pipinstallggciUsageggciprovides a standard Flask application factorycreate_app():fromggciimportcreate_appapp=create_app()For how to use this application factory refer to the officialFlask
documentation.ConfigurationThere are several ways howggcican be configured.YAML config (default)By defaultcreate_app()looks for a YAML configuration file specified
byGGCI_CONFIGenvironment variable.
Example config:ggci_secret:xxxxxxxuser_mappings:# OPTIONAL, used for mentions; key: GitLab ID, val: Google Chat ID5894317:120984893489384029908# Gandalf4985120:109238409842809234892# Chuck NorrisConfig ObjectAlternatively,create_app()also accepts optional argumentconfigof typeggci.Config.fromggciimportConfig,create_appconfig=Config(ggci_secret='xxxxxxx',user_mappings={5894317:120984893489384029908,# Gandalf4985120:109238409842809234892,# Chuck Norris},)app=create_app(config=config)FeaturesMerge Request Events NotificationsNotifications for merge requests actions.
All notifications for one MR are posted to the same thread (identified
by merge request ID).
Supported actions:open: includes link with title, event author, mentions of assignees
and descriptionapproved: includes link and event authorunapproved: includes link and action authorupdate of assigness: includes link and mentions of current assigneesmerged: includes link and action authorclosed: includes link and action authorreopened: includes link and action author
Package: ggc-list
Python介绍{以下是码云平台说明，您可以替换此简介码云是 OSCHINA 推出的基于 Git 的代码托管平台（同时支持 SVN）。专为开发者提供稳定、高效、安全的云端软件开发协作平台
无论是个人、团队、或是企业，都能够用码云实现代码托管、项目管理、协作开发。企业项目请看https://gitee.com/enterprises}软件架构软件架构说明安装教程xxxxxxxxxxxx使用说明xxxxxxxxxxxx参与贡献Fork 本仓库新建 Feat_xxx 分支提交代码新建 Pull Request码云特技使用 Readme_XXX.md 来支持不同的语言，例如 Readme_en.md, Readme_zh.md码云官方博客blog.gitee.com你可以https://gitee.com/explore这个地址来了解码云上的优秀开源项目GVP全称是码云最有价值开源项目，是码云综合评定出的优秀开源项目码云官方提供的使用手册https://gitee.com/help码云封面人物是一档用来展示码云会员风采的栏目https://gitee.com/gitee-stars/
Package: gg-commit
A plugin forggfor committing branches.InstallationThis is a plugin that depends onggwhich gets automatically
installed if it’s not already available:pip install gg-commitThis plugin is ideally useful in conjunction withgg-startwhich helps you create new
branches.How to developTo work on this, first run:pip install -U --editable .That installs the packageggand its dependencies. It also
installs the executablegg. So now you should be able to run:gg commit --helpVersion History0.1Proof of concept
Package: ggee
A sample Python projectA sample project that exists as an aid to thePython Packaging User
Guide'sTutorial on Packaging and Distributing
Projects.This project does not aim to cover best practices for Python project
development as a whole. For example, it does not provide guidance or tool
recommendations for version control, documentation, or testing.The source for this project is available here.The metadata for a Python project is defined in thepyproject.tomlfile,
an example of which is included in this project. You should edit this file
accordingly to adapt this sample project to your needs.This is the README file for the project.The file should use UTF-8 encoding and can be written usingreStructuredTextormarkdownwith the appropriatekey set. It will be used to generate the project webpage on PyPI and will be
displayed as the project homepage on common code-hosting services, and should be
written for that purpose.Typical contents for this file would include an overview of the project, basic
usage examples, etc. Generally, including the project changelog in here is not a
good idea, although a simple “What's New” section for the most recent version
may be appropriate.