Skip to main content

Chemexon Chemistry Toolkit

A comprehensive Python package for chemistry calculations, built by Codexon - Org.

Features

  • Chemical equation balancing using matrix algebra
  • Formula parsing with support for parentheses and hydrates
  • Periodic table data access
  • Reaction classification (synthesis, decomposition, combustion, etc.)
  • Molar mass calculations
  • Vercel serverless API ready

Installation

pip install chemexon

Usage

from chemexon import balance_equation, parse_chemical_formula, calculate_molar_mass

# Balance equation
eq, coeffs = balance_equation("Al + O2 -> Al2O3")
print(eq)  # "4 Al + 3 O2 -> 2 Al2O3"

# Parse formula
atoms = parse_chemical_formula("H2O")
print(atoms)  # {'H': 2, 'O': 1}

# Calculate molar mass
mass = calculate_molar_mass("H2O")
print(mass)  # 18.015

Vercel Deployment

  1. Clone this repository
  2. Install Vercel CLI: npm install -g vercel
  3. Deploy: vercel

API Endpoints

  • POST /api/balance - Balance chemical equations
  • POST /api/parse - Parse chemical formulas
  • POST /api/molar_mass - Calculate molar mass
  • GET /api/elements - List all elements
  • GET /api/elements?symbol=H - Get element by symbol
  • POST /api/classify - Classify reaction type

Credits

Developed by Codexon - Org
Co-Developer: ramkrishna-dev razzak
All rights reserved © 2025 Codexon.

Metadata

Release files for chemexon 1.0.0

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

Source distribution (sdist)

Source distribution for chemexon 1.0.0
File Size Uploaded Provenance Actions
chemexon-1.0.0.tar.gz 6.3 kB Without provenance Details for chemexon-1.0.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for chemexon 1.0.0
File Interpreter ABI Platform Actions
chemexon-1.0.0-py3-none-any.whl Python 3 none any Details for chemexon-1.0.0-py3-none-any.whl

Total release size: 13.9 kB

Release files / chemexon-1.0.0.tar.gz

Download URL chemexon-1.0.0.tar.gz
Size 6.3 kB
Tags Source
SHA-256 checksum
How to use checksums
c86d7b828be83c506e8a08ca383e2b137b31cdc654d7b443400a0a2ad3806843
BLAKE2b-256 checksum
How to use checksums
d792977b8414ed92097752adaad41be8998a97f5298f2964c9615ce7c4f56661
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.1

Release files / chemexon-1.0.0-py3-none-any.whl

Download URL chemexon-1.0.0-py3-none-any.whl
Size 7.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
048a3a33c69b889b06d072c56980e1590e09b0c5dbf3a18de8a12eeb382f6279
BLAKE2b-256 checksum
How to use checksums
30b1df7916bedaeb450e934e5b3359e1150f2fa14ba057bea26963e1f813550c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.1

Security for chemexon 1.0.0

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.

Release history Release notifications | RSS feed

This release

1.0.0 This release

2 release files No provenance

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