Saravanan666/pypi-org huggingface dataset:
Package: google-trendy
PackagePackage for getting and analyzing tending Google searchesUsagefromgoogle_trendyimport*tracker=GoogleTrends()tracker.get_trends(10)fortrendintracker.trends:print("----")print(f"{trend.title}")print(f"{trend.time_range}")print(f"articles:{trend.timeseries_data['article_count']}")# Example Output----Snowemergency,Norfolk,Winterstorm,Nebraska,WinterstormwarningJan6,2024-Nowarticles:18----FCBarcelona,CAOsasuna,Raphinha,SupercopadeEspaña,XaviJan10,2024-Nowarticles:4----FCBarcelona,RobertLewandowski,Xavi,LaLiga,SupercopadeEspaña,CAOsasuna,Forward,FCBayernMunichJan5,2024-Nowarticles:6----FCBarcelona,SaudiArabia,SupercopadeEspaña,Spain,LGBT,CAOsasuna,LaLigaJan7,2024-Nowarticles:36----FCBarcelona,SupercopadeEspaña,CAOsasuna,LaLiga,Xavi,RealMadridCF,Spain,CopadelReyJan4,2024-Nowarticles:332----SupercopadeEspaña,UEFASuperCup,LaLiga,FCBarcelona,CAOsasunaJan10,2024-Nowarticles:3----BrooklynNets,ClevelandCavaliers,NBAJan4,2024-Nowarticles:325----SanAntonioSpurs,NBA,Paris,ClevelandCavaliers,BrooklynNetsJan8,2024-Nowarticles:28----JuventusF.C.,CoppaItalia,FrosinoneCalcio,SerieA,FedericoChiesaJan4,2024-Nowarticles:63----SpencerDinwiddie,BrooklynNets,ClevelandCavaliersJan10,2024-Nowarticles:5
Package: google-tr-free
google-tr-freeGoogle translate for free -- local cache and throttling (averag 1.5 calls/s, first 1000 calls exempted).. Let's hope it lasts.Installationpip install -U google-tr-freeorInstall (pip or whatever) necessary requirements, e.g.pip install requests_cache js2pyorpip install -r requirements.txtDrop the file google_tr.py in any folder in your PYTHONPATH (check with import sys; print(sys.path)or clone the repo (e.g.,git clone https://github.com/ffreemt/google-tr-free.gitor downloadhttps://github.com/ffreemt/google-tr-free/archive/master.zipand unzip) and change to the google-tr-free folder and do apython setup.py developUsagefrom google_tr import google_tr
print(google_tr('hello world'))  # ->'你好，世界'
print(google_tr('hello world', to_lang='de'))  # ->'Hallo Welt'
print(google_tr('hello world', to_lang='fr'))  # ->'Bonjour le monde'
print(google_tr('hello world', to_lang='ja'))  # ->'こんにちは世界'AcknowledgmentsThanks to everyone whose code was used
Package: google-tts
google-ttsgoogle-tts(Google Text-to-Speech), a Python library with Google text-to-speech API.
Write spoken audio data to a file, or get Base64 encoding audio dataFeaturesText length up to 5000 charactersCustomizable speak-rate (0.25 - 4.0) and sample-rateAudio encoding: LINEAR16, MP3, OGG-OPUS, MULAW, ALAWMALE and FEMALE voiceInstallation$ pip install google-ttsQuickstartfrom GoogleTTS import GoogleTTS
tts = GoogleTTS()
ret = tts.tts('Xin chào!', 'output.mp3')
if 'audioContent' in ret:
    b64 = ret['audioContent']
else:
    error = ret['error']
    code = error['code']
    message = error['message']
    status = error['status']LicenceThe MIT License (MIT)Copyright © 2022 ykuta
