This project has been archived by its maintainers, and is no longer receiving any updates.
pywisetransfer
An unofficial, experimental Python client library for the TransferWise API.
⚠️ The classes, functions and interfaces that this library provides are very much in-development and prone to change.
Installation
# Within your project directory
pip install pywisetransfer
Usage
API Requests
import pywisetransfer
client = pywisetransfer.Client(api_key="your-api-key-here")
for profile in client.profiles.list():
accounts = client.borderless_accounts.list(profile_id=profile.id)
for account in accounts:
currencies = [balance.currency for balance in account.balances]
print(f"AccountID={account.id}, Currencies={currencies}")
Webhook signature verification
from flask import abort, request
from pywisetransfer.webhooks import validate_request
@app.route("/payments/wise/webhooks")
def handle_wise_webhook():
try:
validate_request(request)
except Exception as e:
logger.error(f"Wise webhook request validation failed: {e}")
abort(400)
...
Run tests
# Within the pywisetransfer working directory
pip install .[dev]
pytest
Metadata
Release files for pywisetransfer 0.3.4.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 | Actions |
|---|---|---|---|---|
| pywisetransfer-0.3.4.5.tar.gz | 18.3 kB | Without provenance | Details for pywisetransfer-0.3.4.5.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| pywisetransfer-0.3.4.5-py3-none-any.whl | Python 3 | none | any | Details for pywisetransfer-0.3.4.5-py3-none-any.whl |
Total release size: 41.6 kB
Release files / pywisetransfer-0.3.4.5.tar.gz
| Download URL | pywisetransfer-0.3.4.5.tar.gz |
|---|---|
| Size | 18.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
18eb4d7b330633b4bd266f30fad831fee507720568565ed2e557525053751a89
|
|
BLAKE2b-256 checksum How to use checksums |
89f3abbf2c19ea1ff8d4f2b743cacb5f80731f2fcc18e70efa79446abd2e25ec
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/2.4.1 CPython/3.12.3 Linux/6.17.0-1022-azure
|
Release files / pywisetransfer-0.3.4.5-py3-none-any.whl
| Download URL | pywisetransfer-0.3.4.5-py3-none-any.whl |
|---|---|
| Size | 23.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
c917d892a6ab87a40331d5fcbad24c25eeaaab092fecf6144dd09689554a6a8e
|
|
BLAKE2b-256 checksum How to use checksums |
fa0056f52398dece2f723b4ef5b0df1e5239154bef215784c5c7895a977538c9
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/2.4.1 CPython/3.12.3 Linux/6.17.0-1022-azure
|
Security for pywisetransfer 0.3.4.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.