Metadata-Version: 2.4
Name: glyphhq
Version: 0.3.0
Summary: Python SDK for sending customer events to Glyph.
Project-URL: Homepage, https://glyphhq.io
Project-URL: Repository, https://github.com/glyphhq/sdks
Author: Glyph
License-Expression: MIT
Requires-Python: >=3.9
Description-Content-Type: text/markdown

# glyphhq

Python SDK for sending server-side customer events to Glyph.

```py
from glyphhq import Glyph

glyph = Glyph(write_key="glyph_pk_...")

glyph.profile(
    "user_123",
    {"email": "person@example.com", "plan": "pro"},
)
glyph.track("user_123", "Invoice paid", {"amount": 4900})
glyph.flush()
```

Use a `glyph_pk_...` key for live customer traffic or a `glyph_test_...` key to
verify an integration in Glyph's isolated test environment.

`profile()` requires a non-empty `email` trait because Glyph uses email as a
primary customer identity and communication channel.
