Unofficial Python SDK for Swikly API v2
Project description
swikly-sdk (unofficial)
Production-grade Python SDK for Swikly API v2 (sync + async), based on Swikly's OpenAPI spec.
Install
pip install swikly-sdk
Quickstart
from swikly import SwiklyClient
client = SwiklyClient(
token="YOUR_API_TOKEN",
environment="sandbox", # or "production"
user_agent="YourProject/1.0",
)
accounts = client.accounts.list()
account_id = accounts.accounts[0].id
req = client.requests.create(
account_id=account_id,
description="My simple deposit request",
language="fr",
first_name="John",
last_name="Doe",
deposit={"startDate": "2026-06-10", "endDate": "2026-06-12", "amount": 12000},
)
print(req.request.link)
Webhook signature verification
from swikly.webhooks import verify_swikly_signature
ok = verify_swikly_signature(
secret="ACCOUNT_SECRET",
signature_header=headers["Swikly-Signature"],
raw_body=request_raw_body_bytes,
tolerance_seconds=10 * 60,
)
Notes
- Swikly requires
Accept: application/json. - Swikly recommends setting a meaningful
User-Agent(e.g.YourProject/1).
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file swikly_sdk_python-0.1.1.tar.gz.
File metadata
- Download URL: swikly_sdk_python-0.1.1.tar.gz
- Upload date:
- Size: 10.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
340344a463a91050f8f9ce4d4fc04286b650a80cb948d917e6d4d7ca7693d0b5
|
|
| MD5 |
c6b6b495a53e19f9303aaf8a114e8a7a
|
|
| BLAKE2b-256 |
cbc30688bf473a5182f69b47d57d0c2adf9fc5078b95be59be08535223ef9fbf
|
Provenance
The following attestation bundles were made for swikly_sdk_python-0.1.1.tar.gz:
Publisher:
publish.yml on codelounge-io/swikly-sdk-python
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
swikly_sdk_python-0.1.1.tar.gz -
Subject digest:
340344a463a91050f8f9ce4d4fc04286b650a80cb948d917e6d4d7ca7693d0b5 - Sigstore transparency entry: 956326684
- Sigstore integration time:
-
Permalink:
codelounge-io/swikly-sdk-python@daac234dc91aa1c5de005601f314b766156399c3 -
Branch / Tag:
refs/tags/v0.1.1 - Owner: https://github.com/codelounge-io
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@daac234dc91aa1c5de005601f314b766156399c3 -
Trigger Event:
release
-
Statement type:
File details
Details for the file swikly_sdk_python-0.1.1-py3-none-any.whl.
File metadata
- Download URL: swikly_sdk_python-0.1.1-py3-none-any.whl
- Upload date:
- Size: 12.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b35a5db013fde3d72c005b8d158f8c7a007f4f043b35fbb1e0ebd1420aa9b605
|
|
| MD5 |
7953f237cff1058a0187493bd3588535
|
|
| BLAKE2b-256 |
ac084925a3ab9da0d3255187b66c581263609c7714168420764873e5695d4420
|
Provenance
The following attestation bundles were made for swikly_sdk_python-0.1.1-py3-none-any.whl:
Publisher:
publish.yml on codelounge-io/swikly-sdk-python
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
swikly_sdk_python-0.1.1-py3-none-any.whl -
Subject digest:
b35a5db013fde3d72c005b8d158f8c7a007f4f043b35fbb1e0ebd1420aa9b605 - Sigstore transparency entry: 956326685
- Sigstore integration time:
-
Permalink:
codelounge-io/swikly-sdk-python@daac234dc91aa1c5de005601f314b766156399c3 -
Branch / Tag:
refs/tags/v0.1.1 - Owner: https://github.com/codelounge-io
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@daac234dc91aa1c5de005601f314b766156399c3 -
Trigger Event:
release
-
Statement type: