This release is a pre-release and may not be stable for production use.
.o8 o8o
"888 `"'
888oooo. oooo oooooooo .oooo. oooo d8b oooo d8b .ooooo.
d88' `88b `888 d'""7d8P `P )88b `888""8P `888""8P d88' `88b
888 888 888 .d8P' .oP"888 888 888 888 888
888 888 888 .d8P' .P d8( 888 888 888 888 888
`Y8bod8P' o888o d8888888P `Y888""8o d888b d888b `Y8bod8P'
Bizarro
======================================= Bizarro is a python library for Facebook Messenger Bot. It's basic task is to help developers creating payloads for Facebook Messenger Bot. Facebook has different templates and buttons for their Messenger Platform. However, it's extremely tedious to write the payload every time. Bizarro here can help you to write awesome bot without worrying about the payload. All you need to do is send the necessary text inputs and bizarro's function will return the appropriate payload for you. Bizarro takes help of one of my other python package - Zathura, (A sqlite3 logger I wrote for one of my package). Currently, the library is in alpha version.
How to Install
It's a pypi package (https://pypi.org/project/bizarro/). So
pip install bizarro
Current support
Right now, bizarro has support for the following
- Echo Back (Simple text reply)
- Quick Reply
- Typing On
- Marked Seen
- Button
- Postback Button
- Url Button
- Call Button
- Template
- Button Template
- Generic Template
- List Template
Attachment sending is not enabled in any other buttons or template right now. They will be rolled out in upcoming versions.
How to work with bizarro
Suppose you want to send user a simple "Hello"
echo_text = bizarro_utility().basic_text_reply_payload(fb_user_id, message="Hello")
now all you have to do is, send the payload echo_text with your page_access_token. Code examples are coming soon.
Thank you, Ibtehaz, December 09, 2019
Metadata
Release files for bizarro 1.0.2a0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| bizarro-1.0.2a0.tar.gz | 14.1 kB | Without provenance | Details for bizarro-1.0.2a0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| bizarro-1.0.2a0-py3-none-any.whl | Python 3 | none | any | Details for bizarro-1.0.2a0-py3-none-any.whl |
Total release size: 79.6 kB
Release files / bizarro-1.0.2a0.tar.gz
| Download URL | bizarro-1.0.2a0.tar.gz |
|---|---|
| Size | 14.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
3b0812e75c4f8b8dc3e1dd10a29f1ed21a29e36bb5f1c522d0b31da69283cf99
|
|
BLAKE2b-256 checksum How to use checksums |
a433652c5dadbd7f260ddbaa35944c02f80967aaa44f59bfd55e529c3ed2c710
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.12.1 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.7.0 requests-toolbelt/0.8.0 tqdm/4.30.0 CPython/3.6.7
|
Release files / bizarro-1.0.2a0-py3-none-any.whl
| Download URL | bizarro-1.0.2a0-py3-none-any.whl |
|---|---|
| Size | 65.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
2d8bf7dc9eb73e482b7ab6b2c4c33885dea7421704c10bb2f4537d672bbf4a49
|
|
BLAKE2b-256 checksum How to use checksums |
67f0a0071c10f6a65d4d83d0711a3937b9b6912331134ddb9e28a173be0b38d2
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.12.1 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.7.0 requests-toolbelt/0.8.0 tqdm/4.30.0 CPython/3.6.7
|
Security for bizarro 1.0.2a0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.