Skip to main content

Oxidation Number Calculator - Beta Version - (Still Needs Optimizing and Bug Removal):

The oxidation number Calculator takes in a chemical equation or individual compound and returns the oxidation numbers of each element involved (in the case of a chemical equation, several lists of oxidation numbers for each compound will be returned). This module has yet to be fully optimized and cleaned of potential bugs; more testing is to come in the following week along with updates.

#Overview Documentation for the Oxidation Number Calculator:

1. Core Functions:

How to use:
from OxidationNumberCalculator import processI

def processI(StringI, Peroxide)

  +For individual elements, it returns the original string input (StringI) and a list of corresponding oxidation numbers...
  	   +StringI: A compound (DON'T INCLUDE PARENTHESES) or chemical equation (WITH NO SPACES): Cu+NO3[-1]->Cu[+2]+NO
   	   +Peroxide is an index value that indicates a compound is a peroxide or an element/compound within an equation is a peroxide...
   	     	       +Let peroxide = 0 for any peroxide compounds give; Let peroxide = COMPOUND_POSITION of equation...
	     	       	    	     +For instance, if StringI = H2O2, let peroxide = 0...
		  		     +For instance, if StringI = H2+O2->H2O2, let peroxide = 2 (index value of the third element/compound in the equation)
   +When inputting a chemical equation, the original input will be returned along with four separate dictionaries that are one of two types...
   	     +The first type consists of lists of elements that are accessible via compound name...
	     +The second type consists of lists of oxidation numbers that are accessible via compound name...

Release files for OxidationNumberCalculator 1.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for OxidationNumberCalculator 1.1
File Size Uploaded
OxidationNumberCalculator-1.1.tar.gz 6.9 kB Details

Release files / OxidationNumberCalculator-1.1.tar.gz

Download URL OxidationNumberCalculator-1.1.tar.gz
Size 6.9 kB
Tags Source
SHA-256 checksum
How to use checksums
feb2389335850dd1dfaf6f23cad1c47b02774140da932ad8077ff51d6f245ed0
BLAKE2b-256 checksum
How to use checksums
cd6650f0833469c4bda99a5b297d0882b30ce48674e99bd258b5c6e379d04d7a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.4.1 importlib_metadata/4.0.1 pkginfo/1.6.1 requests/2.24.0 requests-toolbelt/0.9.1 tqdm/4.50.2 CPython/3.8.5

Release history Release notifications | RSS feed

This release

1.1 This release

1 release file

1.0

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page