semvec/pypi-packages huggingface dataset:
snsr 0.1.6
A simple random movement screensaver.
Requires Python: >=3.7

# snsr

A playful Python-based "screensaver" that randomly moves your mouse and simulates key presses to keep your screen active.

## Features

- Moves the mouse to random screen positions.
- Simulates random key presses.
- Keeps your system from going idle.
- Lightweight and easy to use.

## Usage

### Using `uv`

If you're using `uv`, you can run the `snsr` command directly without needing to activate a virtual environment first. Just use `uvx`:

```bash
uvx snsr
```

### Using pip

You can install `snsr` using `pip`:

```bash
pip install snsr
snsr
```

It will:

* Move your mouse to random points on the screen
* Press a random key (`a`, `s`, `d`, `f`, `j`, `k`, `l`)
* Repeat this process every few seconds

### To Stop

Press `Ctrl+C` in the terminal to exit.

## Notes

* Ensure your OS allows simulated input events from Python scripts.
* Useful for keeping your machine awake during long tasks (e.g., rendering, builds, meetings).

## Disclaimer

This project is intended for educational or personal use only. Use responsibly and respect your organization's policies regarding input automation.

---

MIT License © 2025
codeyak 0.0.13
A code review agent optimized for following strict guidelines
Requires Python: >=3.12
Keywords: ai, automation, azure-openai, code-review, gitlab, linting, llm

<div align="center">
  <img src="https://raw.githubusercontent.com/ai-rayven/codeyak/main/images/codeyak-logo.png" alt="CodeYak" width="200">
  <h1>CodeYak</h1>
  <p><em>AI-powered code review with configurable guidelines.</em></p>
  <p>
    <a href="https://pypi.org/project/codeyak/"><img src="https://img.shields.io/pypi/v/codeyak" alt="PyPI"></a>
    <a href="https://pypi.org/project/codeyak/"><img src="https://img.shields.io/pypi/pyversions/codeyak" alt="Python"></a>
  </p>
</div>

---

## Installation

```bash
uv tool install codeyak
```

## CLI Usage

```bash
# Review local uncommitted changes
yak review

# Review a GitLab merge request
yak mr <MR_ID> <PROJECT_ID>
```

On first run, `yak` prompts for configuration (Azure OpenAI credentials, GitLab token).

## GitLab CI

```yaml
codeyak:
  stage: review
  image: python:3.12-slim
  before_script:
    - pip install uv && uv tool install codeyak
  script:
    - yak mr $CI_MERGE_REQUEST_IID $CI_PROJECT_ID
  rules:
    - if: $CI_PIPELINE_SOURCE == 'merge_request_event'
```

Required CI/CD variables: `GITLAB_TOKEN`, `AZURE_OPENAI_API_KEY`, `AZURE_OPENAI_ENDPOINT`, `AZURE_DEPLOYMENT_NAME`

## Guidelines

CodeYak uses `.codeyak/*.yaml` files for review guidelines. Without custom files, it uses the `default` preset.

### Built-in Presets

- `default` - includes code-quality
- `security` - injection prevention, auth, cryptography, secrets
- `code-quality` - SRP, naming, organization, error handling

### Custom Guidelines

`.codeyak/my-rules.yaml`:
```yaml
guidelines:
  - label: rate-limiting
    description: All API endpoints must include rate limiting.
```

### Include Presets

```yaml
includes:
  - builtin:security
  - builtin:code-quality

guidelines:
  - label: api-timeout
    description: All external API calls must have timeout limits.
```

## Environment Variables

```bash
# Required
AZURE_OPENAI_API_KEY=<key>
AZURE_OPENAI_ENDPOINT=<endpoint>
AZURE_DEPLOYMENT_NAME=gpt-4o

# For GitLab MR reviews
GITLAB_URL=https://gitlab.com  # optional, defaults to gitlab.com
GITLAB_TOKEN=<token>

# Optional observability
LANGFUSE_SECRET_KEY=<key>
LANGFUSE_PUBLIC_KEY=<key>
LANGFUSE_HOST=https://cloud.langfuse.com
```