aliyun/aliyun-log-python-sdk — reverse-engineered prompt
Reverse engineered prompt
Build me a Python library that makes Alibaba Cloud Log Service easy to use from Python. I want developers to connect with access keys and then manage Log Service resources, create and update projects and logstores, write log events, read and search logs, and consume data reliably with consumer groups.
Please wrap the REST API so people don’t have to hand build requests, and include friendly helper methods for common jobs like paging through results, retrying long running operations until done, copying logstore settings, checking resource usage, and arranging shards. Add a logging handler so normal Python apps can send logs directly to SLS.
Include examples and tests showing basic management, producing logs, consuming logs, and simple ETL or copying data between logstores. Keep it installable with pip and compatible with modern Python, but don’t break older supported versions if the codebase already supports them. Look up the current Alibaba Cloud Log Service docs if needed.
Want more depth? Deep Reverse