tessl install tessl/pypi-cloudinary@1.44.0Python and Django SDK for Cloudinary, a cloud-based image and video management service with comprehensive transformation, optimization, and delivery capabilities
Agent Success
Agent success rate when using this tile
94%
Improvement
Agent success rate improvement when using this tile compared to baseline
1.08x
Baseline
Agent success rate without this tile
87%
Build a Python utility that manages configuration for a cloud-based media service. The utility must load credentials from environment variables and provide a simple way to verify the configuration is set up correctly.
Create a module config_manager.py that implements the following functionality:
File: test_config.py { .test-file }
Setup:
import os
os.environ['CLOUDINARY_URL'] = 'cloudinary://123456789012345:abcdefghijklmnopqrstuvwxyz123456@test-cloud'Expected behavior:
File: test_config.py { .test-file }
Setup:
import os
# Clear any existing Cloudinary configuration
for key in list(os.environ.keys()):
if key.startswith('CLOUDINARY'):
del os.environ[key]Expected behavior:
File: test_config.py { .test-file }
Setup:
# No environment variables setExpected behavior:
Python SDK for cloud-based media management service providing upload, transformation, and delivery capabilities.