stealthkit


Namestealthkit JSON
Version 0.1.1 PyPI version JSON
download
home_pagehttps://github.com/theonlyanil/stealthkit
SummaryA stealthy HTTP request library with rotating user agents and proxy support
upload_time2025-02-13 15:25:05
maintainerNone
docs_urlNone
authorAnil Sardiwal
requires_python>=3.6
licenseNone
keywords
VCS
bugtrack_url
requirements requests fake-useragent
Travis-CI No Travis.
coveralls test coverage No coveralls.
            StealthKit
==========

StealthKit is a lightweight and customizable HTTP request engine designed to improve stealth and anti-bot evasion. It features dynamic user-agent rotation, proxy support, configurable headers, and optional cookie management to help developers make requests with minimal detection.

Features
--------

-   **Dynamic User-Agent Rotation** - Uses `fake_useragent` to generate realistic browser headers.
-   **Proxy Support** - Easily integrate a list of proxies for IP rotation.
-   **Customizable Headers** - Modify User-Agent and Referer dynamically.
-   **Cookie Management** - Enable or disable cookies based on your needs.
-   **Automatic Retries** - Retries failed requests to improve reliability.
-   **Session Persistence** - Maintains session-based browsing behavior when needed.

Installation
------------

```
pip install stealthkit

```

Basic Usage
-----------

```
from stealthkit import StealthRequests

stealth = StealthRequests(use_cookies=True, browsers=['Chrome', 'Firefox'], os=['Windows', 'Linux'])
response = stealth.get("https://example.com")
print(response.status_code)

```

Advanced Usage
--------------

### Custom Headers

```
stealth.set_headers(user_agent="Mozilla/5.0", referer="https://example.com")

```

### Using Proxies

```
stealth.set_proxies(["http://103.57.70.231:39143", "http://45.79.58.206:3128"])

```

### Custom Requests

```
response = stealth.request("POST", "https://example.com", data={"key": "value"})

```

Contributing
------------

Feel free to open issues or contribute to this repository by submitting a pull request!

License
-------

MIT License

            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/theonlyanil/stealthkit",
    "name": "stealthkit",
    "maintainer": null,
    "docs_url": null,
    "requires_python": ">=3.6",
    "maintainer_email": null,
    "keywords": null,
    "author": "Anil Sardiwal",
    "author_email": "theonlyanil@gmail.com",
    "download_url": "https://files.pythonhosted.org/packages/ba/d3/dd3079361ba06c3c6fef25aaff2bdc40872b60e1376e308fc71d7a08f34b/stealthkit-0.1.1.tar.gz",
    "platform": null,
    "description": "StealthKit\n==========\n\nStealthKit is a lightweight and customizable HTTP request engine designed to improve stealth and anti-bot evasion. It features dynamic user-agent rotation, proxy support, configurable headers, and optional cookie management to help developers make requests with minimal detection.\n\nFeatures\n--------\n\n-   **Dynamic User-Agent Rotation** - Uses `fake_useragent` to generate realistic browser headers.\n-   **Proxy Support** - Easily integrate a list of proxies for IP rotation.\n-   **Customizable Headers** - Modify User-Agent and Referer dynamically.\n-   **Cookie Management** - Enable or disable cookies based on your needs.\n-   **Automatic Retries** - Retries failed requests to improve reliability.\n-   **Session Persistence** - Maintains session-based browsing behavior when needed.\n\nInstallation\n------------\n\n```\npip install stealthkit\n\n```\n\nBasic Usage\n-----------\n\n```\nfrom stealthkit import StealthRequests\n\nstealth = StealthRequests(use_cookies=True, browsers=['Chrome', 'Firefox'], os=['Windows', 'Linux'])\nresponse = stealth.get(\"https://example.com\")\nprint(response.status_code)\n\n```\n\nAdvanced Usage\n--------------\n\n### Custom Headers\n\n```\nstealth.set_headers(user_agent=\"Mozilla/5.0\", referer=\"https://example.com\")\n\n```\n\n### Using Proxies\n\n```\nstealth.set_proxies([\"http://103.57.70.231:39143\", \"http://45.79.58.206:3128\"])\n\n```\n\n### Custom Requests\n\n```\nresponse = stealth.request(\"POST\", \"https://example.com\", data={\"key\": \"value\"})\n\n```\n\nContributing\n------------\n\nFeel free to open issues or contribute to this repository by submitting a pull request!\n\nLicense\n-------\n\nMIT License\n",
    "bugtrack_url": null,
    "license": null,
    "summary": "A stealthy HTTP request library with rotating user agents and proxy support",
    "version": "0.1.1",
    "project_urls": {
        "Homepage": "https://github.com/theonlyanil/stealthkit"
    },
    "split_keywords": [],
    "urls": [
        {
            "comment_text": null,
            "digests": {
                "blake2b_256": "05232c85d9db1efcffedb4602c25ab5dbc62171c898fe28312d6c22466769031",
                "md5": "f86db22170d06cec41f6bb225335accc",
                "sha256": "1e5202e2da41a25bda689a1ba374e5c4567144992e56c0c6568d7e109496ba29"
            },
            "downloads": -1,
            "filename": "stealthkit-0.1.1-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "f86db22170d06cec41f6bb225335accc",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.6",
            "size": 3432,
            "upload_time": "2025-02-13T15:25:03",
            "upload_time_iso_8601": "2025-02-13T15:25:03.859959Z",
            "url": "https://files.pythonhosted.org/packages/05/23/2c85d9db1efcffedb4602c25ab5dbc62171c898fe28312d6c22466769031/stealthkit-0.1.1-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": null,
            "digests": {
                "blake2b_256": "bad3dd3079361ba06c3c6fef25aaff2bdc40872b60e1376e308fc71d7a08f34b",
                "md5": "9ead5e0e33dd421613972b0f26d1cbe6",
                "sha256": "a1b63794162dc3e4c996f1ab9815eaf4c7fede1ce3bd52b2058fc845e063a8f4"
            },
            "downloads": -1,
            "filename": "stealthkit-0.1.1.tar.gz",
            "has_sig": false,
            "md5_digest": "9ead5e0e33dd421613972b0f26d1cbe6",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.6",
            "size": 3788,
            "upload_time": "2025-02-13T15:25:05",
            "upload_time_iso_8601": "2025-02-13T15:25:05.375685Z",
            "url": "https://files.pythonhosted.org/packages/ba/d3/dd3079361ba06c3c6fef25aaff2bdc40872b60e1376e308fc71d7a08f34b/stealthkit-0.1.1.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2025-02-13 15:25:05",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "theonlyanil",
    "github_project": "stealthkit",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": false,
    "requirements": [
        {
            "name": "requests",
            "specs": [
                [
                    ">=",
                    "2.32.3"
                ]
            ]
        },
        {
            "name": "fake-useragent",
            "specs": [
                [
                    ">=",
                    "2.0.3"
                ]
            ]
        }
    ],
    "lcname": "stealthkit"
}
        
Elapsed time: 0.95825s