Skip to main content

openCOSMO-RS C++ with Python bindings

This repository contains a C++ implementation of the COSMO-RS model with a pybind11 Python interface. It is much faster than the pure Python implementation. New model features and parameterizations are usually added here first; the Python implementation contains the same features (atomic polarizabilities for the dispersion energy, solvation free energies, the combinatorial terms, partial interaction matrices) and can be used to cross-check results. The activity coefficients of both implementations agree to about 1e-5 (the COSMOSPACE iteration of this implementation stops when ln(Gamma) changes by less than 1e-5).

The standalone binary is useful for simple JSON-driven batch calculations and is currently being used by ORCA. MATLAB users should call the Python module from MATLAB.

Contents

Quick start: Python module

1. Clone with submodules

git clone --recursive --shallow-submodules https://github.com/TUHH-TVT/openCOSMO-RS_cpp.git
cd openCOSMO-RS_cpp

If the repository was cloned without submodules:

git submodule update --init --recursive

2. Install basic Python dependencies

python -m pip install --upgrade pip numpy

3. Build the Python extension

The default CMake target builds the openCOSMORS Python extension.

cmake -S . -B build -DOPENCOMSORS_SIMD=AUTO
cmake --build build --config Release

4. Run the bundled example

Add the build output directory to PYTHONPATH, then run bindings/run_example.py.

Linux/macOS single-config generators usually place the extension directly in build:

PYTHONPATH="$PWD/build:$PYTHONPATH" python bindings/run_example.py

Windows and other multi-config generators usually place the extension in build/Release:

$env:PYTHONPATH = "$PWD\build\Release;$env:PYTHONPATH"
python bindings\run_example.py

Build options

SIMD backend

The SIMD backend is selected with OPENCOMSORS_SIMD:

Value Meaning
AUTO Default. Chooses FMA on x86/x86_64, NEON on ARM64, and SCALAR on unknown architectures.
SCALAR Portable fallback for debugging, reference checks, or old CPUs.
SSE3 x86 SSE3 backend.
AVX x86 AVX backend.
FMA x86 AVX/FMA backend.
NEON AArch64/ARM64 NEON backend, including Apple Silicon.

Examples:

cmake -S . -B build -DOPENCOMSORS_SIMD=SCALAR
cmake -S . -B build -DOPENCOMSORS_SIMD=FMA
cmake -S . -B build -DOPENCOMSORS_SIMD=NEON

Precision

The floating point precision of the calculation is selected with OPENCOSMORS_PRECISION: DOUBLE (default) or SINGLE. Single precision is faster, but results agree with double precision only to about 1e-5.

cmake -S . -B build -DOPENCOSMORS_PRECISION=SINGLE
pip install . -C cmake.define.OPENCOSMORS_PRECISION=SINGLE

The Python module is called openCOSMORS in both cases.

Install as a wheel

pip install . builds and installs the module with scikit-build-core. The GitHub Actions workflow .github/workflows/wheels.yml builds wheels for Linux (x86_64, aarch64), Windows (x86_64) and macOS (arm64) for Python 3.11 to 3.14 and publishes them to PyPI when a tag v* is pushed. The wheels use the portable AVX backend on x86_64 and NEON on ARM64.

Platform notes

macOS

Install command-line tools first:

xcode-select --install

On Apple Silicon, AUTO selects NEON. On Intel Macs, AUTO selects FMA.

Windows

Use Visual Studio with CMake. Activate your conda or virtual environment before running CMake if you want pybind11 to bind against that Python installation.

cmake -S . -B build -DOPENCOMSORS_SIMD=AUTO
cmake --build build --config Release

MinGW-w64 (GCC on Windows)

With GCC 13 from MinGW-w64, builds with -DUSE_DOUBLE and the AVX or FMA backend can crash randomly (access violation) when calculating. The compiler passes a 16 byte aligned buffer to an Eigen function that returns a 256 bit vector and stores into it with an aligned instruction. The flags -mstackrealign and -DEIGEN_UNALIGNED_VECTORIZE=0 do not help. Use one of the following instead:

  • build with clang (e.g. llvm-mingw): -DCMAKE_C_COMPILER=clang -DCMAKE_CXX_COMPILER=clang++
  • build with MSVC (Visual Studio)
  • use the scalar backend: -DOPENCOMSORS_SIMD=SCALAR

