Saravanan666/pypi-org huggingface dataset:
Package: gpcontext-maker
ChatGPContextMakerChatGPContextMaker is a command-line utility that concatenates files in a directory and its subdirectories into a single file. It is particularly useful when you want to provide an entire program as context to an AI like ChatGPT to work on code projects.FeaturesRecursively concatenate files from a directory and its subdirectoriesProvide a default output location (current working directory) and default output file namePrevent overwriting existing files by appending the current datetime to the output file nameEasily installable and usable via pip and PoetryInstallationUsing pipYou can install ChatGPTContextMaker directly from PyPI using pip:pip install gpcontext-makerUsing PoetryAlternatively, you can install ChatGPTContextMaker using Poetry:Install Poetry, if you haven't already:pip install poetryAdd ChatGPTContextMaker to your project's dependencies:poetry add gpcontext-makerUsageAs a command-line toolTo use ChatGPContextMaker as a command-line tool, you can run the following command in your terminal:python -m gpcontext-maker /path/to/input/directory -o /path/to/output/directory -f output_file_name/path/to/input/directory: The directory containing the files you want to concatenate/path/to/output/directory: The directory where the concatenated file will be saved (default: current working directory)output_file_name: The name of the output file (default: context)If a file with the same name already exists in the output directory, the current datetime will be appended to the output file name to prevent overwriting.As a moduleYou can also use ChatGPTContextMaker as a module in your Python script:from chatgpcontextmaker import concat_files_recursive

source_directory = "/path/to/input/directory"
output_directory = "/path/to/output/directory"
output_file_name = "output_file_name"

output_file_path = os.path.join(output_directory, output_file_name)

