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 details)

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

Details for the file ganf-1.0.2a0.tar.gz.

File metadata

  • Download URL: ganf-1.0.2a0.tar.gz
  • Upload date:
  • Size: 7.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.7.1 CPython/3.8.10 Windows/10

File hashes

Hashes for ganf-1.0.2a0.tar.gz
Algorithm Hash digest
SHA256 815730450d6c3c9edeed46dbaedc9a2ec80af288cf0990ebdec430a34ae30071
MD5 42003ebfa451130a1bd8b0511e6804b7
BLAKE2b-256 186a8ce1ab1cd9318132497014c744697d538cf0172534506862338837f198bc

See more details on using hashes here.

File details

Details for the file ganf-1.0.2a0-py3-none-any.whl.

File metadata

  • Download URL: ganf-1.0.2a0-py3-none-any.whl
  • Upload date:
  • Size: 9.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.7.1 CPython/3.8.10 Windows/10

File hashes

Hashes for ganf-1.0.2a0-py3-none-any.whl
Algorithm Hash digest
SHA256 684baf12a4ee2a42026b0858a167c284bb383998e289489bd378096cc3ee9b28
MD5 0d3d0defbacec50806b3f3a3f733cdf7
BLAKE2b-256 44ccb81529290ed9cddd84a92f7155fea13125799e0b842f85b73f1e09fdb529

See more details on using hashes here.

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