Metadata-Version: 2.4
Name: fourbyfour
Version: 0.1.1
Summary: Official Fourbyfour SDK for Python
Project-URL: Homepage, https://github.com/occupymars/fourbyfour
Project-URL: Repository, https://github.com/occupymars/fourbyfour.git
Project-URL: Documentation, https://docs.fourbyfour.dev
Author: Fourbyfour
License-Expression: MIT
Keywords: fourbyfour,hooks,notifications,sdk,stream
Classifier: Development Status :: 3 - Alpha
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Typing :: Typed
Requires-Python: >=3.9
Requires-Dist: httpx>=0.25.0
Provides-Extra: dev
Requires-Dist: mypy>=1.0; extra == 'dev'
Requires-Dist: pytest-asyncio>=0.21; extra == 'dev'
Requires-Dist: pytest>=7.0; extra == 'dev'
Requires-Dist: ruff>=0.1; extra == 'dev'
Description-Content-Type: text/markdown

# Fourbyfour Python SDK

Official Python SDK for the Fourbyfour platform.

## Installation

```bash
pip install fourbyfour
```

## Usage

```python
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](https://docs.fourbyfour.dev) for full documentation.
