Metadata-Version: 2.4
Name: arrey
Version: 0.1.0
Summary: It adds a class named `Arrey` to your Python code. This class acts like a 2D data map (or 2D dictionary):You can write data to—or retrieve existing data from—any desired x,y location using just a single function! It is perfect for those who find NumPy too complicated.
Project-URL: Homepage, https://github.com/kullaniciadin/arrey
Author-email: Efkan Işık <fellos.studios@gmail.com>
License: MIT
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python :: 3
Requires-Python: >=3.8
Description-Content-Type: text/markdown

It adds a class named `Arrey` to your Python code. This class acts like a 2D data map:
You can write data to—or retrieve existing data from—any desired x,y location using just a single function! It is perfect for those who find NumPy too complicated.

# HOW TO USE? #

First, you need to import the arrey class to your code:

`from arrey.arrey import arrey`

And now, we need to use the *arrey.set_value(x, y, value)* function to load data.
However, we need an array to access the functions, so let's create one with a height of 5 (y=5):
*The height (y-value) of an arrey is fixed, but the x-value can be changed later.*
`example_arrey = arrey(5)`
`example_arrey.set_value(2, 2, 5)`
And now, let's retrieve the number 5 that we wrote to this 2x2 position using
*arrey.get_value(x,y)*.
`value = example_arrey.get_value(2, 2)`
And now, we can verify that it works by printing this value using the print() command!
`print(value)`
