Skip to main content

PHP doc transaction tool

Project description

phpdoc-trans

A simple command line tool, use OpenAI api for phpdoc translation.

Installation

pip install phpdoc-trans

Use

You should have an openAPI key for this command.

To generate an openAI API key, while in the openAI website, click on your username in the top right corner, then go to "View API keys" and create a key.

After you get the key, you should set environment variable OPENAI_API_KEY={YOUR_API_KEY}

phpdoc-trans --lang --model --max-tokens --temperature {translate file path}

You can use phpdoc-trans --help for more information

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

phpdoc-trans-0.0.3.tar.gz (4.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

phpdoc_trans-0.0.3-py3-none-any.whl (4.8 kB view details)

Uploaded Python 3

File details

Details for the file phpdoc-trans-0.0.3.tar.gz.

File metadata

  • Download URL: phpdoc-trans-0.0.3.tar.gz
  • Upload date:
  • Size: 4.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.8.5

File hashes

Hashes for phpdoc-trans-0.0.3.tar.gz
Algorithm Hash digest
SHA256 f09f70a14932d12614db2a4a0cd41524693fd3eec809874e52ce2f0ea8ff4a1b
MD5 012093011074cd69169c2097fe2277a2
BLAKE2b-256 cb93c080e47885a359f6dea257af6c80a62897044b9828ca9ec8dd997e955a61

See more details on using hashes here.

File details

Details for the file phpdoc_trans-0.0.3-py3-none-any.whl.

File metadata

  • Download URL: phpdoc_trans-0.0.3-py3-none-any.whl
  • Upload date:
  • Size: 4.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.8.5

File hashes

Hashes for phpdoc_trans-0.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 47f54ae2cc5b35ed324055c6d39fdc9885c977dc9fc6e024ee47c787f9ca96a2
MD5 db3296421694cfcce60a21958ca66870
BLAKE2b-256 6e8b0aa3e792dbb3a1e34f4517fa7ebe07b60a2659c1da6d467b7d629384fa1d

See more details on using hashes here.

Supported by

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