Metadata-Version: 2.4
Name: shield-session
Version: 0.1.0
Summary: Package for creating secure sessions
Author-email: Joseph Avatiants <joavat2009@gmail.com>
Classifier: Programming Language :: Python :: 3
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Requires-Python: >=3.8
Description-Content-Type: text/markdown
Requires-Dist: requests>=2.28.0

# shield-session 

[English](#english) |

---

## English

A Python package designed for creating secure web sessions with randomized realistic browser headers (User-Agent, sec-ch-ua, etc.) using `requests` and `OrderedDict`.

### Installation

You can install the package locally from the project directory:

```bash
pip install .
```

### Usage

Every time you initialize `ShieldSession`, it randomly selects an operating system profile (macOS, Windows, or Linux) and generates a structured, ordered set of HTTP headers. When you make a request, the `Host` header is parsed and updated automatically.

```python
import FakeAgentShld  # Initializes the global module shortcut
import ShieldSession

# Create a session (randomly picks macOS, Windows, or Linux headers)
session = ShieldSession()

# Send a secure GET request (the 'Host' header will be parsed automatically)
response = session.get("https://httpbin.org")

print(response.json())
```

### License

This project is licensed under the **MIT License**.

