semvec/pypi-packages huggingface dataset:
PyConText-module 0.1.1
A windows-only python package for displaying text in the console with format and give console cursor control.
Requires Python: >=3.7

![Main icon](icon.png)
# PyConText

PyConText is a Python package for displaying text in the console with format and give console cursor control.
**Note: It is windows-only and it will not work well if the console window size is keep changing.**

## Dependencies

PyConText requires the following modules:
- os
- shutil
- keyboard
- ctypes (and wintypes)

## Installation
Install the either without examples or with examples(source code) from the releases page.
Add the PyConText.py file to your project folder and import it like this:
```python
import PyConText
```

## Console Functions

### get_size()

Returns the size of the terminal as a named tuple of two integers, columns and lines.

*Parameters*
None

*Returns*
collections.namedtuple
- A named tuple of two integers, columns and lines.

### clear()

Clears the console screen.

*Parameters*
None

*Returns*
None

## Cursor Functions

### move(x:int=0, y:int=0)
Moves the cursor to a given position

*Parameters*
x : int
- The x position of the cursor starting from 0
y : int
- The y position of the cursor starting from 0

*Returns*
None

### get_cursor_position()

Requests the current position of the cursor from the terminal and returns it as a tuple of two integers, the row and column of the cursor.

*Parameters*
None

*Returns*
tuple
- A named tuple of two integers, the row and column of the cursor. If the operation is unsupported returns None.

## Widget Functions

### input(prompt: str, end: str = ": ", erase: bool = True)

Reads input from the user and returns it as a string.

*Parameters*
prompt : str
- The text to display to the user before reading input
end : str
- The string to append to the end of the prompt, defaults to ": "
erase : bool
- Whether to erase the input line after reading, defaults to True

*Returns*
str
- The input from the user as a string

### radio(options: list, selection_character: chr = "*", unselection_character: chr = " ")

Creates a radio button menu from a given list of options

*Parameters*
options : list
- A list of strings to be used as the options
selection_character : chr
- The character to use to mark the selected option, defaults to "*"
unselection_character : chr
- The character to use to mark the unselected options, defaults to " "

*Returns*
str
- The selected option as a string

### output(output, alignment="left")
Outputs the given string or list of strings to the console, with optional alignment

*Parameters*
output : str or list
- The string or list of strings to output
- If it is a list, each element will be printed on a new line
alignment : str
- The alignment of the output, either "left", "center", or "right". Defaults to "left"

*Returns*
None
iugupy 0.1.0
Python REST APIs for Iugu
Requires Python: >=3.13

# IUGU Python SDK

Library to integrate with the IUGU API.

## Development

This project targets Python >= 3.13 and uses `uv` as the build backend/manager.

### Setup (with uv)

- Create a virtualenv and activate it:
  - `uv venv`
  - `. .venv/bin/activate`
- Install in editable mode with dev tools (pytest, black):
  - `uv pip install -e .[dev]`

### Running tests (pytest)

- Run all tests:
  - `pytest`
- Tests live under `tests/` and follow the pattern `test_*.py`.
- Imports resolve either via the editable install above or the provided `tests/conftest.py` which adds `src/` to `sys.path` for local runs.

### Code style (black)

- Format the codebase:
  - `black .`
- The configuration (line length, Python version) is in `pyproject.toml`.

### Build artifacts

- Build wheel/sdist using uv build backend:
  - `uv build`

### Contribution policy

- Every new feature or bugfix must include corresponding tests in `tests/`.
- Keep runtime dependencies minimal (the library depends only on `requests`).
- Public API should be typed; `py.typed` is included.
silence-lint-error 1.7.0
silence linting errors by adding ignore/fixme comments
Requires Python: >=3.9

# silence-lint-error

Silent linting errors
by adding `ignore` or `fixme` comments.

This tool currently works with:

