semvec/pypi-packages huggingface dataset:
curlify2 2.0.0
Library to convert python requests and httpx object to curl command.
License: MIT
Requires Python: >=3.7,<4.0
Keywords: python,curl,requests,curlify,httpx,convert to curl

The library convert python 'requests' and 'httpx' object in curl command. Curlify2 is a enhancement of [curlify]('https://github.com/ofw/curlify').


## Installation

To install the library use pip or poetry command, see:

```bash
$ pip install curlify2
```

or poetry:

```bash
$ poetry add curlify2
```

## Usage

using **requests** module:

```python
from curlify2 import Curlify
import requests

URL = "https://run.mocky.io/v3/b0f4ffd8-6696-4f90-8bab-4a3bcad9ef3f"

request = requests.get(URL)
response = Curlify(request.request)

print(response.to_curl()) # curl -X GET -H "User-Agent: python-requests/2.24.0" -H "Accept-Encoding: gzip, deflate" -H "Accept: */*" -H "Connection: keep-alive" -d 'None' https://run.mocky.io/v3/b0f4ffd8-6696-4f90-8bab-4a3bcad9ef3f
```

using **httpx** module:

```python
import curlify2
import httpx

URL = "https://run.mocky.io/v3/b0f4ffd8-6696-4f90-8bab-4a3bcad9ef3f"

request = httpx.get(URL)
response = Curlify(request.request)

print(response.to_curl()) # curl -X GET -H "User-Agent: python-requests/2.24.0" -H "Accept-Encoding: gzip, deflate" -H "Accept: */*" -H "Connection: keep-alive" -d 'None' https://run.mocky.io/v3/b0f4ffd8-6696-4f90-8bab-4a3bcad9ef3f
```
pubpypack-harmony-bill-melvin 0.0.4
Working the exercises in Publishing Python Packages by Dane Hillard
License: MIT
Requires Python: >=3.9

# pubpypack-harmony-bill-melvin
 
Working the exercises in Publishing Python Packages by Dane Hillard
 
## Installation
 
```shell
$ python -m pip install pubpypack-harmony-bill-melvin
```