Lana 🧶
Linear Algebra for nocturnal and adventurous data scientists.
Install
pip install lana
Example
from lana import Matrix, inject
zeros = Matrix.zeros((3,3))
print(zeros)
print(f"shape: {zeros.shape}, type: {type(zeros)}")
print(zeros.to_list()[0], zeros.to_list()[0][0])
mat = Matrix.matrix([[1,2,3],[4,5,6]])
print(mat)
print(f"shape: {mat.shape}, type: {type(mat)}")
for rows in mat.to_list():
print(rows, type(rows))
submat = Matrix.matrix(inject(mat.to_list()[0]))
print(submat)
print(submat.shape, type(submat))
Release files for lana 0.1.8
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| lana-0.1.8.tar.gz | 8.4 kB | Details |
Built distributions (wheels)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| lana-0.1.8-cp311-none-win_amd64.whl | CPython 3.11 | none | Windows x86-64 | Details |
| lana-0.1.8-cp39-cp39-macosx_10_7_x86_64.whl | CPython 3.9 | CPython 3.9 | macOS 10.7+ x86-64 | Details |
Total release size: 1.5 MB
Release files / lana-0.1.8.tar.gz
| Download URL | lana-0.1.8.tar.gz |
|---|---|
| Size | 8.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
a548ebde6eb6a882b4711e433f05ca7969b32c123180b22b945d671252ba2ed7
|
|
BLAKE2b-256 checksum How to use checksums |
7a86fcd582ca41eb7fde1f623824840d25f87b585c012fca6fef7fdea3f3d1d6
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.9.13
|
Release files / lana-0.1.8-cp311-none-win_amd64.whl
| Download URL | lana-0.1.8-cp311-none-win_amd64.whl |
|---|---|
| Size | 514.2 kB |
| Tags | CPython 3.11 Windows x86-64 |
|
SHA-256 checksum How to use checksums |
11e96369805ba90e31d06fd638d90e771e5bd66d1be2afd70066969f36cad6be
|
|
BLAKE2b-256 checksum How to use checksums |
f9f40dd8cc31f7109d56c0629212201280dd4210e998d2629feeb7e40f6ff19f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.9.13
|
Release files / lana-0.1.8-cp39-cp39-macosx_10_7_x86_64.whl
| Download URL | lana-0.1.8-cp39-cp39-macosx_10_7_x86_64.whl |
|---|---|
| Size | 1.0 MB |
| Tags | CPython 3.9 macOS 10.7+ x86-64 |
|
SHA-256 checksum How to use checksums |
2b80b36a20310d149c6a9594570c257698c8c6b4d06171fdb7648128b26534d1
|
|
BLAKE2b-256 checksum How to use checksums |
8a8a6af4d88615b2f81a32923d2bebc6c98c39f6d23b9479ea5b6480db399603
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.9.12
|