Linux

Install a compiler, CMake, Python development headers, and NumPy. If the target machine does not support FMA, use SCALAR, SSE3, or AVX explicitly.

cmake -S . -B build -DOPENCOMSORS_SIMD=AUTO
cmake --build build --config Release

OpenMP is used for release builds when CMake can find it. If OpenMP is not available, the project still builds and runs without OpenMP parallelization.

Standalone binary and JSON input

Build the binary

Pass -DBINARY=1 to build the command-line executable instead of the Python module:

cmake -S . -B build-cli -DBINARY=1 -DOPENCOMSORS_SIMD=AUTO
cmake --build build-cli --config Release

Run the binary

The executable accepts an input JSON file and an optional output JSON file:

./build-cli/openCOSMORS input.json output.json

Windows multi-config builds usually place the executable under Release:

.\build-cli\Release\openCOSMORS.exe input.json output.json

If the output path is omitted, the binary writes next to the input file using the suffix _out.json, for example input_out.json.

CLI output format

The CLI JSON format is not the same as the Python in-memory API. The binary allocates result arrays internally and currently writes a compact output JSON:

{
  "dGsolv": [
    [
      [0.0, 0.0, 0.0]
    ]
  ],
  "warnings": []
}

dGsolv shape:

  • outer list: one entry per calculation.
  • middle list: one entry per concentration/temperature row.
  • inner list: one value per selected component.

If solvation-energy parameters such as dGsolv_E_gas, dGsolv_tau, dGsolv_eta, and dGsolv_numberOfAtomsInRing are not provided, dGsolv values remain zero. dGsolv_E_gas (gas phase energy in Hartree) and dGsolv_numberOfAtomsInRing need one entry per entry of componentPaths. Solvation energies are calculated for rows with reference-state type 4, which need one component with a mole fraction of one (the solvent). Use the Python API for activity-coefficient outputs and detailed tensor outputs.

Minimal CLI input JSON

This example uses the bundled COSMO files:

{
  "sw_COSMOfiles_type": "ORCA_COSMO_TZVPD",
  "sw_SR_partialInteractionMatrices": [],

  "Aeff": 4.90825,
  "ln_alpha": 15.879012208938363,
  "ln_CHB": 17.71334077178702,
  "CHBT": 1.5,
  "SigmaHB": 0.009953,
  "Rav": 0.5,
  "RavCorr": 1.0,
  "fCorr": 2.4,
  "comb_SG_z_coord": 0.0,
  "comb_SG_A_std": 1.0,
  "m_vdW": 29.567,
  "E_F_corr": 346.82,
  "radii": {},
  "exp": {},

  "componentPaths": [
    "bindings/1112tetrachloroethane.orcacosmo",
    "bindings/methanol.orcacosmo",
    "bindings/water.orcacosmo"
  ],

  "calculations": [
    {
      "component_indices": [0, 1, 2],
      "concentrations": [[0.2, 0.5, 0.3]],
      "temperatures": [298.15],
      "reference_state_types": [3],
      "reference_state_concentrations": [[]]
    }
  ]
}

CLI input notes:

  • componentPaths are relative to the process working directory unless absolute paths are used.
  • component_indices select entries from componentPaths.
  • concentrations has shape (n_points, n_components) and each row must sum to one.
  • temperatures has shape (n_points,).
  • reference_state_types has shape (n_points,).
  • reference_state_concentrations must have one row per concentration row. For reference-state types 0, 1, 3, and 4, use an empty row such as [[]] for one point. For type 2, provide explicit compositions with shape (n_points, n_components), for example [[0.0, 1.0, 0.0]].
  • The CLI accepts the same sw_SR_* option keys as the Python API (for example "sw_SR_polarizabilities": 7) at the top level of the input JSON. Options that are not given use the compiled C++ defaults.
  • Invalid input stops the program with a detailed error message and exit code 1.

Python API reference

Call sequence

The pybind11 API is intentionally small and dictionary-based:

import openCOSMORS

openCOSMORS.loadMolecules(options, parameters, components)
openCOSMORS.loadCalculations(calculations)
calculations = openCOSMORS.calculate(parameters, calculations)

