⚠️ Private SDK - This SDK is currently in private development and available to select customers. Contact your Lume representative for access and pricing information.

Transform CSV files into clean, structured data using Lume’s managed transformer directly from your Python code.

What is the Python SDK?

The Lume Python SDK provides a simple, powerful interface to transform CSV files into validated, structured data using pre-built mapping flows. This SDK is designed for production data pipelines, ETL processes, and automated data transformation workflows.

Key Features

  • Simple API: Transform files with just a few lines of code
  • Managed Infrastructure: No servers to manage, no scaling concerns
  • Rich Output: Get mapped data, validation results, and detailed metrics
  • Async Support: Non-blocking operations for event-driven applications
  • Flexible Output: Export to CSV or JSON format
  • Seed Data Support: Include reference data alongside input files
  • Security: SOC 2 compliant security

Quick Start

import lume

# Transform a CSV file in one line
run = lume.run(
    flow_version="invoice_cleaner:v4",
    input_files=["s3://raw-bucket/invoices.csv"]
).wait()

# Download results as CSV
run.download_all("./output", output_format="csv")

Use Cases

  • Data Pipelines: Transform raw CSV data before loading into warehouses
  • ETL Processes: Clean and validate CSV data in Airflow, dbt, or custom workflows
  • Real-time Processing: Transform CSV files as they arrive via webhooks
  • Batch Processing: Handle large CSV datasets with automatic scaling
  • Data Validation: Ensure CSV data quality before downstream processing

Prerequisites

  • CSV files accessible via HTTPS, S3, or Google Cloud Storage
  • Lume account and authentication token
  • Private SDK access (contact your Lume representative)

Premium Features

  • Dedicated Support: Direct access to our engineering team
  • Security Compliance: SOC 2 security standards
  • Volume Discounts: Competitive pricing for high-volume usage

Ready to get started? Contact your Lume representative for private SDK access and follow our Quick Start Guide.