Nudgey
Python SDK for the Nudgey API.
Install
pip install nudgey
Quickstart
import os
from nudgey import NudgeyAPIError, NudgeyClient
client = NudgeyClient(api_key=os.environ["NUDGEY_API_KEY"])
try:
result = client.track(
"partner_smoke_test_user",
"sdk_installed",
{"source": "python-sdk"},
)
print(result)
except NudgeyAPIError as exc:
print(f"Nudgey request failed: {exc}")
What To Expect
The SDK uses the X-Nudgey-Key header for authentication and talks to https://api.nudgey.ai by default.
If you want to target a different environment, pass base_url when constructing the client.
Next Steps
- Create your API key in the Nudgey dashboard.
- Send your first production event.
- Add webhook handling if your integration consumes nudge delivery events.
Metadata
Release files for nudgey 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| nudgey-0.1.0.tar.gz | 5.6 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| nudgey-0.1.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 10.6 kB
Release files / nudgey-0.1.0.tar.gz
| Download URL | nudgey-0.1.0.tar.gz |
|---|---|
| Size | 5.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
9f4a26c36fa8425d00a27ef5cb9a9be72fc952dced042925d2d4be00312e149c
|
|
BLAKE2b-256 checksum How to use checksums |
31616b7b5e57f79b3d5ffb6d06bd2fd0999d8e96b3bc933d00dec40804b37d5a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.14.3
|
Release files / nudgey-0.1.0-py3-none-any.whl
| Download URL | nudgey-0.1.0-py3-none-any.whl |
|---|---|
| Size | 5.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
f66e3d1cc18a5db1d7e03f45c90cba197ae357eb2e5caab6d1abb3fc0496a6cb
|
|
BLAKE2b-256 checksum How to use checksums |
fa43f0f410996086f31cc8cf343441582d7b04f93e1d4dd3ea13eddad79f392d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.14.3
|