The design keeps the C++ model as the single source of truth while letting Python users work with dictionaries, lists, and NumPy arrays. This avoids duplicating the data model as Python classes, keeps pybind11 conversion code thin, and makes it easy to assemble calculations in scripts, notebooks, or optimization loops.

Lifecycle:

  1. initialize() resets module state. It is called automatically before the first molecule load, but can be called manually when starting over.
  2. loadMolecules(options, parameters, components) reads COSMO files and initializes molecule-level data. Call this once for a component set.
  3. loadCalculations(calculations, reload=False) registers calculation dictionaries and prepares C++/Eigen data structures.
  4. calculate(parameters, calculations, reloadConcentrations=False, reloadReferenceConcentrations=False) runs calculations and writes results back into the same dictionaries.

See bindings/run_example.py for a complete working example.

Calculation dictionary

Each entry in calculations is one calculation dictionary. The bundled example loads three components:

components = [
    "1112tetrachloroethane.orcacosmo",
    "methanol.orcacosmo",
    "water.orcacosmo",
]

Minimal one-point calculation:

calculation = {
    "concentrations": np.array([[0.2, 0.5, 0.3]], dtype=np.float64),
    "temperatures": np.array([298.15], dtype=np.float64),
    "components": components,
    "component_indices": [0, 1, 2],
    "reference_state_types": np.array([3]),
    "reference_state_concentrations": np.array([[]], dtype=np.float64),
}

Dimensions:

  • n_points: number of concentration/temperature rows.
  • n_components: number of selected components.
  • n_interaction_matrices: 1 + len(options["sw_SR_partialInteractionMatrices"]). The leading matrix is A_int, followed by the requested contributions in the order given. Possible contributions are E_mf (misfit, including the fluorine correction E_F_corr when polarizabilities are used), G_hb (hydrogen bonding free energy), E_hb (hydrogen bonding enthalpy) and E_vdW (dispersion from polarizabilities), with A_int = E_mf + G_hb + E_vdW.

Required input fields:

Field Shape Notes
component_indices (n_components,) Integer indices into molecules loaded by loadMolecules.
components usually (n_components,) Used for Python-side bookkeeping; molecule selection uses component_indices.
concentrations (n_points, n_components) float64; each row must sum to one.
temperatures (n_points,) float64; row i belongs to concentrations[i, :].
reference_state_types (n_points,) Integer reference-state code per row.
reference_state_concentrations (n_points, n_components) or empty second dimension Explicit only for reference mixture; first dimension must equal n_points.

Reference-state types

Type Meaning reference_state_concentrations row
0 Pure components. References are generated internally as pure-component compositions. Must be empty/zero-sum, for example np.array([[]]) for one point.
1 Pure components only for neutral molecules. Charged components get no reference calculation. This path is marked untested in the C++ binding. Must be empty/zero-sum.
2 Reference mixture. The same explicit reference composition is used for all components in that row. Also use this for reference-mixture/infinite-dilution setups. Must have shape (n_components,) for that row and sum to one, for example [0.0, 1.0, 0.0].
3 COSMO reference state. No composition reference is generated. Must be empty/zero-sum.
4 COSMO reference state for solvation-energy calculations. Must be empty/zero-sum.

Examples:

# COSMO reference state.
calculation["reference_state_types"] = np.array([3])
calculation["reference_state_concentrations"] = np.array([[]])

# Pure-component reference states.
calculation["reference_state_types"] = np.array([0])
calculation["reference_state_concentrations"] = np.array([[]])

# Explicit reference mixture: pure methanol in a three-component system.
calculation["reference_state_types"] = np.array([2])
calculation["reference_state_concentrations"] = np.array([[0.0, 1.0, 0.0]])

Result arrays

The Python API expects result arrays to be allocated before loadCalculations(). The binding maps these arrays directly into C++/Eigen data structures, so shapes must match exactly:

