PKWLpypH.py""" This takes an argument between 0 and 14 and returns info about that level of pH.""" __version__ = '0.2' def version(): return ("Version 0.1") def pH(x): if x >= 0 and x <= 0.99: return ("Most acidic") elif x >= 1 and x <= 3.99: return ("Very acidic") elif x >= 4 and x <= 6.99: return ("Slightly acidic") elif x >=7 and x <= 7.99: return ("Neutral") elif x >= 8 and x <= 10.99: return ("Slightly basic") elif x >= 11 and x <= 13.99: return ("Very basic") elif x >= 14 and x <= 14: return ("Most basic") else: return ("Outside pH range") def pHSimilarity(x): if x >= 0 and x <= 0.99: return ("Battery Acid") elif x >= 1 and x <= 1.99: return ("Stomach Acid") elif x >= 2 and x <= 2.99: return ("Vinegar") elif x >= 3 and x <= 3.99: return ("Lemon Juice") elif x >= 4 and x <= 4.99: return ("Black Coffee") elif x >= 5 and x <= 5.99: return ("Black Coffee") elif x >= 6 and x <= 6.99: return ("Milk") elif x >= 7 and x <= 7.99: return ("Human Blood") elif x >= 8 and x <= 8.99: return ("Sea Water") elif x >= 9 and x <= 9.99: return ("Baking Soda") elif x >= 10 and x <= 10.99: return ("Great Salt Lake") elif x >= 11 and x <= 11.99: return ("Ammonia") elif x >= 12 and x <= 12.99: return ("Soapy Water") elif x >= 13 and x <= 13.99: return ("Bleach") elif x >= 14 and x <= 14.99: return ("Liquid Drain Cleaner") else: return ("Outside pH range") # def humanBloodAlkalineLimit(): # return 7.45 # # def humanBloodAcidLimit(): # return 7.35PK}LDw))pypH-0.2.dist-info/LICENSEMIT License Copyright (c) 2018 boxalarm Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. PK!Hp!QapypH-0.2.dist-info/WHEEL HM K-*ϳR03rOK-J,/RH,zd&Y)r$[)T&UD"PK!HU8f_CpypH-0.2.dist-info/METADATA=νr0 O\'Ou! ,⏳EZ޾t#cN)J4HA\b-}WE;;iQp56'e@ّg_DvP=K"`u D7 RQq\昕e3 N&'3SCj;yM5ш&$-:h3 rh'_MKeœ`i>vRpip1[>^PK!H7~QpypH-0.2.dist-info/RECORDmvC@}eh Yt1茴b ͝v3 /│&Qh?@J&Cc.oxj%.EZ77ݿg,Ϧf7lvR&op|E"< `* n+ ke` 9"6:jSIY "Q}5AZdMe;P=LeTBJӇ& cƍ1Z hlPKWLpypH.pyPK}LDw))pypH-0.2.dist-info/LICENSEPK!Hp!QaX pypH-0.2.dist-info/WHEELPK!HU8f_C pypH-0.2.dist-info/METADATAPK!H7~Q pypH-0.2.dist-info/RECORDPKS'