Skip to main content

Advanced Chemistry Toolkit by Codexon - Org

Project description

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.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

chemexon-1.0.0.tar.gz (6.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

chemexon-1.0.0-py3-none-any.whl (7.6 kB view details)

Uploaded Python 3

File details

Details for the file chemexon-1.0.0.tar.gz.

File metadata

  • Download URL: chemexon-1.0.0.tar.gz
  • Upload date:
  • Size: 6.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.1

File hashes

Hashes for chemexon-1.0.0.tar.gz
Algorithm Hash digest
SHA256 c86d7b828be83c506e8a08ca383e2b137b31cdc654d7b443400a0a2ad3806843
MD5 c222cebad8942345b7ef38a7cd6b7c98
BLAKE2b-256 d792977b8414ed92097752adaad41be8998a97f5298f2964c9615ce7c4f56661

See more details on using hashes here.

File details

Details for the file chemexon-1.0.0-py3-none-any.whl.

File metadata

  • Download URL: chemexon-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 7.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.1

File hashes

Hashes for chemexon-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 048a3a33c69b889b06d072c56980e1590e09b0c5dbf3a18de8a12eeb382f6279
MD5 4ef00647846d136ad01bf8f90b71c568
BLAKE2b-256 30b1df7916bedaeb450e934e5b3359e1150f2fa14ba057bea26963e1f813550c

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page