- [`fixit`](https://github.com/Instagram/Fixit)
- [`flake8`](https://github.com/PyCQA/flake8) (silence only)
- [`mypy`](https://www.mypy-lang.org) (silence only)
- [`ruff`](https://docs.astral.sh/ruff/)
- [`semgrep`](https://semgrep.dev/docs/) (silence only)

## Usage

Install with pip:

```shell
python -m pip install silence-lint-error
```

You must also install the linting tool you wish to use.

### silence linting errors

Find linting errors
and add the `ignore` or `fixme` comments as applicable.

For example,
to add `lint-fixme: CollapseIsinstanceChecks` comments
to ignore the `fixit.rules:CollapseIsinstanceChecks` rule from `fixit`,
run:

```shell
silence-lint-error fixit fixit.rules:CollapseIsinstanceChecks path/to/files/ path/to/more/files/
```

To add `noqa: F401` comments
to ignore the `F401` rule in `flake8`,
run:

```shell
silence-lint-error flake8 F401 path/to/files/ path/to/more/files/
```

To add `noqa: F401` comments
to ignore the `F401` rule in `ruff`,
run:

```shell
silence-lint-error ruff F401 path/to/files/ path/to/more/files/
```

To add `nosemgrep: python.lang.best-practice.sleep.arbitrary-sleep` comments
to ignore the `python.lang.best-practice.sleep.arbitrary-sleep` rule in `semgrep`,
run:

```shell
SEMGREP_RULES=r/python silence-lint-error semgrep python.lang.best-practice.sleep.arbitrary-sleep path/to/files/ path/to/more/files/
```

N.B. The rules must be configured in an environment variable.
For more information about configuring semgrep rules,
see the `--config` entry in the [`semgrep` documentation](https://semgrep.dev/docs/cli-reference-oss/)

To add `type: ignore` comments
to ignore the `truthy-bool` error from `mypy`,
run:

```shell
silence-lint-error mypy truthy-bool path/to/files/ path/to/more/files/
```

### fix silenced errors

If there is an auto-fix for a linting error,
you can remove the `ignore` or `fixme` comments
and apply the auto-fix.

For example
to remove all `lint-fixme: CollapseIsinstanceChecks` comments
and apply the auto-fix for that rule,
run:

```shell
fix-silenced-error fixit fixit.rules:CollapseIsinstanceChecks path/to/files/ path/to/more/files/
```

To remove `noqa: F401` comments
and apply the auto-fix for that rule,
run:

```shell
fix-silenced-error ruff F401 path/to/files/ path/to/more/files/
```

## Rationale

When adding a new rule (or enabling more rules) for a linter
on a large code-base,
fixing the existing violations can be too large a task to do quickly.
However, starting to check the rule sooner
will prevent new violations from being introduced.

Ignoring existing violations is a quick way to allow new rules to be enabled.
You can then burn down those existing violations over time.

This tool makes it easy to find and ignore all current violations of a rule
so that it can be enabled.
rhaid-autofix 0.7.28
Rhaid Autofix — repo hygiene with smart AI guardrails
Requires Python: >=3.9

<<<<<<< HEAD

# Rhaid v0.7.0 (Camwood Inc.)

## Why Rhaid is #1

- **Comprehensive hygiene**: Scans and fixes Python, JS/TS, Markdown, TOML, Terraform, and more.
- **AI guardrails**: Baseline-aware, suppressions, and smart fixers.
- **Fast & scalable**: Parallel scanning, caching, and baseline support for large repos.
- **Extensible**: Easy to add custom rules/fixers and plugins.
- **Multi-platform**: CLI, VS Code extension, Gradio app, and CI/CD workflows.
- **Open & documented**: MIT licensed, with developer guides and API docs.

## Usage Examples

### CLI
```sh
rhaid --path . --mode scan --json
rhaid --path src/ --mode fix --backup --rules "+format:*,+json:*" --fix-only "+format:*"
```

### VS Code Extension
- Install from Marketplace or build from source.
- Use "Rhaid: Scan Workspace" and "Rhaid: Fix Current File" commands.
- Diagnostics and quick fixes in the editor.

### Gradio App
- Upload a ZIP or enter a Git repo URL.
- Choose scan or fix mode, add extra args if needed.
- Download results as JSON and ZIP.

### CI/CD (GitHub Actions)
- Use `.github/workflows/rhaid_pr.yml` for baseline-aware PR checks.
- Use `.github/workflows/rhaid_sweep.yml` for automated hygiene sweeps.

## Contributing & Extending

- See `rhaid/rules.py` for rule/fixer API and examples.
- Add new rules/fixers with the `@rule` and `@fixer` decorators.
- For plugins, place your modules in a `plugins/` directory (future support).
- Run tests with `pytest`.


## API Reference

- `@rule(id: str)`: Decorator to register a rule. See `rhaid/rules.py`.
- `@fixer(id: str)`: Decorator to register a fixer.
- `load_plugins(plugin_dir: str)`: Dynamically load plugins.
- `run_rules(path, content, ctx)`: Run all rules on file content.
- `apply_fixers(path, content, issues, ctx)`: Apply all fixers to file content.

## Troubleshooting

- If the CLI or extension can't find the Rhaid binary, check your PATH or set `rhaid.pathToBinary`.
- For Gradio app errors, ensure dependencies are installed and repo URLs are public.
- For CI/CD, check workflow logs and the `rhaid_report.json` artifact for details.

## Security & Privacy

- No code is sent externally unless using LLM features.
- Secret scanning covers AWS keys, GitHub PATs, and private keys; expand patterns as needed.
- For sensitive code, run Rhaid locally or in your CI/CD.

---
MIT License — (c) 2025 Camwood Inc.
=======
# rhaid-autofix
Rhaid Autofix by Camwood Inc. keeps repos clean. It scans codebases and safely auto-fixes JSON/YAML/TOML/Markdown/MDX/Terraform &amp; Python/JS/TS imports. Outputs SARIF/PR; and baseline-aware. CI-native. Runs locally or in CI; no code leaves your environment. Open-core + Pro/Team/Enterprise.
>>>>>>> fe3662a357328ae96e51b382d77f8763f34789fb