Skip to main content

NEO Linear Algebra package for Matrix Manipulation.

Project description

NEO Linear Algebra

Author: Sajid Al Sanai

License: MIT License

Version: 0.2.1

Article: NEO Linear Algebra for Python

PyPi.org: neolinearalgebra 0.2.1

Table of Contents

  1. Motivation
  2. Installation
  3. Build
  4. Files
  5. Unit Testing
  6. Usage
  7. Documentation

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
│   └── 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.

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

neolinearalgebra-0.2.1.tar.gz (8.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

neolinearalgebra-0.2.1-py3-none-any.whl (7.1 kB view details)

Uploaded Python 3

File details

Details for the file neolinearalgebra-0.2.1.tar.gz.

File metadata

  • Download URL: neolinearalgebra-0.2.1.tar.gz
  • Upload date:
  • Size: 8.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.11.0

File hashes

Hashes for neolinearalgebra-0.2.1.tar.gz
Algorithm Hash digest
SHA256 6264e69b9297ac1d7cbd89ab05dd9e47bc0769db811702f46cc0ee799bb8c0a9
MD5 f0a9f39a006cec26ae34c51b19a8ae4b
BLAKE2b-256 2b34edf6cbe06aa45d8902c3440700ffd38d20a332f59e7a78d8f0a2d4181252

See more details on using hashes here.

File details

Details for the file neolinearalgebra-0.2.1-py3-none-any.whl.

File metadata

File hashes

Hashes for neolinearalgebra-0.2.1-py3-none-any.whl
Algorithm Hash digest
SHA256 8d94a3e5e1c9bb6f4429422de2deb81d3fd91798bcdef2b8cb66a1c02b4b14e9
MD5 aba8d863b271653c40f92dcf91e4ca4d
BLAKE2b-256 dc43d2407ddf213a8ec812f7da9c72ab0c002055a63822748abfbef694efc865

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page