Installation¶
dupin is available on PyPI and conda-forge. Alternatively, users can also install dupin from source.
Install via conda¶
dupin is available on conda-forge. Install with:
mamba install dupin
Install via pip¶
dupin is also available from PyPI. To install dupin into a non-conda virtual environment (if uv is installed), execute:
uv pip install dupin
or
python3 -m pip install dupin
From source¶
The sources for event-detection can be downloaded from the Github repo.
You can either clone the public repository:
$ git clone git://github.com/glotzerlab/dupin
Or download the tarball:
$ curl -OJL https://github.com/glotzerlab/dupin/tarball/main
Once you have a copy of the source, you can install it with:
$ python -m pip install /path/to/clone
Building Documentation¶
Currently the documentation is not available online, but can be built locally. The required packages are
furo
sphinx
nbsphinx
These can be installed with python3 -m pip install sphinx nbsphinx furo.
To build documentation in the project base directory run python3 -m sphinx ./docs ./docs/_build.
To view the built documentation open the index.html file in ./docs/_build with your preferred browser.