Skip to main content

A general purpose Python math module

Project description

Build Status Documentation Status PyPI version fury.io PyPI license PyPI pyversions Downloads per month

LibPyMath

A fast, general purpose math library for Python


Install

Run pip install libpymath to dowload and install libpymath for your system. There are also wheels provided for many of the latest Python versions on Windows, Mac OS* and Linux thanks to the cibuildwheel project.


Features and usage

Matrix Math

Easily create, manipulate and perform calculations with dense matrices. The matrices themselves are stored and manipulated with optimised C code, resulting in faster operations and more efficient calculations. To further increase the speed of the calculations, when libpymath imported into a project for the first time, it runs some tests on the CPU to find the optimal number of threads to use for the matrix calculations.

Progress Bars

Wrap a progress bar around any Python iterator and have a progress bar generated automatically. The progress bar will adjust its width to the width of the console, shows the current percentage, time and time remaining, as well as the number of iterations per second the bar is running at. The rate at which the bar updates also adjusts dynamically, ensuring that it has a minimal impact on the speed of the loop, while updating frequently enough to provide relevant information.

Neural Networks

Create, train and evaluate a neural network in only a few lines of code, customising the size of the network, its learning rate, it's activation functions (which can be customised on a per-layer basis) and the metrics which it logs. The network library also uses the efficient Matrix library, meaning it can train a simple network in under a second. You can also plot a graph of any metrics that are being logged, making it easy to evaluate the progress of the network.

Project details


Release history Release notifications | RSS feed

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

libpymath-0.6.1.tar.gz (38.3 kB view hashes)

Uploaded Source

Built Distributions

libpymath-0.6.1-cp38-cp38-win_amd64.whl (50.6 kB view hashes)

Uploaded CPython 3.8 Windows x86-64

libpymath-0.6.1-cp38-cp38-manylinux1_x86_64.whl (133.4 kB view hashes)

Uploaded CPython 3.8

libpymath-0.6.1-cp38-cp38-manylinux1_i686.whl (132.6 kB view hashes)

Uploaded CPython 3.8

libpymath-0.6.1-cp38-cp38-macosx_10_9_x86_64.whl (56.1 kB view hashes)

Uploaded CPython 3.8 macOS 10.9+ x86-64

libpymath-0.6.1-cp37-cp37m-manylinux1_x86_64.whl (132.3 kB view hashes)

Uploaded CPython 3.7m

libpymath-0.6.1-cp37-cp37m-manylinux1_i686.whl (131.6 kB view hashes)

Uploaded CPython 3.7m

libpymath-0.6.1-cp37-cp37m-macosx_10_9_intel.whl (92.2 kB view hashes)

Uploaded CPython 3.7m macOS 10.9+ intel

libpymath-0.6.1-cp36-cp36m-manylinux1_x86_64.whl (132.3 kB view hashes)

Uploaded CPython 3.6m

libpymath-0.6.1-cp36-cp36m-manylinux1_i686.whl (131.6 kB view hashes)

Uploaded CPython 3.6m

libpymath-0.6.1-cp36-cp36m-macosx_10_9_intel.whl (92.2 kB view hashes)

Uploaded CPython 3.6m macOS 10.9+ intel

libpymath-0.6.1-cp35-cp35m-manylinux1_x86_64.whl (132.3 kB view hashes)

Uploaded CPython 3.5m

libpymath-0.6.1-cp35-cp35m-manylinux1_i686.whl (131.6 kB view hashes)

Uploaded CPython 3.5m

libpymath-0.6.1-cp35-cp35m-macosx_10_9_intel.whl (92.2 kB view hashes)

Uploaded CPython 3.5m macOS 10.9+ intel

Supported by

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