Metadata-Version: 2.4
Name: dara-xrd
Version: 1.1.7
Summary: Data-driven automated Rietveld analysis using BGMN.
Author-email: Yuxing Fei <yuxingfei@berkeley.edu>, Matthew McDermott <mcdermott@lbl.gov>
License-Expression: MIT
Project-URL: homepage, https://github.com/idocx/dara
Project-URL: documentation, https://idocx.github.io/dara/
Keywords: rietveld,search-match,crystallography,xrd,bgmn,x-ray
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Programming Language :: Python :: 3.13
Classifier: Intended Audience :: Science/Research
Classifier: Operating System :: OS Independent
Classifier: Topic :: Scientific/Engineering :: Information Analysis
Classifier: Topic :: Scientific/Engineering :: Physics
Classifier: Topic :: Scientific/Engineering :: Chemistry
Classifier: Topic :: Software Development :: Libraries :: Python Modules
Requires-Python: >=3.10
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: pymatgen>=2025.1.1
Requires-Dist: asteval>=0.9.31
Requires-Dist: xmltodict>=0.12.0
Requires-Dist: plotly>=5.3.1
Requires-Dist: toml>=0.10.2
Requires-Dist: jenkspy>=0.4.0
Requires-Dist: dict2xml>=1.7.0
Requires-Dist: treelib>=1.7.0
Requires-Dist: scikit-learn>=1.3.2
Requires-Dist: pydantic>=2.11.7
Requires-Dist: pydantic-settings>=2.10.1
Requires-Dist: ray>=2.44.0
Requires-Dist: pybaselines>=1.1.0
Requires-Dist: spglib>=2.5.0
Requires-Dist: jobflow>=0.2.0
Requires-Dist: montydb>=2.5.3
Requires-Dist: fastapi>=0.115.6
Requires-Dist: reaction-network>=8.3.0
Requires-Dist: mp_api>=0.45.0
Requires-Dist: python-multipart>=0.0.19
Requires-Dist: uvicorn>=0.34.0
Provides-Extra: tests
Requires-Dist: pytest==7.4.3; extra == "tests"
Requires-Dist: pytest-cov==4.1.0; extra == "tests"
Requires-Dist: pytest-xdist==3.3.1; extra == "tests"
Provides-Extra: strict
Requires-Dist: pymatgen==2025.5.1; extra == "strict"
Requires-Dist: asteval==0.9.31; extra == "strict"
Requires-Dist: xmltodict==0.13.0; extra == "strict"
Requires-Dist: dict2xml==1.7.4; extra == "strict"
Requires-Dist: plotly==5.18.0; extra == "strict"
Requires-Dist: jenkspy==0.4.0; extra == "strict"
Requires-Dist: treelib==1.7.0; extra == "strict"
Requires-Dist: scikit-learn==1.3.2; extra == "strict"
Requires-Dist: pydantic==2.11.7; extra == "strict"
Requires-Dist: pydantic-settings==2.10.1; extra == "strict"
Requires-Dist: ray==2.44.0; extra == "strict"
Requires-Dist: numpy==1.26.4; extra == "strict"
Requires-Dist: pybaselines==1.1.0; extra == "strict"
Requires-Dist: spglib==2.5.0; extra == "strict"
Requires-Dist: fastapi==0.116.1; extra == "strict"
Requires-Dist: python-multipart==0.0.19; extra == "strict"
Requires-Dist: uvicorn==0.34.0; extra == "strict"
Provides-Extra: docs
Requires-Dist: sphinx==7.3.7; extra == "docs"
Requires-Dist: myst-parser==3.0.1; extra == "docs"
Requires-Dist: sphinx_autodoc_typehints==2.2.2; extra == "docs"
Requires-Dist: sphinx-book-theme==1.1.3; extra == "docs"
Requires-Dist: autodoc_pydantic==2.2.0; extra == "docs"
Requires-Dist: myst-nb==1.1.0; extra == "docs"
Requires-Dist: sphinx_design==0.6.0; extra == "docs"
Requires-Dist: sphinx-copybutton==0.5.2; extra == "docs"
Requires-Dist: ipywidgets==8.1.3; extra == "docs"
Requires-Dist: kaleido==0.2.1; extra == "docs"
Dynamic: license-file

![DARA logo](https://github.com/idocx/dara/blob/main/logo/dara.jpg?raw=true)

# DARA: Data-driven automated Rietveld analysis for phase search and refinement
[![GitHub licence](https://img.shields.io/github/license/idocx/dara)](https://github.com/idocx/dara/blob/main/LICENSE)
[![arXiv:2510.19667](https://img.shields.io/badge/arXiv-2510.19667-b31b1b?logo=arXiv&logoColor=white)](https://arxiv.org/abs/2510.19667)
[![Pytest](https://github.com/idocx/dara/actions/workflows/pytest.yaml/badge.svg?branch=main)](https://github.com/idocx/dara/actions/workflows/pytest.yaml)
[![Ruff Check](https://github.com/idocx/dara/actions/workflows/ruff.yaml/badge.svg?branch=main)](https://github.com/idocx/dara/actions/workflows/ruff.yaml)

Automated phase search with BGMN.
## Installation
```bash
pip install dara-xrd
```

For more details about installation, please refer to [installation guide](https://idocx.github.io/dara/install.html).

## Web Server
Dara ships with a browser-based web server for an out-of-box experience of Dara. To launch the webserver, run
```bash
dara server
```

Then you can open http://localhost:8898 to see an application that can submit, manage, and view jobs.


## Documentation
For more details about usage, please refer to the [documentation](https://idocx.github.io/dara/).

## Citation
If you use DARA in your research, please consider citing the following paper:

```
@article{doi:10.1021/acs.chemmater.5c02820,
  author = {Fei, Yuxing and McDermott, Matthew J. and Rom, Christopher L. and Wang, Shilong and Ceder, Gerbrand},
  title = {Dara: Automated Multiple-Hypothesis Phase Identification and Refinement from Powder X-ray Diffraction},
  journal = {Chemistry of Materials},
  volume = {38},
  number = {3},
  pages = {1364-1376},
  year = {2026},
  doi = {10.1021/acs.chemmater.5c02820},
  url = {https://doi.org/10.1021/acs.chemmater.5c02820},
  eprint = {https://doi.org/10.1021/acs.chemmater.5c02820}
}
```
