pyphyschemtools is a collection of Python utilities designed to facilitate data processing and analysis in the field of physical chemistry
This library is an integral part of the broader pyPhysChem project, aimed at integrating Python programming into physical chemistry education, spanning from Bachelor's level to PhD students and early-career researchers. The pyPhysChem project is strategically positioned at the interface between higher education and cutting-edge research.
The pyPhysChem notebooks provide commented and illustrated examples covering fundamental topics — such as derivatives, integrals, NMR, or the hydrogen atom — while extending into advanced research applications. Among them, ULR_DigitalChem1 (Université de La Réunion, L3 Chemistry) is a full semester-long TD/TP course built entirely on pyphyschemtools: fundamental constants and units, the hydrogen atom and atomic orbitals, loading and analyzing experimental data, measurement statistics, calibration and regression, and molecular symmetry (point groups, Lewis/VSEPR structures, SMILES, molecular orbitals). The repository also includes comprehensive resources for machine learning in chemistry, including artificial neural networks and autoencoders, bridging the gap between classroom theory and modern laboratory practice.
Installation
Activate your python environment and run:
pip install pyphyschemtools
Quick start
1. Installation
Jupyter / Google Colab (first cell of your notebook):
!pip install pyphyschemtools
Environments without the ! syntax (claude.ai code sandbox, plain scripts):
import subprocess, sys
result = subprocess.run(
[sys.executable, "-m", "pip", "install", "pyphyschemtools", "-q"],
capture_output=True, text=True
)
print("✅ pyphyschemtools installed" if result.returncode == 0
else f"⚠️ Installation problem:\n{result.stdout}\n{result.stderr}")
2. First steps
Modules are loaded on demand (lazy loading): there is no need for import pyphyschemtools as ppct, simply import the names you need.
from pyphyschemtools import Energy, plot_radial, HMO
# Units: convert 1 eV to kJ/mol
print(Energy(1, "eV").to("kJ/mol")) # 96.4853 kJ/mol
# Hydrogen-like atomic orbitals: radial probability density of 1s, 2s, 2p
plot_radial([(1, 0), (2, 0), (2, 1)], density=True)
# Hückel molecular orbitals from a SMILES string (butadiene)
mol = HMO("C=CC=C")
mol.show() # molecule with its π system
mol.plot_energy_diagram() # MO energy diagram with occupations
Bundled example data are available through get_ppct_data:
from pyphyschemtools import get_ppct_data
path = get_ppct_data("Molecules/betaCD-closed.xyz")
3. Kinetics on Google Colab, with your own data
!pip install pyphyschemtools
from pyphyschemtools import kbasic
kb = kbasic()
kb.read(colab=True) # opens an upload dialog: pick your Excel file
# (2 columns: time, property G)
kb.fit(ordre=1) # prints the optimal k and the RMSD
kb.plot() # data + model, and the RMSD landscape
Not on Colab, or just want to try it? Use the bundled example file:
from pyphyschemtools import kbasic, get_ppct_data
kb = kbasic()
kb.read(get_ppct_data("Kinetics/kbasic.xlsx"))
kb.fit(ordre=1)
kb.plot()
The full tutorial is in Examples_pyPCT.ipynb.
Metadata
Release files for pyphyschemtools 0.12.3
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 |
|---|---|---|---|---|
| pyphyschemtools-0.12.3.tar.gz | 67.7 MB | Without provenance | Details for pyphyschemtools-0.12.3.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| pyphyschemtools-0.12.3-py3-none-any.whl | Python 3 | none | any | Details for pyphyschemtools-0.12.3-py3-none-any.whl |
Total release size: 113.3 MB
Release files / pyphyschemtools-0.12.3.tar.gz
| Download URL | pyphyschemtools-0.12.3.tar.gz |
|---|---|
| Size | 67.7 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
87a728d67517efbd203a096ff7db97be2f35b4dec2da3369c8970ceacdf43754
|
|
BLAKE2b-256 checksum How to use checksums |
658c398c6024902fc499bf873957eaed275338133d90bc38bcefae431df1426e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.11.17
|
Release files / pyphyschemtools-0.12.3-py3-none-any.whl
| Download URL | pyphyschemtools-0.12.3-py3-none-any.whl |
|---|---|
| Size | 45.5 MB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
6914d2942516f31e616e84ce9b0612625a15a5ef4debefce006853b59ae5a164
|
|
BLAKE2b-256 checksum How to use checksums |
718b3f2939a175e144ce95e8ab819e57c7b62808380b176da567f421940e34c9
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.11.17
|
Security for pyphyschemtools 0.12.3
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.