Metadata-Version: 2.4
Name: soundevent
Version: 2.6.5
Summary: soundevent is an open-source Python package for the computational biocoustic community, providing standardized tools for sound event analysis and data management.
Author-email: Santiago Martinez <santiago.balvanera.20@ucl.ac.uk>
License: MIT
License-File: LICENSE
Requires-Python: >=3.9
Requires-Dist: email-validator>=2.0
Requires-Dist: pydantic>=2.0
Provides-Extra: all
Requires-Dist: crowsetta<5.0,>=4.0.0.post2; extra == 'all'
Requires-Dist: cython>=0.29.36; extra == 'all'
Requires-Dist: matplotlib>=3.7.3; extra == 'all'
Requires-Dist: numpy<2.0; extra == 'all'
Requires-Dist: pandera<0.20; extra == 'all'
Requires-Dist: rasterio>=1.3.10; extra == 'all'
Requires-Dist: scikit-learn>=1.3.2; extra == 'all'
Requires-Dist: scipy>=1.6.1; extra == 'all'
Requires-Dist: shapely>=2.0.6; extra == 'all'
Requires-Dist: soundfile>=0.12.1; extra == 'all'
Requires-Dist: xarray>=0.20.2; extra == 'all'
Requires-Dist: xarray>=2023.1.0; extra == 'all'
Provides-Extra: audio
Requires-Dist: cython>=0.29.36; extra == 'audio'
Requires-Dist: scipy>=1.6.1; extra == 'audio'
Requires-Dist: soundfile>=0.12.1; extra == 'audio'
Requires-Dist: xarray>=0.20.2; extra == 'audio'
Provides-Extra: crowsetta
Requires-Dist: crowsetta<5.0,>=4.0.0.post2; extra == 'crowsetta'
Requires-Dist: numpy<2.0; extra == 'crowsetta'
Requires-Dist: pandera<0.20; extra == 'crowsetta'
Provides-Extra: evaluation
Requires-Dist: scikit-learn>=1.3.2; extra == 'evaluation'
Provides-Extra: geometry
Requires-Dist: rasterio>=1.3.10; extra == 'geometry'
Requires-Dist: shapely>=2.0.6; extra == 'geometry'
Requires-Dist: xarray>=2023.1.0; extra == 'geometry'
Provides-Extra: plot
Requires-Dist: matplotlib>=3.7.3; extra == 'plot'
Description-Content-Type: text/markdown

# soundevent

[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)
[![PyPI version](https://badge.fury.io/py/soundevent.svg)](https://badge.fury.io/py/soundevent)
![tests](https://github.com/mbsantiago/soundevent/actions/workflows/test.yml/badge.svg)
[![docs](https://github.com/mbsantiago/soundevent/actions/workflows/docs.yml/badge.svg)](https://mbsantiago.github.io/soundevent/)
![Python 3.9 +](https://img.shields.io/badge/python->=_3.9-blue.svg)
![Static Badge](https://img.shields.io/badge/formatting-black-black)
[![codecov](https://codecov.io/gh/mbsantiago/soundevent/branch/main/graph/badge.svg?token=42kVE87avA)](https://codecov.io/gh/mbsantiago/soundevent)

> **Warning** This package is under active development, use with caution.

`soundevent` is an open-source Python package that aims to support the
computational biocoustic community in developing well-tested, coherent, and
standardized software tools for bioacoustic analysis. The main goal of the
package is to provide a flexible yet consistent definition of what a sound event
is in a computational sense, along with a set of tools to easily work with this
definition. The package comprises three key components:

## Main features

### 1. Data Schemas for Bioacoustic Analysis

The `soundevent` package introduces several
[data schemas](https://mbsantiago.github.io/soundevent/data_schemas/) designed
to conceptualize and standardize recurring objects in bioacoustic analysis.
These data schemas establish relationships between various concepts and define
the attributes each object possesses. They provide flexibility to cover a broad
spectrum of use cases in bioacoustic analysis while incorporating data
validation mechanisms to ensure stored information is both valid and meaningful.
Notably, the package defines schemas related to sound events, including user
annotations and model predictions.

### 2. Serialization, Storage, and Reading Functions

To promote standardized data formats for storing annotated datasets and other
information about sounds in recordings, the `soundevent` package provides
[several functions](https://mbsantiago.github.io/soundevent/generated/gallery/1_saving_and_loading/)
for serialization, storage, and reading of the different data classes offered.
These functions enable easy sharing of information about common objects in
bioacoustic research. By employing a consistent data format, researchers can
exchange data more efficiently and collaborate seamlessly.

### 3. Handling Functions for Sound Events

The `soundevent` package also includes a variety of functions that facilitate
the handling of sound event objects. These functions serve multiple purposes,
such as matching sound events for model prediction evaluation, transforming
sound events, and managing metadata and labels. By offering a comprehensive set
of handling functions, the package aims to streamline the analysis workflow for
bioacoustic researchers, providing them with powerful tools to manipulate and
extract insights from their data.

## Installation

You can install `soundevent` using pip:

```{shell}
pip install soundevent
```

## Documentation

For detailed information on how to use the package, please refer to the
[documentation](https://mbsantiago.github.io/soundevent/).

## Example Usage

To see practical examples of how to use soundevent, you can explore the
collection of examples provided in the
[documentation's gallery](https://mbsantiago.github.io/soundevent/generated/gallery/).

## Contributing

We welcome contributions from the community to make `soundevent` even better. If
you would like to contribute, please refer to the
[contribution guidelines](CONTRIBUTING.md).

## License

`soundevent` is released under the MIT License.
