omfit_谷歌地图
omfit-google-sheet的Python项目详细描述
GOOGLE_SHEET用作OMFIT项目一部分的文件:https://omfit.io/
提供:
- OMFITgoogleSheet
- OMFIT实验台
要求:
- matplotlib>;=3.1,!=3.2.1,!=3.2.2
- 数量=1.12
- 0.0英寸=1英寸
- 不确定性>;=3
- xarray>;=0.10.8
- omfit_mds==2020.12.2.22.59
- omfit_数据==2020.12.2.22.59
- omfit_基数==2020.12.2.22.59
- omfit_commonclasses==2020.12.2.22.59
作者:
https://omfit.io/contributors.html
文件:
OMFITgoogleSheet
Connects to Google sheets and provides some convenience features
* Lookup columns by column header name instead of column number
* Local caching to allow repeated read operations without too many connections to the remote sheet.
* Throttle to avoid throwing an exception due to hitting Google's rate limiter,
or pygsheet's heavy-handed rate limit obedience protocol.
An example sheet that is compatible with the assumptions made by this class may be found here:
https://docs.google.com/spreadsheets/d/1MJ8cFjFZ2pkt4OHWWIciWT3sM2hSADqzG78NDiqKgkU/edit?usp=sharing
A sample call that should work to start up an OMFITgoogleSheet instance is:
>>> gsheet = OMFITgoogleSheet(
>>> keyfile=os.sep.join([OMFITsrc, '..', 'samples', 'omfit-test-gsheet_key.json']),
>>> sheet_name='OmfitDataSheetTestsheet',
>>> subsheet_name='Sheet1', # Default: lookup first subsheet
>>> column_header_row_idx=5, # Default: try to guess
>>> units_row_idx=6, # Default: None
>>> data_start_row_idx=7, # Default: header row + 1 (no units row) or + 2 (if units row specified)
>>> )
This call should connect to the example sheet. This is more than an example; this is a functional call
that is read out of the docstring by the regression test and testing will fail if it doesn't work properly.
OMFIT实验台
^{pr2}$- 项目
标签: