Unofficial Python SDK for the GetSequence personal finance platform
Project description
pysequence-sdk
Unofficial Python SDK for the GetSequence personal finance platform. Communicates with the Sequence GraphQL API using browser-compatible HTTP requests.
Installation
pip install pysequence-sdk
Quick Start
from pysequence_sdk import SequenceClient, get_access_token
token = get_access_token()
with SequenceClient(token) as client:
pods = client.get_pods()
balance = client.get_total_balance()
detail = client.get_pod_detail(org_id, pod_id)
result = client.transfer(kyc_id, source_id, dest_id, amount_cents=500)
For long-running use, pass a token_provider to auto-refresh expired tokens:
client = SequenceClient(get_access_token(), token_provider=get_access_token)
Methods
| Method | Description |
|---|---|
get_pods() |
List all pods with current balances |
get_total_balance() |
Total balance across all pods |
get_pod_balance(pod_name) |
Look up a single pod by name |
get_pod_detail(org_id, pod_id) |
Detailed pod info with recent transfers |
get_all_accounts(org_id) |
All accounts: pods, ports, and external |
get_activity_summary() |
Monthly activity summary |
get_activity(org_id, ...) |
Paginated transfer activity with filters |
get_transfer_detail(org_id, transfer_id) |
Full detail for a single transfer |
transfer(kyc_id, source_id, dest_id, amount_cents, ...) |
Transfer funds between accounts |
execute(query, variables, operation_name) |
Execute a raw GraphQL query |
Key Features
- Automatic Auth0 token management -- Handles login, refresh, and caching via
get_access_token() - Browser-compatible TLS -- Uses
curl_cffiwith Chrome impersonation for proper TLS fingerprinting - Built-in rate limiting -- Automatic delay with jitter between requests
- Pydantic models -- Typed response models for pods, transfers, and more
Requirements
- Python >= 3.11
Documentation
License
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
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 pysequence_sdk-0.3.1.tar.gz.
File metadata
- Download URL: pysequence_sdk-0.3.1.tar.gz
- Upload date:
- Size: 13.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
34a3fd3699c04b51fa804cb715f67e9fc6221c45217bdd493451af2b47410909
|
|
| MD5 |
a6a21e74e90bc9460c124bbd81b77d0d
|
|
| BLAKE2b-256 |
fc856625e80ca1c72efffbc9cf43a440811bdea25ee5d26374d0324211482548
|
Provenance
The following attestation bundles were made for pysequence_sdk-0.3.1.tar.gz:
Publisher:
publish.yml on christian-deleon/PySequence
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
pysequence_sdk-0.3.1.tar.gz -
Subject digest:
34a3fd3699c04b51fa804cb715f67e9fc6221c45217bdd493451af2b47410909 - Sigstore transparency entry: 944967058
- Sigstore integration time:
-
Permalink:
christian-deleon/PySequence@d9912e0a19de80e9c080af9ed29852390f400d4f -
Branch / Tag:
refs/tags/v0.3.1 - Owner: https://github.com/christian-deleon
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@d9912e0a19de80e9c080af9ed29852390f400d4f -
Trigger Event:
push
-
Statement type:
File details
Details for the file pysequence_sdk-0.3.1-py3-none-any.whl.
File metadata
- Download URL: pysequence_sdk-0.3.1-py3-none-any.whl
- Upload date:
- Size: 17.1 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 |
5ecc26458d9c5cf79e9df3f56c0150ae54a10badb675c9b2d50ef144e3a8b3f6
|
|
| MD5 |
07b9a27bcbf50730ae14e78ccbd85ed0
|
|
| BLAKE2b-256 |
2ca57b6e9ef6878dfcb8b363a0a0f6cd92f7c1b3a6f039bbfcef006ecd4c9153
|
Provenance
The following attestation bundles were made for pysequence_sdk-0.3.1-py3-none-any.whl:
Publisher:
publish.yml on christian-deleon/PySequence
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
pysequence_sdk-0.3.1-py3-none-any.whl -
Subject digest:
5ecc26458d9c5cf79e9df3f56c0150ae54a10badb675c9b2d50ef144e3a8b3f6 - Sigstore transparency entry: 944967082
- Sigstore integration time:
-
Permalink:
christian-deleon/PySequence@d9912e0a19de80e9c080af9ed29852390f400d4f -
Branch / Tag:
refs/tags/v0.3.1 - Owner: https://github.com/christian-deleon
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@d9912e0a19de80e9c080af9ed29852390f400d4f -
Trigger Event:
push
-
Statement type: