Skip to main content

A library for elementary math stuff based on the book Everything You Need to Ace Math.

Project description

primary math

It's a Python's library for elementary math stuff, based on the book Everything You Need to Ace Math.

Installation

$ python3 -m pip install primary-math

Requirements

The only requirement is Python 3.11.

It should work fine with Python 3.10, but I didn't test it.

Usage

import primarymath as pmath

number = pmath.Number(4)

print(number.value())         # 4
print(number.is_even())       # True
print(number.is_positive())   # True
print(number.previous())      # 3
print(number.next())          # 5

License

This repository is available under the MIT License.

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

primarymath-0.1.2.tar.gz (4.3 kB view details)

Uploaded Source

Built Distribution

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

primarymath-0.1.2-py3-none-any.whl (2.9 kB view details)

Uploaded Python 3

File details

Details for the file primarymath-0.1.2.tar.gz.

File metadata

  • Download URL: primarymath-0.1.2.tar.gz
  • Upload date:
  • Size: 4.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.4

File hashes

Hashes for primarymath-0.1.2.tar.gz
Algorithm Hash digest
SHA256 d55727def3ce3e2c5c3acd10313f0161b3b87ea4ebae691dbd3436a5614da66f
MD5 5242b46ceb445ccb72fe7e57a6b81f13
BLAKE2b-256 f14a982fb8b3def58921c4207b269118bd1a6ee50bf1d42bcb87cafedaa1a00e

See more details on using hashes here.

File details

Details for the file primarymath-0.1.2-py3-none-any.whl.

File metadata

  • Download URL: primarymath-0.1.2-py3-none-any.whl
  • Upload date:
  • Size: 2.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.4

File hashes

Hashes for primarymath-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 b156bab3369916f807e86df837d241e8d87b8108b2a85d959b8794e71a30bf90
MD5 d60825541935b3acc22221d3c35eae87
BLAKE2b-256 9991ca5ed4f45a6c5b18f7f86de8372e25e49729b1e504ae5ea4416255f2fc4a

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