pyrx-synapse
Python SDK for the PYRX Synapse customer engagement platform. Provides both synchronous and asynchronous clients.
Requires Python 3.10+.
Installation
pip install pyrx-synapse
Quick Start
Sync
from pyrx_synapse import Synapse
with Synapse(api_key="psk_live_xxx", workspace_id="ws_xxx") as client:
# Track an event
client.track(external_id="user_123", event_name="purchase", attributes={"amount": 99.99})
# Identify a contact
client.identify(external_id="user_123", email="jane@example.com", properties={"tier": "pro"})
# Send a transactional email
client.send(
template_slug="welcome",
to={"user_id": "user_123", "email": "jane@example.com"},
attributes={"first_name": "Jane"},
)
Async
from pyrx_synapse import AsyncSynapse
async with AsyncSynapse(api_key="psk_live_xxx", workspace_id="ws_xxx") as client:
await client.track(external_id="user_123", event_name="purchase")
await client.identify(external_id="user_123", email="jane@example.com")
Features
- Synchronous and asynchronous clients
- Event tracking, contact management, template management, transactional email
- Webhook signature verification
- Automatic retry with exponential backoff
- Typed error classes for all API error types
Documentation
Full API reference and guides: synapse.pyrx.tech/developers/sdks/python
License
Metadata
Release files for pyrx-synapse 0.1.5
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 | |
|---|---|---|---|---|
| pyrx_synapse-0.1.5.tar.gz | 15.3 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| pyrx_synapse-0.1.5-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 29.5 kB
Release files / pyrx_synapse-0.1.5.tar.gz
| Download URL | pyrx_synapse-0.1.5.tar.gz |
|---|---|
| Size | 15.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
04e338242fc46759f6a43c7cba1c6a774f8895c214a069b509c850cccbafc7fe
|
|
BLAKE2b-256 checksum How to use checksums |
a1c5e662f1411125781919ce204a2cb2da27d40c9abdc459af057b1a4ff5f4ff
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.12.13
|
Release files / pyrx_synapse-0.1.5-py3-none-any.whl
| Download URL | pyrx_synapse-0.1.5-py3-none-any.whl |
|---|---|
| Size | 14.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
1f6302d7ecd733288a7900aefebbc16278574ef65d91a55e27062b17d1a91ae0
|
|
BLAKE2b-256 checksum How to use checksums |
9377d6f0138f5b81d687001dc957200d79a53d5521a5dfcf85ef7d2b03544286
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.12.13
|
Security for pyrx-synapse 0.1.5
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.