Library to convert Python requests and httpx objects to curl command. Version 2.0.0 supports Python >=3.7 and provides functions to curlify request/response objects. Released on PyPI with active maintenance.
pip install curlify2No compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Convert a requests PreparedRequest object to a curl command.
Use to_curl(response.request) instead of to_curl(response).
Use from curlify2 import to_curl instead of from curlify2 import curlify.
Manually truncate body in the object before passing to to_curl, or use a custom implementation.
No dependency data recorded yet.