$npx skillfedfor your agent

line-bot-sdk

LINE Messaging API SDK for Python

Worth itPyPI Software DevelopmentReleased Jul 202611.3M downloads / moApache License 2.0Pure Python

Decision gist · record as of 2026-08-14

pure-Python wheel — line_bot_sdk-3.25.0-py2.py3-none-any.whl
v3.25.0 · released 2026-07-07 · Python >=3.10.0 · 8 runtime deps: requests, urllib3, aiohttp, future, pydantic, aenum, python_dateutil, Deprecated

Yes. The SDK is production-stable (Apache 2.0, active maintenance, no known vulnerabilities), has low install friction, and is the canonical way to build LINE bots in Python. Install it if you are building any LINE bot or integrating LINE messaging into a Python application.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Requires Python >= 3.10.0 and valid LINE channel credentials (access token and channel secret).
  • Low install friction with a pure-Python wheel distribution.
  • Actively maintained with recent releases (last commit 2026-08-14, 2129 stars).

License · maintenance · safety

Apache License 2.0 (permissive) — Apache License 2.0 (permissive) allows commercial and private use, modification, and distribution with minimal restrictions—suitable for production bot projects.

last release 2026-07-07 (38 days) · last repo commit 2026-08-14 · 2,129 stars

0 known vulnerabilities (OSV.dev, 2026-08-14) · 11,317,145 downloads/mo, #1,399 on PyPI

Verify before relying

pip install line-bot-sdk

from line_bot_sdk.v3 import WebhookHandler
from line_bot_sdk.v3.messaging import Configuration, ApiClient, MessagingApi, ReplyMessageRequest, TextMessage

handler = WebhookHandler('YOUR_CHANNEL_SECRET')
configuration = Configuration(access_token='YOUR_CHANNEL_ACCESS_TOKEN')

@handler.add(MessageEvent, message=TextMessageContent)
def handle_message(event):
    with ApiClient(configuration) as api_client:
        line_bot_api = MessagingApi(api_client)
        line_bot_api.reply_message_with_http_info(
            ReplyMessageRequest(
                reply_token=event.reply_token,
                messages=[TextMessage(text=event.message.text)]
            )
        )
  • Whether the SDK handles rate limiting or retry logic automatically for API calls.
  • Specifics on async support beyond aiohttp dependency (e.g., async/await patterns in handlers).
  • Whether FlexMessage and RichMenu JSON deserialization covers all message types or has known gaps.
  • Full scope of message types and features supported by the MessagingApi client.
Same gist for agents: .md · .json

What it is and what it does

line-bot-sdk is the official Python client library for LINE's Messaging API, designed to simplify bot development on the LINE platform. It provides webhook parsing and event handling, message sending, and access to LINE's messaging features. The SDK abstracts away HTTP details and signature verification, letting developers focus on bot logic.

The package is built on requests, urllib3, aiohttp, pydantic, and other dependencies, supporting both synchronous and asynchronous workflows. It is actively maintained and supports Python 3.10 through 3.14. Developers typically use it to receive webhook events from LINE, parse them into typed event objects, and reply with formatted messages via the MessagingApi client.

Use it for

  • Build a LINE chatbot that echoes or processes user messages in real time.
  • Create a customer support bot that routes inquiries to different handlers based on message type.
  • Send rich, templated messages to LINE users from a backend service.
  • Parse and respond to LINE follow/unfollow and postback events for interactive bot flows.
  • Integrate LINE messaging into a web application with webhook callbacks.

Worth the install?

AI-flagged interpretation of the facts on this page. Verify before relying on it.

Worth it

Yes.

The SDK is production-stable (Apache 2.0, active maintenance, no known vulnerabilities), has low install friction, and is the canonical way to build LINE bots in Python. Install it if you are building any LINE bot or integrating LINE messaging into a Python application.

Install

line-bot-sdk on PyPI

Before you install

Low install friction with a pure-Python wheel distribution. Actively maintained with recent releases (last commit 2026-08-14, 2129 stars). Supports Python 3.10–3.14 with 8 runtime dependencies including requests, urllib3, aiohttp, and pydantic.

Requires Python >= 3.10.0 and valid LINE channel credentials (access token and channel secret).

License in practice

Apache License 2.0 (permissive) allows commercial and private use, modification, and distribution with minimal restrictions—suitable for production bot projects.

Quickstart

pip install line-bot-sdk