Field Required when Shape
index always scalar integer
ln_gamma_x_SR_combinatorial_calc always (n_points, n_components)
ln_gamma_x_SR_residual_calc always (n_points, n_components)
ln_gamma_x_SR_calc always (n_points, n_components)
dGsolv rows with reference-state type 4 (kcal/mol) (n_points, n_components)
contact_statistics sw_SR_calculateContactStatisticsAndAdditionalProperties > 0 (n_points, n_components, n_components)
average_surface_energies sw_SR_calculateContactStatisticsAndAdditionalProperties > 0 (n_points, n_interaction_matrices, n_components, n_components)
partial_molar_energies sw_SR_calculateContactStatisticsAndAdditionalProperties == 2 (n_points, n_interaction_matrices, n_components)

Units: partial_molar_energies are in J/mol. average_surface_energies contain an additional factor of the Avogadro constant; divided by N_A they are in J/mol and sum_i x_i sum_j average_surface_energies[i, j] / N_A equals the mixture energy sum_i x_i partial_molar_energies[i].

All result arrays are checked when calling loadCalculations(): they have to be writeable float64 NumPy arrays in C order with exactly the shapes above, otherwise a RuntimeError describing the problem is raised.

The helper fill_missing_calculation_structures() in bindings/run_example.py shows the recommended allocation pattern.

Direct NumPy binding caveats

loadCalculations() does not copy result arrays into independent C++ storage. The C++ code creates Eigen Map/TensorMap views over the arrays' memory, which is why arrays that would need a conversion are rejected.

Mapped arrays:

  • ln_gamma_x_SR_combinatorial_calc
  • ln_gamma_x_SR_residual_calc
  • ln_gamma_x_SR_calc
  • dGsolv, when present
  • contact_statistics, when enabled
  • average_surface_energies, when enabled
  • partial_molar_energies, when enabled

Caveats:

  • Allocate mapped arrays with dtype=np.float64.
  • Use C-contiguous NumPy arrays. Avoid sliced, transposed, Fortran-order, object-dtype, or non-contiguous arrays.
  • Do not replace, resize, reshape, or reassign mapped result arrays after calling loadCalculations().
  • Keep the calculations list and dictionaries alive until calculate() finishes.
  • To change the number of points or components, allocate a new calculation dictionary and call loadCalculations(..., reload=True).
  • calculate() writes results in-place into the same arrays and returns the same Python list for convenience.
  • Use reloadConcentrations=True or reloadReferenceConcentrations=True only after updating same-shape input arrays in-place.

MATLAB usage through Python

MATLAB users should call the Python module instead, matching the recommendation in issue #2. This keeps the maintained public interface in one place: C++ core plus pybind11.

MathWorks documents two relevant MATLAB-to-Python entry points:

  • Use the py. prefix to import and call Python modules directly.
  • Use pyrun or pyrunfile to execute Python statements or scripts from MATLAB. pyrunfile is available from R2021b.

See MathWorks' documentation on calling Python from MATLAB, directly calling Python functionality, and passing data between MATLAB and Python.

MATLAB smoke test

repo = "C:\path\to\openCOSMO-RS_cpp";
pythonExe = "C:\path\to\python.exe";

pyenv("Version", pythonExe, "ExecutionMode", "OutOfProcess");

buildDir = fullfile(repo, "build", "Release");  % Windows multi-config build
bindingsDir = fullfile(repo, "bindings");

py.sys.path.insert(int32(0), buildDir);
py.sys.path.insert(int32(0), bindingsDir);

pyrunfile(fullfile(bindingsDir, "run_example.py"));

On macOS or Linux, use build instead of build/Release if the extension is placed directly in the build directory:

buildDir = fullfile(repo, "build");

For production MATLAB usage, write a small Python wrapper module instead of constructing nested calculation dictionaries directly in MATLAB. The wrapper can follow bindings/run_example.py, allocate NumPy arrays with the correct shapes and dtypes, call openCOSMORS, and return only the arrays needed by MATLAB.

# file: matlab_openCOSMORS_bridge.py
def run_case(component_paths, concentrations, temperature):
    import numpy as np
    import openCOSMORS

    # Build options, parameters, and calculation dictionaries here.
    # Use bindings/run_example.py as the template.
    return result

Call the wrapper from MATLAB:

bridge = py.importlib.import_module("matlab_openCOSMORS_bridge");
result = bridge.run_case(componentPaths, concentrations, 298.15);

MATLAB array-layout caveat

