Saravanan666/pypi-org huggingface dataset:
Package: goofpy
GoofPyA library for creating objects and game sims in Python, more things coming soonCurrently supports:PygameGameObjectsPlayersGamesCurrent limitations:3D objects are somewhat limited and may be broken, movement on the z-axis, especially for thePlayerclass is not fully supportedPygame window is buggy, runs at 1x1 scale by default, but even when changed, is impossible to close using the "X" in the top right orAlt + F4No renders, and no built-in rendering capabilities planned, however, Pygame support would help users make rendersDocs:goofclass:
Takes ID(int) and meta(any)import goofpy

obj = goofpy.goof(0, "TestMeta")Class functions:getID(),getMeta(), andsetMeta(value), are properties of anygoofclass, self-explanatory
The below are not part of thegoofclass but relate to it.getObjectByClass(class)returns all instances of a certain classgetMetaById(id)is self-explanatorycompareMeta(originalID, newID)gets the meta of the object based on id, returnsTrueif the 2 are equalgetObjsWithMeta(meta)returns all objects with a particular meta valueGameObjectclass:
Takes an ID, x, y, z, data, type, can take zIndex(default is 0)import goofpy

obj = goofpy.goof(0, "TestMeta")
gObj = goofpy.GameObject(obj.goofid,Class functions:
There are class functions, but most are either self-explanatory or are useless to the user, because there are much simpler ways with theCreatorclassCreatorclass:
Takes no parametersimport goofpy

c = goofpy.Creator()Class functions:givePosition2D(obj: goof, x, y, zIndex)takes these variables and creates a GameObject with them, with a set z of 0.0, a data of "", and a type of "2D"givePosition3D(obj: goof, x, y, z)same asgivePosition2Dbut gives a z ofzand a type of "3D", and doesn't change zIndexnew2D(x, y, zIndex, data)same asgivePosition2Dbut passes in data and doesn't pass in an objectnew3D(x, y, z, data)same asnew2Dbut passes in a float of z and not zIndexPlayerclass:
Takes a x, y, z, facing, and fovimport goofpy

p = goofpy.Player(0.0, 0.0, 0.0, 0, 90)Class functions:isColliding(obj)tests if the player is colliding with an objectcanSee(obj)tests ifobjis being faced at by the player,usesTHE BEST FUNCTION IN ALL OF PYTHON, math.atan2(y, x)move(d)movesdunits in the direction the player is facingturn(deg)turns the playerdegdegrees(positve or negative, loops from 0-360, cannot be > 360)Gameclass
Optionally takes width and height, if you want an actual window/render, and the module for the engine, default andONLY CURRENTLY SUPPORTEDengine is pygameimport goofpy

g = goofpy.Game()Class functions:initEngine()starts the engine, required for using otherGameclass functionskeyPressed(key)tests if the key namedkeyrunAtFPS(fps)ticks the game atfpsframes per secondgetEvents()returns all events from the last tickrun(gameFunction, fps)runs the game, usinggameFunction()as the code and setup for the game, and running it atfpsframes per second, easier alternitve to custom setup, but more limited and standardSupport:Emailbusiness.endergames@gmail.comfor additional help or feedback
Package: googdiff
googdiff: command-line diff tool, a wrapper of Google's diff-match-patch module.Seethe API doc of Google's diff-match-patch
module.Install googdiff with pippip install googdiffUsage# Usage info
googdiff --help

# Show diffs in console mode:
googdiff file1 file2

# or:
googdiff -c file1 file2

# Show diffs in web browser:
googdiff -b file1 file2Git diff with googdiff# in text mode:
git difftool -y --extcmd=googdiff

# or, in browser:
git difftool -y --extcmd='googdiff -b'
Package: googkit
OverviewGoogkit is an easy way to use Google Closure Library.
You can setup only two commands, so start developing quickly.
You can also do such a complicated compiling … at one blow!RequirementsGoogkit requires Following commands.
Install them if not installed yet.Git:downloads Closure LibraryPython:executes Closure ToolsInstall GoogkitFirst, you need to install Googkit.Linux or OS XDownload and extractthe latest version of GoogkitPut it into a preferred place:$ mv googkit /usr/localAdd environment variables:export GOOGKIT_HOME=/usr/local/googkit
export PATH=$PATH:$GOOGKIT_HOME/binWindowsDownload and extractthe latest version of GoogkitPut it into a preferred place:$ move googkit C:\Add environment variablesVariableValueGOOGKIT_HOMEPATHC:\googkitAppend;%GOOGKIT_HOME%\binGetting StartedCreate a project directory and initialize:$ mkdir my_project
$ cd my_project
$ googkit initDownload Closure Tools:$ googkit setupDevelop your web app indevelopment/Modify existing scripts, or add your awesome scripts
todevelopment/js_dev.After adding/removing scripts, you need to update dependency information:$ googkit readyBuild your projectBuilding the project including JavaScript files compilation improves
performance and makes them unreadable:$ googkit buildIf it succeed, output files will be stored inproduction/.Project Structuregoogkit.cfg:config file of the projectclosure/:stores Closure Toolsdevelopment/:for developmentdebug/:for debug (it will be created if debug is enabled)production/:for productionRunning Unit TestsYou can runjsunit-styleunit tests.Create a HTML file for testingCopyexample_test.htmlinto the same directory as the target, then rename it to{target_name}_test.html.If you don’t like the default name{target_name}_test.html, you can
change it bytest_file_patterningoogkit.cfg.Write unit testsApply config changes and update dependency information:$ googkit readyRun unit testsOpen the test html file in your browser.If you want to run all tests, opendevelopment/all_tests.htmlin your browser withhttp scheme(doesn’t work with file scheme).TipsRenaming a Compiled ScriptEditcompiled_jsingoogkit.cfg.
After editing, apply it with a following command:$ googkit readyPreventing Some Scripts from CompilingPlace them outsidedevelopment/js_dev.
Scripts that are in it will be compiled and removed in production.Debugging a Compiled SourceChangeis_debug_enabledtoyesingoogkit.cfgand build it:$ googkit buildThen you can use debugging features indebug/.
This option makes compilation slow.Using Source MapGoogkit generates a source map filescript.min.js.mapwithindebug/,
so you can useSource Map V3if your browser supports it.For reason of obfuscation, source map file willNOTbe stored
inproduction/.MiscThe Googkit teamcocopon (cocopon@me.com)OrgaChem (orga.chem.job@gmail.com)LicenseGoogkit are licensed under MIT License.
SeeLICENSE.txtfor more information.
Package: google-address-to-latlong-csv
google_address_to_latlong_csvWhat it doesThis is a Python 3 Package which gets the list of data of addresses from an csv file and gives an output as csv with additional fields of latitude and longitude of the address provided by google GeoCoding API.RequirementsPython 3 InstalledHave Google API Key ofGoogle GeoCoding APIYou can get it from Google Cloud ConsoleSame Package for venv, pipenv and poetrySample Input CSV FileID,Address
1,"Nehru Nagar, Pimpri, Pune, Opp Sheetal Hotel, Pune, 411018"
2,"Rahatani Main Road, Rahatani, Pune, Near Baliraj Garden, Pune, 411017"
3,"Chinchwad East, Pune, Near Thermax Chowk, Pune, 411019"
4,"Shop No 7/61/2, Tapavan Road, Pimpri Gaon-Pimpri, Pune, Near Tapavan, Pune, 411018"
5,"Chinchwad, Pune, Near Post Office Chaphekar Chowk, Pune, 411033"
6,"Pune, Maharashtra, India, Pune, 411038"
7,"New Sanghvi Rd, Sangavi, Pune, Near Famous Chowk, Pune, 411027"
8,"Moshi, Pune, Nageshwar Nagar, Pune, 412105"
9,"Near Chintamani Chowk, Pune, 411035"
10,"Nigdi, Pune, Next Om Swadish Bhel, Pune, 411044"How to use the PackageJust Install withpip install google-address-to-latlong-csvAnd in your Python Program run Given Below Commandsfromgoogle_address_to_latlong_csvimportAddressToLatLongapp=AddressToLatLong(input_csv_file="input.csv",output_csv_file="output.csv",google_api_key="google_api_key")app.run()the variable nameappis not mandatory you can give any name to variableIf Any Issues occured raiseGitHub Issue onissuesor Contact Me via mail.My Name IsShrikant Dhayje.
My GitHub Username Isshriekdj.
My Official Email Id Isshrikantdhayaje@gmail.comI Will Try to Give Response Within 24 Hours.
Package: googleads
The googleads Python Client Libraries support the following products:Google Ad Manager APIYou can find more information about the Google Ads Python Client Librarieshere.Supported Python VersionsThis library is supported for Python 3.7+.InstallationYou have two options for installing the Ads Python Client Libraries:Install with a tool such as pip:$ sudo pip install googleadsInstall manually after downloading and extracting the tarball:$ sudo python setup.py installExamplesIf you would like to obtain example code for any of the included
client libraries, you can find it on ourdownloads page.Contact UsDo you have an issue using the googleads Client Libraries? Or perhaps some
feedback for how we can improve them? Feel free to let us know on ourissue tracker.
Package: google-ads
This project hosts the Python client library for the Google Ads API.Build StatusRequirementsPython 3.8+Installationpip install google-adsFeaturesDistributed via PyPI.Easy management of credentials.Easy creation of Google Ads API service clients.DocumentationPlease refer to ourDeveloper Sitefor documentation on how to install,
configure, and use this client library.Protobuf MessagesVersion14.0.0of this library introduced therequireduse_proto_plusconfiguration option that specifies which type of protobuf message to use. For
information on why this flag is important and what the differences are between
the two message types, see theProtobuf Messagesguide.Minimum Dependency VersionsVersion21.2.0of this libraryloweredthe minimum version for some
dependencies in order to improve compatibility with other applications and
packages that rely onprotobufversion 3.Note that using protobuf 3 will cause performance degredations in this library,
so you may experience slower response times. For optimal performance we
recommend using protobuf versions 4.21.5 or higher.MiscellaneousIssue trackerAPI documentationAPI SupportAuthorsMark SaniscalchiDavid WihlBen KarlAndrew BurkeLaura ChevalierBob Hancock
Package: googleads-housekeeper
Google Ads HousekeeperProblem statementManaging Google Ads entities that can be excluded is a complex task which requires
implementing many moving parts: parsing the rules, applying them, saving, updating,
scheduling tasks and many more.SolutionAds Housekeeper simplifies tasks related to managing excludable entities
(placements, keywords, search terms, ads, etc) based on a set of custom rules.Deliverable (implementation)The library providesgoogleads_housekeepermodule you can using in your projects
which abstracts the following aspects:Applying rules that identify entities for modificationCreating and managing tasks with aforementioned with built-in persistence mechanismSending notifications to a channel of your choiceSending message to message broker of your choiceDeploymentPrerequisitesPython 3.9+Google Ads API access andgoogle-ads.yamlfile - follow documentation onAPI authentication.Installationpip install google-ads-housekeeperUsagefrom googleads_housekeeper import bootstrap
from googleads_housekeeper.domain import commands

# initialiaze message bus
bus = bootstrap.bootstrap()

# execute command
task_id = 1
cmd = commands.RunTask(task_id)
bus.handle(cmd)DisclaimerThis is not an officially supported Google product.
Package: google-ads-megalista
This project hosts the Python client library for the Google Ads Megalista API.RequirementsPython 3.7+Installationpip install google-adsFeaturesDistributed via PyPI.Easy management of credentials.Easy creation of Google Ads API service clients.DocumentationPlease refer to ourDeveloper Sitefor documentation on how to install,
configure, and use this client library.Protobuf MessagesVersion14.0.0of this library introduced therequireduse_proto_plusconfiguration option that specifies which type of protobuf message to use. For
information on why this flag is important and what the differences are between
the two message types, see theProtobuf Messagesguide.MiscellaneousIssue trackerAPI documentationAPI SupportAuthorsMark SaniscalchiDavid WihlBen KarlAndrew BurkeLaura ChevalierBob Hancock
Package: google-ads-stubs
Type stubs for the Google Ads API Client Library for PythonThis package provides type stubs for theGoogle Ads API Client Library for Python.
It's currently compatible with v22.1.0 of this library (v15 of the API). It allows you to type check usage of the library with e.g.mypyand will also improve autocomplete in many editors.This is in no way affiliated with Google.Most stubs were created automatically bystubgen, the rest are handwritten or generated by self-made scripts.If you find incorrect annotations, please create an issue. Contributions for fixes are also welcome.Installation$ pip install google-ads-stubsThe stubs should be automatically picked up by your editor or typechecker, but note that if you're using Mypy you need to use the--namespace-packagesoption asgoogleandgoogle.adsare namespace packages.CaveatsThe stubs assume the client is constructed withuse_proto_plus=True. If you useuse_proto_plus=False, they are unlikely to be of much use to you.Type inference doesnotwork for theget_typemethod ofGoogleAdsClient.The workaround is to explicitly state the type. You can also instantiate the object directly to get inference.# Replace this:campaign_operation=client.get_type('CampaignOperation')# With this:fromgoogle.ads.googleads.v15importCampaignOperationcampaign_operation:CampaignOperation=client.get_type('CampaignOperation')# Or this:fromgoogle.ads.googleads.v15importCampaignOperationcampaign_operation=CampaignOperation()While it is technically possible to type this method using a combination of overloading and literal types,
this is not included in these stubs. The reason is that it requires about 10,000 overloads, which makes most typecheckers fairly slow.Certain parts of the stubs assume you are using the latest included API version. This includesGoogleAdsClient.enumsand calls toGoogleAdsClient.get_typeandGoogleAdsClient.get_servicewithout specifying theversionargument. If you use an older version, you should import enums directly and specifyversionin these calls even if you specified it when constructing the client.Certain types are too lenient compared to what's allowed at runtime. The first argument to protobuf message constructors accepts any mapping.
On the other hand certain types are more strict than what's allowed at runtime. You can't substitute a protobuf message for an equivalent dict or an enum with it's equivalent name or value.# Replace this:AdGroupAd({"status":"ENABLED","ad":{"type":2},})# With this:fromgoogle.ads.googleads.v15importAdGroupAdStatusEnum,AdStrengtEnum,AdTypeEnum,AdAdGroupAd(status=AdGroupAdStatusEnum.AdGroupAdStatus.ENABLED,ad=Ad(type=AdTypeEnum.AdType.TEXT_AD),)
Package: google-ai-generativelanguage
Generative Language API: Generative Language APIClient Library DocumentationProduct DocumentationQuick StartIn order to use this library, you first need to go through the following steps:Select or create a Cloud Platform project.Enable billing for your project.Enable the Generative Language API.Setup Authentication.InstallationInstall this library in a virtual environment usingvenv.venvis a tool that
creates isolated Python environments. These isolated environments can have separate
versions of Python packages, which allows you to isolate one project’s dependencies
from the dependencies of other projects.Withvenv, it’s possible to install this library without needing system
install permissions, and without clashing with the installed system
dependencies.Code samples and snippetsCode samples and snippets live in thesamples/folder.Supported Python VersionsOur client libraries are compatible with all currentactiveandmaintenanceversions of
Python.Python >= 3.7Unsupported Python VersionsPython <= 3.6If you are using anend-of-lifeversion of Python, we recommend that you update as soon as possible to an actively supported version.Mac/Linuxpython3 -m venv <your-env>
source <your-env>/bin/activate
pip install google-ai-generativelanguageWindowspy -m venv <your-env>
.\<your-env>\Scripts\activate
pip install google-ai-generativelanguageNext StepsRead theClient Library Documentationfor Generative Language API
to see other available methods on the client.Read theGenerative Language API Product documentationto learn
more about the product and see How-to Guides.View thisREADMEto see the full list of Cloud
APIs that we cover.
Package: googleaistudio
# Google AI StudioA collection of AI tools built on Google Vertex AI APIs. It works even in EU / UK.At the time of writing, web-based Google AI Studio is not accessible in [EU / UK / some other regions](https://ai.google.dev/available_regions#available_regions).  As this python package is based on Google Vertex AI APIs, there is no such restriction.Current available features:geminipro - a multiturn chat bot built on Google [Gemini Pro & Gemini Pro Vision](https://cloud.google.com/vertex-ai/docs/generative-ai/multimodal/overview) (LLM: Gemini Pro)palm2 - a multiturn chat bot built on Google [PaLM 2](https://cloud.google.com/vertex-ai/docs/generative-ai/language-model-overview) (LLM: chat-bison-32k)codey - a multiturn chat bot built on [Codey](https://cloud.google.com/vertex-ai/docs/generative-ai/code/code-models-overview) (LLM: codechat-bison-32k)These are part of integrated tools, developed in our [LetMeDoIt AI project](https://github.com/eliranwong/letmedoit).# Screenshot<img width=”1440” alt=”geminipro_palm2” src=”https://github.com/eliranwong/letmedoit/assets/25262722/dc6f874e-ae11-4514-9ed0-3d22f2b1985c”># Install or Upgrade> pip install –upgrade googleaistudio# Google API SetupSave a copy of your API key JSON file as “~/googleaistudio/credentials_googleaistudio.json”, where “~” denotes your home directory.Readhttps://github.com/eliranwong/letmedoit/wiki/Google-API-Setupfor setting up Google API.# UsageRun in terminal:> geminipro> geminiprovision> palm2> codey# CLI options> geminipro -h> geminipro -t 0.5 -o 1024 “Hello!”> geminiprovision -h> geminiprovision -f image.png -t 0.5 -o 1024 “Describe this image file”> palm2 -h> palm2 -m “chat-bison” -t 0.5 -o 1024 “Hello!”> codey -h> codey -m “codechat-bison” -t 0.5 -o 1024 “How to use decorators in python?”# Integration in LetMeDoIt AI projecthttps://github.com/eliranwong/letmedoit/wiki/Integration-with-Google-AI-Tools# Documentation for Developershttps://cloud.google.com/vertex-ai/docs/generative-ai/learn/overviewhttps://cloud.google.com/vertex-ai/docs/generative-ai/learn/modelshttps://cloud.google.com/vertex-ai/docs/generative-ai/model-reference/overviewhttps://cloud.google.com/vertex-ai/docs/generative-ai/sdk-for-llm/llm-sdk-overviewhttps://cloud.google.com/vertex-ai/docs/generative-ai/multimodal/function-callinghttps://spec.openapis.org/oas/v3.0.3#schema
Package: googleanalytics
google-analyticstakes the pain out of working with the Google
Analytics reporting APIs. It supports both the Core and the Real Time
API. It is written in Python but there’s also a full-featured
command-line interface.Authentication.OAuth2 is a bit of a pain and we’ve made it
easier, both for interactive use and forserver
applications.
We can also save your credentials in the operating system’s keychain
if you want to.Querying.Easier to query per week, month or year. Query using
metric IDs or using their full names, whichever you think is nicer.
Work with both the Core and the Real Time APIs.Reporting.Generate reports from the command-line. Optionally
describe reports and queries ineasy-to-read and easy-to-write YAML
files.
Reports in Python work better too: iterate through the entire report
or column-per-column.Exploration.Traverse the account hierarchy from account to
webproperty to profile to dimensions, both programmatically and with
the included command-line interface.Exports.Clean JSON and CSV – as well asPandasdata frames – so you can
analyze the data in anything from Excel to R.This package is built on top ofGoogle’s own API client for
Python.QuickstartFirst, install the package usingpipPython 2:pip install googleanalyticsPython 3:pip3 install googleanalyticsThen, create a new project in theGoogle Developers
Console, enable the Analytics
API under “APIs & auth > APIs” and generate credentials for an installed
application under “APIs & auth > Credentials”. Keep this page open. For
more detail, look at thewiki page on
authentication.After that, executing your first query is as easy asimportgoogleanalyticsasgaaccounts=ga.authenticate()profile=accounts[0].webproperties[0].profilepageviews=profile.core.query.metrics('pageviews').range('yesterday').valueprint(pageviews)Or on the command-line, that’d be:googleanalytics--identity<identity>--account<account>--webproperty<webproperty>\querypageviews--startyesterdayThe account, webproperty and profile determine what data you’ll be
querying. Learn more about profiles and querying on theQueryingwiki page, or alternatively look at theCommon
Queriespage for lots of examples. Read more about how to work with the
resulting data inWorking With
Reports.On The
Command-Linehas more details about the command-line application.The example above will authorize the app and authenticate you
interactively. It is also possible to pass credentials as arguments in
Python, using environment variables or from your operating system’s
keychain. Authentication is treated in much more depth on theauthentication wiki
page.
Package: google-analytics-admin
Analytics Admin: allows you to manage Google Analytics accounts and properties.Client Library DocumentationProduct DocumentationQuick StartIn order to use this library, you first need to go through the following steps:Select or create a Cloud Platform project.Enable billing for your project.Enable the Analytics Admin.Setup Authentication.InstallationInstall this library in a virtual environment usingvenv.venvis a tool that
creates isolated Python environments. These isolated environments can have separate
versions of Python packages, which allows you to isolate one project’s dependencies
from the dependencies of other projects.Withvenv, it’s possible to install this library without needing system
install permissions, and without clashing with the installed system
dependencies.Code samples and snippetsCode samples and snippets live in thesamples/folder.Supported Python VersionsOur client libraries are compatible with all currentactiveandmaintenanceversions of
Python.Python >= 3.7Unsupported Python VersionsPython <= 3.6If you are using anend-of-lifeversion of Python, we recommend that you update as soon as possible to an actively supported version.Mac/Linuxpython3 -m venv <your-env>
source <your-env>/bin/activate
pip install google-analytics-adminWindowspy -m venv <your-env>
.\<your-env>\Scripts\activate
pip install google-analytics-adminNext StepsRead theClient Library Documentationfor Analytics Admin
to see other available methods on the client.Read theAnalytics Admin Product documentationto learn
more about the product and see How-to Guides.View thisREADMEto see the full list of Cloud
APIs that we cover.