Skip to main content

Python calculator on number theory

Project description

Preface

This release is supplementary for “pip install” of NZMATH at PyPI and the implemented content is the same as former release NZMATH 3.0.1.

Introduction

NZMATH is a Python calculator on number theory. It is freely available and distributed under the BSD license. All programs are written only by Python so that you can easily see their algorithmic number theory. You can get NZMATH with a single command:

% python -m pip install nzmath

Here % is the command line prompt of Windows or Unix/macOS.

This release contains several program corrections and additions obtained by writing a programming “notebook” of the book ‘Lectures on Elementary Number Theory’ (TAKAGI, Teiji) in Python-NZMATH language. The “notebook” itself is also available together with NZMATH calculator. It is designed for beginning students of algorithmic number theory to self-study Number Theory, Programming and scientific English together. It is possible only by running and reading the programs. You can get the notebook here.

Installation

Detailed tutorial on installing packages will help you to install NZMATH on your machine.

First, you must have Python 3.8 or later. Ensure you can run Python from the command line:

% python --version

Python is available from https://www.python.org/ .

Next, ensure you can run pip from the command line:

% python -m pip --version

Then, ensure pip, setuptools, and wheel are up to date:

% python -m pip install --upgrade pip setuptools wheel

Finally, install NZMATH from PyPI. Usually, you must have appropriate write permission:

% python -m pip install nzmath

This final step, you may install from local archives. For that, you need to download sdist and/or wheel:

nzmath-3.0.1.1.tar.gz
nzmath-3.0.1.1-py3-none-any.whl

in advance. You can get them at SourceForge.

You can also find them at PyPI.

Now, go to the directory archives are put, and install NZMATH:

% python -m pip install nzmath-3.0.1.1.tar.gz

by using sdist. You may use wheel nzmath-3.0.1.1-py3-none-any.whl or both. See the tutorial on installing packages in detail.

Usage

NZMATH is provided as a Python library package named ‘nzmath’, so please use it as a usual package. For more information please refer Tutorial.

Feedback

Your feedbacks are always welcomed. Please consider to join the mailing list.

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

nzmath-3.0.1.1.tar.gz (2.0 MB view hashes)

Uploaded Source

Built Distribution

nzmath-3.0.1.1-py3-none-any.whl (2.0 MB view hashes)

Uploaded Python 3

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