MATLAB stores numeric arrays in column-major order. C/C++ row-major arrays and default NumPy arrays use the opposite memory layout. This matters because openCOSMORS.loadCalculations() maps NumPy output arrays directly as row-major Eigen views.

Safest pattern: convert MATLAB-originated arrays inside the Python wrapper.

import numpy as np

def as_openCOSMORS_array(value, shape=None):
    arr = np.ascontiguousarray(value, dtype=np.float64)
    if shape is not None:
        arr = arr.reshape(shape, order="C")
    return arr

concentrations = as_openCOSMORS_array(concentrations_from_matlab, (1, 3))
temperatures = as_openCOSMORS_array([temperature_from_matlab], (1,))

calculation = {
    "concentrations": concentrations,
    "temperatures": temperatures,
    "reference_state_concentrations": as_openCOSMORS_array(np.empty((1, 0)), (1, 0)),
    "ln_gamma_x_SR_combinatorial_calc": np.zeros((1, 3), dtype=np.float64, order="C"),
    "ln_gamma_x_SR_residual_calc": np.zeros((1, 3), dtype=np.float64, order="C"),
    "ln_gamma_x_SR_calc": np.zeros((1, 3), dtype=np.float64, order="C"),
}

For higher-dimensional result arrays:

contact_statistics = np.zeros((n_points, n_components, n_components),
                              dtype=np.float64, order="C")
average_surface_energies = np.zeros((n_points, n_interaction_matrices,
                                     n_components, n_components),
                                    dtype=np.float64, order="C")

Additional MATLAB notes:

  • Call pyenv before the first py. command.
  • If Python is already loaded, change environments only after terminate(pyenv) for out-of-process Python, or after restarting MATLAB for in-process Python.
  • The Python extension must match the Python executable, operating system, CPU architecture, and Python ABI that MATLAB loads.
  • MATLAB can convert numeric MATLAB arrays to NumPy arrays when NumPy is available, but conversion behavior differs by MATLAB release. A Python wrapper keeps this repo's direct NumPy binding requirements explicit.
  • If Python returns a NumPy array, MATLAB can display it as a Python object and convert it with numeric conversion functions such as double(...).

Metadata

Release files for opencosmors 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 opencosmors 1.0.0
File Size Uploaded Provenance Actions
opencosmors-1.0.0.tar.gz 2.5 MB With provenance Details for opencosmors-1.0.0.tar.gz

Built distributions (wheels)

