Metadata-Version: 2.1
Name: cd-http
Version: 0.1.6
Summary: An HTTP wrapper around the wonderful requests library to make it easier for new users and old.
License: MIT
Author: Nick Capasso
Author-email: codedocta@gmail.com
Requires-Python: >=3.9,<4.0
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Requires-Dist: fake-useragent (>=1.5.1,<2.0.0)
Requires-Dist: requests (>=2.32.3,<3.0.0)
Description-Content-Type: text/markdown

# cd_http

`cd_http` is a Python package designed for HTTP request handling and manipulation. This package provides a set of tools and utilities to simplify HTTP operations in your projects.

## Features

- **Easy HTTP Requests**: Simplify the process of making HTTP requests.
- **Proxy Support**: Seamlessly integrate proxy support for your requests.
- **Customizable Headers**: Easily add and manage custom headers for your HTTP requests.
- **Version Management**: Track and manage the package version efficiently.

## Installation

To install `cd_http`, simply use `pip`:

```bash
pip install cd_http
```

## Usage

### Basic Example

```python
from cd_http import Http

# Make a simple GET request
response = Http().get('https://api.example.com/data')
print(response.text)
```

### Using Proxies

```python
from cd_http import Http

proxy = 'http://proxy.example.com:8080'
response = Http().get('https://api.example.com/data', proxy=proxy)
print(response.text)
```

### Custom Headers

```python
from cd_http import Http

headers = {'Authorization': 'Bearer YOUR_TOKEN'}
response = Http().get('https://api.example.com/data', headers=headers)
print(response.json())
```

## Examples

You can find more example scripts in the `examples` directory of the package. These scripts demonstrate various use cases and features of the `cd_http` package.

## Contributing

Contributions are welcome! Please feel free to submit a Pull Request or open an Issue on the [GitHub repository](https://github.com/yourusername/cd_http).

## License

This project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.

For more information, visit [codedocta.com](https://codedocta.com).
