Skip to main content

A Python Integration for file uploading and encoding service.

Project description

|Build Status|


A **Python** Integration for `Transloadit`_\ ’s file uploading and
encoding service.


`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`_


.. code:: bash

pip install pytransloadit


.. code:: python

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


For fully working examples, take a look at ```examples/```_.


See `readthedocs`_ for full API documentation.

.. _Transloadit:
.. _``examples/``:
.. _readthedocs:

.. |Build Status| image::

Download files

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

Files for pytransloadit, version 0.1.1
Filename, size File type Python version Upload date Hashes
Filename, size pytransloadit-0.1.1.tar.gz (6.3 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page