Launch your LINE bot to the next level.
Project description
This project is currently work-in-progress, so this repo will remain blank until it's done.
Learn More
:rocket: Launch your bot to the next level.
Ever want your LINE Bot's source code cleaner, smoother? LINELIB is your choice.
🧹 Say No More To Unorganized Code.
LINELIB has one of the best tools like events and action handlers, which saves you a lot of time!
Let's say you have a postback action, but you DON'T want another if
statement to handle all of the action postbacks at once...
JUST TRY OUT ACTION HANDLERS!
— The Wise Man
def someEvent(...):
action = New.PostbackAction(...)
# Check This Out!
@action.handle()
def handleIt(ctx):
ctx.reply("Responding to actions has never been easier like this.")
...with ✨ DATA STORAGE ✨!
Data storage helps you to identify a user, or store a pre-built function to execute next.
Everything. You can store EVERYTHING.
— Also The Wise Man
def stuff():
print("I like cheeseburger")
action = New.PostbackAction(..., remember="a user", and_do=stuff)
@action.handle()
def handleIt(ctx, remember, and_do):
# ^^^^^^^^^^^^^^^^^
# simple as that.
ctx.reply("I remember you: " + remember)
and_do()
🤖 All, automated.
LINELIB uses flask
to open the magic portal of HTTP.
Replit is a good option for hosting bots.
— Also Also The Wise Man
Configuring webservers,
Managing Data,
Understanding LINE API Responses,
Managing Data,
Understanding LINE API Responses,
💻 Just Concentrate on Coding.
Hosting webservers, managing data, understanding how LINE API works... Say no more! LINELIB does all of that — Just for you.
Just look how clean using LINELIB Client:
client = linelib.Client("channel secret", "channel access token")
...that's it. That's all you need to code.
What about Flask Servers? Handlers?
Long Story Short, we did it all for you.
🚀 The Journey Awaits.
Let's just get started.
client.run(host="0.0.0.0", port=8080)
Launch your bot!
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
Built Distribution
File details
Details for the file linelib-0.1.tar.gz
.
File metadata
- Download URL: linelib-0.1.tar.gz
- Upload date:
- Size: 21.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.8.12
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 13b6fc79d2c57ce594cd051aa48a519ed5a9fa2b58361e126be759a2fcf6ceef |
|
MD5 | e216efa5dd96b75d4fd2dbf46c94d925 |
|
BLAKE2b-256 | 8df5cdb5b01d4aabb661f4a4bf355ad86613c6744f9c64c0bae604d480001159 |
File details
Details for the file linelib-0.1-py3-none-any.whl
.
File metadata
- Download URL: linelib-0.1-py3-none-any.whl
- Upload date:
- Size: 23.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.8.12
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 60e6a468e9e6f5d709074c4ced4d4f3f0a7b1c66644ce1b5f6b083f239a16063 |
|
MD5 | 2332f3f4609e4d69a53e36310b59379c |
|
BLAKE2b-256 | aaea37e0a5b6c7e43fd69506850c044090de531fa0b5330a7d4a62bae5839daf |