semvec/pypi-packages huggingface dataset:
mpl-plot-report 0.1.0
Structured plot metadata and diagnostics for Matplotlib (agent-friendly sidecars)
License: MIT
Requires Python: >=3.9

# mpl-plot-report

Export Matplotlib figures as deterministic JSON + Markdown sidecars for
LLM-friendly plot debugging. PNGs are emitted as secondary artifacts.

## Installation

Using uv:

```bash
uv sync
```

Using pip:

```bash
python -m venv .venv
. .venv/bin/activate
pip install -e .[dev]
```

## Minimal usage

```python
import matplotlib

matplotlib.use("Agg")
import matplotlib.pyplot as plt
import numpy as np

from mpl_plot_report import dump_report

x = np.linspace(0, 10, 200)
y = np.sin(x)
fig, ax = plt.subplots()
ax.plot(x, y, label="signal")

dump_report(
    fig,
    out_dir="plots/run_001",
    stem="signal",
    context={"run_id": "run_001", "style_name": "default"},
)
```

## CLI usage

You can point the CLI at a module that exposes a callable returning a
Matplotlib Figure (default callable name: `make_figure`).

```bash
uv run mpl-plot-report --module my_module --callable make_figure --out-dir plots/run_001 --stem signal
```

Or provide a run id and let the CLI create `plots/<run_id>` automatically:

```bash
uv run mpl-plot-report --module my_module --run-id run_001 --stem signal
```

## Output files

For a stem like `signal`, the exporter writes:

- `signal.png`
- `signal.plot.json`
- `signal.plot.md`

The JSON is the source of truth for agents and CI. Markdown is a concise
human-facing summary, and PNGs are optional.

## Rulesets

Domain rules should live in consumer projects and be injected at runtime.
Define a `RuleSet` (or iterable of `Rule`) and pass it to `dump_report`:

```python
from mpl_plot_report import dump_report
from mpl_plot_report.rules import Rule, RuleSet


def always_ok(report):
    return True, "ok", None


ruleset = RuleSet([Rule("demo.always_ok", "warn", always_ok)])
dump_report(fig, out_dir="plots", stem="example", ruleset=ruleset)
```

See a minimal module example at `examples/ruleset_demo.py`.

## Tests

```bash
uv run pytest
```

Single test examples:

```bash
uv run pytest tests/test_report.py
uv run pytest tests/test_report.py::test_dump_report_creates_sidecars
```

## Fixtures

Synthetic fixtures live under `tests/fixtures/expected/`. Regenerate them with:

```bash
uv run python scripts/generate_fixtures.py
```
gmsg 0.1.8
Generates git commit messages for you using AI.
License: MIT
Requires Python: >=3.9.5
Keywords: git, commit, ai

# gmsg

A command-line tool that automatically generates concise and meaningful Git commit messages using Google's Gemini model based on your staged changes.

---

## 🚀 Features

* ✅ Detects if the current directory is a Git repository
* ✅ Retrieves your staged changes via `git diff --cached`
* ✅ Uses Gemini (for now) to generate a one-liner commit message
* ✅ Allows you to:

  * Accept the suggestion
  * Edit the message in your preferred text editor
  * Regenerate a new suggestion
* ✅ Automatically commits the changes with your selected message

---

## 📦 Installation

```bash
pip install gmsg
```

---

## 🛠️ Configuration

