shield-session
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:
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.
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.
Metadata
Release files for shield-session 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| shield_session-0.1.0-py3-none-any.whl | Python 3 | none | any | Details for shield_session-0.1.0-py3-none-any.whl |
Release files / shield_session-0.1.0-py3-none-any.whl
| Download URL | shield_session-0.1.0-py3-none-any.whl |
|---|---|
| Size | 2.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
63fe668281a260f56029378c219766c6f4b1159d72e65a1b0933a29034fa688f
|
|
BLAKE2b-256 checksum How to use checksums |
016911a81b9436538117e6dcf282dde909595872c2139c9179fc3cc5ac72ddfd
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Security for shield-session 0.1.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.