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...
Metadata
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)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| OxidationNumberCalculator-1.1.tar.gz | 6.9 kB | Without provenance | Details for OxidationNumberCalculator-1.1.tar.gz |
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
|
Security for OxidationNumberCalculator 1.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.