Get your [Google Gemini API key](https://aistudio.google.com/app/apikey) if you don't have already.

### 1. Set API key

Enter your api key when package is used for the first time.

```bash
$ Enter your Gemini API KEY:
```

---

## ⚙️ Usage

1. Stage your changes:

   ```bash
   git add .
   or 
   git add <file>
   ```

2. Run the package:

   ```bash
   gmsg
   ```

3. Follow the prompts:

   * Press `y/Y/enter` to commit with the suggested message
   * Press `e` to edit the message in your default `$EDITOR` (e.g., `vim`)
   * Press `n` to regenerate the commit message

---

## ✨ Example

```bash
$ git add some_file.py
$ gmsg

> Generate a one liner git commit message for these changes...
> Added error handling in API response parser

Do you want to continue with this message? [Y = yes / e = edit / n = no]: y
Running: `git commit -m Added error handling in API response parser`
Message committed to git. You can run `git commit --amend` to modify it.
```

---

## 🧩 Requirements

* Python 3.10+
* Git installed and available in your system path
---

## 📍 Roadmap

Here are some upcoming features and improvements planned for this project:
* [ ] **CLI Arguments Support**
  Add flags like `--gin` to mention 'git issue number' in the commit.

* [ ] **CLI Arguments Support**
  Add flags like `--dry-run` for non-interactive use.

* [ ] **Multi-line Commit Messages**
  Option to generate more descriptive, multi-line messages with summaries and bullet points.

* [ ] **Better Diff Parsing**
  Use syntax-aware parsing to improve prompt context and generate more accurate commit messages.

* [ ] **Git Hook Integration**
  Provide an installable Git commit hook that auto-runs this tool on `git commit`.

* [ ] **Support for Other LLMs**
  Add support for OpenAI's GPT, Claude, or local models using plugins/adapters.

---


## 📝 License

MIT License. Feel free to use, modify, and contribute!

---

## 🤝 Contributing

Pull requests are welcome. For major changes, open an issue first to discuss what you'd like to change.
VertexEngine-WebEngine 1.2rc4
The offical WebEngine Extension of the VertexEngine SDK.
License: MIT
Requires Python: >=3.10

# VertexEngine/Vertex-WebEngine
VertexEngine-WebEngine is a WebEngine built for the VertexEngine SDK. It's a seperate package.

## Help
The documentation is in the following link:
[Project Documentation](https://vertexenginedocs.netlify.app/) for help.

## Change Logs (1.2rc4), NEW!
### 1.4rc4
- REFINING AGAIN! Docs on v1.2.0
- Source Link on github
### 1.2rc3
- FULL REFINATION OF THE BROWSER! Documentation Updated.
### 1.2rc2
- EXPANDED JS BRIDGE!
### 1.2rc1
- FULL ENGINE REVAMP! Check Documentation for more details.
### Version 1.1
- Added 1 New Library!
   ~ BrowserTools.Tabs
   
## How to install Pyinstaller
Step 1. Type in:
pip install pyinstaller

Step 2. Wait a few min, don't worry if it takes 1 hr or more, it will finish

Step 3. How to use pyinstaller
type:
python -m PyInstaller --onefile *.py

There are flags:
--noconsole > disables the console when you run the app
--onefile > compress all of the code into one file
--icon > the *.ico file after you type it will be set as the app icon.

## How to install VertexEngine-WebEngine/Vertex:

Step 1:
Type in
pip install VertexEngine-WebEngine

Step 2: Wait a few min, don't worry if it takes 1 hr or more, it will finish

## Dependencies
Vertex obviously has heavy dependencies since it's a game engine, the following requirements are:

| Dependency       | Version                              |
|------------------|--------------------------------------|
| PyQt6            | >=6.7                                |   
| Pygame           | >=2.0                                |
| Python           | >=3.10                               |

## About Me ❔
I Am a solo developer in Diliman, Quezon City that makes things for fun :)
77 Rd 1, 53 Rd 3 Bg-Asa QC
Email:
FinalFacility0828@gmail.com

## 📄 License
VertexEngine-WebEngine/Vertex is Managed by the MIT License. This license allows others to tweak the code. However, I would like my name be in the credits if you choose this as your starting ground for your next library.
pygoreadability 0.2.8
CPython bindings for go-readability (FromString)
License: MIT
Requires Python: >=3.9

# pygoreadability

CPython bindings for `codeberg.org/readeck/go-readability/v2` exposing `FromString`.

## Development

Build the Go shared library for your current platform:

```bash
bash scripts/build_lib.sh
```

Then in Python:

```python
from pygoreadability import from_string

article = from_string(html, url="https://example.com")
print(article.title)
```

## Wheels

This package is designed to ship prebuilt wheels. Use `cibuildwheel` to build
platform-specific wheels for macOS arm64 and Linux x86_64.

Environment:
- `GOREADABILITY_VERSION` (optional): version/tag override (defaults to the
  version in `go/go.mod`).
- `PYGOREADABILITY_SKIP_BUILD=1` to skip the build step (expects the shared
  library to already be present in the package directory).
- `PYGOREADABILITY_AUTO_BUILD=0` to disable import-time auto-build fallback
  (useful for constrained environments).

## Null bytes

`from_string` accepts Unicode strings that may contain embedded null bytes
(`\x00`) because the binding passes explicit lengths across the FFI boundary.

Output fields are length-prefixed in the C bridge as well, so embedded null
bytes in extracted text won't be truncated.