Saravanan666/pypi-org huggingface dataset:
Package: google-search-scraper
google-search-scrapera python package to scrape google search resultsFree software: Apache Software License 2.0Documentation:https://google-search-scraper.readthedocs.io.FeaturesTODOCreditsThis package was created withCookiecutterand theaudreyr/cookiecutter-pypackageproject template.History0.1.0 (2020-12-20)First release on PyPI.
Package: google-seo-analyzer
When you are worried about your site SEO, you probably make many things to correct problems such as creatingredirects, correcting broken URLs etc. But, it can take a long time to Google come back and see that you’ve
done a good job.Fortunately, you yourself can mark desired URLs as corrected. But, if you have a large number of indexed URLs
and make lots of simultaneous changes, it can be hard to keep track of those URLs.google-seo-analyzer helps you by crawling all problematic URLs and generating a report about which statuses
have been changed and by ordering URLs in such a way you can easily identify error patterns.Usage: seo_analyzer.py path/to/file/ [debug|info|warning|error|critical]
Package: google-sheet-downloader
積木塊：Google Sheets 下載器 by Bowen Chiu這是一個能夠下載 Google Sheets 試算表的小工具。使用者可以輸入 Google 服務帳戶金鑰、試算表 ID、輸出資料夾路徑等資訊，程式會利用 Google Sheets API 下載資料並存成 CSV 檔案。使用說明特色:支援快取功能，曾經下載過的 google sheet document id 就不會再下載，飛快支援多個檔案下載支援一個 spreadsheet 當中所有的 worksheet 下載轉換為多個 .csv 檔案可 CLI 運用 command line 操作可 pip install package 當成套件呼叫而無須透過 CLI 也能用安裝:python3 -m pip install google-sheet-downloader使用:python3 -m google_sheet_downloader [-h] 
   --key-file KEY_FILE 
   --sheet-ids SHEET_IDS 
   --output-folder OUTPUT_FOLDER 
   [--force]詳細說明申請 Google 服務帳戶金鑰進入Google Cloud Console建立一個專案或使用現有的專案選擇左上角的導覽功能表 > API 和服務 > 憑證在「憑證」頁面中點擊「建立憑證」，然後選擇「服務帳戶」填寫相關資訊，完成後下載 JSON 金鑰檔案安裝 Python 3.x安裝相依套件pipinstall-rrequirements.txt執行程式pythongoogle-sheet-downloader.py--key-file<金鑰檔案路徑>--sheet-ids<試算表ID>--output-folder<輸出資料夾路徑>可以同時下載多個試算表，試算表 ID 以逗號分隔。
