Skip to main content

Python calculator on number theory

Project description

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 -U 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.9 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

Usually, you must have appropriate write permission. Then, ensure pip, setuptools, and wheel are up to date:

% python -m pip install -U pip setuptools wheel

Only when you worry about garbage of previous NZMATH, clean it:

% python -m pip uninstall nzmath

Finally, install NZMATH from PyPI:

% python -m pip install -U nzmath

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

nzmath-3.0.3-tar.gz
nzmath-3.0.3-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 -U nzmath-3.0.3.tar.gz

by using sdist. You may use wheel nzmath-3.0.3-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.3.tar.gz (2.6 MB view details)

Uploaded Source

Built Distribution

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

nzmath-3.0.3-py3-none-any.whl (2.5 MB view details)

Uploaded Python 3

File details

Details for the file nzmath-3.0.3.tar.gz.

File metadata

  • Download URL: nzmath-3.0.3.tar.gz
  • Upload date:
  • Size: 2.6 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.9.16

File hashes

Hashes for nzmath-3.0.3.tar.gz
Algorithm Hash digest
SHA256 987b14df93db93473a122496772eec5fcef98c397f7d7a971a1470a500cf24d9
MD5 57b8f52af2c3d09cfb6654c13f508bd6
BLAKE2b-256 871c2e9cafc955419c5f1fecdad12a4b91a41e79bab8e280f9a104c48c4bfec9

See more details on using hashes here.

File details

Details for the file nzmath-3.0.3-py3-none-any.whl.

File metadata

  • Download URL: nzmath-3.0.3-py3-none-any.whl
  • Upload date:
  • Size: 2.5 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.9.16

File hashes

Hashes for nzmath-3.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 5b5a6961a06f003a4ed1cb848df9c9b41ebf35f1e9e5200bb782e3233569ef8c
MD5 2687a1edf56c01980299fc79b11cb16c
BLAKE2b-256 6d369df388645034a07e7f12e05a04de15bc62b6f3ce6fe52c8dc0ba1b8650b9

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