NEO Linear Algebra package for Matrix Manipulation.
Project description
NEO Linear Algebra
Author: Sajid Al Sanai
License: MIT License
Version: 0.2.4
Article: NEO Linear Algebra for Python
PyPi.org: neolinearalgebra 0.2.4
Table of Contents
1. Motivation
NEO Linear Algebra is a lightweight Python package designed for Matrix operations in Linear Algebra.
I was inspired to program this from scratch as part of a light review of the absolute fundamentals of Linear Algebra and my own first attempt at the development of a Python package for open source. I was also inspired by rewatching The Matrix quadrilogy.
2. Installation
This project consists of a directory for a singular Matrix class file.
You may install this package locally on your machine or download through the Python pip package manager.
To download this repository and install the package locally on your machine, use the following bash code in a UNIX-based environment:
git clone https://github.com/sajidsarker/neolinearalgebra.git
cd ./neolinearalgebra/
python3 -m pip install --upgrade pip
python3 -m pip install .
To download this repository and upgrade the package locally on your machine, use the following bash code in a UNIX-based environment:
git clone https://github.com/sajidsarker/neolinearalgebra.git
cd ./neolinearalgebra/
python3 -m pip install --upgrade pip
python3 -m pip install --upgrade .
To uninstall the package locally on your machine, navigate to the repository directory in your terminal use the following bash code in a UNIX-based environment:
python3 -m pip uninstall .
cd ../ && rm -rf ./neolinearalgebra
To install this package through the Python pip package manager, use the following bash code in a UNIX-based environment:
python3 -m pip install --upgrade pip
python3 -m pip install neolinearalgebra
To upgrade this package through the Python pip package manager, use the following bash code in a UNIX-based environment:
python3 -m pip install --upgrade pip
python3 -m pip install --upgrade neolinearalgebra
To uninstall this package through the Python pip package manager, use the following bash code in a UNIX-based environment:
python3 -m pip uninstall neolinearalgebra
3. Build
To download this repository and build the package locally on your machine, use the following bash code in a UNIX-based environment:
git clone https://github.com/sajidsarker/neolinearalgebra.git
cd ./neolinearalgebra/
python3 -m pip build . --wheel
4. Files
The directory structure for this repository is detailed below:
/
├── Documentation/
│ ├── neolinearalgebra/
│ │ └── Matrix.html
│ ├── Documentation.html
│ ├── neolinearalgebra.html
│ └── search.js
├── src/
│ └── neolinearalgebra/
│ ├── Matrix.py
│ └── __init__.py
├── tests/
│ └── test.py
├── .gitignore
├── LICENSE.txt
├── README.md
├── pyproject.toml
├── setup.cfg
└── setup.py
Setup and configuration files for package installation is in the root .
directory. The contents of the package is stored in ./neolinearalgebra/
. The singular class is Matrix.
5. Unit Testing
The aforementioned file test.py for performing unit testing is included in the main directory of the repository. You may append the program with additional functions for unit testing Matrix.py
.
Please only perform unit testing after you have upgraded your version of the package locally during open source development.
To perform unit testing, use the following bash code in a UNIX-based environment:
cd ./neolinearalgebra/tests/
python3 -v test.py
or
cd ./neolinearalgebra/tests/
chmod +x test.py
./test.py -v
6. Usage
To import NEO Linear Algebra into your Python project, use the following import declaration at the start of your program code:
from neolinearalgebra import Matrix
7. Documentation
Docstrings highlight the behaviour of class attributes and class methods within files in this repository. A comprehensive reference on class attributes and methods are present in the ./Documentation
folder.
A version of the same documentation is hosted online on my blog.
For information on the motivation behind this project, you may consult my blog post for an overview.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file neolinearalgebra-0.2.4.tar.gz
.
File metadata
- Download URL: neolinearalgebra-0.2.4.tar.gz
- Upload date:
- Size: 9.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.11.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 83af83d2d5d2bddc5438f71821b3d523270f322ba772d75faa3701bf253b0942 |
|
MD5 | 08e72410246c13c9fdf06bc04f8b5088 |
|
BLAKE2b-256 | 05a8fbebe6e23e97f714f64a80fb466374e37b86bdea77160fb39046283961a8 |
File details
Details for the file neolinearalgebra-0.2.4-py3-none-any.whl
.
File metadata
- Download URL: neolinearalgebra-0.2.4-py3-none-any.whl
- Upload date:
- Size: 8.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.11.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | fbd242c7d152eaf17770dcaf03c838046360297328de67e3d0f1968425b2ab79 |
|
MD5 | 4646255c4af7aa1fbeb073ad170d31d5 |
|
BLAKE2b-256 | 7bf87dda1b78cddab6a53ce2d5445d78417299bf27c1e3f5a8d76a6d760f6e77 |