-
Notifications
You must be signed in to change notification settings - Fork 97
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
57 changed files
with
2,020 additions
and
1,464 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,25 +8,24 @@ msgid "" | |
msgstr "" | ||
"Project-Id-Version: PyODPS 0.7.16\n" | ||
"Report-Msgid-Bugs-To: \n" | ||
"POT-Creation-Date: 2024-03-15 15:54+0800\n" | ||
"POT-Creation-Date: 2024-12-17 11:11+0800\n" | ||
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" | ||
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" | ||
"Language-Team: LANGUAGE <[email protected]>\n" | ||
"MIME-Version: 1.0\n" | ||
"Content-Type: text/plain; charset=utf-8\n" | ||
"Content-Transfer-Encoding: 8bit\n" | ||
"Generated-By: Babel 2.12.1\n" | ||
"Generated-By: Babel 2.16.0\n" | ||
|
||
#: ../../source/installation-ext.rst:5 | ||
msgid "安装指南" | ||
msgstr "Installation instructions" | ||
|
||
#: ../../source/installation-ext.rst:7 | ||
msgid "" | ||
"如果能访问外网,推荐使用 pip 安装。较新版本的 Python 通常自带 pip。如果你" | ||
"的 Python 不包含 pip,可以参考 `地址 <https://pip.pypa.io/en/stable/" | ||
"installing/>`_ 安装,推荐使用 `阿里云镜像 <http://mirrors.aliyun.com/help" | ||
"/pypi>`_ 加快下载速度。" | ||
"如果能访问外网,推荐使用 pip 安装。较新版本的 Python 通常自带 pip。如果你的 Python 不包含 pip,可以参考 `地址 " | ||
"<https://pip.pypa.io/en/stable/installing/>`_ 安装,推荐使用 `阿里云镜像 " | ||
"<http://mirrors.aliyun.com/help/pypi>`_ 加快下载速度。" | ||
msgstr "" | ||
"We recommend that you use pip to install Python on MaxCompute (PyODPS) " | ||
"when you have access to the Internet. pip is often installed with latest " | ||
|
@@ -36,42 +35,59 @@ msgstr "" | |
"<https://pip.pypa.io/en/stable/installing/>`_ ." | ||
|
||
#: ../../source/installation-ext.rst:11 | ||
msgid "接着确保 setuptools 的版本:" | ||
msgid "接着升级 pip 和 setuptools 的版本:" | ||
msgstr "" | ||
"Make sure that you install the correct versions of setuptools by the " | ||
"following command." | ||
"Make sure that you upgrade your pip and setuptools to the latest version " | ||
"by the following command." | ||
|
||
#: ../../source/installation-ext.rst:13 | ||
msgid "pip install setuptools>=3.0" | ||
msgid "pip install -U pip setuptools" | ||
msgstr "" | ||
|
||
#: ../../source/installation-ext.rst:17 | ||
msgid "接着就可以安装 PyODPS:" | ||
msgid "此后可以安装 PyODPS:" | ||
msgstr "Install PyODPS by using the following code:" | ||
|
||
#: ../../source/installation-ext.rst:19 | ||
msgid "pip install pyodps" | ||
msgstr "" | ||
|
||
#: ../../source/installation-ext.rst:23 | ||
msgid "" | ||
"如果安装时出现 `urllib3 v2.0 only supports OpenSSL 1.1.1+` 的报错,需要先安装一个兼容旧版 " | ||
"OpenSSL 的 urllib3 版本" | ||
msgstr "" | ||
"If you meet the error `urllib3 v2.0 only supports OpenSSL 1.1.1+` during" | ||
" installation, you need to install an older urllib3 version which is " | ||
"compatible with older OpenSSL versions." | ||
|
||
#: ../../source/installation-ext.rst:26 | ||
msgid "pip install urllib3\\<2.0" | ||
msgstr "" | ||
|
||
#: ../../source/installation-ext.rst:30 | ||
msgid "此后再安装 PyODPS。" | ||
msgstr "Then PyODPS can be installed as expected." | ||
|
||
#: ../../source/installation-ext.rst:32 | ||
msgid "检查安装完成:" | ||
msgstr "Check whether the installation has been completed:" | ||
|
||
#: ../../source/installation-ext.rst:25 | ||
#: ../../source/installation-ext.rst:34 | ||
msgid "python -c \"from odps import ODPS\"" | ||
msgstr "" | ||
|
||
#: ../../source/installation-ext.rst:30 | ||
#: ../../source/installation-ext.rst:38 | ||
msgid "如果使用的python不是系统默认的python版本,安装完pip则可以:" | ||
msgstr "" | ||
"If your version of Python is not the default version, run the following " | ||
"code after installing pip:" | ||
|
||
#: ../../source/installation-ext.rst:32 | ||
msgid "/home/tops/bin/python2.7 -m pip install setuptools>=3.0" | ||
#: ../../source/installation-ext.rst:40 | ||
msgid "/home/tops/bin/python2.7 -m pip install -U pip setuptools" | ||
msgstr "" | ||
|
||
#: ../../source/installation-ext.rst:36 | ||
#: ../../source/installation-ext.rst:44 | ||
msgid "其余步骤类似。" | ||
msgstr "Repeat these steps to install your version of Python." | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,23 +8,21 @@ msgid "" | |
msgstr "" | ||
"Project-Id-Version: PyODPS 0.8.0\n" | ||
"Report-Msgid-Bugs-To: \n" | ||
"POT-Creation-Date: 2024-07-27 19:27+0800\n" | ||
"POT-Creation-Date: 2024-11-30 15:32+0800\n" | ||
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" | ||
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" | ||
"Language-Team: LANGUAGE <[email protected]>\n" | ||
"MIME-Version: 1.0\n" | ||
"Content-Type: text/plain; charset=utf-8\n" | ||
"Content-Transfer-Encoding: 8bit\n" | ||
"Generated-By: Babel 2.12.1\n" | ||
"Generated-By: Babel 2.16.0\n" | ||
|
||
#: ../../source/options.rst:5 | ||
msgid "配置选项" | ||
msgstr "Configuration" | ||
|
||
#: ../../source/options.rst:8 | ||
msgid "" | ||
"PyODPS 提供了一系列的配置选项,可通过 ``odps.options`` 获得,如下面的例子" | ||
":" | ||
msgid "PyODPS 提供了一系列的配置选项,可通过 ``odps.options`` 获得,如下面的例子:" | ||
msgstr "" | ||
"PyODPS provides a series of configuration options, which can be obtained " | ||
"through ``odps.options``. Here is a simple example:" | ||
|
@@ -34,11 +32,10 @@ msgid "" | |
"from odps import options\n" | ||
"# 设置所有输出表的生命周期(lifecycle 选项)\n" | ||
"options.lifecycle = 30\n" | ||
"# 使用 Tunnel 下载 string 类型时使用 bytes(tunnel.string_as_binary 选项" | ||
")\n" | ||
"# 使用 Tunnel 下载 string 类型时使用 bytes(tunnel.string_as_binary 选项)\n" | ||
"options.tunnel.string_as_binary = True\n" | ||
"# PyODPS DataFrame 用 ODPS 执行时,参照下面 dataframe 相关配置,sort 时" | ||
"设置 limit 到一个比较大的值\n" | ||
"# PyODPS DataFrame 用 ODPS 执行时,参照下面 dataframe 相关配置,sort 时设置 limit 到一个比较大的值" | ||
"\n" | ||
"options.df.odps.sort.limit = 100000000" | ||
msgstr "" | ||
"from odps import options\n" | ||
|
@@ -110,6 +107,16 @@ msgstr "LogView holding time (hours)" | |
msgid "24" | ||
msgstr "" | ||
|
||
#: ../../source/options.rst:1 | ||
msgid "use_legacy_logview" | ||
msgstr "" | ||
|
||
#: ../../source/options.rst:1 | ||
msgid "使用旧版 LogView 地址,None 表示自动根据 Endpoint 处理" | ||
msgstr "" | ||
"Use legacy LogView address. If None is specified, LogView will be " | ||
"selected given MaxCompute endpoint." | ||
|
||
#: ../../source/options.rst:1 | ||
msgid "quota_name" | ||
msgstr "" | ||
|
@@ -123,9 +130,7 @@ msgid "local_timezone" | |
msgstr "" | ||
|
||
#: ../../source/options.rst:1 | ||
msgid "" | ||
"使用的时区,None 表示不处理,True 表示本地时区,False 表示 UTC,也可用 " | ||
"pytz 的时区" | ||
msgid "使用的时区,None 表示不处理,True 表示本地时区,False 表示 UTC,也可用 pytz 的时区" | ||
msgstr "" | ||
"Used time zone. None indicates that PyODPS takes no actions, True " | ||
"indicates local time, and False indicates UTC. The time zone of pytz " | ||
|
@@ -387,7 +392,7 @@ msgstr "" | |
msgid "配置使用 Tunnel 所需的标签" | ||
msgstr "Tags when calling tunnel service" | ||
|
||
#: ../../source/options.rst:73 | ||
#: ../../source/options.rst:74 | ||
msgid "DataFrame 配置" | ||
msgstr "DataFrame configurations" | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.