Skip to main content

Converts curl statements to python using command line

Project description

# curltopy

Converts curl statements from Chrome's DevTools or Firefox's Tools to executable python 2 and 3 compatible code.

I was inspired to write a command line version after seeing @NickCarneiro's web app on [](

## Install

pip install curltopy

## Usage

1. Open Chrome's DevTools or Firefox's Tools

2. Click on the Network tab

3. Navigate to a website

4. Right click on a call and click _Copy > Copy as cURL_

5. Here is a template. Replace the curl statement with the one captured from the browser.

curltopy 'curl "" -H "Pragma: no-cache"' >
chmod +x

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for curltopy, version 0.1.2
Filename, size & hash File type Python version Upload date
curltopy-0.1.2-py2-none-any.whl (4.1 kB) View hashes Wheel py2
curltopy-0.1.2.tar.gz (3.4 kB) View hashes Source None

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page