semvec/pypi-packages huggingface dataset:
curlr 0.1.2
A Python package to parse and execute cURL commands
Requires Python: >=3.6

# curlr

curlr is a Python package that allows you to parse and execute cURL commands easily.

## Installation

You can install curlr using pip:

```
pip install curlr
```

## Usage

Here's a simple example of how to use curlr:

```python
import requests
from curlr import CURL

# Using a cURL command string
curl_command = "curl -X POST -H 'Content-Type: application/json' -d '{\"key\":\"value\"}' https://api.example.com/endpoint"
curl = CURL(command=curl_command)

# Or using a file containing the cURL command
# curl = CURL(path="path/to/curl.txt")

# Get a prepared request
request = curl.request()

# Execute the request
response = curl.execute()# equivalent to: requests.Session().send(request)

# Or use individual properties
response = getattr(requests, curl.method.lower())(
    curl.url,
    headers=curl.headers,
    cookies=curl.cookies,
    json=curl.data
)

print(response.status_code)
print(response.json())
```

## License

This project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.
cloudtopiaaclient 7.2.7.dev31
Cloudtopiaa Command-line Client
Requires Python: >=3.9

=================
CloudtopiaaClient
=================

CloudtopiaaClient is a command-line client for Cloudtopiaa that brings
the command set for Compute, Identity, Image, Network, Object Store, and Block
Storage APIs together in a single shell with a uniform command structure.

The primary goal is to provide a unified shell command structure and a common
language to describe operations in Cloudtopiaa.

Getting Started
===============

Cloudtopiaa Client can be installed from PyPI using pip::

    pip install cloudtopiaaclient

There are a few variants on getting help. A list of global options and supported
commands is shown with ``--help``::

    cloudtopiaa --help

There is also a ``help`` command that can be used to get help text for a specific
command::

    cloudtopiaa help
    cloudtopiaa help server create