Skip to main content

AsyncLine
Line Messaging API for Python
PyPi Releases Community

Python . License . Build . Version

Important

Please be warned: AsyncLine is in a very early beta. You will encounter bugs when using it. In addition, there are very many rough edges. With that said, please try it out in your applications: I need your feedback to fix the bugs and file down the rough edges.

Features

  • Fully Asynchronously
  • Slightly faster
  • Easy to use
  • Documented
  • Type-hint everywhere

Installation

  • pip3 install AsyncLine --upgrade

Simple usage

from AsyncLine import LineNext
import asyncio

cli = LineNext('ios')
cli.login(name='your session name', qr=True)

"""
Args login:
	name: string for create new session for next login, no effect if using token login
	token: string of token for login using token, no need to create session name
	mail: string of email that using for login using email, you can pass name session for custom session
			default using string of email for name session
	passwd: password of email used
	cert: (string | optional) if you have cert pass at this args for easy login using email
			sure you can use custom session name for this too
	qr: boolean pass True if want to login using authQr, and you can use custom session name
		e.g client.login(name="sync", qr=True) this needed for next login
"""

@cli.hooks(type=26, filters=Filters.command("hello"))
async def hello_message(client, msg):
	await client.talk.sendMessage(msg.to, "Heyy!")

#Run bot
cli.poll.streams()

Please read Example for more detail about usage this lib

Author

Dyseo / @Dyseo

Base Source

Asynz / Anysz

Getting Error

Issues always open for this

License

AsyncLine - Unofficially API Client library for Python

A short and simple permissive license with conditions only requiring preservation of copyright and license notices. Licensed works, modifications, and larger works may be distributed under different terms and without source code.

AsyncLine is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

Release files for AsyncLine 1.5.9.5

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for AsyncLine 1.5.9.5
File Size Uploaded
AsyncLine-1.5.9.5.tar.gz 282.7 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for AsyncLine 1.5.9.5
File Interpreter ABI Platform
AsyncLine-1.5.9.5-py3-none-any.whl Python 3 none any Details

Total release size: 580.0 kB

Release files / AsyncLine-1.5.9.5.tar.gz

Download URL AsyncLine-1.5.9.5.tar.gz
Size 282.7 kB
Tags Source
SHA-256 checksum
How to use checksums
3ad61cb68b81b0ad39acc18c52f1eceb0e5ff12aa994d229985d816c6d4a1a31
BLAKE2b-256 checksum
How to use checksums
8bd1b034cf44746a5730addce1d62156e1af2dc6d7e76d10fd35c41195b64503
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.35.0 CPython/3.7.3

Release files / AsyncLine-1.5.9.5-py3-none-any.whl

Download URL AsyncLine-1.5.9.5-py3-none-any.whl
Size 297.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
46f8d4f1065c31c0d8e3d720215e27440d4f0582f99b5b917ac200bf9a8731bb
BLAKE2b-256 checksum
How to use checksums
5a39332faceb4cec8c7e01ba84bedbece3da0fd3695659303e7139dbc27be9a2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.35.0 CPython/3.7.3
Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page