Metadata-Version: 2.4
Name: qdiv
Version: 4.0.0
Summary: Microbial diversity analysis toolkit
Author-email: Oskar Modin <omvatten@gmail.com>
License: BSD 3-Clause License
        
        Copyright (c) 2026, Oskar Modin
        
        All rights reserved.
        
        Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
        
        1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
        
        2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.
        
        3. Neither the name of the copyright holder nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission.
        
        THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS “AS IS” AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
Requires-Python: >=3.8
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: pandas>=1.3
Requires-Dist: numpy>=1.21
Requires-Dist: matplotlib>=3.5
Requires-Dist: tqdm>=4.60
Provides-Extra: accelerate
Requires-Dist: numba>=0.57; extra == "accelerate"
Provides-Extra: docs
Requires-Dist: sphinx>=8; extra == "docs"
Requires-Dist: sphinx-rtd-theme>=3; extra == "docs"
Requires-Dist: myst-parser>=4; extra == "docs"
Requires-Dist: nbsphinx>=0.9.5; extra == "docs"
Dynamic: license-file

# qdiv: Microbial Diversity Analysis Toolkit

**qdiv** is a Python toolkit for microbial diversity analysis, built around the robust and intuitive Hill number framework.

---

## Features
- Data Management: Load and validate data from multiple formats (CSV/TSV, FASTA, Newick). Functions for subsetting, rarefaction, merging, renaming, tree pruning, and more.

- Diversity analysis: Compute multiple alpha and beta diversity metrics based on the Hill number framework.

- Statistical methods: Integrate diversity metrics using the Hill number framework into null models (Raup–Crick, NRI, NTI), ordinations (PCoA, db-RDA), PERMANOVA, and Mantel tests.

- Visualization: Heatmaps, ordinations, and diversity plots, and more. 

---

## Installation
```bash
pip install qdiv
```

---

## Documentation
Full documentation is available at: [https://qdiv.readthedocs.io](https://qdiv.readthedocs.io)

---

## Licence
From version 4.0.0, qdiv is licensed under the https://opensource.org/licenses/BSD-3-Clause.
Previous versions were released under the GNU General Public License v3.0 (GPL-3.0).
