Metadata-Version: 2.1
Name: math-factors
Version: 1.0.2
Summary: Demo Package for Mathematical Factors.
Home-page: https://github.com/Prateek23n/Factors
Author: Prateek C. Tripathi
Author-email: prateektripathi85@gmail.com
License: MIT
Keywords: python factors
Platform: UNKNOWN
Classifier: Development Status :: 3 - Alpha
Classifier: Intended Audience :: Developers
Classifier: Topic :: Software Development :: Build Tools
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 2
Classifier: Programming Language :: Python :: 2.6
Classifier: Programming Language :: Python :: 2.7
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.2
Classifier: Programming Language :: Python :: 3.3
Classifier: Programming Language :: Python :: 3.4
Classifier: Programming Language :: Python :: 3.5
Classifier: Programming Language :: Python :: 3.6
Classifier: Programming Language :: Python :: 3.7
Requires-Python: >=2.6, !=3.0.*, !=3.1.*, !=3.2.*, <4
Description-Content-Type: text/markdown

A new library to handle all sorts of mathematical factors of a number.
From finding sum of factors to finding prime factors. Number of built-in functions added for the library are: 
nfact() -> Finding the number of factors for the given number. Returns 'None' if there's no factor for the number else returns the number of factors. 
sfact() -> Finding the sum of factors for the given number. Returns -1 if there's no factor for the number else returns the sum of factors. 
fact() -> Gives the list of factors for the given number, returns -1 if there's no factor for the number. 
efact() -> Gives the list of even factors for the given number, returns -1 if there's no factor for the number. 
ofact() -> Gives the list of odd factors for the given number, returns -1 if there's no factor for the number. 
pfact() -> Gives the list of prime factors for the given number, returns -1 if there's no factor for the number. 
sum_efact() -> Returns the sum of even factors for the given number, returns -1 if there's no factor for the number. 
sum_ofact() -> Returns the sum of odd factors for the given number, returns -1 if there's no factor for the number. 
sum_pfact() -> Returns the sum of prime factors for the given number, returns -1 if there's no factor for the number.
import factors.factors as f 
f.fact(10) -> [1, 2, 5, 10] (Output).

