semvec/pypi-packages huggingface dataset:
py-image-border 2023.4.14.2
Add a border to any image.
Requires Python: >=3.8

`py-image-border`
===

`py-image-border` is a simple project that lets you easily add borders to screenshots:

```
$ add-border my_screenshot.png
```

Installation sets up an `add-border` shortcut, so you don't need to use any `python` commands to use the project. If you want, you can also use the following syntax:

```
$ python -m py_image_border.add_border my_screenshot.png
```

Installation
---
Install the package with `pip`:

```
$ python -m pip install py-image-border
```

The only dependency is [Pillow](https://pillow.readthedocs.io/en/stable/index.html).

Usage
---

You can adjust the size of the border, add some padding between the image and border, and set a custom color for the border:

```
# 15-pixel border:
$ add-border my_screenshot.png 15

# 10-pixel padding:
$ add-border my_screenshot.png --padding 10

# black border:
$ add-border my_screenshot.png --border-color black
```

To see the full usage documentation, use `--help`:

```
usage: add-border [-h] [--padding PADDING] [--border-color BORDER_COLOR] path [border_width]

Add a border to any image.

positional arguments:
  path                  Path to the original image.
  border_width          Border width (default: 2).

options:
  -h, --help            show this help message and exit
  --padding PADDING     Padding (default: 0).
  --border-color BORDER_COLOR
                        Border color (default: lightgray).
```

Notes
---

This project was motivated by the lack of an easy, consistent way to add borders to screenshots on macOS.

The test image is a bear I caught with a game camera, scratching its back against a tree:

![Bear scratching its back against a tree](https://github.com/ehmatthes/py-image-border/raw/main/tests/reference_images/bear_scratching_default.jpg)

I had left the game camera out much longer than expected, and had about 100k images to go through. I wrote a Python script to flag any image with an area of dark pixels. This was one of about 12 images flagged. :)
pvrpm 1.8.1
Run simulations to estimate LCOE costs for PV systems using SAM.
Requires Python: >=3.8

# pvrpm-lcoe
[![Tests](https://github.com/FSEC-Photovoltaics/pvrpm-lcoe/actions/workflows/tests.yml/badge.svg?branch=master&event=push)](https://github.com/FSEC-Photovoltaics/pvrpm-lcoe/actions/workflows/tests.yml) [![black-checker](https://github.com/FSEC-Photovoltaics/pvrpm-lcoe/actions/workflows/black-checker.yml/badge.svg)](https://github.com/FSEC-Photovoltaics/pvrpm-lcoe/actions/workflows/black-checker.yml)

[![DOI](https://joss.theoj.org/papers/10.21105/joss.04093/status.svg)](https://doi.org/10.21105/joss.04093)

---

### Quick Reference
[Documentation](https://pvrpm.readthedocs.io/)

[License](LICENSE)

[Issues](https://github.com/FSEC-Photovoltaics/pvrpm-lcoe/issues/)

[Contributing Guide](.github/CONTRIBUTING.md)

---

Photovoltaic simulation tool using [SAM](https://github.com/NREL/SAM)

Currently using SAM version 2022.11.21

Please see the documentation for installation and usage guides.

*Note:* Currently Py-PVRPM has issues running on macOS, please see issue #49 for updates.

If you would like to contribute to PVRPM, have a question, or need support, please see the contributing guide [here](.github/CONTRIBUTING.md) for guides on submitting issues and PRs.
fnv128a 0.0.2
Python implementation of Golang's fnv128a in hash/fnv
Requires Python: >=3.5

# fnv128a

If you're like me and are using Go's implementation of fnv128a in [hash/fnv](https://pkg.go.dev/hash/fnv) and have need to compute identical hashes in Python, then look no further.

## Installation

I've created a super bare-bones pyproject.toml, just enough
to build the package and push to pypi and consquently advise
you just pip install via:

```
pip install fnv128a
```