semvec/pypi-packages huggingface dataset:
meter_proving 1.0.0
library to calculate random uncertanity of a measurment sequence
Requires Python: >=3.10,<4.0

# Meter proving
Simple package for caluclating random uncertanity of a set of repeted measurments.

![Tests](https://github.com/StigHaraldGustavsen/meter_proving/actions/workflows/tests.yml/badge.svg)

```Bash
pip install meter-proving
```


```python
from meter_proving import calculate_uncertanity

res = calculate_uncertanity([1000.00, 1000.00, 1000.00, 1000.25, 999.75])
print(res)
```

By default standard error is gotten from range of values, if this where to come from standard deviation set repetability param to false with a confidence intervall of 95% (coverage factor of almost 2), but theses can be parameterized.

```python
from meter_proving import calculate_uncertanity

res = calculate_uncertanity(
    [1000.00, 1000.00, 1000.00, 1000.25, 999.75],
    repetability = False
    )

print(res)
```

Standard error from standard deviation and has coverage factor of 1, witch gives a confidence interval of approx 68%

```python
from meter_proving import calculate_uncertanity

res = calculate_uncertanity(
    [1000.00, 1000.00, 1000.00, 1000.25, 999.75],
    coverage_factor = 1.0,
    repetability = False
    )

print(res)
```


### Start dev
```bash
poetry install
poetry config virtualenvs.in-project true
poetry run pre-commit run --all-files
```
### Run precommits
run precomits before you push code back to remote
```bash
poetry run pre-commit run --all-files
```
hpscancli 1.0.0
A simple python CLI tool to connect to HP scanner devices over local network and scan documents with ease.
Requires Python: >=3.6

# HPScanCLI

The HPScanCLI is a command-line interface for interacting with HP scanners through their web interfaces. It allows to search for available printers in the local network, print out printer capabilities, and initiate scans with various parameters.

## Features

- **Search for Printers**: Discover HP printers available in the local network.
- **Print Capabilities**: Retrieve and display the capabilities of a printer.
- **Scan Documents**: Initiate scanning operations with customizable parameters like DPI, height, width, color mode, and output format.

## Requirements

- Python 3.x
- Required Python packages (`bs4`, `requests`)

## Installation

1. Clone the repository:

   ```
   git clone https://github.com/prasannareddych/HPScanCLI.git
   ```

2. Install the required packages:

   ```
   pip install -r requirements.txt
   ```

## Usage

Run the script from the command line with appropriate options:

```
hpscancli [options]
```

### Command-line Options

- `-i, --ip`: IP address of the HP Wireless scanner / InkTank / LaserJet.
- `-s, --searchprinter`: search for available printers in the network.
- `-c, --capabilities`: show capabilities of the printer.
- `--height`: set scan height.
- `--width`: Set scan width.
- `--dpi`: set scan DPI.
- `--colormode`: set scan color mode.
- `--pdf`: set output format to PDF.
- `-o, --output`: set output filename.
- `-b, --bulkscan`: scan in bulk mode.

## Examples

1. Search for available printers:

   ```
   hpscancli -s
   ```

2. Print capabilities of a specific printer:

   ```
   hpscancli -i <printer-ip> -c
   ```

3. Perform a scan with custom parameters:

   ```
   hpscancli -i <printer-ip> --height 1200 --width 800 --dpi 300 --colormode RGB24 --pdf -o scan1
   ```

## Author

Prasanna Reddy. Ch

## License

This project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.