Skip to main content

Unofficial Papago API using reverse-engineered web endpoints

Project description

PentaGo Logo Orbitron Heading

PyPI version Python License


PentaGo – Unofficial Papago API for Python

PentaGo is an unofficial, resilient Python library that interacts with Naver Papago’s web-based translation service. It uses reverse-engineering techniques to automate translations without relying on an official API key, and is suitable for both lightweight tasks and scalable pipelines.

This library is ideal for developers seeking a programmable interface to Papago for bot integration, automation pipelines, language tools, and more.

Actively maintained and confirmed working as of 2025


🚀 Features

  • ✅ Access Papago without official API keys
  • ⚡ Built with native Python asyncio support
  • 🌍 Supports 16+ languages, including Korean, English, Japanese, and Chinese
  • 🔁 Automatic language detection
  • 💬 Returns pronunciation, honorific forms, and dictionary-level details
  • 🧱 Stable key regeneration for dynamic request headers (resilient to changes)

📦 Installation

Install via PyPI:

pip install pentago

🧪 Example Usage

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())

🔍 Expected Output

{
  "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

🌐 Supported Languages

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

📂 Use Cases

  • 🧠 Build translation bots without API rate limits
  • 🤖 Integrate into automation tools or data pipelines
  • 📚 Enhance personal projects requiring multilingual support
  • 🔐 Work around commercial API constraints via resilient scraping

📄 License

Licensed under the MIT License.


🤝 Contributing

Contributions, issues, and pull requests are always welcome.

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

pentago-0.1.2.tar.gz (9.4 kB view details)

Uploaded Source

Built Distribution

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

pentago-0.1.2-py3-none-any.whl (9.4 kB view details)

Uploaded Python 3

File details

Details for the file pentago-0.1.2.tar.gz.

File metadata

  • Download URL: pentago-0.1.2.tar.gz
  • Upload date:
  • Size: 9.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.11

File hashes

Hashes for pentago-0.1.2.tar.gz
Algorithm Hash digest
SHA256 11b76b4d1547f5f02ed6d7b7cfecf1cef5c2bd80199aa375c5349c6f349388dc
MD5 25c5b9ee8830cac27ead58c637110685
BLAKE2b-256 6fd3527a7085c4a24e158938a3a47659798029402e15a382b9c390bb393a314a

See more details on using hashes here.

File details

Details for the file pentago-0.1.2-py3-none-any.whl.

File metadata

  • Download URL: pentago-0.1.2-py3-none-any.whl
  • Upload date:
  • Size: 9.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.11

File hashes

Hashes for pentago-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 8f4eb92934b3a8fae737df8a76da533553e5143b84e12d4ad3b57e71bc329973
MD5 e485e05d0754c00109a6077893399750
BLAKE2b-256 daf65182c4ef9b5080f82bf9bf79063aa2260552a7d6bf40bef5ab1821425d58

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