Skip to main content

A simple library for python made by Andriy Zhuk

Project description

pynums

pynums is a simple library for working with numbers, created by Andriy Zhuk.
It includes functions for:

  • working with numbers ('SumDigits, 'ReverseNumber');
  • checking ('IsArmstrong', 'IsPerfectNumbers');
  • basic math ('SumAll', 'SumOfDivision');
  • statistics ('difference', 'MeenAbsoluteDifference');
  • hard_math ('QadraticSolver', 'CollatzSteps');
  • ratio ('RatioEvenOdd', 'ClosenessToGoldenRatio').

Exampe of use

python

from pynums import Digits, ratio

a = 583
b = 834

print(Digits.SumDigits(a))
print(ratio.ClosenessToGoldenRatio(b))

conclusion

17
-51344.03466174123

Installation

pip install pynums

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

pynums-1.1.0.tar.gz (6.8 kB view details)

Uploaded Source

Built Distribution

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

pynums-1.1.0-py3-none-any.whl (8.6 kB view details)

Uploaded Python 3

File details

Details for the file pynums-1.1.0.tar.gz.

File metadata

  • Download URL: pynums-1.1.0.tar.gz
  • Upload date:
  • Size: 6.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.7

File hashes

Hashes for pynums-1.1.0.tar.gz
Algorithm Hash digest
SHA256 b119b458d184fd2989b0f9abb7b932cb2f19e6dbb1db6aba6b4c96171fca4494
MD5 db1590282299bd0af8a581b36b035214
BLAKE2b-256 79c98e32fbf15d0aedf8e69b312d7b21374b771912220d25dfdfc933aeace008

See more details on using hashes here.

File details

Details for the file pynums-1.1.0-py3-none-any.whl.

File metadata

  • Download URL: pynums-1.1.0-py3-none-any.whl
  • Upload date:
  • Size: 8.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.7

File hashes

Hashes for pynums-1.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 ab8dfc0984de1cf6c78cad593acefdced0e45c8379e6896bc0cd0821e82af1ec
MD5 2a6452ebec64bfbda0e028c1f0745500
BLAKE2b-256 206ee23ffd68cf280f629607022c858e3e1f5c4ee4377f61fb10ad8d9afa528c

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