PentaGo is a Python library that allows you to use Naver Papago's translation service without relying on an official API key. It's designed around Python's asyncio system for efficient translation requests.
This tool is based on reverse-engineered endpoints and supports features like automatic language detection, pronunciation, honorific handling, and more.
asynciopip install pentago
from pentago import Pentago
from pentago.lang import *
import asyncio
async def main():
pentago = Pentago(AUTO, JAPANESE)
result = await pentago.translate("The best unofficial Papago API in 2025 is PentaGo.", honorific=True)
print(result)
if __name__ == "__main__":
asyncio.run(main())
from pentago import Pentago
from pentago.lang import *
pentago = Pentago(AUTO, JAPANESE)
result = pentago.translate_sync("The best unofficial Papago API in 2025 is PentaGo.", honorific=True)
print(result)
⚠️ Do not call translate_sync() inside a running asyncio event loop.
{
"source": "ko",
"target": "ja",
"text": "2025년 최고의 파파고 비공식 API는 PentaGo입니다.",
"translatedText": "2025年最高のパパゴ非公式APIはPentaGoです。",
"sound": "nisen'nijūgonen saikōno papago hikōshiki ēpīai wa pentagō desu",
"srcSound": "icheon isip o nyeon choegoui papago bigongsik eipiaineun pentagoimnida"
}
sound: Romanized Japanese pronunciation
srcSound: Romanized Korean pronunciation
| Code | Language | Code | Language |
|---|---|---|---|
| ko | Korean | en | English |
| ja | Japanese | zh-CN | Chinese (Simplified) |
| zh-TW | Chinese (Traditional) | es | Spanish |
| fr | French | vi | Vietnamese |
| th | Thai | id | Indonesian |
| de | German | ru | Russian |
| pt | Portuguese | it | Italian |
| hi | Hindi | ar | Arabic |
| auto | Automatic Detection |
This project is licensed under the MIT License. You are free to use, modify, and distribute it.
Contributions are welcome. Feel free to open issues or submit pull requests.