semvec/pypi-packages huggingface dataset:
image2base64 0.0.5
Image to base64 and back.
License: MIT

# Library for converting RGB / Grayscale numpy images from to base64 and back.

## Installation
```bash
pip install -U image_to_base_64
```

## Conversion
Takes `numpy.array` or `PIL.Image` as input

### RGB to base 64
```python
base64 = rgb2base64(rgb_image, image_format)
```
where image format is `JPEG`, `PNG`

### Grayscale to base 64

```python
base64 = grayscale2base64(grayscale_image)
```

### Base64 to RGB image

```python
output_type = "cv2" # or "PIL"
rgb_image = base64_to_rgb(base64, output_type)
```

### Base64 to Grayscale image
```python
output_type = "cv2" # or "PIL"
grayscale_image = base64_to_grayscale(base64, output_type)
```


#### Issues
For some reason I cannot convert `RGB` image to `JPEG` representation in base 64 and back without losses.
=> test only for `PNG` and not `JPEG`
addrparser 0.2.0
Address parser for Finnish addresses
License: MIT
Requires Python: >=3.6.2,<4.0.0

# Address parser

[![pypi](https://img.shields.io/pypi/v/addrparser.svg)](https://pypi.org/project/addrparser/)
[![python](https://img.shields.io/pypi/pyversions/addrparser.svg)](https://pypi.org/project/addrparser/)
[![Build Status](https://github.com/gispocoding/addr-parser/actions/workflows/dev.yml/badge.svg)](https://github.com/gispocoding/addr-parser/actions/workflows/dev.yml)
[![codecov](https://codecov.io/gh/gispocoding/addr-parser/branch/main/graphs/badge.svg)](https://codecov.io/github/gispocoding/addr-parser)

Simple address parser with localization support.

> **Note:**
> This library is meant to be simple, light weight and easy to adapt. This is not the best and most optimized address parser out there.
> For *state of the art* parser you should probably look at https://github.com/openvenues/pypostal

* Documentation: <https://gispocoding.github.io/addr-parser>
* GitHub: <https://github.com/gispocoding/addr-parser>
* PyPI: <https://pypi.org/project/addrparser/>
* Free software: MIT

## Supported countries
| Country         | Description                            | Documentation                                          |
| --------------- | -------------------------------------- | ------------------------------------------------------ |
| Suomi - Finland | Suomalaisten osoitteiden osoiteparseri | <https://gispocoding.github.io/addr-parser/locales/fi> |

## Installation

```
pip install addrparser
```

### Setting up a development environment
See instructions in [CONTRIBUTING.md](./CONTRIBUTING.md#get-started)

## Usage

### Command line tool
```shell
$ addr-parse --help
Usage: addr-parse [OPTIONS] ADDRESS

  Cli tool for parsing text addresses.

  Args:     address (str): address text

Options:
  -l, --locale TEXT  Country code in two-letter ISO 3166
  --help             Show this message and exit.
```

```shell
$ addr-parser "Iso Maantie 12b B 7"
{
  "input": "Iso Maantie 12b B 7",
  "result": {
    "street_name": "Iso Maantie",
    "house_number": "12b",
    "entrance": "B",
    "apartment": "7"
  }
}
```
### Library
```python
>>> from addrparser import AddressParser

>>> parser = AddressParser('fi')
>>> address = parser.parse('Iso Maantie 12b B 7')
>>> address
Address(street_name='Iso Maantie', house_number='12b', entrance='B', apartment='7', post_office_box=None, zip_number=None, zip_name=None)
```

## Credits

This project was created with inspiration from [waynerv/cookiecutter-pypackage](https://github.com/waynerv/cookiecutter-pypackage) project template.
cping 0.1.11
Concurrent multi-host ping (ICMP and TCP)
License: MIT
Requires Python: >=3.6.0

# cPing

[![Build status](https://img.shields.io/github/workflow/status/hSaria/cPing/CI/main)](https://github.com/hSaria/cPing/actions?query=workflow%3ACI)
[![Coverage status](https://coveralls.io/repos/github/hSaria/cPing/badge.svg)](https://coveralls.io/github/hSaria/cPing)
[![Downloads](https://static.pepy.tech/personalized-badge/cping?period=total&units=international_system&left_color=grey&right_color=brightgreen&left_text=downloads)](https://pepy.tech/project/cping)
[![Maintainability](https://img.shields.io/codeclimate/maintainability/hSaria/cPing)](https://codeclimate.com/github/hSaria/cPing)
[![PyPI version](https://badge.fury.io/py/cping.svg)](https://badge.fury.io/py/cping)

cPing concurrently checks if hosts are responding using ICMP echo or TCP SYN.

## Installation

    pip3 install cping

## Usage

cPing uses unprivileged sockets; no need for root privileges.

    cping host1 host2

![alt text](https://github.com/hSaria/cPing/raw/main/.github/example_1.png "Example output")

> Tip: When you launch cPing, look at the footer; it's got some useful actions.

## Help

See the available arguments to adjust the behavior of cPing or use a different protocol.

    cping -h

If you found a bug, or just have a question/suggestion, please open an [issue](https://github.com/hSaria/cPing/issues/new/choose) (greatly appreciated).

### Sparkline on Windows

The sparkline (right part of the screenshot) is simplified on Windows as it doesn't support the required [block characters](https://w.wiki/zKh). If you know of any substitutes, let me know.

### Unprivileged ICMP Sockets

If you're getting a `Permission denied` exception, it is likely that your OS is
too old to have [unprivileged ICMP sockets](https://fedoraproject.org/wiki/Changes/EnableSysctlPingGroupRange#Detailed_Description) enabled by default. You can enable
this with:

```shell
sudo sh -c 'echo net.ipv4.ping_group_range = 0 2147483647 >> /etc/sysctl.conf'
sudo sysctl -p
```
async-reolink.api 0.6.6
Async ReoLink camera API framework for python
License: MIT
Keywords: ReoLink,async,api

Async Reolink API

This is a base framework for an async client library for ReoLink Camera's. This package alone will not allow connecting to a camera as it is only the basic framework and not a complete implemented. Other packages will be built on top of this to handle specific implementation details.