GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - Klypse/PentaGo: 파파고 비공식 번역 자동화 도구 (Unofficial Papago API using reverse-engineered web endpoints)

BranchesTags
Open more actions menu

Latest commit

 

History

72 Commits
72 Commits

Folders and files

NameName
Last commit message
Last commit date
assets
assets
 
 
docs
docs
 
 
pentago
pentago
 
 
.gitignore
.gitignore
 
 
LICENSE
LICENSE
 
 
README.md
README.md
 
 
license_key.txt
license_key.txt
 
 
main.py
main.py
 
 
pyproject.toml
pyproject.toml
 
 
setup.py
setup.py
 
 
test_sync.py
test_sync.py
 
 

Repository files navigation

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

🧱 Synchronous Usage

If you're working in a purely synchronous environment, you can call .translate_sync() instead:

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 an already-running asyncio event loop.


🌐 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.

About

파파고 비공식 번역 자동화 도구 (Unofficial Papago API using reverse-engineered web endpoints)

pypi.org/project/pentago/

Topics

automationhttp-clientkorean-translationnaverpapagopapago-apipythonreverse-engineeringscrapertext-translationtranslationunofficial-apiunofficial-apisweb-scraper

Resources

Readme
MIT license
Activity

Stars

11 stars

Watchers

1 watching

Forks

7 forks
Report repository

Releases

Packages

Contributors

Languages

You are visitor 01402520 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.