可以使用--force強制重新下載資料，忽略快取的檢查。參數說明--key-file：必填參數，Google 服務帳戶金鑰的 JSON 檔案路徑--sheet-ids：必填參數，要下載的試算表 ID，以逗號分隔--output-folder：必填參數，下載完成後要存放 CSV 檔案的資料夾路徑--force：選填參數，是否強制重新下載，忽略快取檢查，預設為False注意事項程式下載的 CSV 檔案以試算表 ID、試算表名稱、工作表名稱作為檔案名稱。如果輸出資料夾已經有相同檔名的 CSV 檔案，程式不會覆蓋原本的檔案，也不會下載該工作表的資料。下載的 CSV 檔案編碼為 UTF-8，換行符號為 CRLF。自然語言原始設計001 用途描述：本專案提供一個命令列工具，用於下載多個 Google 試算表並將其儲存在指定資料夾中。它具有類似緩存功能，如果已經下載過某個試算表，則會跳過該試算表，避免重複下載。002 程式碼檔名：google_sheet_downloader.py003 可單元測試的功能描述：T01 一次可下載多個 Google 試算表並儲存為 CSV 檔案到指定路徑
T02 檢查已下載的試算表，避免重複下載，已經下載過的相當於有快取
T03 執行參數可以強迫重新下載試算表，忽略快取
T04 要單獨一個處理 argparse 的 function（只有呼叫 cli會用到）, 要單獨獨立一個接收 argparse 參數的 function（為了做成套件給別人呼叫用，別人用套件時不會用到 cli）004 輸入目錄結構設計：./users/bohachu_gmail_com/github/bohachu/google_sheet_downloader/google_sheet_downloader.py
./users/bohachu_gmail_com/github/bohachu/google_sheet_downloader/keys/google_service_account_key.json005 輸入檔案格式設計：google_service_account_key.json: Google 服務帳戶的密鑰 JSON 檔案006 輸出目錄結構設計：./users/bohachu_gmail_com/github/bohachu/google_sheet_downloader/data/sheets_output/spreadsheet_試算表名字_worksheet_頁籤名字_doc-id_14GQkXftKXoaIJ_TKxtXzae1J7p10XznGgF_lg7cDG8g.csv007 輸出檔案格式設計：輸出檔案為 CSV 格式，一個 CSV 代表一個 worksheet 頁籤資料。008 命令列用法：python3 -m google_sheet_downloader --key-file <service_account_key.json> --sheet-ids <sheet_id1,sheet_id2> --output-folder <sheets_output>009 命令列範例：python3 -m google_sheet_downloader --key-file google_service_account_key.json --sheet-ids 1a2B3c4D5e6F,1x2y3z4A5B --output-folder sheets_outputCLI 參數設計：--key-file: Google 服務帳戶的密鑰 JSON 檔案路徑--sheet-ids: 要下載的多個 Google 試算表的 ID，以逗號分隔--output-folder: 輸出 CSV 檔案的資料夾路徑
Package: googlesheet-python-sdk
# youtube-python-sdk===================#### Python - Youtube Data API v3**youtube-python** is a simple client for youtube api. It uses [Youtube Data API v3](https://developers.google.com/youtube/v3/).## Installation```sudo pip install youtube-python```## Using```pythonfrom youtube import YouTubeapi = youtube.YouTube(api_key='')```## References https://developers.google.com/youtube/v3/docs/videos```pythonvideo = api.get('videos', id='B7FJV9KIn58')```## References https://developers.google.com/youtube/v3/docs/channels/list```pythonvideo = api.get('channels', id='UCLFZ5qAH-l_WiRd_EOzX2og')```## Contributing[https://github.com/rohitkhatri/youtube-python](https://github.com/rohitkhatri/youtube-python)## Youtube Data API v3[Youtube Data API v3 Doc](https://developers.google.com/youtube/v3/)
Package: googlesheets2csv
googlesheets2csvExport google spreadsheet to csv, you can filter data with SQL statement.Installationpipinstallgooglesheets2csvDevelopmentgitclonehttps://github.com/YuChunTsao/googlesheets2csv.gitcdgooglesheets2csv

pipinstall-e.How to get credential json?Create Google Cloud project.Enable "Google Sheets API" and "Google Drive API".Go to "APIs & Services > Credentials" and choose "CREATE CREDENTIALS > Service account".Fill out the form and click "Create" and "Done".Go to "IAM & Admin > Service Accounts > Keys" and click "ADD KEY > Create new key".Select JSON key type and press "Create". (The file will be downloaded automatically.)CLI usageusage: googlesheets2csv [-h] [-v] -c  -sn  -wn  [-sql] output

Export google spreadsheet to csv, you can filter data with SQL statement.

positional arguments:
  output                Output csv file path

options:
  -h, --help            show this help message and exit
  -v, --version         show program's version number and exit
  -c, --credential_file 
                        Google Cloud service account JSON file with credentials
  -sn, --spreadsheet_name 
                        spreadsheet name which you want to access
  -wn, --worksheet_name 
                        worksheet name which you want to access
  -sql                  You can filter data with SQL statement. (default "SELECT * FROM your_worksheet_name")
