Metadata-Version: 2.4
Name: priocomp
Version: 1.1.2
Summary: A simple Python library that lets you check comparisons in order of priority (importance).
Author: Egglord
License: MIT
Requires-Python: >=3.7
Description-Content-Type: text/markdown
License-File: LICENSE
Dynamic: license-file
Dynamic: requires-python

# priocomp

A simple Python library that lets you check comparisons in order of priority (importance).

This is my third python library :D

Commands:

priocomp.priocomp.get() # Returns True if the comparison with the highest importance is true, and False if false.

priocomp.priocomp.add("comparison",importance) # Adds a comparison with a set importance.

priocomp.priocomp.clear() # Removes all comparisons.

priocomp.priocomp.remove(index) # Removes a specific comparison, but the next comparison added will be one index higher than this (if it was the latest). Use priocomp.pc.clear() to restart index from 0 (also erases all comparisons).

priocomp.priocomp.peek() # Returns the comparison with the highest importance.

priocomp.priocomp.size() # Returns how many comparisons (that arent removed) are left.

priocomp.priocomp.is_empty() # Returns True if there are no comparisons, False if there are comparisons left.


!NB!

Use: pip install priocomp

But, to import it to python: import priocomp
