LINE Unofficial Python Library with Asyncio support and C++ Binding
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.
- Fully Asynchronously
- Slightly faster
- Easy to use
- Type-hint everywhere
pip3 install AsyncLine --upgrade
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()
Dyseo / @Dyseo
Asynz / Anysz
Issues always open for this
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 history Release notifications
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
|Filename, size||File type||Python version||Upload date||Hashes|
|Filename, size AsyncLine-184.108.40.206-py3-none-any.whl (297.4 kB)||File type Wheel||Python version py3||Upload date||Hashes View hashes|
|Filename, size AsyncLine-220.127.116.11.tar.gz (282.7 kB)||File type Source||Python version None||Upload date||Hashes View hashes|
Hashes for AsyncLine-18.104.22.168-py3-none-any.whl