Skip to main content

chemprop-contrib

Community-contributed extensions to the Chemprop machine learning package

Usage

Installation

chemprop-contrib can either be pip installed directly

pip install chemprop-contrib

or installed as an optional dependency when installing Chemprop

pip install chemprop[contrib]

Then, the contributed packages can be imported in Python as

from chemprop_contrib import <package_name>

Each package includes tests, which can be used to demonstrate the use of the package.

Available Packages

  • moe_regressor: Implements the "Adaptive Mixture of Local Experts" model for regression.
  • mcp: Model context protocol for connecting Chemprop with Large Language Models (AI).
  • set2set: Chemprop-compatible implementation of the Set2Set aggregation function.
  • sklearn_integration: Scikit-learn style wrappers around Chemprop training and predicting routines.
  • mixtures: Order invariant architectures that accept any number of inputs. Useful for mixtures of molecules.

Contributing

All community-contributed packages should fork the repository and in a branch on the fork, make a new directory under the chemprop_contrib directory with their name. Then add the following:

  • License for the code (preferably MIT)
  • All associated code files
  • Data files, if needed, and their provenance
  • Documentation (perhaps a Notebook (*.ipynb) or README.md) with instructions on how to use code contributed
  • Tests demonstrating that the code works as intended

If your package has additional dependencies, add them to the list of optional dependencies in the pyproject.toml with the same name as your directory.

Once the package is ready, make a pull request to the main chemprop-contrib repository for a brief review. We provide a template for these pull requests.

Examples

For packages which do not require any new dependencies, see moe_regressor as an example.

For packages which do require additional dependencies, see mcp as an example. Note that one must edit the pyproject.toml and add these dependencies, as mentioned in Contributing.

Metadata

Release files for chemprop-contrib 2026.10.6

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

Source distribution (sdist)

Source distribution for chemprop-contrib 2026.10.6
File Size Uploaded
chemprop_contrib-2026.10.6.tar.gz 16.5 MB Details

Built distribution (wheel)

Table of built distributions (wheels) for chemprop-contrib 2026.10.6
File Interpreter ABI Platform
chemprop_contrib-2026.10.6-py3-none-any.whl Python 3 none any Details

Total release size: 33.0 MB

Release files / chemprop_contrib-2026.10.6.tar.gz

Download URL chemprop_contrib-2026.10.6.tar.gz
Size 16.5 MB
Tags Source
SHA-256 checksum
How to use checksums
59c6a85df2299868a757787d396f74849a1524682e40ed2ae129b3ba91c6bbbc
BLAKE2b-256 checksum
How to use checksums
33823d691be273844e22f7b67873ee428e8fdc732278c0f8f1757517d85162b9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.14

Release files / chemprop_contrib-2026.10.6-py3-none-any.whl

Download URL chemprop_contrib-2026.10.6-py3-none-any.whl
Size 16.5 MB
Tags Python 3
SHA-256 checksum
How to use checksums
b3d1ecbeab17acdf4e396fa4ca77c18cbdd76d70b5b083fa59f1e402d0f3780c
BLAKE2b-256 checksum
How to use checksums
f4e14659b16fe95c51744b5a4e8f6009a250aa29016084fd0e449c1e06bfa8ea
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.14

Release history Release notifications | RSS feed

This release

2026.10.6 This release

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