Skip to main content

Ampalibe is a light open source framework for bot messenger.

Project description

Ampalibe

Video Tutorials · Documentation · Report Bug

Ampalibe is a light Python framework for quickly creating Facebook Messenger bots. It provides a new concept, it manages webhooks, processes data sent by Facebook and provides API Messenger with advanced functions such as payload management, item length, and more.

Installation

pip install ampalibe

OR you can install dev version

pip install https://github.com/iTeam-S/Ampalibe/archive/refs/heads/main.zip

if you use mysql as database, you have to install mysql-connector or mysql-connector-python with ampalibe

pip install ampalibe[mysql-connector]

OR

pip install ampalibe[mysql-connector-python]

Usage

command-line ampalibe is ampalibe.bat for Windows

ampalibe create myproject

OR

$ cd myproject
$ ampalibe init

to run project, just use

ampalibe run

for dev mode with Hot Reload

ampalibe run --dev

Register for an Access Token

You will need to configure a Facebook application, a Facebook page, get the access to the page, link the application to the page, configure a webhook for your app before you can really start using Ampalibe.

This app setup guide should help

OR

See this video on Youtube

Documentation

Other resource

Deployment

Using container

Go to our dir project and run

$ docker run -d -v "${PWD}:/usr/src/app" ghcr.io/iteam-s/ampalibe

Using heroku

  • Go to heroku docs for docker deploys

  • Change your Dockerfile like this

FROM ghcr.io/iteam-s/ampalibe

ADD . /usr/src/app/

CMD ampalibe -p $PORT run
  • Customize your Dockerfile if necessary

About

Ampalibe is a word of Malagasy 🇲🇬 origin designating the fruit jackfruit.

We have made a promise to

  • keep it light
  • make it easy to use
  • do it quickly to develop

Ampalibe Preview

Contributors

Image des contributeurs GitHub

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

ampalibe-1.0.6.tar.gz (17.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

ampalibe-1.0.6-py3-none-any.whl (17.6 kB view details)

Uploaded Python 3

File details

Details for the file ampalibe-1.0.6.tar.gz.

File metadata

  • Download URL: ampalibe-1.0.6.tar.gz
  • Upload date:
  • Size: 17.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.0 CPython/3.10.4

File hashes

Hashes for ampalibe-1.0.6.tar.gz
Algorithm Hash digest
SHA256 bc6532d9e44b6d20362ffff00d9712b2e8d076563b7f60b707f6ad4755d23127
MD5 ff2123ca407349898520839889473cb4
BLAKE2b-256 879e8972f5c112da821c5b2103db8a7e42a1367bef7398cf4794f8edf06ddea3

See more details on using hashes here.

File details

Details for the file ampalibe-1.0.6-py3-none-any.whl.

File metadata

  • Download URL: ampalibe-1.0.6-py3-none-any.whl
  • Upload date:
  • Size: 17.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.0 CPython/3.10.4

File hashes

Hashes for ampalibe-1.0.6-py3-none-any.whl
Algorithm Hash digest
SHA256 0d23ba61442f3e3967ff112625bb5ed1e55f865c66d5d4983f8c2a79a50acf54
MD5 1c5d5aabc09a2b22afc3f4908068fa2d
BLAKE2b-256 8a5442630ee8faf2c7aa79f5090bd73d28564b7b8b840fdd332df2629306f398

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page