semvec/pypi-packages huggingface dataset:
human-typer 1.1.1
Python package to simulate human keyboard typing
License: MIT
Requires Python: !=3.0.*,!=3.1.*,!=3.2.*,!=3.3.*,!=3.4.*,>=2.7
Keywords: human, typing, bot, keyboard, selenium, automation

![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 optional custom typo error rate (default is 0.02 = 2% of every character typed)
My_Typer = Human_typer(keyboard_layout = "qwerty", average_cpm = 190, error_rate = 0.05)

# 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/)
oceansguard 0.1.12
Guardrails tool for AI-assisted code changes (pack / check / run)
License: MIT
Requires Python: >=3.9

# README.md
# OceansGuard

AI-assisted development guardrails for any repository.

## What it solves
- AI-generated changes that accidentally drop existing code
- Lack of global context (only partial files shown)
- Forgetfulness / inconsistent constraints across sessions
- No test / lint guarantees
- Secret leakage (keys/tokens) into commits
- Risky full-rewrite changes

## Core commands

### init
Create minimal guard files in target repo (idempotent; no overwrite).

python core/aiguard.py init --repo .

### pack
Generate AI context pack (diff-first).
```
python core/aiguard.py pack --repo .
```
### check
Run guard checks + configured project checks and write reports.
```
python core/aiguard.py check --repo .
```
### run
Shortcut = pack + check.
```
python core/aiguard.py run --repo . --task "your task"
```
## Strict mode
--strict makes guardrails non-negotiable:
- requires PyYAML
- fails if checks.commands is empty
- fails if contracts/openapi.json is missing/empty
```
python core/aiguard.py run --repo . --task "CI guard" --strict
```

## Submodule usage (recommended)
In your target repository:
```
git submodule add https://github.com/OceansCreative/OceansGuard.git tools/OceansGuard
python tools/OceansGuard/core/aiguard.py init --repo .
python tools/OceansGuard/core/aiguard.py run --repo . --task "初回ガード適用"
```
## Outputs
- ai_context_pack.md: single file to paste into AI chat
- ai_test_last.log: raw execution logs
- ai_check_report.json: structured result for CI/PR gating

## Git hooks (prevent committing to main)
Install with:
```
python core/install_hooks.py --repo .
```