dimpy package for python for creating N-dimensional list array in a user friendly manner
Install command:
pip install dimpy
Use example:
import dimpy as dp # Import package as an object dp
testarray=dp.dim(5,7,9) # This will create a 3 dimensional array consisting of 5x7x9 elements. You may give any number of inputs separated by comma.
testarray[2][3][5]= 'Hello' # Let us replace (or do anything else) just one element. All other values will be 0 by default.
print(testarray)
dp.dfv(testarray,'x') # We can change the default value by anything (e.g. 'x' here)
print(testarray)
# Below steps are optional
testarray=dp.npary(testarray) # This will change the type of the array from 'list' to 'numpy.ndarray'
testarray[1,4,3]=5 # Now work with elements in numpy style
print(testarray)
For details please follow the link https://www.respt.in/p/python-package-dimpy.html
Metadata
Release files for dimpy 0.0.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| dimpy-0.0.2.tar.gz | 2.4 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| dimpy-0.0.2-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 5.6 kB
Release files / dimpy-0.0.2.tar.gz
| Download URL | dimpy-0.0.2.tar.gz |
|---|---|
| Size | 2.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
f3e7bfcf2c492bac7242aecbde78851f5d8c2f11192b38ea85d218c8a8fd95c2
|
|
BLAKE2b-256 checksum How to use checksums |
0839c9eed429282f81b6d0db2442db27de630e9991fd71344cf32961f75c1901
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/49.2.1 requests-toolbelt/0.9.1 tqdm/4.58.0 CPython/3.9.1
|
Release files / dimpy-0.0.2-py3-none-any.whl
| Download URL | dimpy-0.0.2-py3-none-any.whl |
|---|---|
| Size | 3.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
fa67c49c93555e56ccf4635d7abe40a5b9cfdb2ce0daac14676f019add4db5fd
|
|
BLAKE2b-256 checksum How to use checksums |
98dd8547d52b527a535e3d8c8df6ebbe29e3e10ab274b273a2ae928dde0fdacd
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/49.2.1 requests-toolbelt/0.9.1 tqdm/4.58.0 CPython/3.9.1
|