Skip to main content

micki

A modular, extensible, robust object-oriented microkinetic modeling package written in Python.

Documentation:

See the documentation: a user guide, a complete reference of all classes and options, sensitivity analysis, CatMap conventions and a water-gas shift example. The theory is described in E. D. Hermes, A. N. Janes, J. R. Schmidt, J. Chem. Phys. 151, 014112 (2019), https://doi.org/10.1063/1.5109116; please cite it if you use Micki.

DEPENDENCIES (installed automatically, see below):

  • Python >= 3.12
  • sundials4py (the official SUNDIALS Python interface; >= 7.9, beta)
  • numpy >= 2.0
  • sympy
  • ase

No compiler, SUNDIALS build or LAPACK library is needed: sundials4py ships prebuilt wheels that include SUNDIALS.

Earlier versions that generate Fortran and compile it with f2py are kept on branches: fortran-sundials7 (SUNDIALS 7 Fortran 2003 interface) and sundials4 (SUNDIALS 4.X FCMIX interface).

#in an environment with Python >= 3.12 (e.g. a venv or a conda environment)
pip install micki

This installs Micki and all of its dependencies and is probably the simplest option for most users.

Installation with conda (for development):

#fetch Micki and create a conda environment with all dependencies
git clone https://github.com/jrschmidt2/micki.git
cd micki
conda env create -f environment.yml
conda activate micki

Python, numpy, sympy and ase come from conda-forge. sundials4py and Micki itself are not on conda-forge, so environment.yml installs them with pip inside the environment (Micki in editable mode from the clone, so changes take effect immediately).

Testing:

Run the test suite (about 15 seconds; includes a water-gas shift regression test) from the repository root:
python -m unittest discover -s tests -v

Comparing with CatMap:

micki.set_conventions('catmap') switches Micki's defaults to CatMap's conventions (gas reference state, barrier clipping, transition-state interactions, masses), and individual options are available too. Tests compare Micki with CatMap's own solutions of several models (agreement ~1e-13). See CatMap conventions.

Releasing:

Releases are published to PyPI automatically by GitHub Actions (.github/workflows/publish.yml, PyPI trusted publishing):

  1. Set the new version in pyproject.toml and commit it.
  2. Create a GitHub release with tag v<version> (e.g. v2.0.0).

Publishing the release runs the tests, builds the package and uploads it to PyPI. The workflow refuses to publish if the tag does not match the version. To check the build and tests without publishing, start the workflow by hand ("Run workflow" under Actions -> Publish to PyPI).

Metadata

Release files for micki 2.1.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 micki 2.1.0
File Size Uploaded
micki-2.1.0.tar.gz 56.3 kB Details

Built distribution (wheel)

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

Total release size: 103.1 kB

Release files / micki-2.1.0.tar.gz

Download URL micki-2.1.0.tar.gz
Size 56.3 kB
Tags Source
SHA-256 checksum
How to use checksums
a51158b9fb6c68dc5f1b4470c14ee327ad18208cce27ca4e8b82a79bb8360805
BLAKE2b-256 checksum
How to use checksums
a0acb92075a3253dc85fc28e3063bbed81e70dd4e046d22365d78ae1e315fde4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 8, 2026.

Transparency log

Release files / micki-2.1.0-py3-none-any.whl

Download URL micki-2.1.0-py3-none-any.whl
Size 46.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
47d6bbb6e2df31ef024436c86cbf0f94e87b020928ce27a9c24a5430c08109e8
BLAKE2b-256 checksum
How to use checksums
513ffb02798685c1e47403c29862add207ecd87edfbbf16889fbfd58b287a73e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 8, 2026.

Transparency log

Release history Release notifications | RSS feed

2.2.0

2 release files

This release

2.1.0 This release

2 release files

2.0.1

2 release files

2.0.0

2 release files

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