semvec/pypi-packages huggingface dataset:
sx1509-gpio-expander 0.1.2
A package to control the SX1509 GPIO expander

# SX1509 GPIO Expander Package

This package provides a Python interface for controlling the SX1509 GPIO expander.

## Installation

```python
pip install sx1509-gpio-expander
```

## Usage

To use the package, import the `SX1509` class from the `sx1509` module:

```python
from sx1509_gpio_expander import SX1509
import board

# Set up I2C
i2c = board.I2C() 
# Initialize the SX1509
ioExpander = SX1509.SX1509(i2c, 0x3E)

# Use the expander
ioExpander.pinMode(0, ioExpander.OUTPUT)
ioExpander.digitalWrite(0, ioExpander.HIGH)
```

## License

This project is licensed under the GNU GENERAL PUBLIC LICENSE - see the [LICENSE](LICENSE) file for details.
copy-spotter 0.1.16
Make plagiarism detection easier. This package will find similar sentences between given files and highlight them in a side by side comparison.
Requires Python: >=3.10

# Copy Spotter

![PyPI - Version](https://img.shields.io/pypi/v/copy-spotter) ![PyPI - License](https://img.shields.io/pypi/l/copy-spotter)
![Python](https://img.shields.io/badge/python-3.11-blue)


![GIF demo](https://raw.githubusercontent.com/Wazzabeee/copy-spotter/main/data/img/example.gif)

## About
This program will process pdf, txt, docx, and odt files that can be found in the given input directory, find similar sentences, calculate similarity percentage, display a similarity table with links to side by side comparison where similar sentences are highlighted.

**Usage**
---

```bash
$ pip install copy-spotter
$ copy-spotter [-s] [-o] [-h] input_directory
```
***Positional Arguments:***
* `input_directory`: One directory that contains all files (pdf, txt, docx, odt) (see `data/pdf/plagiarism` for example)

```
input_directory/
│
├── file_1.docx
├── file_2.pdf
└── file_3.pdf
```

***Optional Arguments:***
* `-s`, `--block-size`: Set minimum number of consecutive and similar words detected. (Default is 2)
* `-o`, `--out_dir`: Set the output directory for html files. (Default is creating a new directory called results)
* `-h`, `--help`: Show this message and exit.

**Examples**
---
```bash
# Analyze documents in 'data/pdf/plagiarism', with default settings
$ copy-spotter data/pdf/plagiarism

# Analyze with custom block size and specify output directory
$ copy-spotter data/pdf/plagiarism -s 5 -o results/output
```

**Development Setup:**
---

```bash
# Clone this repository
$ git clone https://github.com/Wazzabeee/copy_spotter

# Go into the repository
$ cd copy_spotter

# Install requirements
$ pip install -r requirements.txt
$ pip install -r requirements_lint.txt

# Install precommit
$ pip install pre-commit
$ pre-commit install

# Run tests
$ pip install pytest
$ pytest tests/

# Run package locally
$ python -m scripts.main [-s] [-o] [-h] input_directory
```

**Recommandations**
---
- Please make sure that all text files are closed before running the program.
- In order to get the best results please provide text files of the same languages.
- Pdf files that are made from scanned images won't be processed correctly.
- Ensure you have writing access when using the package 
- If a specific file is not processed correctly feel free to [contact me](mailto:<clement45.delteil45@gmail.com>) so that I can address the issue.

**TODO**
---
- Add more tests on existing functions
- Implement OCR with tesseract for scanned documents
- Add custom naming option for pdf files
PlotBiox 0.0.2
Xu Yuxing's personal biology plot toolbox.
Requires Python: >=3.5

# PlotBiox
Xu Yuxing's personal biology plot toolbox.

## Installation
```
pip install PlotBiox
```

## Example
1. [GWAS Plot Example Notebook](./plotbiox/quantitative_genomics/example.ipynb)

2. [Map Plot Example Notebook](./plotbiox/map/example.ipynb)