Skip to main content

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

swikly_sdk_python-0.1.1.tar.gz (10.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

swikly_sdk_python-0.1.1-py3-none-any.whl (12.6 kB view details)

Uploaded Python 3

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

Hashes for swikly_sdk_python-0.1.1.tar.gz
Algorithm Hash digest
SHA256 340344a463a91050f8f9ce4d4fc04286b650a80cb948d917e6d4d7ca7693d0b5
MD5 c6b6b495a53e19f9303aaf8a114e8a7a
BLAKE2b-256 cbc30688bf473a5182f69b47d57d0c2adf9fc5078b95be59be08535223ef9fbf

See more details on using hashes here.

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

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file swikly_sdk_python-0.1.1-py3-none-any.whl.

File metadata

File hashes

Hashes for swikly_sdk_python-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 b35a5db013fde3d72c005b8d158f8c7a007f4f043b35fbb1e0ebd1420aa9b605
MD5 7953f237cff1058a0187493bd3588535
BLAKE2b-256 ac084925a3ab9da0d3255187b66c581263609c7714168420764873e5695d4420

See more details on using hashes here.

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

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page