{"repo":"tinify/tinify-python","free":true,"listed":false,"github":"https://github.com/tinify/tinify-python","clone":"git clone https://github.com/tinify/tinify-python.git","description":"Python client for the Tinify API.","language":"Python","stars":142,"topics":["image-compression","image-optimization","tinypng","tinyjpg","python","python-client","api","image-converter","image-processing","avif"],"license":"MIT","category":"api-integrations-sdks","readme_excerpt":"Tinify API client for Python Tinify is the official Python client for the TinyPNG and TinyJPG image compression API, enabling developers to intelligently compress, resize, convert and optimize PNG, APNG, JPEG, WebP and AVIF images programmatically. Read more at https://tinify.com. Go to the full documentation for the Python client. Features - Compress and optimize images, reducing file size by 50-80% while preserving visual quality - Resize and crop images with smart compression - Convert between PNG, JPEG, WebP and AVIF formats - Preserve metadata (optional) - Upload to storage providers like Amazon S3, Google cloud storage. - Apply visual transformations with the Tinify API - Comprehensive error handling Requirements - Python 2.7+ - Requests library Installation Install the API client with pip: Quick start Advanced Usage Resizing Format Conversion Compression Count Monitoring Error Handling Running tests To test more runtimes, tox can be used Integration tests License This software is licensed under the MIT License. See LICENSE for details. Support For issues and feature requests, please use our GitHub Issues page or contact us at support@tinify.com","default_branch":null,"files":null,"tree":[],"storefront":"/r/tinify","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/tinify/tinify-python/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}