Package: google-sheets-tools
A package for downloading data from Google Sheets with spreadsheet URL.pip install google-sheets-tools - install the moduleimport google_sheets_tools - import the module to your projectclass SheetsDownloader:obj = SheetsDownloader(sheet_url, extension='csv') - create a constructorsheet_url - url of the Google sheetextension - extension of the downloaded file ('xlsx', 'ods', 'pdf', 'html', 'csv', 'tsv')obj.download_file(folder_name='sheets') - download a sheetfolder_name - to what folder download a spreadsheet; default value='sheets'get_downloaded_file_name() - get a name of your downloaded spreadsheetget_extension() - get the extension constructor works withclass CsvParser:download_csv_sheet(path='csv_files') - download the spreadsheet as a csv filepath - path to downloaded spreadsheet, can be structural '1\2\3'; default value='csv_files'get_csv_data(sheet_type='list') - returns a data from the csv filesheet_type - type of the returned data, can be ('list', 'json'); default value='list'
Package: googlesheets-to-scatterplot
googlesheets_to_scatterplot is a Python module for creating plots directly from spreadsheet.The project was started in 2020 by Vatan Patel as a pre-process task for Greendeck.Dependencies:pandasmatplotlibseaborngspreadoauth2clientSetup:Now you need to set up your sharing options. You will need to generate Signed Credentials, something that sounds more difficult than it is. Navigate to the Google Developers Console and create a new project (or use an existing one).Give your project a suitable name and then click create.Enable Drive API and Sheets API from Google Apps APIs.Now select Credentials on the left menu. Click the little arrow on the Create credentials button and select 'Help me choose' and select following options:Which API are you using: Google drive APIWhere will you be calling the API from: Other non-UIWhat data will you be accessing: Application dataAre you planning to use this API with App Engine or Compute Engine: No, I'm not using themDownload the JSON file which contains your client idMove the json into your current directory and rename it creds.json.Finally, open the file and look for client_email. This should be the name of your project at appspot.gserviceaccount.com. Share your Google Sheet with this email address (Top Right > Share > Enter Email).Now we are good to go. You can now use the module.Installation:If you already have a working installation of numpy, pandas, matplotlib, seaborn, oauth2client and gspread the easiest way to install googlesheets_to_scatterplot is using pip:$pipinstallgooglesheets-to-scatterplot==0.0.8Function to plot:googlesheets_to_scatterplot.plot(spreadsheet_name, xcol, ycol, sheet_number)Parameters for googlesheets_to_scatterplot.plot():spreadsheet_name (str, required): Write the name of the google spreadsheet you want to create plots from. Make sure the name matches exactly.xcol (str, required): The column name of the column you want on the x-axis.ycol (str, required): The column name of the column you want on the y-axis.sheet_number (int, default = 1): This is the sheet number in your spreadsheet on which the table is present.Imortant Links:URL:https://pypi.org/project/googlesheets-to-scatterplot/0.0.12/Changelog:0.0.4 (08/10/2020)First Release0.0.7 (09/10/2020)Second ReleaseWe remove the need for providing the client nameDefault sheet number is takes as 1We updated the README file.We add proper comments to our library for people to refer laterMade changes to the titleWe removed changelog from long_description0.0.12 (09/10/2020)Third releaseWe added changelog and other descriptions to README
Package: google-sheet-writer
google_sheet_writergoogle_sheet_writeris an object-oriented wrapper around (amazing!)gspreadandgspread_formattingthat allows to programmatically create Google Sheets tables in an easy way.On top of being convenient, it strives to minimize the amount of requests to save API quota.Install in development mode:pip install -e .See examples inexamplesfolder.The examples assumeUnited Kingdomspreadsheet locale (can be changed inFile → Settingsprior to launching generation script). Other locales (e.g.Russia) might not work.
Package: google-shopping-css
CSS API: Programmatically manage your Comparison Shopping Service (CSS) account data at scale.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 CSS 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-shopping-cssWindowspy -m venv <your-env>
.\<your-env>\Scripts\activate
pip install google-shopping-cssNext StepsRead theClient Library Documentationfor CSS API
to see other available methods on the client.Read theCSS 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: google-shopping-merchant-inventories
Merchant Inventories API: Programmatically manage your Merchant Center accounts.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 Merchant Inventories 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-shopping-merchant-inventoriesWindowspy -m venv <your-env>
.\<your-env>\Scripts\activate
pip install google-shopping-merchant-inventoriesNext StepsRead theClient Library Documentationfor Merchant Inventories API
to see other available methods on the client.Read theMerchant Inventories 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: google-shopping-merchant-reports
Merchant Reports API: Programmatically manage your Merchant Center accountsClient 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 Merchant Reports 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-shopping-merchant-reportsWindowspy -m venv <your-env>
.\<your-env>\Scripts\activate
pip install google-shopping-merchant-reportsNext StepsRead theClient Library Documentationfor Merchant Reports API
to see other available methods on the client.Read theMerchant Reports 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: google-shopping-type
Shopping Type Protos: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 Shopping Type Protos.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-shopping-typeWindowspy -m venv <your-env>
.\<your-env>\Scripts\activate
pip install google-shopping-typeNext StepsRead theClient Library Documentationfor Shopping Type Protos
to see other available methods on the client.Read theShopping Type Protos 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: google-sign
google-signCalculate sign string for google translate and baidu translateInstallationpip install google-signpython -c "from google_sign import google_sign; print(google_sign('test'))"
476257.126138Usagefrom google_sign import google_sign, js2py_sign, GTK