Table of built distributions (wheels) for opencosmors 1.0.0
File Actions
opencosmors-1.0.0-cp314-cp314-win_amd64.whl CPython 3.14 CPython 3.14 Windows x86-64 Details for opencosmors-1.0.0-cp314-cp314-win_amd64.whl
opencosmors-1.0.0-cp314-cp314-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl CPython 3.14 CPython 3.14 Linux glibc 2.24+ x86-64, Linux glibc 2.28+ x86-64 Details for opencosmors-1.0.0-cp314-cp314-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl
opencosmors-1.0.0-cp314-cp314-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl CPython 3.14 CPython 3.14 Linux glibc 2.24+ ARM64, Linux glibc 2.28+ ARM64 Details for opencosmors-1.0.0-cp314-cp314-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl
opencosmors-1.0.0-cp314-cp314-macosx_11_0_arm64.whl CPython 3.14 CPython 3.14 macOS 11.0+ ARM64 Details for opencosmors-1.0.0-cp314-cp314-macosx_11_0_arm64.whl
opencosmors-1.0.0-cp313-cp313-win_amd64.whl CPython 3.13 CPython 3.13 Windows x86-64 Details for opencosmors-1.0.0-cp313-cp313-win_amd64.whl
opencosmors-1.0.0-cp313-cp313-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl CPython 3.13 CPython 3.13 Linux glibc 2.24+ x86-64, Linux glibc 2.28+ x86-64 Details for opencosmors-1.0.0-cp313-cp313-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl
opencosmors-1.0.0-cp313-cp313-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl CPython 3.13 CPython 3.13 Linux glibc 2.24+ ARM64, Linux glibc 2.28+ ARM64 Details for opencosmors-1.0.0-cp313-cp313-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl
opencosmors-1.0.0-cp313-cp313-macosx_11_0_arm64.whl CPython 3.13 CPython 3.13 macOS 11.0+ ARM64 Details for opencosmors-1.0.0-cp313-cp313-macosx_11_0_arm64.whl
opencosmors-1.0.0-cp312-cp312-win_amd64.whl CPython 3.12 CPython 3.12 Windows x86-64 Details for opencosmors-1.0.0-cp312-cp312-win_amd64.whl
opencosmors-1.0.0-cp312-cp312-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl CPython 3.12 CPython 3.12 Linux glibc 2.24+ x86-64, Linux glibc 2.28+ x86-64 Details for opencosmors-1.0.0-cp312-cp312-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl
opencosmors-1.0.0-cp312-cp312-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl CPython 3.12 CPython 3.12 Linux glibc 2.24+ ARM64, Linux glibc 2.28+ ARM64 Details for opencosmors-1.0.0-cp312-cp312-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl
opencosmors-1.0.0-cp312-cp312-macosx_11_0_arm64.whl CPython 3.12 CPython 3.12 macOS 11.0+ ARM64 Details for opencosmors-1.0.0-cp312-cp312-macosx_11_0_arm64.whl
opencosmors-1.0.0-cp311-cp311-win_amd64.whl CPython 3.11 CPython 3.11 Windows x86-64 Details for opencosmors-1.0.0-cp311-cp311-win_amd64.whl
opencosmors-1.0.0-cp311-cp311-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl CPython 3.11 CPython 3.11 Linux glibc 2.28+ x86-64, Linux glibc 2.24+ x86-64 Details for opencosmors-1.0.0-cp311-cp311-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl
opencosmors-1.0.0-cp311-cp311-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl CPython 3.11 CPython 3.11 Linux glibc 2.24+ ARM64, Linux glibc 2.28+ ARM64 Details for opencosmors-1.0.0-cp311-cp311-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl
opencosmors-1.0.0-cp311-cp311-macosx_11_0_arm64.whl CPython 3.11 CPython 3.11 macOS 11.0+ ARM64 Details for opencosmors-1.0.0-cp311-cp311-macosx_11_0_arm64.whl

Total release size: 9.8 MB

Release files / opencosmors-1.0.0.tar.gz

Download URL opencosmors-1.0.0.tar.gz
Size 2.5 MB
Tags Source
SHA-256 checksum
How to use checksums
8cb4d0039a72e1e472ac3211dcf2f3e72dc0070630d5637c19a6396acb1968c2
BLAKE2b-256 checksum
How to use checksums
4d2520bf14d1c1ae9788b4666cfdb480be0658eb5d461f7aaa70d9328f39bfe7
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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 Nov 25, 2026.

Transparency log

Release files / opencosmors-1.0.0-cp314-cp314-win_amd64.whl

Download URL opencosmors-1.0.0-cp314-cp314-win_amd64.whl
Size 555.2 kB
Tags CPython 3.14 Windows x86-64
SHA-256 checksum
How to use checksums
b3726f53b525e8ef06af5065e06bab90ee4d1a41435cd6ee95215bc4bac2a335
BLAKE2b-256 checksum
How to use checksums
140043fd0798be48c4344f0605433fe5543dd0044dc46dae3e1eda41e5084f5b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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 Nov 25, 2026.

Transparency log

Release files / opencosmors-1.0.0-cp314-cp314-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl

Download URL opencosmors-1.0.0-cp314-cp314-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl
Size 395.0 kB
Tags CPython 3.14 Linux glibc 2.24+ x86-64 Linux glibc 2.28+ x86-64
SHA-256 checksum
How to use checksums
1d6692c1bf99295b3ad63b0e3443f9f31f740dfc6f98362b4e397232c257f215
BLAKE2b-256 checksum
How to use checksums
26d92df4069ae0432636b7c99d88c607d5e0e4ac8c11e86fd192a89ab7286ca3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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 Nov 25, 2026.

Transparency log

Release files / opencosmors-1.0.0-cp314-cp314-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl

Download URL opencosmors-1.0.0-cp314-cp314-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl
Size 355.8 kB
Tags CPython 3.14 Linux glibc 2.24+ ARM64 Linux glibc 2.28+ ARM64
SHA-256 checksum
How to use checksums
01e9db9426d5178f8ff929e20b7bc66182a2475fefd97fcddc2291d4d55e26f6
BLAKE2b-256 checksum
How to use checksums
b661b7f1872674e876db555a487e1950267ba902c444ac1b84064e5c4901c46d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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 Nov 25, 2026.