concat_files_recursive(source_directory, output_file_path)Replace/path/to/input/directory,/path/to/output/directory, andoutput_file_namewith the appropriate paths and file name for your use case. Theconcat_files_recursivefunction will concatenate the files from the input directory and its subdirectories and save the result in the specified output file.Extending ChatGPTContextMakerYou can extend the functionality of ChatGPTContextMaker by modifying the__main__.pyscript in the chatgpcontextmaker package.To contribute to the project, simply fork theGitHub repository, make your changes, and submit a pull request.
Package: gpcsd
GPCSD (Gaussian process current source density estimation)Python implementation of Gaussian process current source density (CSD) estimation.Paper: Klein, N., Siegle, J.H., Teichert, T., Kass, R.E. (2021) Cross-population coupling of neural activity based on Gaussian process current source densities. (preprint:https://arxiv.org/abs/2104.10070)This code estimates current source density over space and time from local field potential (LFP) recordings.Full source code available athttps://github.com/natalieklein/gpcsd.InstallationInstall usingpip install gpcsd.
To get the scripts to reproduce the paper results, get the source code from github:https://github.com/natalieklein/gpcsd.
Dependencies should be automatically installed bypip, but also see the Anacondaenvironment.ymlfile.
It will install two github-based dependencies withpipthat are not able to be included insetup.py.Main source codeDirectorysrc/gpcsdcontains the main source code. There are classesgpcsd1d.pyandgpcsd2d.pyfor the GPCSD models, in addition to some support functions in other files.Simulation studiesSimulation studies are found insimulation_studiesand reproduce all simulation results shown in the paper. Seesimulation_studies/README.mdfor a full description of the scripts.Auditory LFP analysisHere we apply GPCSD1D to two-probe auditory cortex LFPs measured in a macaque monkey. The scripts reproduce all results shown in the paper. Seeauditory_lfp/README.mdfor more information on the scripts.
The auditory LFP data can be downloaded fromhttps://doi.org/10.5281/zenodo.5137888, or using scriptdownload_data.sh.
The code assumes that it will be downloaded intoauditory_lfp/data/.Neuropixels analysisWe apply GPCSD2D to LFP recordings from Neuropixels probes in a mouse. This reproduces the figures shown in the paper. Seeneuropixels/README.mdfor more detail.
The Neuropixels data can be downloaded fromhttps://doi.org/10.5281/zenodo.5150708, or using scriptdownload_data.sh.
The code assumes that it will be downloaded intoneuropixels/data/.
Package: gpdconfig
Linux version of GPD WinControls for GPD Win Mini and GPD Win 4A full replacement for WinControls, including features not exposed in the official app.Shoulder buttons can be reassigned, and mouse clicks can be put anywhere. Start, Select and Menu buttons can be configured.Delay between macro keystrokes can be changed arbitrarily, and the fixed 300ms delay after the end of the macro can be changed.Many more keys can be assigned to buttons, not just ones you can already press.Usage:usage: gpdconfig [-h] [-s FILE] [-d FILE] [-r] [-v] [-c] [-f FIELD] [-k] [config ...]

Configures the mouse-mode controls on GPD Win devices. Replaces the official GPD WinControls app.

positional arguments:
  config                field=value, set a button or config field to the given value.

options:
  -h, --help            show this help message and exit
  -s FILE, --set FILE   Read config from FILE
  -d FILE, --dump FILE  Dump config to FILE
  -r, --reset           Reset to defaults
  -v, --verbose         Output current config to stdout

Informational options:
  -c, --fields          List available fields
  -f FIELD, --field-help FIELD
                        Help for a specific field
  -k, --keys            List available keycodesOne or all settings can be changed on the command line (e.g.gpdconfig ledmode=solid colour=FFFFFF) or from an input file.The following fields take keycodes (use '-k' to get a list of all valid keycodes, including mouse buttons):'lu', 'ld', 'll', 'lr', 'du', 'dd', 'dl', 'dr', 'a', 'b', 'x', 'y', 'l1', 'r1', 'l2', 'r2', 'l3', 'r3', 'start', 'select', 'menu', 'l41', 'l42', 'l43', 'l44', 'r41', 'r42', 'r43', 'r44'The following fields take numbers:'ldead', 'lcent', 'rdead', 'rcent', 'l4delay1', 'l4delay2', 'l4delay3', 'l4delay4', 'r4delay1', 'r4delay2', 'r4delay3', 'r4delay4'The following fields take other values:'rumble' (0,1,2) , 'ledmode' (off,solid,breathe,rotate), 'colour' (RRGGBB in hex)Have fun!James Churchillpelrun@gmail.com
Package: gpds
Simple GET-PUT-DELETE service (GPDS) to (temporary) store your files as an alternative to NFS shared folders.It usesGunicornWSGI server as base and pass through all it’s options. So you can simply start it using next commandgpdsWORKING-DIRECTORY, whereworking directoryis path to store and read files (by default, it’ll be started on 8000 port).This server can process only three request types, so try them withcurlfrom your console:curl -i -X PUT -T somefile.jpg http://localhost:8000/

HTTP/1.1 201 Created
Server: gpds/0.3.1
Date: Mon, 04 Feb 2013 16:06:27 GMT
Connection: close
Location: /55/1c/551ced9e9d54658155ae8b4197afd32087a1c551.jpg
Content-Length: 0So, what can we see here. GPDS created new file on yours file system (201 Created HTTP response) and this file is accessible on next addresshttp://localhost:8000/55/1c/551ced9e9d54658155ae8b4197afd32087a1c551.jpg. This big string551…551is SHA1 hash from uploaded file content. So we can do next trick:curl -i -X PUT -T somefile.txt http://localhost:8000/

HTTP/1.1 200 OK
Server: gpds/0.3.1
Date: Mon, 04 Feb 2013 16:17:12 GMT
Connection: close
Location: /55/1c/551ced9e9d54658155ae8b4197afd32087a1c551.jpg
Content-Length: 0As you can see,Locationis the same as in previous request. GPDS won’t rewrite uploaded file.OK, let’s try to access this file:curl -i http://localhost:8000/55/1c/551ced9e9d54658155ae8b4197afd32087a1c551.jpg

HTTP/1.1 200 OK
Server: gpds/0.3.1
Date: Mon, 04 Feb 2013 16:38:26 GMT
Connection: close
Content-Length: 56737
Content-Type: image/jpeg

...file content...Cool, our service sent our image for us properly. Now we’ll delete this file and try to access it one more time:curl -i -X DELETE http://localhost:8000/55/1c/551ced9e9d54658155ae8b4197afd32087a1c551.jpg

HTTP/1.1 204 No Content
Server: gpds/0.3.1
Date: Mon, 04 Feb 2013 16:40:49 GMT
Connection: close
Content-Length: 0

curl -i http://localhost:8001/55/1c/551ced9e9d54658155ae8b4197afd32087a1c551.jpg

HTTP/1.1 404 Not Found
Server: gpds/0.3.1
Date: Mon, 04 Feb 2013 16:41:09 GMT
Connection: close
Content-Length: 0As you can see GPDS successfully erased your file from disk and next time sent not found response for you.Ok, now we’ll try to do previous work with Python:fromrequestsimportput,get,deletefilename='somefile.jpg'server='http://localhost:8000'r=put('%s/%s'%(server,filename),data=open(filename,'rb'))result=''.join([server,r.headers['Location']])printresult# http://localhost:8000/2c/f3/2cf3af58d2416d40e18ca5e38f5baabc8a092765.jpgr=get(result)printr.headers['Content-Type']# image/jpeg (our image sent for us)for_inrange(2):r=delete(result)printr.status_code# 1st time - 204 (No Content = deleted),# 2nd time - 404 (Not Found = already deleted)As you can see, we usedrequestslibrary, best way to do HTTP request in Python.
Package: gpdvega
``gpdvega`` is a bridge between GeoPandas_ a geospatial extension of Pandas_and the declarative statistical visualization library Altair_,which allows to seamlessly chart geospatial data.The source is available on `GitHub <https://github.com/iliatimofeev/gpdvega>`_... _Pandas: http://pandas.pydata.org/.. _GeoPandas: http://geopandas.org/.. _Altair: http://altair-viz.github.io/
Package: gp-emulator
GP emulatorsGaussian process (GP) emulators for PythonAuthorJ Gómez-Dansj.gomez-dans@ucl.ac.ukThis repository contains an implementation of GPs for emulation of radiative transfer models in Python. This particular implementation is focused on emulating univariate output models (e.g. emulating reflectance or radiance for a single sensor band) and multivariate outputs (e.g. emulating reflectance/radiance over the entire solar reflective domain). The emulators also calculate the gradient of the emulated model and the Hessian.DocumentationYou can read the documentation in [http://http://gp-emulator.readthedocs.io]http://gp-emulator.readthedocs.ioInstallationYou can install the software with either [conda]https://docs.anaconda.com/anaconda/conda install -c jgomezdans gp_emulatorsor usingpip...pip install gp_emulatoror just clone/download the repository and invoke thesetup.pyscript:python setup.py installThe only requirements are (if memory serves) numpy and scipy.At some point, pointers to a library of emulators of popular vegetation and atmospheric RT codes will be provided.CitationIf you use this code, we would be grateful if you cited the following paper:Gómez-Dans, J.L.; Lewis, P.E.; Disney, M. Efficient Emulation of Radiative Transfer Codes Using Gaussian Processes and Application to Land Surface Parameter Inferences. Remote Sens. 2016, 8, 119. <DOI:10.3390/rs8020119> <http://www.mdpi.com/2072-4292/8/2/119>
Package: gperf
Graphing performance or system activity information.using the output ofsartools.RequirementsmatplotlibHow to useUsage: gperf.py [options]

Options:
  -h, --help            show this help message and exit
  -i INPUT_FILE, --input=INPUT_FILE
  -o OUTPUT_DIR, --ouput=OUTPUT_DIR
  --csv
  --stat
  --minor
  --height=HEIGHT
  --width=WIDTHRecording all system activity.$ sar -A -o [output filename] [interval]

$ sar -A -o activity_result 1Convert result format into csv.$ sadf -d -- -A [output filename] > [csv filename]

$ sadf -d -- -A activity_result > activity_result.csvCreate graph form-dformat form sadf.$ python gperf.py -i activity_result.csv -o output_dir

or

$ python gperf.py --input activity_result.csv --output output_dir
Package: gpf
PurposeTheGeocom Python Frameworkorgpfprovides a set of Python modules that contain tools, helpers, loggers etc. for a more pleasant Python scripting experience inArcGISand/orGEONIS.
GIS users who need to write geoprocessing scripts witharcpymight benefit from importing thegpfmodule into their script as well.Thegpfmodule in this repository has been developed forPython 2.7.14+ (ArcGIS Desktop/Server).
However, it is also available for Python 3.6+ (ArcGIS Pro, Server) onGitHubandPyPI.Geocom customers who need to write GEONIS menu or form scripts should also look into thegntoolsmodule.DocumentationThe completegpfdocumentation can be found atRead the Docs.RequirementsArcGIS Desktop and/or ArcGIS Server 10.6 or higherPython 2.7.14 or higher (along with thearcpymodule)InstallationThe easiest way to install the Geocom Python Framework, is to usepip, a Python package manager.
Whenpipis installed, the user can simply run:python-mpip install gpfLicenseApache License 2.0© 2019 Geocom Informatik AG / VertiGIS & contributors
Package: gpf3
PurposeTheGeocom Python Frameworkorgpfprovides a set of Python modules that contain tools, helpers, loggers etc. for a more pleasant Python scripting experience withArcGIS Pro.
GIS users who need to write geoprocessing scripts witharcpymight benefit from importing thegpfmodule into their script as well.Thegpfmodule in this repository has been developed forPython 3.6+ (ArcGIS Pro, Server).
However, it is also available for Python 2.7.14+ (ArcGIS Desktop/Server) onGitHubandPyPI.Geocom customers who need to write GEONIS menu or form scripts should be aware of thegntoolsmodule.
However, this module is not available for ArcGIS Pro, as it is Python 2.7 only.RequirementsArcGIS Pro 2.3 or higherPython 3.6 or higher (along with thearcpymodule)InstallationThe easiest way to install the Geocom Python Framework, is to use the built-in package manager in ArcGIS Pro.
Navigate to Options > Python and select the environment in which you wish to install thegpfpackage.Alternatively, you can usepip, a Python package manager.
Whenpipis installed, the user can simply run:python-mpip install gpf3NoteAlthough the PyPI package is calledgpf3, the name of the import package isgpf.
This means, that you can import it into your own modules usingimport gpf.DocumentationThe completegpfAPI reference can be foundhere.LicenseApache License 2.0Â© 2019 Geocom Informatik AG / VertiGIS & contributors
Package: gpfanova
# Gaussian Process Functional ANOVAImplementation of a functional ANOVA (FANOVA) model, based partly on the model in[Bayesian functional ANOVA modeling using Gaussian process prior distributions](http://projecteuclid.org/euclid.ba/1340369795). To implement a
FANOVA model, an underlying general framework is defined for modeling functional
observations:$$ Y(t) = X beta(t),$$where
$$ Y(t) = [y_1(t),dots,y_m(t)]^T, $$
$$beta(t) = [beta_1(t),dots,beta_f(t)]^T,$$
$$ X: m times f$$
for a given time $t$. The design matrix $X$ defines the relation between the functions $beta$ and observations $y$. In general, the rank of $X$ should match the number of functions $f$. The FANOVA model can then be described by a specific form of $X$ such that$$ y_{i,j}(t) = mu(t) + alpha_i(t) + beta_j(t) + alphabeta_{i,j}(t). $$
Package: gpfetcher
Github Projects Fetcher (gp-fetcher)This a tool to fetch your github project details so that your time for writing an API is saved.Simple to use tool made in Python with bs4(Beautiful Soup)Supports Apple Silicon MacsInstall the latest version to get full supportLink to the package:pypi.org/project/gpfetcherOnly if you want to skip the documentation then checkout this videohereDocumentationAssuming python and pip installed on your systemCheckout resources to installpythonandpipif not installedInstalling the package gpfetcherFor linux and macpip3installgpfetcherFor windowspipinstallgpfetcherThen use the package in your python file as shown belowUsagefromgpfetcherimportscraperif__name__=="__main__":username="< github username here >"scraper.scrape(username)After you get the message below, check your root where your .py file is , a json file is generated that can be used in your projectsDone!checkoutyour{github-username-here}-projects.jsonfileattherootofthisprojectdirectoryYou are done!go ahead and use this json to parse in your projectSample Output{"gp-fetcher":{"src":"https://github.com//DevGautam2000/gp-fetcher","about":"You don't want to spend a lot of time just writing a block of code for fetching your projects from github.So, go ahead and use this python package to make your life easier","tech_stack":["Python"],"license":"MIT License","stars":"","forked_by":""},"infoScraper":{"src":"https://github.com//DevGautam2000/infoScraper","about":"Scraper written in Python using bs4 to scrape results from SMIT results","tech_stack":["Python"],"license":"MIT License","stars":"","forked_by":""},"results-web":{"src":"https://github.com//DevGautam2000/results-web","about":"The web app for Results","tech_stack":["JavaScript"],"license":"","stars":"","forked_by":""},"results.github.io":{"src":"https://github.com//DevGautam2000/results.github.io","about":"","tech_stack":["Python"],"license":"","stars":"","forked_by":""},"resume":{"src":"https://github.com//DevGautam2000/resume","about":"","tech_stack":["JavaScript"],"license":"","stars":"","forked_by":""},"DevGautam2000":{"src":"https://github.com//DevGautam2000/DevGautam2000","about":"Config files for my GitHub profile.","tech_stack":[],"license":"","stars":"","forked_by":""},Also fetches the forked repos separately"forked_by":""},"FORKED":{"Making-Musical-Apps":{"src":"https://github.com//DevGautam2000/Making-Musical-Apps","about":"Resources for the O'Reilly book \"Making Musical Apps\"","tech_stack":["Pure Data"],"license":"","from":"Forked from nettoyeurny/Making-Musical-Apps","stars":""},"Simple-Guitar-Tuner":{"src":"https://github.com//DevGautam2000/Simple-Guitar-Tuner","about":"Android app","tech_stack":["Java"],"license":"","from":"Forked from siemanko/Simple-Guitar-Tuner","stars":""}}}AuthorGautam Chandra Saha2021 © Gautam Chandra SahaLicenseMIT
Package: gpflib
GPF简介gpflib库提供了一种基于网格的自然语言结构分析框架（Grid based Parsing Framework，GPF）。该框架中，语言结构分析被泛化为识别语言单元和建立语言单元之间的关系、为语言单元和关系赋予属性的过程。通过gpflib，用户可以实现可控的自然语言结构计算。GPF具有以下特点：利用网格结构分析语言单元和关系，通过键值方式对其属性进行描述和计算；采用数据表表示不同类型的知识；借助有限状态自动机剖析语言的具体应用场景；定义了数据交换标准接口，可以利用深度学习方法的结果，在网格中进行融合计算。GPF具有良好的包容性，该框架以符号计算为主导，由它接收输入、输出结果，具有更好的可控性、可扩展性和可解释性。说明文档GPF说明文档及使用示例：http://gpf.blcu.edu.cn.参考书目《自然语言结构计算——GPF结构分析框架》——荀恩东著引用如果在工作中使用了 GPF，您可以引用：荀恩东.自然语言结构计算——GPF结构分析框架[M].北京:人民邮电出版社.2022
Package: gpfy
$GP \mathcal{f} Y_\ell^m$A lightweight library in JAX for Gaussian process with spherical kernels and sparse spherical harmonic inducing features.$GP \mathcal{f} Y_\ell^m$ is based on the simpleflax.structdataclass. It implements(Eleftheriadis et al. 2023), which revisits the Sparse Gaussian Process with Spherical Harmonic features fromDutordoir et al., and introduces:PolynomialDecaykernel with "continuous" depth.Sparse orthogonal basis derived fromSphericalHarmonicsfeatures with phase truncation.InstallationLatest (stable) release from PyPIpipinstallgpfyDevelopment versionAlternatively, you can install the latest GitHubdevelopversion.
First create a virtual enviroment via conda:condacreate-ngpfy_envpython=3.10.0
condaactivategpjax_envThen clone a copy of the repository to your local machine and run the setup configuration in development mode:gitclonehttps://github.com/stefanosele/GPfY.gitcdGPfY
makeintallThis will automatically install all required dependencies.Finally you can check the installation via running the tests:maketest
Package: gpgdo
# IntroductionIn brief, gpgdo decreases effort of using gpg encrypted files.
Example use-case:$ gpgdo edit my-text-file.gpgIt is equivalent to doing:$ gpg -d -o /dev/shm/plain-text my-text-file.gpg$ edit /dev/shm/plain-text$ gpg -e -r USER-ID -o my-text-file.gpg /dev/shm/plain-text$ rm -f /dev/shm/plain-textgpgdo automates manual decryption and encryption when executing a specific
Command that operates on content that is located in encrypted files.Security of gpgdo relies on at least 3 factors:security of /dev/shm (which is the security of virtual memory)file permissions (uses mkstemp() to create a file under /dev/shm)deleting the plain text file after useTerminology: Command (with capital C) refers to the executable that gpgdo
executes.gpgdo takes a Command with arguments to run, decrypts its gpg file arguments
under /dev/shm, executes the Command for plain text files,
and finally re-encrypts modified files. If the Command fails, plain text files
are not re-encrypted. The plain text files are removed always.Argument processing for gpgdo specific option arguments ends at “–“.
Giving “–” is only necessary if option arguments are given for gpgdo.gpgdo finds the recipients from decrypted files by the information provided
by gpg and automatically uses the same recipients when re-encrypting files.The given gpg name on command line does not need to exist.
In this case, the recipient must be provided with
-r USER-ID and “–” must be used to terminate gpgdo argument list:$ gpgdo -r USER-ID – edit non-existing-file.gpgA plain text file is encrypted to replace the original gpg file
only if two conditions hold:
1. The sha256sum of its content changes
2. Command returns success## CAVEATSOnly filenames that end with “.gpg” are decrypted.## BUGSOption arguments with a gpg filename directly attached are not recognized.
This does not work:$ gpgdo Command –argument=foo.gpgCommand will read the encrypted file and most probably fail or do the wrong
thing. But this works:$ gpgdo Command –argument foo.gpg
Package: gpged
GPG Encrypt Decrypt GUI: gpgedgpgedis a QT6 python application that makes use of GnuPG to present a simple interface for basic pgp operations.Install with Pip from Pypi:pip install gpgedInstall with Pip from source:# clone the repo thencdgpged
pipinstall.Install with pipenv from source:pipenv install --system --deployRun gpgedgpgedNice UIEncrypt with multiple public keysDecrypt messages
Package: gpg-forward
gpg-forward - Forward GPG agent over SSHThis utility implements GPG agent socket forwarding over SSH, in a way similar
to the one described inGnuPG wiki.RequirementsGnuPG>= 2.1.1OpenSSH>= 6.7Installation$pipinstallgpg-forwardUsage$gpg-forwarduser@target.host.example.comCreditsCreated byPiotr ŚliwkaLicenseMIT
Package: gpg-keymanager
GPG keyring and password store key management utilitiesThis python module contains utilities to manage user PGP keys and encryption keys
used for encryping items in GNU password store.PGP key filesystem directoryLoading PGP public keys from a filesystem directory can be used to allow teams to
publish member PGP keys without using key servers. This procedure is not secure by
itself but is reasonable enough when combined with access controls to the directory
and some external identity management tools like LDAP lookups.Any PGP key imported from such access controlled filesystem directory or git
repository should still be checked with PGP fingerprint as usual.GNU password store encryption key managementThis utility helps managing encryption keys used inpasspassword store, which can
encrypt items in the store to one or multiple PGP key IDs per folder.