This project has been archived by its maintainers, and is no longer receiving any updates.
HumaniPy
"Because even your bots deserve to act a little more human."
HumaniPy is a Python package designed to make web automation undetectable and human-like. It provides advanced utilities for mouse movements, typing, scrolling, and stealth, ensuring your bots behave like real users.
🚀 Features
- True Mouse Movements: Simulates realistic cursor paths using Bezier curves and
ActionChains. - Enhanced Stealth: Automatically hides
navigator.webdriverand randomizes window dimensions. - Natural Typing: Types with variable speeds and simulates occasional typos with corrections.
- Smooth Scrolling: Scrolls pages naturally with smooth behavior and random pauses.
- Robustness: Built-in retry mechanisms and error handling.
📦 Installation
Install HumaniPy via pip:
pip install humani_py
🛠 Usage
Quick Start
from selenium import webdriver
from humani_py.stealth import apply_stealth
from humani_py.typing import human_typing
from humani_py.scrolling import scroll_page
from humani_py.movements import random_mouse_move
from selenium.webdriver.common.by import By
driver = webdriver.Chrome()
# 1. Apply stealth settings immediately
apply_stealth(driver)
driver.get('https://www.google.com')
# 2. Simulate human typing
search_box = driver.find_element(By.NAME, "q")
human_typing(search_box, "HumaniPy automation")
# 3. Move mouse naturally to an element
random_mouse_move(driver, search_box)
# 4. Scroll the page like a human
scroll_page(driver, direction="down", percentage=50)
📄 Documentation
For full documentation, visit our GitHub Pages.
🤝 Contributing
Contributions are welcome! Please feel free to submit a Pull Request.
📝 License
This project is licensed under the MIT License.
Metadata
Release files for humani_py 0.2.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| humani_py-0.2.2.tar.gz | 9.2 kB | Without provenance | Details for humani_py-0.2.2.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| humani_py-0.2.2-py3-none-any.whl | Python 3 | none | any | Details for humani_py-0.2.2-py3-none-any.whl |
Total release size: 22.0 kB
Release files / humani_py-0.2.2.tar.gz
| Download URL | humani_py-0.2.2.tar.gz |
|---|---|
| Size | 9.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
77dd033d6ec9b471240643441d3f351ed308a79aa35c87cb829861e23389f43a
|
|
BLAKE2b-256 checksum How to use checksums |
152d7a81328d844943d657ea9ba01d201ec18a9bef71784f42f1d4a010b564f7
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/2.2.1 CPython/3.12.12 Linux/6.11.0-1018-azure
|
Release files / humani_py-0.2.2-py3-none-any.whl
| Download URL | humani_py-0.2.2-py3-none-any.whl |
|---|---|
| Size | 12.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
946c3ebfc00fd7fa8f684750b5d9e7a41bce91bad846f884745fe7a53e0c0c4a
|
|
BLAKE2b-256 checksum How to use checksums |
49339bdeb8a46f542e5542cc2a60fa2f01b42fa34deb61c4a97dfdf824ccd867
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/2.2.1 CPython/3.12.12 Linux/6.11.0-1018-azure
|
Security for humani_py 0.2.2
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.