Skip to main content

Ampalibe is a lightweight Python framework for building Facebook Messenger bots faster.

Project description

Ampalibe

Video Tutorials · Documentation · Report Bug

Ampalibe is a lightweight Python framework for building Facebook Messenger bots faster. 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.

Show your support by giving a star 🌟 if this project helped you!

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]

if you use postgresql as database, you have to install psycopg2 with ampalibe

pip install ampalibe[psycopg2]

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" -p 4555:4555 ghcr.io/iteam-s/ampalibe

Using heroku container

  • Go to heroku docs for docker deploys

  • Change your Dockerfile like this

FROM ghcr.io/iteam-s/ampalibe

ADD . /usr/src/app/

# RUN pip install --no-cache-dir -r requirements.txt

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

Using heroku python

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

Contributors

Image des contributeurs GitHub

Community

📌 Extension

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.1.6.tar.gz (22.9 kB view details)

Uploaded Source

Built Distribution

ampalibe-1.1.6-py3-none-any.whl (22.6 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: ampalibe-1.1.6.tar.gz
  • Upload date:
  • Size: 22.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.8.14

File hashes

Hashes for ampalibe-1.1.6.tar.gz
Algorithm Hash digest
SHA256 f5a5e29ca8a4cdb488fc44089e0c35c765c38d491f39bb64b8f9050a81390c1e
MD5 e66502714b44dd5e1ffc5d7cc25778d4
BLAKE2b-256 a82de4004e40eb52c2ebaee703db9050b25bd865bf4f9b75e903138276eb3337

See more details on using hashes here.

Provenance

File details

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

File metadata

  • Download URL: ampalibe-1.1.6-py3-none-any.whl
  • Upload date:
  • Size: 22.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.8.14

File hashes

Hashes for ampalibe-1.1.6-py3-none-any.whl
Algorithm Hash digest
SHA256 c3ce099e6081738c3a299553f38e89c4687158481bbe7e3eed7a5ec6aa5b098f
MD5 875650cd1f58e4683bba4e483e6bc113
BLAKE2b-256 01ee4be43fa066101ee2da49f994429f38e0af7893a382f79b3774d087a777d5

See more details on using hashes here.

Provenance

Supported by

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