semvec/pypi-packages huggingface dataset:
hexarray2decimal 0.12
Converts a numpy string array with hex values to int
License: MIT
Keywords: numpy,hex,hex2int


# Converts a numpy string array with hex values to int 

```python
# Tested with:
# Python 3.9.13
# Windows 10

pip install hexarray2decimal

from hexarray2decimal import numpy_hex_string_array_to_int

a1 = 20000 * ["0xffff", "0xa011", "0xb122", "0x99ff", "0x00ee", "0x0b54"]
a1r = numpy_hex_string_array_to_int(numpyarray=a1)
print(a1r)
# [65535 40977 45346 ... 39423   238  2900]


a1 = 20000 * ["0xff", "0xa0", "0xb1", "0x99", "0x00", "0x0b"]
a1r = numpy_hex_string_array_to_int(numpyarray=a1)
print(a1r)
# [255 160 177 ... 153   0  11]

a1 = 20000 * ["ff", "a0", "b1", "99", "00", "0b"]
a1r = numpy_hex_string_array_to_int(numpyarray=a1)
print(a1r)
# [255 160 177 ... 153   0  11]
a1 = 20000 * ["f", "a", "b", "9", "0", "c"]
a1r = numpy_hex_string_array_to_int(numpyarray=a1)
print(a1r)
# [15 10 11 ...  9  0 12]
a1 = 20000 * ["0xFF", "0xA1", "0xB2", "0x99", "0xE0", "0xCB"]
a1r = numpy_hex_string_array_to_int(numpyarray=a1)
print(a1r)
# [255 161 178 ... 153 224 203]


# Different string sizes may lead to unexpected behavior:
a1 = 20000 * ["fffff", "a", "b", "9", "0", "c"]
a1r = numpy_hex_string_array_to_int(numpyarray=a1)
print(a1r)
# [1048575  655360  720896 ...  589824       0  786432]
```
yasiu.image 0.0.1
Easier image processing.
License: MIT
Requires Python: >=3.7
Keywords: opencv-python,opencv,cv2,pillow,numpy,scipy,image processing,imageprocessing

# Readme of `yasiu.image`

Module with useful math functions that are missing in numpy or scipy.

## Installation

```shell
pip install yasiu.image
```

## Sequence reader Generators
   - `read_webp_frames` - generator
   - `read_gif_frames` - generator
   - `save_image_list_to_gif` - save sequence using Pillow

### Import:

```py
from yasiu.image import read_gif_frames
```

### Use example:

```py
frames = list(read_gif_frames(path))
```
yasiu.math 0.0.1
Math functions that are missing in numpy / scipy
License: MIT
Requires Python: >=3.7
Keywords: numpy,scipy,math

# Readme of `yasiu.math`

Module with useful math functions that are missing in numpy or scipy.

## Installation

```shell
pip install yasiu.math
```

## Moving average

### Import:

```py
from yasiu.math import moving_average
```

### Use example:

```py
moving_average(Union[list, "1d np array"], radius=1, padding="try", kernel_type="avg", kernel_exp=2)
```
aoi 0.1.2
SQLITE3 CLI wrapper build on python.
License: MIT
Requires Python: >=3.8,<4.0

# 🍥 aoi
<p>
<img src="https://img.shields.io/github/license/sarthhh/aoi?style=flat-square">
<img src="https://img.shields.io/badge/code%20style-black-000000.svg?style=flat-square">
<img src="https://img.shields.io/github/stars/sarthhh/aoi?style=flat-square">
<img src="https://img.shields.io/github/last-commit/sarthhh/aoi?style=flat-square">
<img src="https://img.shields.io/pypi/pyversions/aoi?style=flat-square">
<img src="https://img.shields.io/pypi/v/aoi?style=flat-square">
<p>
A simple python based sqlite3 CLI.

```sh
$python -m pip install aoi
```
---

## Usage 
```sh
$aoi [-c "path to connect"]
# if the above fails try executing using full python path. ( read note below image. )
$python -m aoi [-c "path to connect"]
```
using the -c/--connect option will connect the application to the provided db file path.

If no option is provided, `:memory:` ( in memory database ) will be used.

## Additional Features

Apart from normal sqlite queries you can run the following commands within the CLI:

`:h/:help`: Get help for commands.

`:q/:quit`: Exit the CLI.

`:r/:recent [amount=5]`: Show last [amount=5] queries.

`:t/:tables`: Shows the tables inside the database


![](./assets/usage.png)


### NOTE
The `aoi` command may fail if the executeable's path wasn't added to the terminal's/system's PATH, however running the library as a module ( `python -m aoi` ) will always work as long as python is added to path.

---
## Installation
* Requires Python (3.8 or later)

Installing aoi in your environment using pip, poetry or any favourable package manager
```sh
# pip
$pip install aoi # from pypi
$python -m pip install git+https://github.com/sarthhh/aoi.git # from source
# poetry
$poetry add aoi # from pypi
$poetry add git+https://github.com/sarthhh/aoi.git # from source
```