Skip to main content

A **Python** Integration for [Transloadit]('s file uploading and encoding service.

Project description

[![Build Status](](

# python-sdk

A **Python** Integration for [Transloadit]('s file uploading and encoding service.

## Intro

[Transloadit]( is a service that helps you handle file uploads, resize, crop and watermark your images, make GIFs, transcode your videos, extract thumbnails, generate audio waveforms, and so much more. In short, [Transloadit]( is the Swiss Army Knife for your files.

This is a **Python** SDK to make it easy to talk to the [Transloadit]( REST API.

## Install

pip install pytransloadit

## Usage

from transloadit import client

tl = client.Transloadit('TRANSLOADIT_KEY', 'TRANSLOADIT_SECRET')
assembly = tl.new_assembly()
assembly.add_file(open('PATH/TO/FILE.jpg', 'rb'))
assembly.add_step('resize', '/image/resize', {'width': 70, 'height': 70})
assembly_response = assembly.create(retries=5, wait=True)


# or

## Example

For fully working examples, take a look at [`examples/`](

## Documentation

See [readthedocs]( for full API documentation.

Project details

Download files

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

Filename, size & hash SHA256 hash help File type Python version Upload date
pytransloadit-0.1.tar.gz (6.0 kB) Copy SHA256 hash SHA256 Source None Jul 17, 2017

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page