Saravanan666/pypi-org huggingface dataset:
Package: gpr1dfusion
gpr1dfusionInstalling the gpr1dfusion wrapperAuthor: Aaron Ho (11/04/2019)Installation ismandatoryfor this package!For first time users, it is strongly recommended to use the GUI
developed for this Python package. To obtain the Python package
dependencies needed to use this capability, install this package
by using the following on the command line:pip install [--user] gpr1dfusionUse the--userflag if you do not have root access on the system
that you are working on. If you have already cloned the
repository, enter the top level of the repository directory and
use the following instead:pip install [--user] -e .DocumentationDocumentation of the equations used in the algorithm, along with
the available kernels and optimizers, can be found in docs/.
Documentation of the GPR1D module can be found onGitLab pages
Package: gpr-algorithm
An implementation of an extremely simple classifier (GPR) that consists of highly interpretable fuzzy metarules
and is suitable for many applications. GPR is effective in accuracy and area under the receiver operating characteristic
(ROC) curve. We provide a Python implementation of the GPR algorithm to enable the use of the algorithm without using
commercial software tools and open access to the research community. We also added enhancements to facilitate the
reading and interpretation of the rules.Example usageimportnumpyasnpfromgpr_algorithmimportGPRfeature_names=['weight','height']target_names=['sick','healthy']cls=GPR(feature_names=feature_names,target_names=target_names,max_n_of_rules=2,max_n_of_ands=2,n_generations=10,n_populations=10,verbose=False)attributes=np.array([[.9,.1],# sick[1.,.9],# sick[0.,.9],[.1,.1]])labels=np.array([0,# sick0,# sick1,1])cls.fit(attributes,labels)pred_labels=cls.predict(attributes)assertnp.all(labels==pred_labels)rules=cls.rulesassertrules==['IF weight is Low THEN healthy | Support: 0.9500','ELSE sick']
Package: gpravada-helloworld
Hello WorldThis is an example project demonstrating how to publish a python modile to pypiinstallationRun the following to install:pipinstallhelloworldUsagefromhelloworldimportsay_hello# Generate "Hello, World!"say_hello()#Generate "Hello, Everybody!"say_hello("Everybody")Developing Hello WorldTo install helloworld, along with the tools you need to develop and run tests, run the following in your virtualenv:$pipinstall-e.[dev]
Package: gp.recipe.phantomjs
Buildout recipe to install phantomjs/casperjsSupported optionsThe recipe supports the following options:phantomjs-urlUrl to download phantomjsphantomjs-url-baseIf phantomjs-url is not specified, this recipe downloads phantomjs from
phantomjs-url-base. Defaults tohttps://bitbucket.org/ariya/phantomjs/downloads/.
Set this if you want to use your own mirror for phantomjs.phantomjs-url-templateIf phantomjs-url and phantomjs-url-template are
not specified, you can set a template which will populate various
variables. The variables should be wrapped in {}, and the
following values are supported:arch: the architecture. x86_64 or i686phantom_platform: the platform, following the format dictated by the standard phantomjs url (e.g. linux, macosx)phantom_extension: the extension, as specified by the format dictated by the standard phantomjs url (e.g. tar.bz2, zip)platform: the platform, which is one of: linux, darwin, or windowsversion: the version of phantomjsThe default template is:https://bitbucket.org/ariya/phantomjs/downloads/phantomjs-{version}-{phantom_platform}.{phantom_extension}phantomjs-versionTry to retreive phantomjs url from versioncasperjs-urlUrl to download casperjsExample usageWe’ll start by creating a buildout that uses the recipe:>>> write('buildout.cfg',
... """
... [buildout]
... parts = casperjs
...
... [casperjs]
... recipe = gp.recipe.phantomjs
... """)

>>> system('buildout')

>>> ls('bin')
-  buildout
-  casperjs
-  phantomjsContributorsGael PasgrimaudRichard BarrellYusuke TsutsumiChange history2.0.0.0 (2015-02-11)Nothing changed yet.1.9.7.2 (2014-05-10)Improve url generation1.9.7.0 (2014-02-19)Switch to PhantomJS 1.9.7Allow to use buildout’s relative paths option1.9.1Switch to PhantomJS 1.9.1Add phantomjs-url-base option for using phantomjs mirrors.1.9.0.2Switch to PhantomJS 1.9.0Add windows support [agroszer]1.7.0.3Python3 compat1.7.0.4Also support linux3Use correct arch (x86_64/i686) for linux systems1.7.0.2Use correct octal format for chmod1.7.0Upgrade to casperjs 1.0.0-RC4 and PhantomJS 1.7.0Fix executable permissions issues1.3First “stable” releaseDownload
Package: gp.recipe.pip
This package is azc.buildoutrecipe which allow to install python packages usingpipContentsDetailed DocumentationSupported optionsExample usageComplete ExampleContributorsChange history0.5.3 (2012-9-5)0.5.2 (2010-07-16)0.5.1 (2009-12-14)0.5 (2009-12-8)0.4 (2008-12-8)0.3 (2008-12-7)0.2 (2008-12-7)DownloadCode repository:http://www.bitbucket.org/gawel/gprecipepip/Report bugs athttp://www.bitbucket.org/gawel/gprecipepip/issues/Detailed DocumentationSupported optionsThe recipe supports the following options:virtualenvVirtualenv directory. The virtualenv is build in this directory (Default toparts/pip). You can also use an existing one. If avirtualenvoption is
found in the buildout section then this one is used except if the current
section override it.envextra environement vars used with subprocessindexesExtra indexes url.installA list of string passed to pip directly. A sub process is run per line.
This allow to use–install-option.editablesA list of svn url. (svn+http://myrepo/svn/MyApp#egg=MyApp)eggsA list of distribution to install with buildoutThis recipe is based onzc.recipe.egg#scriptsso options used by this
recipe should also works.Example usageWe’ll start by creating a buildout that uses the recipe:>>> write('buildout.cfg',
... """
... [buildout]
... parts = test1
...
... [test1]
... recipe = gp.recipe.pip
... install =
...     PasteScript
... interpreter = python
... scripts =
...     paster = paster
... """)Running the buildout gives us:>>> print 'start', system(buildout)
start...
Installing test1.
...
Generated script '/sample-buildout/bin/paster'.
Generated interpreter '/sample-buildout/bin/python'...Scripts are generated:>>> ls('bin')
-  buildout
-  paster
-  pythonWith the virtualenv binary as executable:>>> print 'cat', cat('bin', 'paster')
cat .../parts/pip/bin/python
...Complete ExampleHere is a config file used to install Deliverance:[buildout]
parts = eggs
download-cache = download
versions = versions

[versions]
# the recipe take care of versions
lxml=2.2alpha1

[eggs]
recipe = gp.recipe.pip
# needed to build static libs for lxml
env =
    STATIC_DEPS=true

# packages to install with pip
install =
    Cython
    --install-option=--static-deps lxml
    http://deliverance.openplans.org/dist/Deliverance-snapshot-latest.pybundle

# packages to install with buildout
eggs =
    pyquery

# svn urls
editables =
    svn+http://...ContributorsGael PasgrimaudChange history0.5.3 (2012-9-5)Remove -E from pip options [Aaditya Sood]0.5.2 (2010-07-16)Tagged [Gael Pasgrimaud]0.5.1 (2009-12-14)Support CFLAGS [Rob Miller]0.5 (2009-12-8)fix #1. bug with multi-index options. patch by Jannis Leidel.use distribute0.4 (2008-12-8)allow to use extra env varsfix bug with editablesallow to share virtualenvs / build_dir between buildoutsavoid duplicated installation by buildout0.3 (2008-12-7)Fixes: Always install a virtualenv. Split line arguments for install0.2 (2008-12-7)Fix error when no download cache is set [Gael Pasgrimaud].Download
Package: gp.recipe.tox
ContentsIntroductionUsageIntroductiontox require a virtualenv installed to run correctly. Since I sort of hate virtualenv I’ve created this recipe to run tox with buildout.UsageAdd this to your buildout:[tox]
recipe = gp.recipe.toxThis will install a virtualenv with tox installed inparts/tox/It’s recommended to add this to your~/.buildout/default.cfg:[buildout]
tox-install-dir = /home/gawel/.buildout/toxThis will install tox’s virtualenv once for all your buildouts. You’ll get abin/tox binaryto run tests
Package: gprint
gprintgprint is a Python module that allows to print color on almost any terminal.How to importfromgprintimport*Usagegprint(message,rgb,new_line,rainbow_mode,return_me)message         = String with the text to be printed.rgb             = A list of 3 Integers from 0 to 255 that represents every color on rgb scale, a color code (RED, BLUE....) can be used too. Defaults to "default" (white text).new_line        = A boolean that represents if you want a new line after the printed text or not. Defaults to True.rainbow_mode    = A boolean that allows the command to print every character from a pseudo-randomized color. Defaults to False.return_me       = A boolean that allows to return of the colorized text instead of printing it directly (useful for other commands like input() ). Defaults to False.Errors and contactguillermo@guillerpsanchez.devFeel free to contact me at any time.Changelog0.0.1- Initial release.0.0.2- Added rainbow_mode.- Added new_line.0.0.3- Fixed problem with randomized colors.- Added return_me.0.0.4- Fixed problem with rainbow_mode, now it should work with new_line.- Fixed problem with "RANDOM" string as color, nowit should work faster and with other flags.- Added new function to get random color, the program now should work faster.0.0.5- Updated code with better syntax.- Now runs faster than ever.0.0.6- Fixed bug with new line on rainbow mode.0.0.7- Fixed error if a string is provided in rgb.- Added error handling.0.0.8- Updated and checked compatibility with python 3.100.0.9
- Updated test
- Updated compability with Python 3.11
Package: gprmc
import gprmcprint(gprmc.convert('$GPRMC,125704.00,A,1304.91055,N,07737.23555,E,0.000,,250622,,,A*7A')){'lat': 13.0818425, 'lon': 77.6205925, 'time': '178704', 'date': '25/06/22'}with indian time and universal time zone{'lat': 13.0818425, 'lon': 77.6205925, 'ind_time': '182704', 'date': '25/06/22', 'utc_time': '125704'}
Package: gprof-nn
GPROF-NNThis Python package implements the GPROF-NN retrieval algorithms for the passive
microwave observations of GPM.OverviewThis package provides a command line application, which implements the principal
data preparation, training and retrieval functionality of GPROF-NN. In addition
to that, thegprof_nnpython package provides utility functions for the
processing of GPM-related data.Quick startRunning any of the released GPROF-NN retrievals should by as easy aspip install -U gprof_nn                # Install gprof_nn
gprof_nn hr l1c_file.HDF5 -o output.nc # Run retrievalDocumentationDetailed documentation is available onreadthedocs.
Package: gpru
GPRU: Unofficial Python Client Library for the OpenAI and Azure OpenAI APIsPyPICI/CDBuild SystemCodeDocstringsGPRU is an unofficial Python client library for the OpenAI and Azure OpenAI APIs with improved usability through comprehensive annotations.WARNING: GPRU is currently under development and any destructive changes may be made until version1.0.0.Installationpip install gpruExamplesOpenAI APINotesBefore anything else, you must ensure that theAPI keyis set as an environment variable namedOPENAI_API_KEY.Here is an example ofchat completion, also known asChatGPT.importosfromgpru.openai.apiimport(ChatCompletionModel,ChatCompletionRequest,OpenAiApi,UserMessage,)key=os.environ["OPENAI_API_KEY"]api=OpenAiApi(key)req=ChatCompletionRequest(model=ChatCompletionModel.GPT_35_TURBO,messages=[UserMessage("Hello!")])chat_completion=api.create_chat_completion(req)print(chat_completion.content)# Greetings! How can I assist you today?Azure OpenAI APIThe following code replaces the same example with theAzure OpenAI API.NotesSet the following environment variables before executing the program.Variable nameValueAZURE_OPENAI_API_ENDPOINTURL in the form ofhttps://{your-resource-name}.openai.azure.com/.AZURE_OPENAI_API_KEYSecret key.AZURE_OPENAI_API_DEPLOYMENT_IDCustom name you chose for your deployment when you deployed a model.importosfromgpru.azure.preview_2023_06_01import(AzureOpenAiApi,ChatCompletionRequest,UserMessage,)endpoint=os.environ["AZURE_OPENAI_API_ENDPOINT"]key=os.environ["AZURE_OPENAI_API_KEY"]deployment_id=os.environ["AZURE_OPENAI_API_DEPLOYMENT_ID"]api=AzureOpenAiApi(endpoint,key)req=ChatCompletionRequest(messages=[UserMessage("Hello!")])chat_completion=api.create_chat_completion(deployment_id,req)print(chat_completion.content)# Greetings! How can I assist you today?
Package: gps2space
Many data are not readily in spatial format. For example, data from wearable devices, surveys, and social media platforms such as Facebook and Twitter have GPS location information, but usually in raw Lat/Long format. For social scientists who do not have strong background in Geographic Information System (GIS), compiling and analyzing spatial data from the aforementioned sources can be tedious and error-prone.GPS2spaceis an open source solution to this issue.The primary goals ofGPS2spaceare:to build spatial data from raw Lat/Long coordinate pairs and make the process less painful for social scientists with little GIS backgroundto build minimum bounding geometry from Points using buffer, convex hull methods, and use activity space as building box to calculate shared space at different scalesto calculate the nearest distance from user-defined landmarksGPS2spacecan be used in studies such as mobility, behavioral science, transportation, etc. For more information, please see theDocumentationCurrently,GPS2spacehas the following functionalities:geodf.df_to_gdf: This function builds unprojected GeoDataFrame from DataFrame with Lat/Long coordinate pairsspace.buffer_spa: This function calculates buffer-based activity space with user-defined level of aggregation, buffer distance, and projectionspace.convex_space: This function calculates convex hull-based activity space with user-defined level of aggregation and projectiondist.dist_to_point: This function calculates nearest Point-Point distance with user-defined projectiondist.dist_to_poly: This function calculates nearest Point-Polygon distance with user-defined projection and search radiusGPS2spacerelies onGeoPandas,Shapely, andSciPy.
Package: gps-anomaly
GPS anomaly detectionpipinstallgps-anomalyUsagefromgps_anomaly.detectorimportAnomalyanomaly=Anomaly()points=[{"latitude":22.32689719997222,"longitude":11.49237269997222,"laptureTime":"2021_11_18_15_22_52_000","altitude":7.386,"sequenceUuid":"1490d87b-d5ba-4df3-b354-c01e7acaae29","heading":195.9560290711052,"orientation":3,"deviceMake":"GoPro Max","deviceModel":"GOPRO","imageSize":"2704x2028","fov":100.4,"photoUuid":"21887915-e624-4246-b7e9-695b44fb6442","filename":"GPAG8025.JPG","path":""},{"latitude":22.32654149997222,"longitude":11.4922393,"captureTime":"2021_11_18_15_22_53_000","altitude":6.029,"sequenceUuid":"1490d87b-d5ba-4df3-b354-c01e7acaae29","orientation":3,"deviceMake":"GoPro Max","deviceModel":"GOPRO","imageSize":"2704x2028","fov":100.4,"photoUuid":"ff612ec5-9479-473a-925b-8336af0b1e1f","filename":"GPAG8026.JPG","path":""},{"Information":{"total_images":2,"processed_images":2,"failed_images":0,"duplicated_images":0,"id":"8323ff0a01fe49d1b55e610279f62828"}}]print(anomaly.anomaly_detector(frames=points))Output[{"Information":{"total_images":2,"processed_images":2,"failed_images":0,"duplicated_images":0,"id":"8323ff0a01fe49d1b55e610279f62828"}}]
Package: gps-api
GPS APIUNIVERSITY OF CAPE TOWN, EEE3097S 2020, Engineering Design: ECE, Design Project: API for Grove-GPS (Air530).Free software: MIT licenseDocumentation:https://gps-api.readthedocs.io.FeaturesTODOCreditsThis package was created withCookiecutterand theaudreyr/cookiecutter-pypackageproject template.History0.1.6 (2020-10-21)Bug fixes.0.1.5 (2020-10-21)Bug fixes.0.1.4 (2020-10-21)New features.0.1.3 (2020-10-19)Bug fixes.0.1.2 (2020-10-19)Bug fixes.0.1.1 (2020-10-19)Bug fixes.0.1.0 (2020-10-19)First release on PyPI.
Package: gpsbabel
Python-GPSBabel: A Python wrapper around the GPSBabel command.
Distributed under terms of the GNU GPL v2 or greater.This package requires Python 2.5 and a supported version of GPSBabel
installed on your system. Supported versions are 1.3.3, 1.3.5, and 1.3.6.GPSBabel should be installed in such a way that typing “gpsbabel -V” on the
command line/Terminal/Command Prompt will produce valid output. This is an
absolute requirement, and any programs which import the gpsbabel module will
fail to start without this being done.This is purely a library package. It has no command line tools or usage. It
is meant for developers to help them extend GPSBabel using Python.InstallationInstallation is accomplished from the command line.user@desktop:~/gpsbabel$ python setup.py installThe above command needs to be performed as root.For DevelopersThis module was developed with a strong preference for using GPX files. As
such, there are objects for each of the major data types in a GPX files, as
well as built conversion methods to translate to and from GPX data.Please examine the documentation embedded in the module for full details on
how to use this module. This can be accomplished by doing the following at
a command prompt:user@desktop:~$ python
Python 2.5.2 (r252:60911, Sep 29 2008, 21:15:13)
[GCC 4.3.2] on linux2
Type “help”, “copyright”, “credits” or “license” for more information.
>>> import gpsbabel
>>> help(gpsbabel)You will then receive several screenfuls of documentation and examples you
may use.
Package: gps-building-blocks
gPS Solutions - Python Library RepositoryThis is not an official Google product.This repository contains modules and tools useful for use with advanced data
solutions on Google Ads, Google Marketing Platform and Google Cloud. It is
maintained by a team of Customer Solutions Engineers (CSE) and Data Scientists
(DS) working within Google's Technical Solutions (gTech) Professional Services
organization (gPS).Contributions are highly encouraged; seeCONTRIBUTING.md.InstallationFor ConsumersInstall via pip:pip install gps-building-blocksFor ContributorsThe following assumes you have successfully created and started a clean
virtual environment. For more information, see the documentation forvenv.Install dependencies via pip:#in gps_building_blocks root folder in the GitHub repo, clean virtualenvcdpy
pipinstall-rrequirements.txtPackage Dependency ManagementIMPORTANT: Please verify that you update any external dependencies onsetup.py.requirements.txtshould be
generated fromsetup.pyandnotedited manually. See instructions below.setup.pyandrequirements.txtboth
contain a list of dependencies. Both of these list serve a similar purpose, but
differ in a fundamental way. Basically,setup.pyis used for dependency
management during deployment, andrequirements.txtis used for development.setup.pyis edited manually andrequirements.txtis automatically generated
from the contents ofsetup.pyusingpip-compilesetup.py: When the user executespip install gps-building-blocks,
this package and all packages listed in setuptools.install_requires()` will
be installed. This list should not include any libraries needed for
development, and version requirements should generally be as generic as
possible to reduce the chance that the end user is installing multiple
versions of the same libraries.requirements.txt: When the user executespip install -r requirements.txt,
all packages listed in the file will be installed. This command is generally
used when the user has cloned the project and is planning to modify it.
Therefore,requirements.txtshould include all packages that are necessary
to develop and test your code. Version requirements can be as strict as
necessary.Updating dependenciesIf need to import a new package or update a dependency:Add it tosetup.py.Make sure you pin your dependency to a particular version to ensure
replicable builds. E.g.:package_name==1.2.3.Runpip-compile --allow-unsafe --generate-hashes --resolver=backtrackingto updaterequirements.txt.Test your code and submit the changes on both files.
Package: gpscript
Install General purpose scripts (Check This) using gpscript commandFirst of all install gpscript. Write following command(s)pip install gpscriptor,git clone https://github.com/ujjwalkar0/gpscript

cd gpscript

python setup.py installIfgpscriptcommand not work, then openpythoninterpreter, and write following command>>>importgpscript>>>gpscript.gpscript.setup()List of all script (Only those packages are in packages.json will shown here.)gpscript listInstall a scriptgpscript install <package_name>List all installed packages...gpscript installedRemove a package...gpscript remove <package_name>Update a package...gpscript update <package_name>
Package: gps-data-codec
gps-data-codecPython library, implemented in rust, including base functions for encoding of gps data.It is used to encode competitors data onhttps://www.routechoices.cominstallpip install gps-data-codec>> import gps_data_codec
>> gps_data_codec.encode([(1628667993, 4.56543, -110.536214), ]) # [(time, lat, lon), ...]
'qtaxyT}tzZhbtaT'
>> gps_data_codec.decode('qtaxyT}tzZhbtaT')
[(1628...Warning:The list of GPS points must be sorted by increasing timestamps.
Package: gpsd_format
A collection of tools for working with the GPSD JSON format (or the same format in a msgpack container).Currently only a subset of message types are supported.A library to read and write messages in the formatA command line tool to validate files in the format and give feedback on statistics and any errors foundInstallation$pipinstallhttps://github.com/skytruth/gpsd_formatDeveloping$gitclonehttps://github.com/SkyTruth/gpsd_format.git$cdgpsd_format$virtualenvvenv$sourcevenv/bin/activate$pipinstall-e.$nosetests--with-coverage
Package: gpsdio-density
A CLI plugin forgpsdiothat creates density rasters.ExamplesSeegpsdio density--helpfor info.$gpsdiodensitytests/data/*.jsonexample-density.tif\-cCOMPRESS=DEFLATE\-cTILED=YES\-cPREDICTOR=2\--jobs2InstallingVia pip:$pipinstallgpsdio-densityFrom master:$gitclonehttps://github.com/SkyTruth/gpsdio-density$cdgpsdio-density$pipinstall.Developing$ git clone https://github.com/SkyTruth/gpsdio-density
$ cd gpsdio-density
$ virtualenv venv && source venv/bin/activate
$ pip install -e .[test]
$ py.test tests --cov gpsdio_density --cov-report term-missing
Package: gpsdio-nmea-driver
Anexperimentalgpsdio driver for parsing NMEA sentences directly into GPSd messages withlibais.InstallationNOTE:This driver is experimental and requires an unreleased version oflibaisandgpsdio.With pip:$pipinstallgit+git://github.com/schwehr/libais.git--upgrade$pipinstallgpsdio-nmea-driverFrom source:$gitclonehttps://github.com/SkyTruth/gpsdio$cdgpsdio-nmea-driver$pythonsetup.pyinstall$pipinstallgit+git://github.com/schwehr/libais.git--upgrade$pipinstallgit+git://github.com/schwehr/libais.git--upgradeDeveloping$gitclonehttps://github.com/SkyTruth/gpsdio-nmea-driver.git$cdgpsdio-nmea-driver$virtualenvvenv$sourcevenv/bin/activate$pipinstall-e.\[dev\]$py.testtests--covgpsdio-nmea-driver--cov-reportterm-missingChangelogSeeCHANGES.mdLicenseSeeLICENSE.txt
Package: gpsdio-sort
A CLI plugin forgpsdiothat creates sort rasters.ExamplesSeegpsdio sort--helpfor info.$gpsdiosortinput.msgoutput.msg\-cmmsi,timestampInstallingVia pip:$pipinstallgpsdio-sortFrom master:$gitclonehttps://github.com/SkyTruth/gpsdio-sort$cdgpsdio-sort$pipinstall.Developing$ git clone https://github.com/SkyTruth/gpsdio-sort
$ cd gpsdio-sort
$ virtualenv venv && source venv/bin/activate
$ pip install -e .[test]
$ py.test tests --cov gpsdio_sort --cov-report term-missing
Package: gpsdistance
GPS DistanceInstall$pipinstallgpsdistanceUsageimportgpsdistanceTwo-dimensional Distance (kilometer based)dist=gpsdistance.gpsdistance()print(dist.get_2distance(lat1,lon1,lat2,lon2))three-dimensional Distance (kilometer based)dist=gpsdistance.gpsdistance()print(dist.get_3distance(lat1,lon1,alt1,lat2,lon2,alt2))