from line_bot_sdk.v3 import WebhookHandler
from line_bot_sdk.v3.messaging import Configuration, ApiClient, MessagingApi, ReplyMessageRequest, TextMessage

handler = WebhookHandler('YOUR_CHANNEL_SECRET')
configuration = Configuration(access_token='YOUR_CHANNEL_ACCESS_TOKEN')

@handler.add(MessageEvent, message=TextMessageContent)
def handle_message(event):
    with ApiClient(configuration) as api_client:
        line_bot_api = MessagingApi(api_client)
        line_bot_api.reply_message_with_http_info(
            ReplyMessageRequest(
                reply_token=event.reply_token,
                messages=[TextMessage(text=event.message.text)]
            )
        )

Verify before relying

  • Whether the SDK handles rate limiting or retry logic automatically for API calls.
  • Specifics on async support beyond aiohttp dependency (e.g., async/await patterns in handlers).
  • Whether FlexMessage and RichMenu JSON deserialization covers all message types or has known gaps.
  • Full scope of message types and features supported by the MessagingApi client.

Package facts

LicenseApache License 2.0 permissive
Python supportSupports the current Python release >=3.10.0
Install frictionLow. Pure-Python wheel
Runtime dependencies
8 packages
requestsurllib3aiohttpfuturepydanticaenumpython_dateutilDeprecated
MaintenanceActively maintained 38 days since the last release
Last repo commit
First released
Downloads11,317,145 / month, #1,399 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14
Classifiers
Development Status :: 5 - Production/StableIntended Audience :: DevelopersLicense :: OSI Approved :: Apache Software LicenseProgramming Language :: PythonProgramming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Python :: 3.14Topic :: Software Development

Evidence: line_bot_sdk-3.25.0-py2.py3-none-any.whl

Tags

Capabilities
LINE bot developmentLINE messaging APIwebhook handler for LINELINE chatbot SDKLINE message sendingLINE event parsingLINE bot framework
Topics
line-messagingchatbotwebhook-handler

Let your AI agent find packages like this

Example. Real query, live index.

You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.

wish › “LINE bot development”

  • line-bot-sdkSDK for building LINE bots that handles webhook parsing, event…
  • azure-mgmt-botserviceProvides Python bindings to manage Azure Bot Service resources—bots,…
  • qq-botpyA Python framework for building QQ chat bots that connect to…

Give your agent the search over MCP, or paste the wish link into any chat.

More Software Development packages

typing-extensions Worth it
PyPI · Software Development · released Jul 2026

Provides backported and experimental type hints for Python 3.9+, allowing use of newer typing features on older Python versions and enabling early experimentation with type system PEPs before they enter the standard library.

PSF-2.0pure Python · 3.9+
1.9Bdownloads / mo
numpy Worth it
PyPI · Software Development · released Aug 2026

NumPy provides an N-dimensional array object and a comprehensive suite of mathematical, linear algebra, Fourier transform, and random number functions for scientific computing in Python.

BSD-3-Clause AND 0BSD AND MIT AND Zlib AND CC0-1.0compiled wheel · 3.12+
1.1Bdownloads / mo
fastapi Worth it
PyPI · Software Development · released Jul 2026

FastAPI is a Python web framework for building REST APIs using type hints, with automatic request validation, serialization, and interactive API documentation.

MITpure Python · 3.10+
568.6Mdownloads / mo
annotated-doc With conditions
PyPI · Software Development · released Jul 2026

Provides a way to document function parameters, class attributes, return types, and variables inline using Python's `Annotated` type hint syntax instead of traditional docstrings.

MITpure Python · 3.9+
456.2Mdownloads / mo
typer Worth it
PyPI · Software Development · released Aug 2026

Typer builds command-line applications from Python functions using type hints, automatically generating help text, argument parsing, and shell completion.

Install it if you are building CLIs in Python.

MITpure Python · 3.10+
369.3Mdownloads / mo
distlib With conditions
PyPI · Software Development · released Jun 2026

Distlib provides low-level packaging utilities for building, distributing, and managing Python software—including metadata handling, version specifiers, wheel support, script installation, and dependency resolution.

permissive licensepure Python
323.3Mdownloads / mo

See also pywa · dingtalk-stream · fastapi-poe · botbuilder-core · pyTelegramBotAPI · slackweb · wecom-aibot-python-sdk · botframework-streaming · python-telegram-bot · slackclient