This project has been archived by its maintainers, and is no longer receiving any updates.
TRMD
Translate Markdown using OpenAI.
Table of Contents
Prerequisites
- Python 3.13 and above
Install
- with brew
brew install rioriost/tap/trmd
- with uv
uv init your_project
cd your_project
uv venv
source .venv/bin/activate
uv add trmd
- with python venv on macOS / Linux
mkdir your_project
cd your_project
python3 -m venv .venv
source .venv/bin/activate
python3 -m pip install trmd
- with python venv on Windows
mkdir your_project
cd your_project
python -m venv venv
.\venv\Scripts\activate
python -m pip install trmd
Usage
trmd --help
usage: trmd [-h] [-o OUTPUT_FILE] [-k KEY] [-m MODEL] [--temperature TEMPERATURE] [--fragment-size FRAGMENT_SIZE] [-s {en,fr,es,de,it,pt,ru,ja,zh,ko}]
[-t {en,fr,es,de,it,pt,ru,ja,zh,ko}] [-a ADDITIONAL_PROMPT_FILE]
input_file
Trmd
positional arguments:
input_file Path to Markdown file to be translated
options:
-h, --help show this help message and exit
-o, --output_file OUTPUT_FILE
Path to the translated file
-k, --key KEY OpenAI API key
-m, --model MODEL OpenAI Model to use
--temperature TEMPERATURE
Temperature for API requests
--fragment-size FRAGMENT_SIZE
Fragment size for API requests
-s, --source-language {en,fr,es,de,it,pt,ru,ja,zh,ko}
Language of source Markdown
-t, --target-language {en,fr,es,de,it,pt,ru,ja,zh,ko}
Language to translate to
-a, --additional-prompt-file ADDITIONAL_PROMPT_FILE
Additional prompt for translation
Release Notes
0.1.37 Release
- move formula to rioriost/tap
0.1.36 Release
- Dependency update
0.1.35 Release
- Dependency update
0.1.34 Release
- Dependency update
0.1.33 Release
- Dependency Update
0.1.32 Release
- Dependency Update
0.1.31 Release
- Dependency Update
0.1.30 Release
- Dependency Update
0.1.29 Release
- Dependency Update
0.1.28 Release
- Dependency Update
0.1.27 Release
- Security Update
0.1.26 Release
- Dependency Update
0.1.25 Release
- Dependency Update
0.1.24 Release
- Dependency Update
0.1.23 Release
- Dependency Update
0.1.22 Release
- Dependency Update
0.1.21 Release
- Dependency Update
0.1.20 Release
- Dependency Update
0.1.19 Release
- Dependency Update
0.1.18 Release
- Dependency Update
0.1.17 Release
- Dependency Update
0.1.16 Release
- Dependency Update
0.1.15 Release
- Dependency Update
0.1.14 Release
- Dependency Update
0.1.13 Release
- Dependency Update
0.1.12 Release
- Dependency Update
0.1.11 Release
- Dependency Update
0.1.10 Release
- Dependency Update
0.1.9 Release
- Dependency Update
0.1.8 Release
- Dependency Update
0.1.7 Release
- Dependency Update
0.1.6 Release
- Dependency Update
0.1.5 Release
- Dependency Update
0.1.4 Release
- Dependency Update
0.1.3 Release
- Dependency Update
0.1.2 Release
- Dependency Update
0.1.1 Release
- Dependency Update
0.1.0 Release
- Initial release
License
MIT License
Metadata
Release files for trmd 0.1.42
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| trmd-0.1.42.tar.gz | 48.3 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| trmd-0.1.42-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 54.8 kB
Release files / trmd-0.1.42.tar.gz
| Download URL | trmd-0.1.42.tar.gz |
|---|---|
| Size | 48.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
6ef953158d60295f4ed14b06cd0f71afc735040c49daf2faa716eee1d098885b
|
|
BLAKE2b-256 checksum How to use checksums |
6230c7d3467195ce929af76e8aab5be8fef4dfc50cdd77a7c7016bbeb63a675c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.11.8 {"installer":{"name":"uv","version":"0.11.8","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
|
Release files / trmd-0.1.42-py3-none-any.whl
| Download URL | trmd-0.1.42-py3-none-any.whl |
|---|---|
| Size | 6.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
1dcd3efe58c24496eb41e57297840cd0e09b583038d06d4dc942e09e5d330a21
|
|
BLAKE2b-256 checksum How to use checksums |
631b4a6c96b58679f3139416be377e6705132d0b6d84df3e7bce4695a9638b95
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.11.8 {"installer":{"name":"uv","version":"0.11.8","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
|
Security for trmd 0.1.42
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.