Installation

Prerequisites

radioactivedecay requires Python 3.8+ and the Matplotlib, NetworkX, NumPy, Pandas, SciPy, Setuptools and SymPy packages. These can be installed from python.org and PyPI, or via a package manager such as Anaconda, WinPython, MacPorts, HomeBrew, APT etc.

Installation

The easiest ways to install radioactivedecay are via the Python Package Index using pip:

$ pip install radioactivedecay

or via conda-forge:

$ conda install -c conda-forge radioactivedecay

Either command will attempt to install the dependencies (Matplotlib, NetworkX, NumPy, Pandas, SciPy, Setuptools & SymPy) if they are not already present in the environment.

It is also possible to clone the GitHub repository and install from within the radioactivedecay directory using:

$ pip install -e .

Testing

radioactivedecay includes code tests using the unittest framework. To run the tests, first git clone the repository from GitHub:

$ git clone https://github.com/radioactivedecay/radioactivedecay.git

then execute:

$ cd radioactivedecay
$ python -m unittest discover

Uninstallation

You can uninstall radioactivedecay by:

$ pip uninstall radioactivedecay

or if installed originally via conda:

$ conda uninstall radioactivedecay