Skip to main content

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

client = Fourbyfour(api_key="your-api-key")

# Stream
topic = client.stream.topics.create(name="events", partitions=3)
client.stream.topics.produce("events", key="user-1", value={"action": "click"})

# Notifications
client.notifications.send(
    channel="email",
    recipient="user@example.com",
    subject="Hello",
    body="Welcome to Fourbyfour!"
)

# Webhooks
endpoint = client.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.0.tar.gz (6.8 kB view details)

Uploaded Source

Built Distribution

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

fourbyfour-0.1.0-py3-none-any.whl (11.2 kB view details)

Uploaded Python 3

File details

Details for the file fourbyfour-0.1.0.tar.gz.

File metadata

  • Download URL: fourbyfour-0.1.0.tar.gz
  • Upload date:
  • Size: 6.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.14

File hashes

Hashes for fourbyfour-0.1.0.tar.gz
Algorithm Hash digest
SHA256 6e4c793f4d6aaece3c6fd9f5a3ff5dca0becafae97311be90a0ec219d341d6e8
MD5 613c509a5b43523b81d9512723052273
BLAKE2b-256 a68efa63969fe54e66639d38e4376f7f81f048bb81e60258e865e4f9518523ac

See more details on using hashes here.

File details

Details for the file fourbyfour-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: fourbyfour-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 11.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.14

File hashes

Hashes for fourbyfour-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 f9f1ddfcdaae3252a34c4a31d0fb3ff0d51247c328963efd4863817a877d2cfc
MD5 f40b2867296537e2a2d062ec5b88f76b
BLAKE2b-256 df65e428af5c408174f8ade7ec24f0478aa16ec2655a35d54729e29d321cdc11

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