Skip to main content

Tillo SDK for Python

A Python library providing tools to access the Tillo API, with comprehensive support for both synchronous and asynchronous operations.

Table of Contents

  1. Installation
  2. Features
  3. Usage
  4. Error Handling
  5. Rate Limiting
  6. API Documentation
  7. License

Features

  • Complete Tillo API support
  • Both synchronous and asynchronous clients
  • Comprehensive error handling
  • Rate limiting support
  • Services supported:
    • Float Management
    • Brand Management
    • Template Management
    • Digital Card Operations (coming soon)
    • Physical Card Operations (coming soon)
    • Webhook Management (coming soon)

Installation

  1. Clone the repository:

    git clone https://github.com/jaddek/jpy-tillo-sdk.git
    
  2. Navigate to the project directory:

    cd jpy-tillo-sdk
    
  3. Install dependencies:

    uv sync
    
  4. Run tests:

    uv run pytest tests
    

Usage

Basic Example:

from jpy_tillo_sdk import Tillo

# Initialize the client
client = Tillo(
    api_key="your_api_key",
    secret="your_secret",
)

# Synchronous usage
brands = client.brands.get_all()

# Asynchronous usage
async def get_brands():
    brands = await client.brands_async.get_all()

Float Management Example:

# Check float balance
balance = client.floats.get_balance()

# Async float operations
async def check_float():
    balance = await client.floats_async.get_balance()

Brand Management Example:

# Get brand details
brand = client.brands.get_brand_details(brand_id="123")

# Async brand operations
async def get_brand():
    brand = await client.brands_async.get_brand_details(brand_id="123")

Error Handling

The SDK provides comprehensive error handling with specific exception classes:

from jpy_tillo_sdk.errors import TilloException, AuthenticationError

try:
    result = client.brands.get_brand_details(brand_id="123")
except AuthenticationError as e:
    print(f"Authentication failed: {e.message}")
except TilloException as e:
    print(f"Error {e.tillo_error_code}: {e.message}")

API Documentation

Available Services

  • client.floats() / client.floats_async(): Float management operations
  • client.brands() / client.brands_async(): Brand management
  • client.templates() / client.templates_async(): Template operations

Coming Soon

  • client.digital_card(): Digital card operations
  • client.physical_card(): Physical card management
  • client.webhook(): Webhook management

License

This project is licensed under the MIT License - see the LICENSE file for details.

Metadata

Release files for jpy-tillo-sdk 0.3.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 jpy-tillo-sdk 0.3.0
File Size Uploaded Provenance Actions
jpy_tillo_sdk-0.3.0.tar.gz 69.0 kB Without provenance Details for jpy_tillo_sdk-0.3.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for jpy-tillo-sdk 0.3.0
File Interpreter ABI Platform Actions
jpy_tillo_sdk-0.3.0-py3-none-any.whl Python 3 none any Details for jpy_tillo_sdk-0.3.0-py3-none-any.whl

Total release size: 99.5 kB

Release files / jpy_tillo_sdk-0.3.0.tar.gz

Download URL jpy_tillo_sdk-0.3.0.tar.gz
Size 69.0 kB
Tags Source
SHA-256 checksum
How to use checksums
202df88e771512cc84bd1dd59fd39d75677c3fb69ceb0ebcc5372e4b7cd4a667
BLAKE2b-256 checksum
How to use checksums
833b7837cf5641febe33b460b5c55bf72a2e2d29be382ca2a4c40e62636034dc
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.7.2

Release files / jpy_tillo_sdk-0.3.0-py3-none-any.whl

Download URL jpy_tillo_sdk-0.3.0-py3-none-any.whl
Size 30.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
e4883e242f25b1737c0761e585c36d3a601dd86dae48390ab85fcdf59b710cbc
BLAKE2b-256 checksum
How to use checksums
ef5d1cb0d6d62ca129e78bde1a14fa7c7990159b1d2657e90735d7cdf4762118
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.7.2

Security for jpy-tillo-sdk 0.3.0

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.

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