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.4.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.4-py3-none-any.whl (4.8 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for phpdoc-trans-0.0.4.tar.gz
Algorithm Hash digest
SHA256 cb4e34898dee574209ade4b54d8b4e339f5946e872b2e33e6543b9093371fbca
MD5 be19faed0da98d106e1e254defad5dbe
BLAKE2b-256 4b73abd224750588bf85da94ff119188b273f2f1c92792dd1e1d4cfc519d6bb1

See more details on using hashes here.

File details

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

File metadata

  • Download URL: phpdoc_trans-0.0.4-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.9.16

File hashes

Hashes for phpdoc_trans-0.0.4-py3-none-any.whl
Algorithm Hash digest
SHA256 6af2bea82d81df55f0b5e244ba220d02dc17f7b82572e1c4715dbb9c6993742e
MD5 386e1e3b229a7519f7e4a51a799be77b
BLAKE2b-256 e69a408924a6e19a5dfb25840604dafc8a2b963f663fa566d7a6a62b7996f398

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