$npx skillfedfor your agent

curlify

Convert Requests request objects to curl commands.

With conditionsPyPI WWW/HTTPReleased May 202510.2M downloads / moMIT LicensePure Python

Decision gist · record as of 2026-08-14

pure-Python wheel — curlify-3.0.0-py3-none-any.whl
v3.0.0 · released 2025-05-25 · Python >=3.7 · 1 runtime deps: requests

Yes, if you regularly debug or document HTTP requests made with requests. The package is lightweight, has no known vulnerabilities, and solves a specific debugging need well. The aging maintenance status (446 days since last release) is not a blocker for a stable, narrow-scope tool, but check whether it handles your specific requests features before relying on it for critical workflows.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Requires Python 3.7 or later; Python 2 support was removed in v3.0.0.
  • Low friction installation with a single lightweight dependency (requests).
  • Last release was 446 days ago; the repository is active and not archived, though the package is aging and may see infrequent updates.

License · maintenance · safety

MIT License (permissive) — MIT License (permissive) — you can use, modify, and distribute this package freely in commercial or private projects with minimal restrictions.

last release 2025-05-25 (446 days) · last repo commit 2025-05-25 · 449 stars

0 known vulnerabilities (OSV.dev, 2026-08-14) · 10,173,871 downloads/mo, #1,474 on PyPI

Verify before relying

import curlify
import requests

response = requests.get("http://example.com")
print(curlify.to_curl(response.request))
# Output: curl -X 'GET' -H 'Accept: */*' ... 'http://example.com/'
  • Whether the package handles all modern requests features (e.g., proxies, auth handlers, custom adapters).
  • Performance or correctness with very large request bodies or headers.
Same gist for agents: .md · .json

What it is and what it does

Curlify takes a requests request object and generates the equivalent cURL command as a string. It's a debugging and documentation tool: when you've built an HTTP request in Python using requests, you can see exactly what cURL command would reproduce it, which is useful for sharing reproducible examples, testing in shell environments, or understanding what your code is actually sending over the wire.

The package handles the conversion of headers, request method, body, query parameters, and SSL verification settings. It supports options like pretty-printing multi-line commands and adding the --compressed flag. With only requests as a runtime dependency and a pure-Python wheel, it installs quickly and has minimal overhead.

Use it for

  • Debug a requests call by viewing its cURL equivalent to understand what's being sent.
  • Share reproducible HTTP request examples with teammates or in bug reports as shell commands.
  • Test an HTTP endpoint in curl before implementing it in Python code.
  • Log requests in cURL format for audit trails or integration documentation.
  • Convert Python-based API client calls into shell scripts for automation.

Worth the install?

AI-flagged interpretation of the facts on this page. Verify before relying on it.

With conditions

Yes, if you regularly debug or document HTTP requests made with requests.

The package is lightweight, has no known vulnerabilities, and solves a specific debugging need well. The aging maintenance status (446 days since last release) is not a blocker for a stable, narrow-scope tool, but check whether it handles your specific requests features before relying on it for critical workflows.

Install

curlify on PyPI

Before you install

Low friction installation with a single lightweight dependency (requests). Last release was 446 days ago; the repository is active and not archived, though the package is aging and may see infrequent updates.

Requires Python 3.7 or later; Python 2 support was removed in v3.0.0.

License in practice

MIT License (permissive) — you can use, modify, and distribute this package freely in commercial or private projects with minimal restrictions.

Quickstart

import curlify
import requests

response = requests.get("http://example.com")
print(curlify.to_curl(response.request))
# Output: curl -X 'GET' -H 'Accept: */*' ... 'http://example.com/'

Verify before relying

  • Whether the package handles all modern requests features (e.g., proxies, auth handlers, custom adapters).
  • Performance or correctness with very large request bodies or headers.

Package facts

LicenseMIT License permissive
Python supportSupports the current Python release >=3.7
Install frictionLow. Pure-Python wheel
Runtime dependencies
1 package
requests
MaintenanceAging 446 days since the last release
Last repo commit
First released
Downloads10,173,871 / month, #1,474 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14
Classifiers
Environment :: Web EnvironmentIntended Audience :: DevelopersLicense :: OSI Approved :: MIT LicenseOperating System :: OS IndependentProgramming Language :: PythonProgramming Language :: Python :: 3Programming Language :: Python :: 3 :: OnlyTopic :: Internet :: WWW/HTTPTopic :: Internet :: WWW/HTTP :: Dynamic Content

Evidence: curlify-3.0.0-py3-none-any.whl

Tags

Capabilities
requests to curl conversionconvert http request to curldebug requests as curl commandsexport requests to shellcurl command generatorhttp request debuggingrequests inspection tool
Topics
debugginghttp-toolsrequests-utilities

Let your AI agent find packages like this

Example. Real query, live index.

You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.

wish › “requests to curl conversion”

  • curlifyConverts a Python requests request object into an equivalent cURL…
  • uncurlConverts curl command-line requests into equivalent Python code using…
  • curlify2Converts Python requests and httpx HTTP request objects into…

Give your agent the search over MCP, or paste the wish link into any chat.

More WWW/HTTP packages

urllib3 Worth it
PyPI · Libraries · released May 2026

urllib3 is an HTTP client library that provides thread-safe connection pooling, SSL/TLS verification, multipart file uploads, request retries, compression support, and proxy handling for Python applications.

MITpure Python · 3.10+
1.8Bdownloads / mo
requests Worth it
PyPI · Libraries · released May 2026

Requests is a Python HTTP library that simplifies sending HTTP/1.1 requests with automatic handling of headers, authentication, cookies, and response parsing.

Apache-2.0pure Python · 3.10+
1.8Bdownloads / mo
h11 With conditions
PyPI · WWW/HTTP · released Apr 2025

h11 is a pure-Python HTTP/1.1 protocol implementation that handles parsing and serializing HTTP messages without any built-in I/O, letting you integrate it with any network layer you choose.

MITpure Python · 3.8+aging
894.9Mdownloads / mo
httpx Worth it
PyPI · WWW/HTTP · released Dec 2024

HTTPX is a fully featured HTTP client library for Python that provides both sync and async APIs, with support for HTTP/1.1 and HTTP/2, plus an integrated command-line client.

Install it if you are building new projects or modernizing existing ones that rely on HTTP.

BSD-3-Clausepure Python · 3.8+
797.0Mdownloads / mo
httpcore With conditions
PyPI · WWW/HTTP · released Apr 2025

A minimal low-level HTTP client library that sends HTTP requests with thread-safe and task-safe connection pooling, supporting HTTP/1.1, HTTP/2, proxies, and both sync and async interfaces.

BSD-3-Clausepure Python · 3.8+aging
783.6Mdownloads / mo
aiohttp Worth it
PyPI · WWW/HTTP · released Jul 2026

aiohttp is an async HTTP client and server framework built on asyncio, supporting both WebSockets and middleware-based routing for building concurrent web applications.

Install it if you need async HTTP client or server capabilities in asyncio-based applications.

permissive licensecompiled wheel · 3.10+
643.6Mdownloads / mo

See also curlify2 · uncurl · requests-toolbelt · fake-headers · tls-client · wrapper-tls-requests · requests-auth-aws-sigv4 · Flask-Script · httpie