Skip to main content

pysequence-client

Python HTTP client for the pysequence-api REST server. Standalone -- no SDK dependency.

Installation

pip install pysequence-client

Quick Start

from pysequence_client import SequenceApiClient

client = SequenceApiClient(
    base_url="http://localhost:8720",
    api_key="your-api-key",
)

pods = client.get_pods()
balance = client.get_total_balance()

Methods

Method Description
get_pods() List all pods with balances
get_total_balance() Total balance across all pods
get_pod_balance(pod_name) Single pod balance by name
get_pod_detail(pod_id) Detailed pod info
get_all_accounts() All accounts: pods, ports, and external
get_activity_summary() Monthly activity summary
get_activity(first, statuses, directions, activity_types) Paginated transfer activity with filters
get_transfer_detail(transfer_id) Full detail for a single transfer
transfer(source_id, destination_id, amount_cents, description) Transfer funds between accounts

Error Handling

from pysequence_client import SequenceApiClient
from pysequence_client.exceptions import ApiError

client = SequenceApiClient(
    base_url="http://localhost:8720",
    api_key="your-api-key",
)

try:
    detail = client.get_transfer_detail("invalid-id")
except ApiError as e:
    print(f"Status {e.status_code}: {e.detail}")

Requirements

  • Python >= 3.11

Documentation

Full documentation

License

MIT

Metadata

Release files for pysequence-client 0.4.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for pysequence-client 0.4.0
File Size Uploaded
pysequence_client-0.4.0.tar.gz 2.8 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for pysequence-client 0.4.0
File Interpreter ABI Platform
pysequence_client-0.4.0-py3-none-any.whl Python 3 none any Details

Total release size: 6.9 kB

Release files / pysequence_client-0.4.0.tar.gz

Download URL pysequence_client-0.4.0.tar.gz
Size 2.8 kB
Tags Source
SHA-256 checksum
How to use checksums
e4e7a0ffc314b8385f8088ed2c0e307e7f046e0dd3fe3b49737f335913840b0f
BLAKE2b-256 checksum
How to use checksums
25065e8912ad9172f1ceb3f78622a03fe7c14c31ca6d67cac5642f49db4b24e1
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.7

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Feb 13, 2026.

Transparency log

Release files / pysequence_client-0.4.0-py3-none-any.whl

Download URL pysequence_client-0.4.0-py3-none-any.whl
Size 4.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
636f6262211934d85d1eb229ab43e6cbe6cb7effdf8ed94261cca5e3e7231876
BLAKE2b-256 checksum
How to use checksums
fc97c807a5cdcbe0fd10f63d0b0e72fa672a398ee3df51f730e26f901c65652a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.7

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Feb 13, 2026.

Transparency log

Release history Release notifications | RSS feed

This release

0.4.0 This release

2 release files

0.3.1

2 release files

0.3.0

2 release files

0.2.3

2 release files

0.2.2

2 release files

0.2.1

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page