Saravanan666/pypi-org huggingface dataset:
Package: gdal-build-debug
gdal_build_debugA suite to test whether gdal built with the dependencies and formats you
want.For more information, seehttps://trac.osgeo.org/gdal/wiki/BuildingOnUnixFree software: MIT licenseDocumentation:https://gdal-build-debug.readthedocs.io.Featurescommand line interface for integration with bash GDAL build pipelinesexports test functions for use in python GDAL build pipelinesCreditsThis package was created withCookiecutterand theaudreyr/cookiecutter-pypackageproject template.History0.1.0 (2017-11-12)First release on PyPI.
Package: gdal-ecw
gdal-ecwGDAL ecw plugin as a python wheel for easy installation.DLL and LICENSE files were copied fromgisinternalsSDK version: MSVC 2017	x64		release-1916-x64-gdal-3-4-3-mapserver-7-6-4.zip	2022-05-08 11:43:32	53306 kB	Compiled binaries in a single .zip packageSDK version: MSVC 2017	win32	release-1916-gdal-3-4-3-mapserver-7-6-4.zip	2022-05-08 11:43:19	46085 kB	Compiled binaries in a single .zip package
Package: gdal-sid
gdal-mrsidGDAL MrSid plugin as a python wheel for easy installation.DLL and LICENSE files were copied fromgisinternalsSDK version: MSVC 2019	x64		release-1928-x64-gdal-3-6-4-mapserver-8-0-1.zip	2023-06-14 15:17:47	55309 kB	Compiled binaries in a single .zip packageSDK version: MSVC 2019	win32	release-1928-gdal-3-6-4-mapserver-8-0-1.zip	2023-06-14 13:46:31	49081 kB	Compiled binaries in a single .zip packageVersion compatibilitygdal-sid==x.y.patchis compatible with anygdal>=x.y,<x.(y+1),
meaninggdal-sid==3.6.4is compatible withgdal==3.6.xfor anyx.gdal-sidis tested against Christoph Gohlke's binary wheelsGDAL>=3.5 -https://github.com/cgohlke/gdal.whl/releasesGDAL<3.5 -https://www.lfd.uci.edu/~gohlke/pythonlibs/Troubleshooting:I get an error message:ERROR 1: Can't load requested DLL: ..\site-packages\osgeo\gdalplugins\gdal_MrSID.dll 127: The specified procedure could not be found.You might not have Microsoft Visual C++ 2019 Redistributable - Download and install vc_redist.x86.exe or vc_redist.x64.exe fromhttps://learn.microsoft.com/en-us/cpp/windows/latest-supported-vc-redist?view=msvc-170gdal-sid==3.4.xis not compatible withgdal==3.4.3seehttps://github.com/talos-gis/gdal-sid/issues/1No error message is given but the format is still unsupported after installationIn some gdal binary distribution versionsgdalpluginsdirectory is not set up by default:Either setGDAL_DRIVER_PATHenvironment variable to thegdalpluginsdirectory oruncomment the section inosgeo/__init__.py
Package: gdaltokmz
gdaltokmz allows converting from any GDAL-supported raster geographicformat to the KMZ format used by the free Google Earth visualizationtool.To perform the conversion, call::gdaltokmz.convert_gdal_to_kmz(gdalfile,kmzfile)Where gdalfile is the path to the input file, and kmzfile is the nameof the file to be output.This module requires that the gdal and osr python modules be installed.More information on these can be found at http://www.gdal.org.This module requires the presence of ImageMagick's "convert" tool. Itslocation is hardcoded into the library as /usr/lib/convert; make sureto change it if your copy lives somewhere else (e.g., on a Windowsmachine). See http://www.imagemagick.org.To view the output files requires Google's free Google Earth program.See http://earth.google.com.
Package: gdal-utils
This gdal-utils Python package is a sub-set of the GDAL Osgeo Python package.If you’ve installed the GDAL package you have these utils. However you
may wish to get a newer version of the utilities without changing GDAL,
that’s what this package is for.For using and developing the utils please refer to the osgeo documentation
and to theGDAL API Tutorial.We don’t systematically test the utils against a different versions of gdal.
Versioning of GDAL and gdal-utils are independent from each other, today’s
gdal-utils v3.3 works with GDAL v3.4 but it might not with v3.2. We
recommend upgrading to the latest versions of each as general practice. See
‘Packaging’ below for how to test compatibility.Dependenciesgdal (the osgeo package)numpy (1.0.0 or greater) and header files (numpy-devel) (not explicitly
required, but many examples and utilities will not work without it)Installationgdal-utils can be installed from pypi.org:$ python -m pip install gdal-utilsAfter install the utilities are inPYTHYONHOME\Scriptsand can be
invoked like regular programs,gdal_editinstead ofgdal_edit.pyorpython path/to/gdal_edit.pyfor example.PackagingStarting March 2022 installing gdal-utils with pip will use Setuptools’
_console_scripts_, which turn the scripts into native platform
executables that call the script using the appropriate platform interpreter.
This means you no longer need to something similar as a post-install step.
If this causes problems with your distribution please file an issue on
Github.Recipe for testing gdal-utils compatibility against your installed GDAL
binaries:# Get installed GDAL version
export _GDALVER=`gdal-config --version``

# verify python osgeo is present
python -c "from osgeo import gdal;print(f'Python Osgeo version: {gdal.__version__}')"

git clone https://github.com/OSGeo/gdal.git --depth=50
git remote set-branches origin "*"
git fetch -v --depth=50

# Install current version of gdal-utils
cd swig/python/gdal-utils
pip install .
# OR, to use published PyPi.org version:
# pip install gdal-utils

# set source code tree to match binary gdal version
git checkout v$_GDALVER

cd gdal/autotest
python install -r requirements.txt
pytest ./pyscriptsCoding best practicesUse existing scripts for style guidelines, generally newer ones are
will be more pythonic than old.Passes _flake8_ lint test.When called without arguments script should return a message prefixed
‘Usage: ` and use return code2.:» gdal_edit
Usage: gdal_edit [--help-general] [-ro] [-a_srs <srs_def>]
    ...
    [-unsetmd] [-oo <NAME>=<VALUE>]... [-mo <META-TAG>=<VALUE>]... <datasetname>

Edit in place various information of an existing GDAL dataset.
Package: gdapi-python
# gdapi-pythonA Python client for Rancher APIs## Installingpip install gdapi-python## Running as command line client```bashexport GDAPI_URL=http://localhost:8080/v1gdapi --help# curl -s http://localhost:8080/v1/widgets?foo=bargdapi list-widget --foo=bar# curl -s -X POST http://localhost:8080/v1/widgets -H 'Content-Type: application/json' -d '{ "foo" : "bar" }'gdapi create-widget --foo=bar# curl -s -X PUT http://localhost:8080/v1/widgets/42 -H 'Content-Type: application/json' -d '{ "foo" : "bar" }'gdapi update-widget --id=42 --foo=bar# curl -s -X DELETE http://localhost:8080/v1/widgets/42gdapi delete-widget --id=42```### Environment variables|Name             | Description    | Example                                 ||-----------------|----------------|-----------------------------------------||GDAPI_URL        | URL of the API | http://localhost:8080/v1                ||GDAPI_ACCESS_KEY | Access Key     | 4C27AB31828A4E469C09                    ||GDAPI_SECRET_KEY | Secrey Key     | fDxEzyxdFMWbmugstPpzykj2qA84Tn9DPDiAc3Sb|The above environment variables can be passed as arguments on the command line such as `--url`, `--access-key`, and `--secret-key`.### Bash AutocompletionAdd the below to your `.bashrc` or similar profile script:```eval "$(register-python-argcomplete gdapi)"```## Using API```pythonimport gdapiclient = gdapi.Client(url='http://localhost:8080/v1',access_key='4C27AB31828A4E469C09',secret_key='fDxEzyxdFMWbmugstPpzykj2qA84Tn9DPDiAc3Sb')# curl -s http://localhost:8080/v1/widgets?foo=barclient.list_widget(foo='bar')# curl -s -X POST http://localhost:8080/v1/widgets -H 'Content-Type: application/json' -d '{ "foo" : "bar" }'client.create_widget(foo='bar')# curl -s -X PUT http://localhost:8080/v1/widgets/42 -H 'Content-Type: application/json' -d '{ "foo" : "bar" }'widget = client.by_id_widget('42')client.update(widget, foo='bar')# curl -s -X DELETE http://localhost:8080/v1/widgets/42widget = client.by_id_widget('42')client.delete(widget)# Links# curl -s -X DELETE http://localhost:8080/v1/widgets/42/foobarswidget = client.by_id_widget('42')widget.foobars()```# ContactFor bugs, questions, comments, corrections, suggestions, etc., open an issue in[rancher/rancher](//github.com/rancher/rancher/issues) with a title starting with `[gdapi-python] `.Or just [click here](//github.com/rancher/rancher/issues/new?title=%5Bgdapi-python%5D%20) to create a new issue.
Package: gdaps
The GDAPS library allows Django to make real "pluggable" apps.A standard Django "app" isreusable(if done correctly), but is notpluggable,
like being distributed and "plugged" into a Django main application without modifications. GDAPS is filling this gap.The reason you want to use GDAPS is:you want to create an application that should be extended via plugins. GDAPS consists of a few bells and twistles where Django lacks "automagic":Apps are automatically found using setuptools' entry pointsApps can provide their own URLs (they are included and merged into urlpatterns automatically)Apps can defineInterfaces, that other GDAPS apps then can implementApps can provide template hooks that can be filled with plugins' contentLimitationsGDAPS interfaces cannot inherit classes that import models (likePermissionRequiredMixin), as the declaration is too early in the Django setup process, and apps aren't loaded at that time.ContributeYou can support me in various ways.Test the code and write bug reports.Write codeSuggest ideas (as bug report)CreditsI was majorly influenced by other plugin systems when writing this code, big thanks to them:Marty Alchin'sSimple plugin frameworkThePyUtiliblibraryThe Pretix ecosystemYapsyDjango-Rest-FrameworkGraphene-DjangoLicenseGDAPS is licensed under theBSD License, seeLicense.
Package: gdaps-frontend-vue
Gdaps-Frontend-Vue PluginWhen thegdaps.frontendapp is activated inINSTALLED_APPS, thestartpluginmanagement command must be extended by a frontend part likegdaps-frontend-vue: When a new plugin is created, it creates afrontend/myproject-plugin-fooplugindirectory wth some boilerplate files in that plugin.InstallAs prerequisite, it is recommended to install vue globally, you can do that withyarn global add @vue/cli @vue/cli-service-global(GDAPS tries to do that during theinitfrontendcall).Now execute./manage.pyinitfrontendThis will install a full Vue.js frontend (using Vue CLI). You can startyarn serve(ornpm run serve, depending on your choice) in the frontend directory afterwords. You then need to start Django using./manage.py runserveras usual to enable the Django backend. GDAPS manages
all the needed background tasks to transparently enable hot-reloading
when you change anything in the frontend source code now.
Package: gdata
The Google data Python client library makes it easy to interact with
Google services through the Google Data APIs. This library provides data
models and service modules for the the following Google data services:
- Google Calendar data API
- Google Contacts data API
- Google Spreadsheets data API
- Google Document List data APIs
- Google Base data API
- Google Apps Provisioning API
- Google Apps Email Migration API
- Google Apps Email Settings API
- Picasa Web Albums Data API
- Google Code Search Data API
- YouTube Data API
- Google Webmaster Tools Data API
- Blogger Data API
- Google Health API
- Google Book Search API
- Google Analytics API
- Google Finance API
- Google Sites Data API
- Google Content API For Shopping
- Google App Marketplace API
- Google Content API for Shopping
- core Google data API functionality
The core Google data code provides sufficient functionality to use this
library with any Google data API (even if a module hasn’t been written for
it yet). For example, this client can be used with the Notebook API. This
library may also be used with any Atom Publishing Protocol service (AtomPub).
Package: gdata-python3
The Google data Python client library makes it easy to interact with
Google services through the Google Data APIs. This library provides data
models and service modules for the the following Google data services:
- Google Calendar data API
- Google Contacts data API
- Google Spreadsheets data API
- Google Document List data APIs
- Google Base data API
- Google Apps Provisioning API
- Google Apps Email Migration API
- Google Apps Email Settings API
- Picasa Web Albums Data API
- Google Code Search Data API
- YouTube Data API
- Google Webmaster Tools Data API
- Blogger Data API
- Google Health API
- Google Book Search API
- Google Analytics API
- Google Finance API
- Google Sites Data API
- Google Content API For Shopping
- Google App Marketplace API
- Google Content API for Shopping
- core Google data API functionality
The core Google data code provides sufficient functionality to use this
library with any Google data API (even if a module hasn’t been written for
it yet). For example, this client can be used with the Notebook API. This
library may also be used with any Atom Publishing Protocol service (AtomPub).
Package: gdata-vaas
gdata-vaasAn SDK to easily utilize G DATA VaaS.Verdict-as-a-Service(VaaS) is a service that provides a platform for scanning files for malware and other threats. It allows easy integration in your application. With a few lines of code, you can start scanning files for malware.What does the SDK do?It gives you as a developer a functions to talk to G DATA VaaS. It wraps away the complexity of the API into 3 basic functions.for_sha256If you calculate the sha256 for a file, you can request that sha256 against G DATA VaaS. It's the fastest way to get a verdict from our service.for_urlIf you want to request if a file behind a URL is safe, you can specify the URL as well. Depending on the file size, the duration for the analysis can vary.for_fileYou can also ask for a file itself. You will still get the benefit of a fast verdict via Sha256 because the SDK will do that for you first. But additionally, if we don't know the file, the file will get uploaded and (automatically) analyzed by us.How to useInstallationpip3installgdata-vaasImportfromvaasimportVaas,ClientCredentialsGrantAuthenticatorRequest a verdictAuthentication & Initializing:authenticator=ClientCredentialsGrantAuthenticator(CLIENT_ID,CLIENT_SECRET,TOKEN_URL,SSL_VERIFICATION)Verdict Request for SHA256:asyncwithVaas()asvaas:awaitvaas.connect(awaitauthenticator.get_token())sha256="275a021bbfb6489e54d471899f7db9d1663fc695ec2fe2a2c4538aabf651fd0f"verdict=awaitvaas.for_sha256(sha256)Verdict Request for a file:asyncwithVaas()asvaas:awaitvaas.connect(awaitauthenticator.get_token())path="/path/to/file"verdict=awaitvaas.for_file(path)Verdict Request for a URL:asyncwithVaas()asvaas:awaitvaas.connect(awaitauthenticator.get_token())url="https://www.gdatasoftware.com/oem/verdict-as-a-service"verdict=awaitvaas.for_url(url)I'm interested in VaaSYou need credentials to use the service in your application. If you are interested in using VaaS, pleasecontact us.Developing with Visual Studio CodeEvery single SDKs also includesDevcontainer. If you use theVisual Studio Code Dev Containers extension, you can run the code in a full-featured development environment.
Package: gd-awsretry
AWSRetry is a Python Decorator that can be used to wrap boto3 function calls.
This function was built out of the need to get around a couple of common issues
when working with AWS API’s.Query API Request RateEventual Consistency Model.Exceptions that will get retried when encounteredRequestLimitExceededUnavailableServiceUnavailableInternalFailureInternalError^w+.NotFoundThis list can be extended. (http://docs.aws.amazon.com/AWSEC2/latest/APIReference/errors-overview.html)Quick StartInstall awsretry.$pipinstallawsretryI will assume you know about setting up Boto3 Credentials, if not you can read
the instructions herehttp://boto3.readthedocs.io/en/latest/guide/configuration.htmlKeyword Arguments that AWSRetry.backoff acceptstries = The number of times to try before giving up. Default = 10delay = The initial delay between retries in seconds. Default = 3backoff = backoff multiplier e.g. value of 2 will double the delay each retry. Default = 1.1added_exceptions = Other exceptions to retry on, beyond the defaults. Default = list()ExamplesWrite a quick function that implements AWSRetry.backoff()#!/usr/bin/env pythonimportbotocoreimportboto3fromawsretryimportAWSRetry@AWSRetry.backoff()defget_instances():client=boto3.client('ec2')try:instances=client.describe_instances()returninstancesexceptbotocore.exceptions.ClientErrorase:raiseeinstances=get_instances()Write a quick function that will overwrite the default arguments.#!/usr/bin/env pythonimportbotocoreimportboto3fromawsretryimportAWSRetry@AWSRetry.backoff(tries=20,delay=2,backoff=1.5,added_exceptions=['ConcurrentTagAccess'])defcreate_tags():client=boto3.client('ec2')try:resources=['1-12345678891234']tags=[{'Key':'service','Value':'web-app'}]instances=client.create_tags(Resources=resources,Tags=tags)exceptbotocore.exceptions.ClientErrorase:raiseecreate_tags()DevelopmentAssuming that you have Python andvirtualenvinstalled, set up your
environment and install the required dependencies like this instead of
thepip install awsretrydefined above:$gitclonehttps://github.com/linuxdynasty/awsretry.git$cdawsretry$virtualenvvenv...$.venv/bin/activate$pipinstall-rrequirements.txt$pipinstall-e.Running TestsYou can run the tests by using tox which implements nosetest or run them
directly using nosetest.$tox$toxtests/test_awsretry.py$tox-epy27,py36tests/$nosetest
Package: gdaxcli
# GdaxCli[![travis-build-badge][7]][8]A commandline client for cryptocurrency trading on [GDAX][1] (Global Digital Assets Exchange).**TODO**: Add features and goals here.Work in progress.## InstallationRequires python 2.7+.```pip install gdaxcli```To run:```python -m gdaxcli```or add an alias to shorten the command:```echo "alias gdaxcli='python -m gdaxcli'" >> ~/.bashrcsource ~/.bashrc```so you can call:```gdaxcli <arguments>```## Usage```Usage: gdaxcli <command> [arguments]products                      Lists products available for trading.ticker [product1 product2..]  Get current market ticker.balance                       Get account balance.history [account1 account2..] Get account history (transfer, match, fee, rebate).Default USD.fills [product]               Get recent fills.order list                    List open ordersordersorders cancel <product>       Cancel all orders.order cancel all <product>order cancel <id>             Cancel order. Id can be a short prefix.order <limit/market/stop> <buy/sell> <product> <size> [price]Place an order. Limit price can be absolute orrelative such as 180, 180.23, -1, +.5Product can be uppercased or lowercased.For example: eth-usd, BTC-GBP, ..```## ConfiguringTo obtain an API key for your account to be used with this tool:1. Login to your GDAX account2. Go to **Settings** > **API** or [https://www.gdax.com/settings/api][4]3. Select the **trade** permission and generate an API key4. Run `bash make.sh configure` and copy paste the passphrase, key and secret accordinglySee [gdax docs][5] for more information on the API key.**TODO**: mention the sandbox## ChangesSee [CHANGES][CHANGES.md]## ContributingSee [CONTRIBUTING][CONTRIBUTING.md].## LicenseDISCLAIMER: No warranty is provided for this software. Use it at your own risk.Code is released under [the MIT License][2].Remember:> THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR> IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,> FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE> AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER> LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,> OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE> SOFTWARE.[1]: https://www.gdax.com/[2]: https://choosealicense.com/licenses/mit/[4]: https://www.gdax.com/settings/api[5]: https://docs.gdax.com/#generating-an-api-key[6]: https://public.sandbox.gdax.com[7]: https://travis-ci.org/sonph/gdaxcli.svg?branch=master[8]: https://travis-ci.org/sonph/gdaxcli
Package: gdax-recurring
Usage: gdax_recurring [OPTIONS]This script automates recurring USD deposits and asset allocation forGDAX.When run, it will check whether a deposit needs to be made and, if so,initiate the deposit using a linked bank account.Then, if there is enough available USD in the GDAX account, it will buycurrencies using all of the available USD, given a user-specified assetallocation. Currencies are traded at market price at the time the scriptis run.This script is meant to be run as a cron. The cron can be run at anyinterval less than the `deposit-interval` -- I recommend daily. The scriptwill ensure that deposits are only made every `deposit-interval`irrespective of how often it is run. Please make sure that only oneinstance of gdax_recurring is running at a time to prevent duplicatedeposits.In addition to the CLI options, a few environment variables must bepresent:GDAX_API_KEYGDAX_API_SECRETGDAX_PASSPHRASEInstallation:pip install gdax_recurringExample usage:export GDAX_API_KEY=<your_api_key>export GDAX_API_SECRET=<your_api_secret>export GDAX_PASSPHRASE=<your_passphrase>gdax_recurring -d 100.00 -i 15 -m 50.00 -a LTC 0.5 -a ETH 0.25 -a BTC 0.25Explanation:The above invocation will deposit $100.00 every 15 days. In addition,if the GDAX account has at least $50.00 available to trade, all of theavailable USD will be used to buy other currencies as follows:50% will be used to buy LTC25% will be used to buy ETH25% will be used to buy BTCOptions:-d, --deposit-amount TEXT       Amount to deposit every `deposit-interval`days-i, --deposit-interval INTEGER  Interval in days after which a depositshould be made-m, --min-available-to-trade DECIMALThe minimum available balance in USD that,when met, will result in an allocation-a, --allocation-percentage <TEXT DECIMAL>...A currency and the percentage of availablefunds that should be allocated to it. Thisoption may be provided multiple times fordifferent currencies and the totalpercentage should add up to 1. If the totalpercentage is less than one, the remainderwill be left as USD.Example: -a ETH 0.25-a BTC 0.25 -a LTC 0.5-h, --help                      Show this message and exit.
Package: gdb-call-lambda
gdb-call-lambdaCall C++ lambda functions from gdb.InstallInstall the Python package in somewhere Python can see.In .gdbinit add:python import gdb_call_lambdaUsageCall a lambda likeprintl f(x), where thefis the lambda.I.e., call as usual, just replaceprintwithprintl.The lambda expression (fin this case) must not have any(characters.Alternatively, use the convenience function:print $calll(f, x)How it works internally/what to do if it doesn't workSee posthttps://stackoverflow.com/a/70254108/5267751.There's a known bug where gdb/tools can't demangle a symbol that gcc generates, seeBin test.
Package: gdbm_compat
Provides a means to open a gdbm database that otherwise gives the “Bad Magic Number” error.This can be useful when needing to support EL6 and EL7 (or CentOS 6 and CentOS 7).It supports opening of gdbm files created with gdbm version 1.8 or 1.10. Some functionality may not work on the database, but most will, which is better than none!The primary method of usage is to use “gdbm_compat.open_compat” in place of “gdbm.open”.For example:>>> import gdbm_compat>>> ...>>> mydb = gdbm.open('mydatabase', 'r') # Database created on different system that wont openTraceback (most recent call last):File “<stdin>”, line 1, in <module>gdbm.error: Bad magic number>>> mydb = gdbm_compat.open_compat('mydatabase.db', 'r') # Force it to open<gdbm.gdbm object at 0x7f7da47ee110>Commandline InterfaceUsage: gdbm-compat-convert [-1.8/-1.10] [input filename] [output filename]Changes the magic number on a gdbm database, to make it accessable on different platforms.Changing to either version 1.8 or 1.10 are supported, provide that as the first argument.If no “output filename” is provided, the change will be made inline.Additional MethodsSome additional methods are available. You can find the pydoc generated documentation in doc/gdbm_compat.html of the source distribution.Licensegdbm_compat is licensed under Public Domain.