Official Fourbyfour SDK for Python
Project description
Fourbyfour Python SDK
Official Python SDK for the Fourbyfour platform.
Installation
pip install fourbyfour
Usage
from fourbyfour import Fourbyfour
fbf = Fourbyfour(api_key="your-api-key")
# Stream
topic = fbf.stream.topics.create(name="events", partitions=3)
fbf.stream.topics.produce("events", key="user-1", value={"action": "click"})
# Notifications
fbf.notifications.send(
channel="email",
recipient="user@example.com",
subject="Hello",
body="Welcome to Fourbyfour!"
)
# Webhooks
endpoint = fbf.hooks.create_endpoint(
url="https://example.com/webhook",
events=["order.created"]
)
Documentation
See docs.fourbyfour.dev for full documentation.
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
fourbyfour-0.1.1.tar.gz
(13.7 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file fourbyfour-0.1.1.tar.gz.
File metadata
- Download URL: fourbyfour-0.1.1.tar.gz
- Upload date:
- Size: 13.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.11.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0919eaee137c61e74627c8cc8cb457a35464549f545e536c4c40fbb04aab45ec
|
|
| MD5 |
0b09f46ea16d57569e84820a4d97384c
|
|
| BLAKE2b-256 |
9fad0fe2fb6eb6b8b1b81bc649bf09710e41d78fa490e128db9bc6abff81a8c6
|
File details
Details for the file fourbyfour-0.1.1-py3-none-any.whl.
File metadata
- Download URL: fourbyfour-0.1.1-py3-none-any.whl
- Upload date:
- Size: 20.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.11.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
cc82310c1da1cfaea191d5d859fe543b3933c937a8ffb607365bfd03bc3cafc2
|
|
| MD5 |
0856034d19572ee3570971c940969dfd
|
|
| BLAKE2b-256 |
03d58c89ddd1ab01143d14d29ce348b3104a24a52fdec72950de15d3a30acd0b
|