Skip to main content

No project description provided

Project description

Ganf

基于OpenAI的文档批量翻译工具,用来批量的翻译mkdocs、sphinx相关文档。 本工具没有内置OpenAI的Api key,你需要自己去购买OpenAI或者Azure OpenAI的服务。

note 后续考虑支持POT等多语言文本的翻译(主要是要支持差异比对增量翻译)

安装

pip install ganf

快速开始

在你想要翻译的docs目录下调用 init 命令配置翻译策略

ganf init

翻译整个文档项目

ganf build

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

ganf-1.0.2a0.tar.gz (7.6 kB view hashes)

Uploaded Source

Built Distribution

ganf-1.0.2a0-py3-none-any.whl (9.7 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page