sign = google_sign('test')  #
print(sign)  # '476257.126138'

# for baidu translate text upto 30
sign = google_sign('test', GTK)  #
print(sign)  # '431039.159886'

# for baidu translate text longer than 30
sign = google_sign('test ' * 10)
print(sign)  # '403909.183028'

sign = google_sign('test ' * 10, GTK)
print(sign)  # dittoAcknowledgmentsThanks to everyone whose code was used
Package: googlesitemap.common
googlesitemap.commonThis core package includes sitemap generation common utilities withsitemap indexes support.
This way you will be more Google-friendly and you will be able to use sitemaps with very large sites.googlesitemap.common is not intended to be a standalone package. If you want to write a specific sitemap support you may start from here using its utilities.AuthorsDavide Moro <davide.moro@redomino.com>Changelog1.3 (2012-05-04)removed paster plugins [sithmel]1.2 (2012-04-02)added MANIFEST.in [sithmel]1.1 (2012-04-02)Nothing changed yet.1.0 (2011-04-15)Initial release
Package: google-speech
Google SpeechGoogle Speech is a simple multiplatform command line tool to read text using Google Translate TTS (Text To Speech) API.FeaturesSupport 64 different languagesCan read text without length limitCan read text from standard inputAutomatically pre download the next sentences while playing the current one to avoid long pauses between sentencesAutomatically store downloaded data in a local cacheCan apply anySoX effectto the audio while playing itInstallationGoogle Speech requiresPython>= 3.7.From PyPI (with PIP)If you don't already have it,install pipfor Python 3Install Google Speech:pip3 install google_speechInstallSoX, with MP3 support.
On Ubuntu and other Debian derivatives:sudo apt-get install sox libsox-fmt-mp3.
Windows users candownload binaries on the SoX website, once installed you also need to copylibmad DLLin the directory where you have installed SoX, and to add this directory to your PATH environment variable.From sourceIf you don't already have it,install setuptoolsfor Python 3Clone this repository:git clone https://github.com/desbma/GoogleSpeechInstall Google Speech:python3 setup.py installInstallSoX, with MP3 support.
On Ubuntu and other Debian derivatives:sudo apt-get install sox libsox-fmt-mp3.
Windows users candownload binaries on the SoX website, once installed you also need to copylibmad DLLin the directory where you have installed SoX, and to add this directory to your PATH environment variable.Command line usageRungoogle_speech -hto get full command line reference.ExamplesPlane stall alarm:google_speech -l en stall -e delay 0.5 overdrive 20 repeat 5 speed 0.9 gain -5Female robot voice (idea fromhere):google_speech -l en "Hello, I am a stupid robot voice" -e speed 0.9 overdrive 10 echo 0.8 0.7 6 0.7 echo 0.8 0.7 10 0.7 echo 0.8 0.7 12 0.7 echo 0.8 0.88 12 0.7 echo 0.8 0.88 30 0.7 echo 0.6 0.6 60 0.7Save to MP3 file :google_speech -l en -o hello.mp3 "Hello Google, greetings from France !"On Unix systems, with Bash and pipes, you can be creative:Bash greetings:google_speech -l en "Hello $USER, it is $(date)"Countdown:for i in {10..0}; do ( google_speech $i & ); sleep 1s; doneRead a Chuck Norris joke:curl -s http://api.icndb.com/jokes/random/ | python3 -c 'import html.parser, json, sys; print(html.parser.HTMLParser().unescape(json.load(sys.stdin)["value"]["joke"]))' | google_speech -Python usageYou can usegoogle_speechfrom any Python script or module.Sample code:from google_speech import Speech

# say "Hello World"
text = "Hello World"
lang = "en"
speech = Speech(text, lang)
speech.play()

# you can also apply audio effects while playing (using SoX)
# see http://sox.sourceforge.net/sox.html#EFFECTS for full effect documentation
sox_effects = ("speed", "1.5")
speech.play(sox_effects)

# save the speech to an MP3 file (no effect is applied)
speech.save("output.mp3")LicenseLGPLv2
Package: google-spell-checker
Google Spell CheckerIt is a simple multilingual Spell Checker using Google Text Completion.Installationpip install google-spell-checkerUsageGoogleSpellChecker.check(word) returns a tuple, the first variable is the correctness of the text,
the second variable is the most possible correct word (or None if it is a correct word).from google_spell_checker import GoogleSpellChecker

spell_checker = GoogleSpellChecker()
print(spell_checker.check("developmnet"))
# (False, 'development')
print(spell_checker.check("martialartz"))
# (False, 'martial arts')
print(spell_checker.check("amoxicillin-clavulanic"))
# (True, None)Different Language CodeThe GoogleSpellChecker uses the default language code "en-EN", but you can change it by passing the parameter
lang to GoogleSpellChecker() as follow:# For example, we use lang="id" for Indonesian
spell_checker = GoogleSpellChecker(lang="id")
print(spell_checker.check("sayalaparsekali, say ingn makn dirumha"))
# (False, 'saya lapar sekali, saya ingin makan di rumah')
Package: google_spreadsheet
Author:Pahaz BlinovRepo:https://github.com/pahaz/google-spreadsheets-api/Simple create/append google spreadsheet api helper.Requirementsoauth2clientgoogleapiclientInstallationgoogle_spreadsheetis on PyPI, so simply run:pip install google_spreadsheetoreasy_install google_spreadsheetto have it installed in your environment.For installing from source, clone therepoand run:python setup.py installUsage scenariosTwo typical usecases wheregoogle_spreadsheetis helpful there are:
1. create new spreadsheet with restricted acccess rules,
2. append data to existing spreadsheet.You can use it for export your user data to the google spreadsheet.
And sharing this data to all around the world or sharing to specific users.Usage examplesExample 1: create spreadsheetfromgoogle_spreadsheetimportget_credentials,Spreadsheetsdefcreate_example():credentials=get_credentials('auth.json',['https://www.googleapis.com/auth/drive','https://www.googleapis.com/auth/spreadsheets'])api=Spreadsheets(credentials=credentials)sheet=api.create('test1',writers=['pahaz.blinov@gmail.com'])print(sheet)if__name__=='__main__':create_example()Example 2: append row to existing spreadsheetfromgoogle_spreadsheetimportget_credentials,Spreadsheetsdefappend_data_example():credentials=get_credentials('auth.json',['https://www.googleapis.com/auth/drive','https://www.googleapis.com/auth/spreadsheets'])api=Spreadsheets(credentials=credentials)sheet=api.get('1jSHsmPTOOiPXdYQlrVBwbo3MO1vp64lmi5R_Ld_duKo')sheet.append([[1,2],[3,4]])if__name__=='__main__':append_data_example()