Package: google-tui
google-tuiA textual user interface forgoogle.comPrerequisites(❗Read carefully❗)Firstly, you'll need to install the packagepipinstallgoogle-tuiSecondly, you'll need to get google search api key(s)Go todevelopers.google.com/custom-search/v1/overviewScroll downClick the big blueGet a keybutton (screenshot])Make a app if you haven't already, the name doesn't matterClick theNEXTbuttonYou'll get an api keyYou can do the above process as many times as you want. Each api key has a 100 request limit per day, which is plenty for normal use but if you ever run out of uses you can just create more api keysThirdly, you'll need to provide the token(s) to the package.  You can use a environment variable namedGOOGLE_API_KEYor you can pass the token(s) directly with the--token/-tflag. The environment variable/flag value should be comma separated without spaces (e.g.a,b,c) for multiple tokens or just a singe token (a).Then you can go in a terminal and rungoogle-tuiAnd that should work, otherwise trypython-mgoogle_tui
Package: googleurlbuilder
Google URL Builder.Simple pure Python Google URL generator based onGoogle advanced search.Why?In some development cases, you may need to generate Google search URLs without the wish
to request Google(.com).In example :for displaying/providing those URLs directly to the end user.to have more control over what your code makes.Package principles.Pure Python → No more depedencies needed.Strong typing.Examples.Import package.fromgoogleurlbuilderimport(GoogleURL,SearchFilters,parametersaspr,# Aliases are optionnal.# Query parameters.operatorsasop,# Operators over query parameters.filtersasft,# Filters.)Simple use case.url=GoogleURL((pr.Words(["search","google"])+pr.ExactPhrases(["google search"])))print(url.compute_url())https://google.com/search?q=%28%28search+google%29+%22google+search%22%29Use filters.url=GoogleURL(query=pr.Words(["search","google"]),filters=SearchFilters(language=ft.Languages.French),tld="fr",)print(url.compute_url())https://google.fr/search?lr=lang_fr&q=%28search+google%29Use operators over search parameters.query=op.Or(pr.Words(["search"]),pr.ExactPhrases(["google"]))print(query)query=pr.Words(["search"])|pr.ExactPhrases(["google"])# equivalent.print(query)(search OR "google")
(search OR "google")
Package: google-utils
google-utilsUse google from the convenience of a python script!InstallationInstall from pip:pipinstallgoogle-utilsUsageFetching links:fromgoogle_utilsimportGoogleresults=Google.search("Minecraft")forresultinresults:print(result.link)Calculator:fromgoogle_utilsimportGoogleresponse=Google.calculate("64 to the power of six")print(f"{response.question}\n{response.answer}")Weather checking:fromgoogle_utilsimportGoogleresponse=Google.weather("san francisco in celcius")print(f"{response.weather}{response.temperature}")Definition:fromgoogle_utilsimportGoogleresponse=Google.define("splendid")print(f"{response.phrase},{response.type}\n{response.pronunciation}\n{response.meaning}")
Package: google-vertex-haystack
google-vertex-haystackTable of Contentsgoogle-vertex-haystackInstallationContributingLicenseInstallationpip install google-vertex-haystackContributinghatchis the best way to interact with this project, to install it:pipinstallhatchWithhatchinstalled, to run all the tests:hatch run testTo run the lintersruffandmypy:hatch run lint:allLicensegoogle-vertex-haystackis distributed under the terms of theApache-2.0license.
Package: googlevoice
Python Google Voice LibraryBased on pygooglevoice by Joe McCall & Justin Quick.This project isessentially brokenas the login API has changed and a new technique for logging in has not been developed. Please seeissue 8for details.Exposing the Google Voice “API” to the Python languageGoogle Voice for Python Allows you to place calls, send sms, download voicemail, and check the various folders of your Google Voice Account.
You can use the Python API or command line script to schedule calls, check for new recieved calls/sms, or even sync your recorded voicemails/calls.
Package: google-workspace
Google WorkspaceGoogle Workspaceis a high level unofficial API wrapper for some of the productivity related Google API's.
This library has for now only implemented a client for Gmail, I hope to add Drive and much more in the near future.InstallationYou can install from pypi:pipinstall-Ugoogle-workspaceOr get the latest updates (Not recommended for production):pipinstall-Ugit+https://github.com/dermasmid/google-workspace.gitDocumentationTake a look at the full documentation herehttps://google-workspace.readthedocs.io/Getting project credentialsYou need to get a client secret file fromthe google consoleand you need to enable the api you want to use, just Google it.After you saved the credentials json file to your workdir - you are all set!Quick start'sHere you can see a few samples to get a feel of whats ahead.Authenticate on your local machineThis snippet will run a authentication flow using thelocal_oauthmethod.importgoogle_workspaceservice=google_workspace.service.GoogleService(api="gmail",session="my-gmail",client_secrets="path/to/secrets/file")service.local_oauth()gmail_client=google_workspace.gmail.GmailClient(service=service)print(gmail_client.email_address)Authenticate a remote userThis snippet will run a authentication flow using theurl_oauthmethod.importgoogle_workspaceservice=google_workspace.service.GoogleService(api="gmail",session="my-gmail",client_secrets="path/to/secrets/file")service.url_oauth(server_host="yourdomain.com",block=True)gmail_client=google_workspace.gmail.GmailClient(service=service)print(gmail_client.email_address)Retrieve messagesThis snippet will retrieve all messages from the inbox, print them to the console,
mark them as read, and reply with a message saying "Hi!".importgoogle_workspacegmail_client=google_workspace.gmail.GmailClient()formessageingmail_client.get_messages("inbox"):print(message)message.mark_read()message.reply("Hi!")Send html email with attachmentsThis snippet will send a html email with attachments and then delete it from
your sent messages.importgoogle_workspacegmail_client=google_workspace.gmail.GmailClient()sent_message=gmail_client.send_message(to="test@test.com",subject="This is fun!",html="<b>HTML here</b>",attachments=["image.png","doc.pdf"])gmail_client.delete_message(sent_message.get("id"))Forward incoming messagesThis snippet will forward all incoming messages which have "python" in thier subject.importgoogle_workspacegmail_client=google_workspace.gmail.GmailClient()defmessage_filter(history):return"python"inhistory.message.subject@gmail_client.on_message(labels="inbox",filters=[message_filter])defhandle_message(history):history.message.forward(to="test@test.com")Feedback and contributingThis library is very focused on being easy and fun to use, so if you find something that you think can be improved
please open an issue or even better, a PR, thank you!
Package: googlewrapper
googlewrapperGeneral Connector Classes for Google ProductsCurrent Wrappers AvailableGoogle AnalyticsGoogle Search ConsoleGoogle CalendarGoogle Big QueryGoogle PageSpeed APIGoogle SheetsGoogle DocsWrappers In the PipelineGmailGoogle MapsSTEPSAcquire Google Credentials from API ConsoleInstall this packageCreate Connection in PythonUse product wrapper to make API calls (see links to individual docs above)Acquire Google Credentials from API ConsoleFirst we will need to get our own Google Project set up so we can get our credentials. If you don't have experience, you can do so hereGoogle API ConsoleAfter you have your project set up, oAuth configured, and the optional service account (only for Google Big Query connections), you are good to install this package.Make sure to download your oAuth credentials and save them to your working directory as 'client_secret.json'.Installationpip install googlewrapperORpython -m pip install googlewrapperVirtual EnvironmentFor each project it is reccomended to create a virtualenv. Here is asimple guideon virtual environments.Combining Products ExamplesExample 1Take a list of URLs from Sheets, grab Search Console Data, and import it into Big Query.fromgooglewrapperimportGoogleSearchConsole,GoogleSheets,GoogleBigQueryimportdatetimeasdt# init our objectssheets=GoogleSheets(YOUR_URL_HERE)gsc=GoogleSearchConsole()gbq=GoogleBigQuery()# get our urls we want to pull# remember that sheet1 is defaultsites=sheets.get_column(1)'''this one is a bit more technicalwe can pull our column Branded Words rightfrom sheets then assign it to a dictionary to usein our GSC object.Make sure that your url column is the index foryour df. This will happen by default if the urlsare in the first column in google sheets'''branded_list=sheets.df()['Branded Words'].to_dict()# assign those sheets to GSCgsc.set_sites(sites)# assign other GSC variablesgsc.set_date(dt.date(2021,1,1))gsc.set_dims(['page','date','query'])# get our datagsc_data=gsc.get_data()# print the total clicks/impressions and avg position# for all the sites we just pulled data for# send them to Big Queryforsiteingsc_data:print(f"{site}'s Data\n"\f"Clicks:{gsc_data[site]['Clicks'].sum()}\n"\f"Impressions:{gsc_data[site]['Impressions'].sum()}\n"\f"Avg Position:{gsc_data[site]['Position'].mean()}\n\n")# now we will send our data into our GBQ tables for storage# we will assign the dataset name to be our url# we will assign table to be gscgbq.set_dataset(site)gbq.set_table('gsc')# send the data to GBQgbq.send(gsc_data[site])Pull Requests/SuggestionsI'd love to hear your feedback and suggestions. If you see something and you want to give it a shot and fix it, feel free to clone and make a pull request. OR you can submit and issue/feature request on GitHub.Thanks for using my codeIf you found this library useful, I'd appreciate a coffee. Thanks.
Package: googoal
gogglesSoftware for interfacing with Google Services. This code was originally incorporated with thepodssoftware, but split out in May 2021.To access a spreadsheet from the script, you need to follow the
protocol for Oauth 2.0, the process is described (here)[https://developers.google.com/identity/protocols/OAuth2]Once you have the key file, you can specify its location in the.ods_user.cfgfile, using for example[google docs]
# Set the email address of an account to access google doc information.
oauth2_keyfile = $HOME/oauth2-key-file-name.json
Package: gooise
gooisegooise (pronounced asgoo-ee-se) is a Google Image Search automation tool.UsageInstallationgooise is available at Python Package Index and thus can be installed by pip:$pipinstallgooisepip will also install gooise script to PATH.Basic usageSearching for local/remote image$gooiseimage.jpg
$gooisehttps://example.com/img/image.jpgNote: by default, gooise uses any available web driver, so you need to have
at least one of these supported browsers installed:Chrome (or any other chromium-based browsers)FirefoxOperaInternet ExplorerEdgeIf your browser is installed in some uncommon location or is not in PATH, you'll need to pass some extra parameters
to gooise (seeConfiguring web driver.)Advanced usageConfiguring web driverUse-d {chrome,firefox,opera,ie,edge}option to specify type of browser, and-b PATHto specify browser executable.$gooise-dfirefox-b/usr/bin/firefoximage.jpgRunning in headless modeNote: gooise supports headless mode in Chrome/Firefox only.Headless mode (enabled by default, disabled by-roption) hides automated browser window preserving its full functionality.
It's usually more preferable since browser in regular mode has to stay focused (Selenium might fail to interact with
a web page if browser window is kept in background).ContributingGoogle tends to update their frontend once in a while, and thus all HTML tag IDs/classes are updated, too.If you noticed that gooise isn't working as expected anymore (or not working at all) - you can open an issue or propose
a fix via merge request.These files contain CSS selectors and web page interaction logic:Logic -flow.pyConditions -condition.pyWeb page elements location -locator.pyURL image search -searcher.pyLocal image uploader -uploader.py
Package: goon-parser
Goon ParserInstallationUsing Pippip install goon_parserUsing Poetrypoetry add goon_parserUsageCLI- Poetry
poetry run generate json './path/to/file.dm' './path/to/output.json'Parserfrom goon_parser.parser import get_dict, get_json

chemistry_recipes_dict = get_dict('./Chemistry_Recipes.dm')
chemistry_recipes_json = get_json('./Chemistry_Recipes.dm')
Package: goooglenews
easy to use as most of the data returned are pandas DataFrame objectscan be easily saved as csv, excel or json filescan be inserted into MySQL or MongodbTarget Usersfinancial market analyst of Chinalearners of financial data analysis with pandas/NumPypeople who are interested in China financial dataInstallationpip install goooglenewsUpgradepip install goooglenews –upgradeQuick Startgn=crawl.GoogleNews()
gn.proxy = {'https': '127.0.0.1:1080'}
print(gn.author_wx)
# df_search = gn.search_news('Didi financial crisis', gl='US')
# print(df_search)
df_search = gn.search_news('中国银行 电子银行', gl='CN')
print(df_search)
df_search.to_excel('./search.xlsx')
df_detail = gn.news_detail(top=5)
print(df_detail)
df_detail.to_excel('./detail.xlsx')return:open    high   close     low     volume    p_change  ma5
date
2012-01-11   6.880   7.380   7.060   6.880   14129.96     2.62   7.060
2012-01-12   7.050   7.100   6.980   6.900    7895.19    -1.13   7.020
2012-01-13   6.950   7.000   6.700   6.690    6611.87    -4.01   6.913
2012-01-16   6.680   6.750   6.510   6.480    2941.63    -2.84   6.813
2012-01-17   6.660   6.880   6.860   6.460    8642.57     5.38   6.822
2012-01-18   7.000   7.300   6.890   6.880   13075.40     0.44   6.788
2012-01-19   6.690   6.950   6.890   6.680    6117.32     0.00   6.770
2012-01-20   6.870   7.080   7.010   6.870    6813.09     1.74   6.832
Package: goopylib
What is it?goopylib is powerful game, graphics, and GUI library for Python and C++ to build cross-platform applications.
It allows you to unlock the potential of OpenGL and low-level graphics with a high-level, simple-yet-powerful API.Key Features:Cross-Platform & PowerfulFast! Built-in batch-rendering & optimizationsAccessible through Python & C++Simple code to create, transform, & animate images, quads, triangles, circles, and moreAutomatic 2D Orthographic Camera & Camera ControllerWindow & Mouse events: key & button presses, several callbacks, etc.In Development:Text RenderingGUI ElementsAnimation EngineTexture FactoryLow-Level API AccessFuture Plans:2D Rigid-Body Physics EngineSound & Lighting EngineProfiling ToolsBuild & Distribution ToolsExamplesSolar System Simulator:Brick Breaker:Conway's Game of Life:InstallationRequires Python ≥ 3.8.To install goopylib on Windows or MacOS, use thePython Package Index (PyPI):pipinstallgoopylibWheels for Linux are not currently supported but coming as soon as I can build them!TutorialLet's start by creating a rectangle on an empty window:importgoopylibasgpwindow=gp.Window(700,500)# width=700, height=500# centered at (0, 0), width=100, height=50rect=gp.Rectangle((0,0),100,50).draw(window)whilewindow.is_open():gp.update()Inside the loop, you can check for events (or definecallbacksinstead):whilewindow.is_open():ifwindow.check_key(gp.KEY_H):rect.hide()elifwindow.check_key(gp.KEY_S):rect.show()mousex,mousey=window.get_mouse_position()ifrect.contains(mousex,mousey):print("Hovering over the rectangle!")gp.update()Draw other shapes or more complex objects:img=gp.Image("filepath.png",(0,0)).draw(window)Install a simple camera controller that automatically moves, rotates, and zooms in & out!controller=gp.CameraController(window)whilewindow.is_open():# ...controller.update()DocumentationThe documentation for goopylib can be foundhere.
Please submit an issue or emailbhavyemathur@gmail.comfor any questions!Contributing & UsageContributions to goopylib are absolutely welcome! Please reach out to me if you have an idea or feature request or
submit a pull request yourself. I'd love to hear if you've used goopylib for a project—maybe we could even add some
screenshots to a gallery.goopylib is licensed under theMozilla Public License Version 2.0which essentially enables you use
and modify goopylib (commercially or otherwise) as long as you attribute the project! Seechoosealicense.comfor more details.
Package: gopapi
Papi stands for "daddy" in spanish.# AuthorizationAPI key and secret is ciphered with a AES using a password.# Installationpip install gopapi# Usage## Adding a DNS record to a domain# A recordgopapi domain yourdomain.com add-record A subdomain 127.0.0.1# Where A can also be CNAME# 127.0.0.1 to be replaced with the actual IP# CNAMEgopapi domain yourdomain.com add-record A subdomain 127.0.0.1# Where A can also be CNAME# 127.0.0.1 to be replaced with the actual IP## Listing records of a domaingopapi domain mydomain.com records# and if you need to filter by record typegopapi domain mydomain.com records -t cname## Listing all domains in godaddy accountgopapi domains# mydomain1.com# mydomain2.com# ...## Check wether a domain is available to purchase or notgopapi domain mexico.com check# or with aliasgopapi domain mexico.com available
Package: goparser
GOparser is a Python framework for working with gene ontology (GO) terms and
annotations.If you use GOparser in your research, please citeWagner (2015).Installation$pipinstallgoparserDocumentationTheGOparser documentationis available on ReadTheDocs.Copyright and LicenseCopyright (c) 2015, 2016 Florian WagnerGOparser is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License, Version 3,
as published by the Free Software Foundation.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
Package: gopca
latestdevelopGO-PCA (Wagner, 2015) is an unsupervised method toexplore gene
expression data using prior knowledge. This is a free and open-source
implementation of GO-PCA in Python.Briefly, GO-PCA combinesprincipal component analysis (PCA)withnonparametric GO enrichment analysisin order to generatesignatures,
i.e., small sets of genes that are both strongly correlated and closely
functionally related. It then visualizes the expression profiles of all
signatures in asignature matrix, designed to serve as a systematic and
easily interpretable representation of biologically relevant expression
patterns.LinksDemosDocumentationDownload of GO-derived gene setsPLoS One paperSupport and DevelopmentFor feature requests and bug reports, please create anissueon GitHub.For technical questions, please feel free toemail.If you want to contribute code to GO-PCA, pleaseemailand/or create a
pull request on GitHub.For a list of the latest changes, please see theChangelog.How to Cite GO-PCAIf you use GO-PCA in your research, please citeWagner (PLoS One, 2015)Copyright and LicenseCopyright (c) 2015, 2016 Florian WagnerGO-PCA is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License, Version 3,
as published by the Free Software Foundation.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
Package: gopca2
[![Version][version-shield]][version-url]
[![Python versions][python-shield]][python-url]
[![License][license-shield]][license-url]# GO-PCA 2.0<!– MARKDOWN LINKS & IMAGES –>
<!–https://www.markdownguide.org/basic-syntax/#reference-style-links–>
[version-shield]:https://img.shields.io/pypi/v/gopca2.svg[version-url]:https://pypi.python.org/pypi/gopca2[python-shield]:https://img.shields.io/pypi/pyversions/gopca2.svg[python-url]:https://pypi.python.org/pypi/gopca2[license-shield]:https://img.shields.io/pypi/l/gopca2.svg[license-url]:https://github.com/flo-compbio/gopca2/blob/master/LICENSE
Package: gopca-server
Start$pythonsetup.pydevelop$go-pca-server.py-ddata_dir-rrun_dir-kyour_secret_cookie_phrase[-pport]Copyright and LicenseCopyright (c) 2015 Florian Wagner, Razvan PaneaGO-PCA Web Server is free software: you can redistribute it and/or
modify it under the terms of the GNU General Public License,
Version 3, as published by the Free Software Foundation.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.