Name | lana JSON |
Version |
0.1.8
JSON |
| download |
home_page | |
Summary | Experimental Linear Algebra library written in Rust |
upload_time | 2023-06-06 07:50:16 |
maintainer | |
docs_url | None |
author | |
requires_python | >=3.7 |
license | |
keywords |
linear
algebra
|
VCS |
|
bugtrack_url |
|
requirements |
No requirements were recorded.
|
Travis-CI |
No Travis.
|
coveralls test coverage |
No coveralls.
|
## Lana 🧶
[![stability-wip](https://img.shields.io/badge/stability-wip-lightgrey.svg)](https://github.com/mkenney/software-guides/blob/master/STABILITY-BADGES.md#work-in-progress)
**L***inear* **A**lgebra for **n***octurnal* *and* **a**dventurous *data scientists.*
## Install
```console
pip install lana
```
## Example
```python
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))
```
Raw data
{
"_id": null,
"home_page": "",
"name": "lana",
"maintainer": "",
"docs_url": null,
"requires_python": ">=3.7",
"maintainer_email": "",
"keywords": "linear algebra",
"author": "",
"author_email": "Marco Salvalaggio <mar.salvalaggio@gmail.com>",
"download_url": "",
"platform": null,
"description": "## Lana \ud83e\uddf6\r\n\r\n[![stability-wip](https://img.shields.io/badge/stability-wip-lightgrey.svg)](https://github.com/mkenney/software-guides/blob/master/STABILITY-BADGES.md#work-in-progress) \r\n\r\n**L***inear* **A**lgebra for **n***octurnal* *and* **a**dventurous *data scientists.*\r\n\r\n## Install \r\n\r\n```console\r\npip install lana\r\n```\r\n\r\n## Example \r\n\r\n```python\r\nfrom lana import Matrix, inject\r\n\r\nzeros = Matrix.zeros((3,3))\r\nprint(zeros)\r\nprint(f\"shape: {zeros.shape}, type: {type(zeros)}\")\r\nprint(zeros.to_list()[0], zeros.to_list()[0][0])\r\n\r\nmat = Matrix.matrix([[1,2,3],[4,5,6]])\r\nprint(mat)\r\nprint(f\"shape: {mat.shape}, type: {type(mat)}\")\r\nfor rows in mat.to_list():\r\n print(rows, type(rows))\r\n\r\nsubmat = Matrix.matrix(inject(mat.to_list()[0]))\r\nprint(submat)\r\nprint(submat.shape, type(submat))\r\n```\r\n\r\n\n",
"bugtrack_url": null,
"license": "",
"summary": "Experimental Linear Algebra library written in Rust",
"version": "0.1.8",
"project_urls": {
"Repository": "https://github.com/marcosalvalaggio/lana"
},
"split_keywords": [
"linear",
"algebra"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "f9f40dd8cc31f7109d56c0629212201280dd4210e998d2629feeb7e40f6ff19f",
"md5": "1f9eb8d4ae3e2b6ad0b8ae2957cc6d68",
"sha256": "11e96369805ba90e31d06fd638d90e771e5bd66d1be2afd70066969f36cad6be"
},
"downloads": -1,
"filename": "lana-0.1.8-cp311-none-win_amd64.whl",
"has_sig": false,
"md5_digest": "1f9eb8d4ae3e2b6ad0b8ae2957cc6d68",
"packagetype": "bdist_wheel",
"python_version": "cp311",
"requires_python": ">=3.7",
"size": 514217,
"upload_time": "2023-06-06T07:50:16",
"upload_time_iso_8601": "2023-06-06T07:50:16.899884Z",
"url": "https://files.pythonhosted.org/packages/f9/f4/0dd8cc31f7109d56c0629212201280dd4210e998d2629feeb7e40f6ff19f/lana-0.1.8-cp311-none-win_amd64.whl",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2023-06-06 07:50:16",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "marcosalvalaggio",
"github_project": "lana",
"travis_ci": false,
"coveralls": false,
"github_actions": false,
"lcname": "lana"
}