Metadata-Version: 2.1
Name: arrayscaler
Version: 0.1.0
Summary: A simple python code for Scale arrays
Author-email: Eloghosa Ikponmwoba <eloghosaefficiency@gmail.com>
License: MIT License
Keywords: computation,maths,numerical operation
Requires-Python: >=3.11
Requires-Dist: numpy<2,>=1
Provides-Extra: dev
Requires-Dist: ipython; extra == 'dev'
Requires-Dist: jupyterlab; extra == 'dev'
Provides-Extra: lint
Requires-Dist: pre-commit>=2.20.0; extra == 'lint'
Provides-Extra: test
Requires-Dist: pytest<8,>=7; extra == 'test'
Description-Content-Type: text/markdown

# ARRAY SCALER

## Introduction
A simple python tool for scaling and rescaling arrays:

## Installation

To install Array Scaler, run the following command:

```bash
pip install -e '.[lint, test]'  
```

## Usage

Here is a simple example of how to use Array Scaler:

```python
from arrayscaler.arrayscaler import ScalingHelper
import numpy as np

# Scaling integers (5) with a lower limit of 0 and upper limit of 10
print(ScalingHelper.scale(5, 0, 10))

# Scaling numpy array
print(ScalingHelper.scale(np.array([1,3,4,5,3,2], 0, 2)))
```

This will scale the input array to a range of 0 to 1.

## Contributing