Metadata-Version: 2.4
Name: requers
Version: 0.1.1
Classifier: Development Status :: 3 - Alpha
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Rust
Classifier: Programming Language :: Python :: Implementation :: CPython
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.12
Classifier: Programming Language :: Python :: 3.13
Classifier: Operating System :: OS Independent
Classifier: Topic :: Internet :: WWW/HTTP
Classifier: Typing :: Typed
Summary: A Rust-based HTTP client for Python with some requests-like methods.
Keywords: http,client,requests,rust,python
Author-email: M Zidane <92719420+moooozi@users.noreply.github.com>
License-Expression: MIT
Requires-Python: >=3.12
Description-Content-Type: text/markdown; charset=UTF-8; variant=GFM
Project-URL: repository, https://github.com/moooozi/requers

# requers

A fast, Rust-based HTTP client for Python with a requests-like API.

## Installation

```bash
pip install requers
```

## Usage

```python
import requers

# GET request
response = requers.get('https://httpbin.org/get')
print(response.status_code)
print(response.text)

# Download a file
handle = requers.download_file('https://example.com/file.zip', 'file.zip')
while not handle.is_finished():
    progress = handle.get_progress()
    print(f"Downloaded: {progress['downloaded']} / {progress['total']}")
```

## Features

- Fast HTTP requests powered by Rust
- File downloading with progress tracking and resumability
- SHA256 hashing for files and bytes
- Similar API to the popular `requests` library

## License

MIT
