Metadata-Version: 2.4
Name: activitysmith
Version: 0.1.0
Summary: Official ActivitySmith Python SDK
Author-email: ActivitySmith <adam@activitysmith.com>
License: MIT
Project-URL: homepage, https://activitysmith.com
Project-URL: documentation, https://activitysmith.com/docs
Project-URL: source, https://github.com/ActivitySmithHQ/activitysmith-python
Project-URL: issues, https://github.com/ActivitySmithHQ/activitysmith-python/issues
Keywords: activitysmith,live activities,push notifications,api,sdk
Requires-Python: >=3.9
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: urllib3>=1.25.3
Requires-Dist: python-dateutil>=2.8.2
Requires-Dist: pydantic>=2
Provides-Extra: dev
Requires-Dist: pytest>=7; extra == "dev"
Requires-Dist: ruff>=0.5; extra == "dev"
Dynamic: license-file

# ActivitySmith Python Library

The ActivitySmith Python library provides convenient access to the ActivitySmith API from Python applications.

## Documentation

See the [API reference](https://activitysmith.com/docs/api-reference/introduction).

## Installation

This package is available on PyPI:

```sh
pip install activitysmith
```

Alternatively, install from source with:

```sh
python -m pip install .
```

## Usage

```python
import os
from activitysmith import ActivitySmith

client = ActivitySmith(
    api_key=os.environ["ACTIVITYSMITH_API_KEY"],
)

# Push Notifications
client.notifications.send_push_notification(
    push_notification_request={
        # See PushNotificationRequest for fields
    }
)

# Live Activities
client.live_activities.start_live_activity(
    live_activity_start_request={
        # See LiveActivityStartRequest for fields
    }
)
```

## API Surface

The client exposes grouped resources:

- `client.live_activities`
- `client.notifications`

Request/response models are included and can be imported from `activitysmith_openapi.models`.

## Requirements

- Python 3.9 or newer

## License

MIT
