Skip to main content

Reaction-network is a Python package for predicting likely inorganic chemical reaction pathways using graph theory.

Project description

Reaction Network

Reaction network (rxn-network) is a Python package for predicting chemical reaction pathways in solid-state materials synthesis using graph theory.

Installing rxn-network

The rxn-network package has several dependencies, most of which can be installed through PyPI. However, graph-tool must be installed through a more customized method; please see https://graph-tool.skewed.de/ for more details. We recommend the following installation procedure to create a new conda environment:

conda create -n gt python=3.9

And then install graph-tool through conda-forge:

conda install -c conda-forge graph-tool

To install an editable version of the rxn-network code, simply download (clone) the code from this repository, navigate to its directory in terminal, and then run the following command to install the requirements:

pip install -r requirements.txt

And then to finally install an editable version of the package:

pip install -e .

Demo

A demo Jupyter notebook (demo.ipynb) contains the code necessary to replicate the results of the paper and is a good starting template for using the rxn-network package.

Note: the demo NB is currently being updated with refactored code; please see one of the previous releases if you wish to use it!

How to cite rxn-network

The following paper explains the methodology of the rxn-network package:

McDermott, M. J., Dwaraknath, S. S., and Persson, K. A. (2021). A graph-based network for predicting chemical reaction pathways in solid-state materials synthesis. Nature Communications, 12(1). https://doi.org/10.1038/s41467-021-23339-x

Acknowledgements

This work was supported as part of GENESIS: A Next Generation Synthesis Center, an Energy Frontier Research Center funded by the U.S. Department of Energy, Office of Science, Basic Energy Sciences under Award Number DE-SC0019212.

Learn more about the GENESIS EFRC here: https://www.stonybrook.edu/genesis/

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

reaction-network-2.0.1.tar.gz (696.9 kB view details)

Uploaded Source

File details

Details for the file reaction-network-2.0.1.tar.gz.

File metadata

  • Download URL: reaction-network-2.0.1.tar.gz
  • Upload date:
  • Size: 696.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.6.3 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.0 CPython/3.9.6

File hashes

Hashes for reaction-network-2.0.1.tar.gz
Algorithm Hash digest
SHA256 3a19609e0a4d0feb44d08d3dfcda00b7ca9a4494319ac259d1890eb3d7615065
MD5 37355af2256b003ed1c3c6c98379e9c8
BLAKE2b-256 5504886f43308b87f3e6ab4477a19f6364e2ac9787391a5f23a6e90b9976d1a4

See more details on using hashes here.

Supported by

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