Transparency log

Release files / opencosmors-1.0.0-cp314-cp314-macosx_11_0_arm64.whl

Download URL opencosmors-1.0.0-cp314-cp314-macosx_11_0_arm64.whl
Size 531.7 kB
Tags CPython 3.14 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
8e6c57a6936eb9a53edd390751bdb8c82c52698e6f06655b2db227311efcee58
BLAKE2b-256 checksum
How to use checksums
0d32c7049ae345ff6b0e688d408c40c8dd597f5528f329c486fef6b339f9c416
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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 Nov 25, 2026.

Transparency log

Release files / opencosmors-1.0.0-cp313-cp313-win_amd64.whl

Download URL opencosmors-1.0.0-cp313-cp313-win_amd64.whl
Size 538.9 kB
Tags CPython 3.13 Windows x86-64
SHA-256 checksum
How to use checksums
75c4bbd13809a19667e5e838c451aabaedda6929a56545e57762ed221e62f8f1
BLAKE2b-256 checksum
How to use checksums
7fb32469fe39299418d71d1ed04a4c9f908af31ebd86e4362c425b1a4d7d10f0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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 Nov 25, 2026.

Transparency log

Release files / opencosmors-1.0.0-cp313-cp313-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl

Download URL opencosmors-1.0.0-cp313-cp313-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl
Size 394.5 kB
Tags CPython 3.13 Linux glibc 2.24+ x86-64 Linux glibc 2.28+ x86-64
SHA-256 checksum
How to use checksums
73606b9650a11020849157277844c25b21d6b3b4139fac05c96f3fe6bccb3390
BLAKE2b-256 checksum
How to use checksums
9d89b9dd6a3444b2dec3914aeddbec33c4a69356cdc27b93ec09a730fed90f53
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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 Nov 25, 2026.

Transparency log

Release files / opencosmors-1.0.0-cp313-cp313-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl

Download URL opencosmors-1.0.0-cp313-cp313-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl
Size 355.0 kB
Tags CPython 3.13 Linux glibc 2.24+ ARM64 Linux glibc 2.28+ ARM64
SHA-256 checksum
How to use checksums
7eeeee15280e98045d049bdf3dcdf713a3fbb304c746c355956ac1dcb5e6d1e6
BLAKE2b-256 checksum
How to use checksums
3c274c020baa970d3e7748a8c498b3162e1a07e1d98d98d71cbbe9814cb8e0d4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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 Nov 25, 2026.

Transparency log

Release files / opencosmors-1.0.0-cp313-cp313-macosx_11_0_arm64.whl

Download URL opencosmors-1.0.0-cp313-cp313-macosx_11_0_arm64.whl
Size 531.5 kB
Tags CPython 3.13 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
ae18b2aaa72a1dc5c46814aacb2988100ac869e9807e385e613fbe04df3af585
BLAKE2b-256 checksum
How to use checksums
5b7b70c67d769f38e86fb55bb3e4273ab910d60be9446a36434b2bf0947aa46c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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 Nov 25, 2026.

Transparency log

Release files / opencosmors-1.0.0-cp312-cp312-win_amd64.whl

Download URL opencosmors-1.0.0-cp312-cp312-win_amd64.whl
Size 538.9 kB
Tags CPython 3.12 Windows x86-64
SHA-256 checksum
How to use checksums
7367db5c38128a4332b403b27074c52361b5e656d6ca9e083e5287332b2c888d
BLAKE2b-256 checksum
How to use checksums
4e85e9cd3ef0af9f633c4b3c0d3ec7b4c4eae87f6fb4c9921c875c86667b671a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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 Nov 25, 2026.

Transparency log

Release files / opencosmors-1.0.0-cp312-cp312-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl

Download URL opencosmors-1.0.0-cp312-cp312-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl
Size 394.5 kB
Tags CPython 3.12 Linux glibc 2.24+ x86-64 Linux glibc 2.28+ x86-64
SHA-256 checksum
How to use checksums
3ceee33b9522bde4aa0a1898debe40cde143526a7cbd3ef0660e843c6b7ad134
BLAKE2b-256 checksum
How to use checksums
0f9651b93dda56b658d94325eaf453033f5c2135678344ddf7f715e93d0e0644
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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 Nov 25, 2026.

Transparency log

Release files / opencosmors-1.0.0-cp312-cp312-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl

Download URL opencosmors-1.0.0-cp312-cp312-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl
Size 354.9 kB
Tags CPython 3.12 Linux glibc 2.24+ ARM64 Linux glibc 2.28+ ARM64
SHA-256 checksum
How to use checksums
13c7e3c067cc0abc81e60f75c4df831f85e7812756f657df4900f14033244023
BLAKE2b-256 checksum
How to use checksums
81e4fb3839c1a2b7a21cd40a93de5d930bfb463463676aa1b3b92a3c0511f401
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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 Nov 25, 2026.

Transparency log

Release files / opencosmors-1.0.0-cp312-cp312-macosx_11_0_arm64.whl

Download URL opencosmors-1.0.0-cp312-cp312-macosx_11_0_arm64.whl
Size 531.4 kB
Tags CPython 3.12 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
46ee959436d6e279586d45af89d6bf25e77f251d4733ec920ca9aefcf437ae8d
BLAKE2b-256 checksum
How to use checksums
57b5e56e7a40b5812f1da3bc67e3e24175c2e6d64f75a2a153c4fd47370b39e8
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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 Nov 25, 2026.

Transparency log

Release files / opencosmors-1.0.0-cp311-cp311-win_amd64.whl

Download URL opencosmors-1.0.0-cp311-cp311-win_amd64.whl
Size 536.2 kB
Tags CPython 3.11 Windows x86-64
SHA-256 checksum
How to use checksums
3348b42b6ccc27ca8bfc4ed22f331c5e86cd2b315daedc68017782c201a97423
BLAKE2b-256 checksum
How to use checksums
9c9a5ba4da1e80b8013e20d0d40f2fa12197201ddda5245b0949bfc1a87bca7d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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 Nov 25, 2026.

Transparency log

Release files / opencosmors-1.0.0-cp311-cp311-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl

Download URL opencosmors-1.0.0-cp311-cp311-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl
Size 391.1 kB
Tags CPython 3.11 Linux glibc 2.24+ x86-64 Linux glibc 2.28+ x86-64
SHA-256 checksum
How to use checksums
e4b8edec40360130381d10df1f5db4fbe0bd7816ce4d075ac27121b6504d40a7
BLAKE2b-256 checksum
How to use checksums
dfbbb44c8bc91b381640926ea0853fb90fce94f1e04f34da0ac3fe04c594b082
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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 Nov 25, 2026.

Transparency log

Release files / opencosmors-1.0.0-cp311-cp311-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl

Download URL opencosmors-1.0.0-cp311-cp311-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl
Size 354.1 kB
Tags CPython 3.11 Linux glibc 2.24+ ARM64 Linux glibc 2.28+ ARM64
SHA-256 checksum
How to use checksums
0a87b1013c1f1bc9796541db21f081bd80a4b6b7a3bace135d667cf3c92cb204
BLAKE2b-256 checksum
How to use checksums
a29f0dd67759ee5681cef1501f3d620076b6bc077c0abd81eb4b035403e971b5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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 Nov 25, 2026.

Transparency log

Release files / opencosmors-1.0.0-cp311-cp311-macosx_11_0_arm64.whl

Download URL opencosmors-1.0.0-cp311-cp311-macosx_11_0_arm64.whl
Size 530.4 kB
Tags CPython 3.11 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
e47caca19ade44becefecd7e365c5057fa571de3194a517bbaa8fe9e874cf27f
BLAKE2b-256 checksum
How to use checksums
8bfaa6a011a8aabfdbadf16575e8fe43c0daff1fd3210930a208a1a36b6e3ff3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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 Nov 25, 2026.

Transparency log

Security for opencosmors 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.

Full provenance

All 17 files in this release have been uploaded with provenance metadata.

Select from 17 files

Attestation for opencosmors-1.0.0.tar.gz

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 Nov 25, 2026.

Transparency log

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

17 release files Full 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