Python integration for Transloadit
Repo transloadit/python-sdk, read from GitHub 50 min ago. transloadit has not joined Take My Repo.
AsyncTransloadit with asyncio support for the existing synchronous client's Assembly, Template and billing methods, plus Smart CDN URL signing. Polling uses asyncio.sleep; resumable uploads run tuspy in worker threads.pytransloadit<2 (latest 1.x: 1.0.4).requests>=2.33,<3 and urllib3>=2.7,<3, then regenerate your lockfile. Existing synchronous imports and methods remain available; asyncio applications can use async with AsyncTransloadit(...) and await network operations. See README for request-handling corrections, including explicit polling retry exhaustion, trusted Assembly URLs, redirect handling and Smart CDN validation/boolean serialization. Keep file context managers open around awaited uploads; cancellation waits for active file reads and resumable workers to finish. Resumable transfers do not inherit an injected aiohttp session's proxy/TLS settings. Source contributors use Poetry 2.4.1 with [project] metadata; isolated source builds require poetry-core>=2.2,<3.aiohttp 3.13.5, idna 3.15, pygments 2.20.0, Python-version-specific requests updates, and tuspy 1.1.0.pytest 8.4, pytest-cov 7.1, Sphinx 7.4, and sphinx-autobuild 2024.10.six, livereload, and tornado.scripts/test-in-docker.sh) that mirrors our GitHub Actions matrix locally, including optional Smart CDN parity checks via the official Transloadit CLI.tests/test_e2e_upload.py) plus supporting chameleon.jpg fixture; enable by setting PYTHON_SDK_E2E=1 along with TRANSLOADIT_KEY/TRANSLOADIT_SECRET.