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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file phpdoc-trans-0.0.5.tar.gz.
File metadata
- Download URL: phpdoc-trans-0.0.5.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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1c2b671ad4a66b96c6366f8a3ce8d96dcc5e74e214ae095af6488a3c0950e7c8
|
|
| MD5 |
f94960c37afe0c01ca5eecd11981a700
|
|
| BLAKE2b-256 |
96a7b00e951edf94a82df06767043e095b027cb2db817cb391a912392dc8aa47
|
File details
Details for the file phpdoc_trans-0.0.5-py3-none-any.whl.
File metadata
- Download URL: phpdoc_trans-0.0.5-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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f66ab7628724dc53b707ec063cf760a36f9a99e58cb8a7990e56e11d9260a22f
|
|
| MD5 |
1c0c88d0161212e35393a9c1601067e4
|
|
| BLAKE2b-256 |
0289ac4ca54ec4e377aaf92b1bcdf776d122e0ae15885edee002cd57249e6b6d
|