Skip to main content

Lana 🧶

stability-wip

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)

Source distribution for lana 0.1.8
File Size Uploaded
lana-0.1.8.tar.gz 8.4 kB Details

Built distributions (wheels)

Table of built distributions (wheels) for lana 0.1.8
File Interpreter ABI Platform
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

Release history Release notifications | RSS feed

This release

0.1.8 This release

3 release files

0.1.7

3 release files

0.1.6

2 release files

0.1.5

2 release files

0.1.4

2 release files

0.1.3

2 release files

0.1.2

2 release files

0.1.1

2 release files

0.1.0

2 release files

0.0.9

2 release files

0.0.8

2 release files

0.0.7

2 release files

0.0.6

2 release files

0.0.5

2 release files

0.0.4

1 release file

0.0.3

1 release file

0.0.2

1 release file

0.0.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page