human-typer


Namehuman-typer JSON
Version 1.1.0 PyPI version JSON
download
home_pagehttps://github.com/UnMars/human_typer
SummaryPython package to simulate human keyboard typing
upload_time2025-09-16 05:35:59
maintainerUnMars
docs_urlNone
authorUnMars
requires_python!=3.0.*,!=3.1.*,!=3.2.*,!=3.3.*,!=3.4.*,>=2.7
licenseMIT
keywords human typing bot keyboard selenium automation
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            ![human_typer](https://socialify.git.ci/UnMars/human_typer/image?forks=1&language=1&name=1&owner=1&stargazers=1&theme=Light)

# Human Typer

Python package to simulate human keyboard typing

## Installation

Use the package manager [pip](https://pypi.org/project/human_typer/) to install human_typer.

```bash
pip install human_typer
```

For Playwright support:

```bash
pip install human_typer[playwright]
```

## Usage

```python
from human_typer import Human_typer

My_Typer = Human_typer(keyboard_layout = "qwerty", average_cpm = 190)

# Directly with keyboard
My_Typer.keyboard_type("my text")

# With a Selenium element
my_element = driver.find_element_by_id("ID")
My_Typer.type_in_element("my text", my_element)

# With a Playwright element (requires: pip install human_typer[playwright])
from playwright.sync_api import sync_playwright

My_Typer = Human_typer(element_type="playwright")
with sync_playwright() as p:
    browser = p.chromium.launch()
    page = browser.new_page()
    page.goto("https://example.com")
    element = page.locator("#my-input")
    My_Typer.type_in_element("my text", element)
    browser.close()
```

## Contributing

Pull requests are welcome 😊

## License

[MIT](https://choosealicense.com/licenses/mit/)

            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/UnMars/human_typer",
    "name": "human-typer",
    "maintainer": "UnMars",
    "docs_url": null,
    "requires_python": "!=3.0.*,!=3.1.*,!=3.2.*,!=3.3.*,!=3.4.*,>=2.7",
    "maintainer_email": null,
    "keywords": "human, typing, bot, keyboard, selenium, automation",
    "author": "UnMars",
    "author_email": "guillaume_roboam@hotmail.fr",
    "download_url": "https://files.pythonhosted.org/packages/48/e5/204c48f72507846bf099827e45b75855eb58dd3e2aaafd014b136a5f14d8/human_typer-1.1.0.tar.gz",
    "platform": null,
    "description": "![human_typer](https://socialify.git.ci/UnMars/human_typer/image?forks=1&language=1&name=1&owner=1&stargazers=1&theme=Light)\n\n# Human Typer\n\nPython package to simulate human keyboard typing\n\n## Installation\n\nUse the package manager [pip](https://pypi.org/project/human_typer/) to install human_typer.\n\n```bash\npip install human_typer\n```\n\nFor Playwright support:\n\n```bash\npip install human_typer[playwright]\n```\n\n## Usage\n\n```python\nfrom human_typer import Human_typer\n\nMy_Typer = Human_typer(keyboard_layout = \"qwerty\", average_cpm = 190)\n\n# Directly with keyboard\nMy_Typer.keyboard_type(\"my text\")\n\n# With a Selenium element\nmy_element = driver.find_element_by_id(\"ID\")\nMy_Typer.type_in_element(\"my text\", my_element)\n\n# With a Playwright element (requires: pip install human_typer[playwright])\nfrom playwright.sync_api import sync_playwright\n\nMy_Typer = Human_typer(element_type=\"playwright\")\nwith sync_playwright() as p:\n    browser = p.chromium.launch()\n    page = browser.new_page()\n    page.goto(\"https://example.com\")\n    element = page.locator(\"#my-input\")\n    My_Typer.type_in_element(\"my text\", element)\n    browser.close()\n```\n\n## Contributing\n\nPull requests are welcome \ud83d\ude0a\n\n## License\n\n[MIT](https://choosealicense.com/licenses/mit/)\n",
    "bugtrack_url": null,
    "license": "MIT",
    "summary": "Python package to simulate human keyboard typing",
    "version": "1.1.0",
    "project_urls": {
        "Homepage": "https://github.com/UnMars/human_typer",
        "Issues": "https://github.com/UnMars/human_typer/issues",
        "Repository": "https://github.com/UnMars/human_typer"
    },
    "split_keywords": [
        "human",
        " typing",
        " bot",
        " keyboard",
        " selenium",
        " automation"
    ],
    "urls": [
        {
            "comment_text": null,
            "digests": {
                "blake2b_256": "6387e2bb77ad863e7899b425b4345441ad176578b7eca9f508401f3b5c86080f",
                "md5": "ca7f6d565db0813514184834614ca202",
                "sha256": "00681bca6b8293802723adcea56666ab762a8562a2e5f02c8ad2122ad95314cb"
            },
            "downloads": -1,
            "filename": "human_typer-1.1.0-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "ca7f6d565db0813514184834614ca202",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": "!=3.0.*,!=3.1.*,!=3.2.*,!=3.3.*,!=3.4.*,>=2.7",
            "size": 6961,
            "upload_time": "2025-09-16T05:35:58",
            "upload_time_iso_8601": "2025-09-16T05:35:58.676485Z",
            "url": "https://files.pythonhosted.org/packages/63/87/e2bb77ad863e7899b425b4345441ad176578b7eca9f508401f3b5c86080f/human_typer-1.1.0-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": null,
            "digests": {
                "blake2b_256": "48e5204c48f72507846bf099827e45b75855eb58dd3e2aaafd014b136a5f14d8",
                "md5": "2258136f8bc1e52480e441589ffd5067",
                "sha256": "67e1dbf6d935b29ee0b9418952dce11a5d048463842c549fafe79e3083b52d89"
            },
            "downloads": -1,
            "filename": "human_typer-1.1.0.tar.gz",
            "has_sig": false,
            "md5_digest": "2258136f8bc1e52480e441589ffd5067",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": "!=3.0.*,!=3.1.*,!=3.2.*,!=3.3.*,!=3.4.*,>=2.7",
            "size": 9129,
            "upload_time": "2025-09-16T05:35:59",
            "upload_time_iso_8601": "2025-09-16T05:35:59.802981Z",
            "url": "https://files.pythonhosted.org/packages/48/e5/204c48f72507846bf099827e45b75855eb58dd3e2aaafd014b136a5f14d8/human_typer-1.1.0.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2025-09-16 05:35:59",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "UnMars",
    "github_project": "human_typer",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": true,
    "lcname": "human-typer"
}
        
Elapsed time: 1.29627s