Skip to main content

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_cffi with 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

Full documentation

License

MIT

Download files

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

Source Distribution

pysequence_sdk-0.4.0.tar.gz (13.8 kB view details)

Uploaded Source

Built Distribution

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

pysequence_sdk-0.4.0-py3-none-any.whl (17.1 kB view details)

Uploaded Python 3

File details

Details for the file pysequence_sdk-0.4.0.tar.gz.

File metadata

  • Download URL: pysequence_sdk-0.4.0.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

Hashes for pysequence_sdk-0.4.0.tar.gz
Algorithm Hash digest
SHA256 04f9bcc65a5b388908f2265409cc01ab91db5d21f57a0f07697e11c5d05db122
MD5 350b3af450dc920908969e8336adaead
BLAKE2b-256 6cfc5144c18132ed79cb5234d83a076a33ddb52d5bbdef3712f83ce80114ce0b

See more details on using hashes here.

Provenance

The following attestation bundles were made for pysequence_sdk-0.4.0.tar.gz:

Publisher: publish.yml on christian-deleon/PySequence

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

File details

Details for the file pysequence_sdk-0.4.0-py3-none-any.whl.

File metadata

  • Download URL: pysequence_sdk-0.4.0-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

Hashes for pysequence_sdk-0.4.0-py3-none-any.whl
Algorithm Hash digest
SHA256 639f125d9fe5f3b30560c4c3b2594a2c74ea5012d7562ec0d079f91c8e527ea1
MD5 3c76e35cd835b9414e1cb6e4b88b913f
BLAKE2b-256 46ff70bdb0ea8c98d4407ced051b585bbb965b8631395c8b0aa4e37e24732f21

See more details on using hashes here.

Provenance

The following attestation bundles were made for pysequence_sdk-0.4.0-py3-none-any.whl:

Publisher: publish.yml on christian-deleon/PySequence

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

Release history Release notifications | RSS feed

This release

0.4.0 This release

2 files

0.3.1

2 files

0.3.0

2 files

0.2.3

2 files

0.2.2

2 files

0.2.1

2 files

0.1.0

2 files

Supported by

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