semvec/pypi-packages huggingface dataset:
llvmcovdiff 0.0.4
Compare two llvm-cov html coverage report.
Requires Python: >=3.8

# llvm-cov-html-diff

This tool allows you to inspect and debug fuzzbench results to know why one fuzzer is better than the other.
- Enable the generation of llvm-cov coverage report.
- Use this tool to diff the report.
- Check the report: Check those lines that is not covered by one fuzzer but covered by the other.

## Usage

1. Install the tool: `pip install llvmcovdiff`
2. Use the tool.

```
python -m llvmcovdiff <old_report_folder> <new_report_folder> <output_report_folder>
```

For example, for a fuzzbench result:

```
python -m llvmcovdiff ./2024-05-13-new-cov/coverage/reports/proj4_proj_crs_to_crs_fuzzer/aflplusplus/ ./2024-05-13-new-cov/coverage/reports/proj4_proj_crs_to_crs_fuzzer/afl/ out3
```

## Develop

```
python3 -m build && python3 -m pip install ./dist/llvmcovdiff-0.0.4.tar.gz
```

<!-- python3 -m twine upload ./dist/* -->

## Details

In generated report from llvm-cov
- There are `index.html` that shows the main status of the coverage.
- There are `xxxx.c.html` or `xxx.h.html` that shows line coverage.

Given two llvm-cov report folder, We generate a new folder that shows the differences.

## FAQ

1. Why some line hit count changed but not highlighted?

For line coverage count, we only highlight those counts that goes from zero to non-zero, or from non-zero to zero.

## Others

Thanks to https://github.com/Dentosal/llvm-codecov-diff/blob/0352d07e486f75b2dfb8bf2d7eb8a6e948e19106/app.py

Tested on python 3.10 pip 24.2:

```
beautifulsoup4==4.12.2
```
logpyseq 0.1.1
Pythonic wrapper for LogSeq API
Requires Python: >=3.10

# logpyseq
Pythonic wrapper for LogSeq APIs

This package uses code from gist https://gist.github.com/ksqsf/c3f254545cd8f5e597fc67c1014da9ac

Code available at https://github.com/jmbenedetto/logpyseq.git.

## Installation

To install the package, use the following command:

```shell
pip install logpyseq
```

## Usage
- The entire LogSeq API is available as methods of the logseq object.
- Some complementary functions are also available as part of the logpyseq module: upsert_page_properties.

### Connecting to LogSeq graph
```python
from logpyseq import logseq, upsert_page_properties
logseq_token = "your_logseq_token"
mygraph = logseq(logseq_token, host="127.0.0.1", port="12315")
```

### Create a new page
```python
mygraph.Editor.createPage("APITest")
```

### Append blocks to the page
```python
mygraph.Editor.appendBlockInPage("APITest", "Block 1")
mygraph.Editor.appendBlockInPage("APITest", "Block 2")
```

### Show a message
```python
mygraph.App.showMsg("Hello!")
```

### Upsert page properties
```
page_uuid = "your_page_uuid"
target_properties = {
    "property_name": "property_value",
    "property_name2": "property_value2"
    }
upsert_page_properties(mygraph, page_uuid, target_properties)
```

### Delete a page
mygraph.Editor.deletePage("APITest")