Skip to main content

LanaBLAS 🐑

stability-wip Tests Passing macOS

Linear Algebra for nocturnal and adventurous data scientists exploring BLAS

LanaBLAS is a repository primarily used for testing the development of CPython extension modules with external dependencies, such as (OpenBLAS). It's a work-in-progress memetic project aimed at having fun and learning new things.

Install

brew update
brew install openblas
export BLA_VENDOR=OpenBLAS
pip install lanablas==0.1.7

Example

from lanablas import Matrix, inject

a = Matrix.ones(3,3)
print(a)
print(type(a), a.shape)

b = Matrix.eye(3)
print(b)
print(type(b), b.shape)

c = a + b
print(c)
print(type(c), b.shape)

for row in c.tolist():
    print(row, type(row))

# sub-matrix
d = Matrix.new(inject(c.tolist()[0]))
print(type(d), d.shape)

For more comprehensive examples, please visit the examples folder.

Release files for lanablas 0.1.7

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for lanablas 0.1.7
File Size Uploaded
lanablas-0.1.7.tar.gz 5.8 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for lanablas 0.1.7
File Interpreter ABI Platform
lanablas-0.1.7-cp39-cp39-macosx_10_9_x86_64.whl CPython 3.9 CPython 3.9 macOS 10.9+ x86-64 Details

Total release size: 16.0 kB

Release files / lanablas-0.1.7.tar.gz

Download URL lanablas-0.1.7.tar.gz
Size 5.8 kB
Tags Source
SHA-256 checksum
How to use checksums
f8eac7e97c809b5d27ff2ac18a7417781439a13f2fc656f7c20e12a2fda7e0b1
BLAKE2b-256 checksum
How to use checksums
995c88b3260173805c124224860e0146c948e534198b3840b55ad3ead21b0ef1
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.9.12

Release files / lanablas-0.1.7-cp39-cp39-macosx_10_9_x86_64.whl

Download URL lanablas-0.1.7-cp39-cp39-macosx_10_9_x86_64.whl
Size 10.3 kB
Tags CPython 3.9 macOS 10.9+ x86-64
SHA-256 checksum
How to use checksums
7d7e00c7f95e99fdacd0e40f3ffd9711b34b71111bf79a9dcb4680d75491568b
BLAKE2b-256 checksum
How to use checksums
56b1fd61cea6aed4539bdfc58dc392edae8f4c970c101cd7084e638e20dce908
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.7 This release

2 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

2 release files

0.0.3

2 release files

0.0.2

2 release files

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