Skip to main content
Yanked

This release has been yanked by its maintainers, and will be ignored by installers, except when explicitly specified.
Reason given by maintainers: renamed to taxformatter

taxformatter

Official Python SDK for the TaxFormatter API — parse crypto exchange CSVs and bank statement PDFs programmatically.

Install

pip install taxformatter-sdk

Quick Start

from taxformatter import TaxFormatter

tf = TaxFormatter("tf_live_xxx")

# Parse a file by path
result = tf.parse("./coinbase_2025.csv")

# Parse bytes with options
result = tf.parse(raw_bytes, filename="coinbase.csv", output_format="turbotax")

# List supported sources
sources = tf.list_sources()

# Check usage
usage = tf.get_usage()

Configuration

tf = TaxFormatter(
    "tf_live_xxx",
    base_url="https://api.taxformatter.com",  # default
    timeout=30,    # seconds, default
    max_retries=3, # auto-retry on 429, default
)

Error Handling

from taxformatter import TaxFormatter, AuthenticationError, RateLimitError, ParseError

try:
    result = tf.parse("./file.csv")
except AuthenticationError:
    # 401 — invalid or missing API key
    pass
except RateLimitError as e:
    # 429 — rate limited (auto-retried 3 times before raising)
    print(e.retry_after)
except ParseError as e:
    # 422 — file could not be parsed
    print(e.suggestion)

API

tf.parse(input, filename=None, output_format=None, exchange=None, bank=None)

Parse a crypto CSV or bank statement PDF.

  • input: File path (str/Path) or bytes
  • filename: Required when passing bytes
  • output_format: "koinly", "turbotax", "coinledger", or "zenledger"
  • exchange: Force exchange detection (e.g., "coinbase")
  • bank: Force bank detection (e.g., "chase")

tf.list_sources()

List all supported crypto exchanges and banks.

tf.get_usage()

Get current month's API usage.

tf.health()

Check API health status.

License

MIT

Metadata

Release files for taxformatter-sdk 0.1.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 taxformatter-sdk 0.1.0
File Size Uploaded
taxformatter_sdk-0.1.0.tar.gz 6.8 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for taxformatter-sdk 0.1.0
File Interpreter ABI Platform
taxformatter_sdk-0.1.0-py3-none-any.whl Python 3 none any Details

Total release size: 13.1 kB

Release files / taxformatter_sdk-0.1.0.tar.gz

Download URL taxformatter_sdk-0.1.0.tar.gz
Size 6.8 kB
Tags Source
SHA-256 checksum
How to use checksums
a2bd7dcfe7dd5e7ea3bfad0ce1c628bcb2211ad28302ef4af734f49dcb44017f
BLAKE2b-256 checksum
How to use checksums
90321014fc8417a66282433c2a8405ffd63d3d560209dcebc26fd205fb537b40
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 Apr 2, 2026.

Transparency log

Release files / taxformatter_sdk-0.1.0-py3-none-any.whl

Download URL taxformatter_sdk-0.1.0-py3-none-any.whl
Size 6.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
e74ed1a4a00414f4f2d4a0adb62a8ead1bf9a6d23d832fcf6bfb838db3355442
BLAKE2b-256 checksum
How to use checksums
ff915ac4023ad897efb0f44f058520492686961773262c9c6406ce33023dbdee
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 Apr 2, 2026.

Transparency log

Release history Release notifications | RSS feed

This release

0.1.0 This release

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