crowsetta-5.0.0rc2
توضیحات
A Python tool to work with any format for annotating animal vocalizations and bioacoustics data
| ویژگی | مقدار |
|---|---|
| سیستم عامل | - |
| نام فایل | crowsetta-5.0.0rc2 |
| نام | crowsetta |
| نسخه کتابخانه | 5.0.0rc2 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | - |
| ایمیل نویسنده | David Nicholson <nickledave@users.noreply.github.com> |
| آدرس صفحه اصلی | - |
| آدرس اینترنتی | https://pypi.org/project/crowsetta/ |
| مجوز | - |
<br>
<div align="center">
<img src="https://github.com/vocalpy/crowsetta/blob/main/doc/_static/crowsetta-primary-logo.png?raw=True" width="400">
</div>
<hr>
## A Python tool to work with any format for annotating animal vocalizations and bioacoustics data
[](https://www.repostatus.org/#active)
[](https://github.com/vocalpy/crowsetta/actions)
[](https://crowsetta.readthedocs.io/en/latest/?badge=latest)
[](https://zenodo.org/badge/latestdoi/159904494)
[](https://badge.fury.io/py/crowsetta)
[](https://img.shields.io/pypi/pyversions/crowsetta)
[](https://codecov.io/gh/vocalpy/crowsetta)
<!-- ALL-CONTRIBUTORS-BADGE:START - Do not remove or modify this section -->
[](#contributors-)
<!-- ALL-CONTRIBUTORS-BADGE:END -->
crowsetta provides a Pythonic way to work with annotation formats
for animal vocalizations and bioacoustics data.
These formats are used, for example, by
applications that enable users to annotate audio and/or spectrograms.
Such annotations typically include the times when sound events start and stop,
and labels that assign each sound to some set of classes
chosen by the annotator.
crowsetta has built-in support for many widely used
[formats](https://crowsetta.readthedocs.io/en/latest/formats/index.html),
such as
[Audacity label tracks](https://crowsetta.readthedocs.io/en/latest/formats/seq/aud-txt.html#aud-txt),
[Praat .TextGrid files](https://crowsetta.readthedocs.io/en/latest/formats/seq/textgrid.html#textgrid),
and [Raven .txt files](https://crowsetta.readthedocs.io/en/latest/formats/bbox/raven.html#raven).
---
<img align="left"
width="600"
alt="example spectrogram showing Bengalese finch song with Praat TextGrid annotations indicated as segments underneath"
src="https://github.com/vocalpy/crowsetta/blob/main/doc/_static/example-textgrid-for-index.png?raw=True">
Spectrogram of the song of a Bengalese finch
with syllables annotated as segments underneath.
Annotations parsed by crowsetta
from a file in the Praat .TextGrid format.
Example song from
[Bengalese finch song dataset](https://osf.io/r6paq/),
Tachibana and Morita 2021, adapted under
CC-By-4.0 License.
<br>
<br>
---
<img align="left"
width="600"
alt="example spectrogram from field recording with Raven annotations of birdsong indicated as rectangular bounding boxes"
src="https://github.com/vocalpy/crowsetta/blob/main/doc/_static/example-raven-for-index.png?raw=True">
Spectrogram of a field recording
with annotations of songs of different bird species
indicated as bounding boxes.
Annotations parsed by crowsetta
from a file in the
[Raven Selection Table](https://crowsetta.readthedocs.io/en/latest/formats/bbox/raven.html#raven)
format.
Example song from
["An annotated set of audio recordings of Eastern North American birds containing frequency, time, and species information"](https://esajournals.onlinelibrary.wiley.com/doi/full/10.1002/ecy.3329),
Chronister et al., 2021, adapted under
CC0 1.0 License.
---
Who would want to use crowsetta?
Anyone that works with animal vocalizations
or other bioacoustics data that is annotated in some way.
Maybe you are a neuroscientist trying to figure out how songbirds learn their song,
or why mice emit ultrasonic calls. Or maybe you're an ecologist studying dialects of finches
distributed across Asia, or maybe you are a linguist studying accents in the
Caribbean, or a speech pathologist looking for phonetic changes that indicate early onset
Alzheimer's disease. crowsetta makes it easier for you to work with
your annotations in Python, regardless of the format.
## Features
* take advantage of built-in support
for many widely used
[formats](https://crowsetta.readthedocs.io/en/latest/formats/index.html),
such as
[Audacity label tracks](https://crowsetta.readthedocs.io/en/latest/formats/seq/aud-txt.html#aud-txt),
[Praat .TextGrid files](https://crowsetta.readthedocs.io/en/latest/formats/seq/textgrid.html#textgrid),
and [Raven .txt files](https://crowsetta.readthedocs.io/en/latest/formats/bbox/raven.html#raven).
* work with any format by remembering just one class:
`annot = crowsetta.Transcriber(format='format').from_file('annotations.ext')`
- no need to remember different functions for different formats
* when needed, use classes that represent the formats
to write readable scripts and libraries
* convert annotations to common file formats like `.csv`
that anyone can work with
* work with custom formats that are not built in to `crowsetta`
by writing simple classes, leveraging abstractions
that can represent a wide array of annotation formats
For examples of these features, please see: https://crowsetta.readthedocs.io/en/latest/index.html#features
## Getting Started
### Installation
#### with `pip`
```console
$ pip install crowsetta
```
#### with `conda`
```console
$ conda install crowsetta -c conda-forge
```
### Usage
If you are new to crowsetta, start with
[tutorial](https://crowsetta.readthedocs.io/en/latest/tutorial.html).
For vignettes showing how to use crowsetta for various tasks,
such as working with your own annotation format,
please see the [how-to](https://crowsetta.readthedocs.io/en/latest/howto.html)
section.
## Project Information
### Background
crowsetta was developed for two libraries:
- `hybrid-vocal-classifier` <https://github.com/vocalpy/hybrid-vocal-classifier>
- `vak` <https://github.com/vocalpy/vak>
### Support
To report a bug or request a feature (such as a new annotation format),
please use the issue tracker on GitHub:
<https://github.com/vocalpy/crowsetta/issues>
To ask a question about crowsetta, discuss its development,
or share how you are using it,
please start a new topic on the VocalPy forum
with the crowsetta tag:
<https://forum.vocalpy.org/>
### Contribute
#### Code of conduct
Please note that this project is released with a [Contributor Code of Conduct](./CODE_OF_CONDUCT.md).
By participating in this project you agree to abide by its terms.
#### Contributing Guidelines
Below we provide some quick links,
but you can learn more about how you can help and give feedback
by reading our [Contributing Guide](./CONTRIBUTING.md).
To ask a question about crowsetta, discuss its development,
or share how you are using it,
please start a new "Q&A" topic on the VocalPy forum
with the crowsetta tag:
<https://forum.vocalpy.org/>
To report a bug, or to request a feature,
please use the issue tracker on GitHub:
<https://github.com/vocalpy/crowsetta/issues>
### CHANGELOG
You can see project history and work in progress in the [CHANGELOG](./doc/CHANGELOG.md)
### License
The project is licensed under the [BSD license](./LICENSE).
### Citation
If you use crowsetta, please cite the DOI:
[](https://zenodo.org/badge/latestdoi/159904494)
## Contributors ✨
Thanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):
<!-- ALL-CONTRIBUTORS-LIST:START - Do not remove or modify this section -->
<!-- prettier-ignore-start -->
<!-- markdownlint-disable -->
<table>
<tbody>
<tr>
<td align="center" valign="top" width="14.28%"><a href="http://tessarhinehart.com"><img src="https://avatars.githubusercontent.com/u/27306428?v=4?s=100" width="100px;" alt="Tessa Rhinehart"/><br /><sub><b>Tessa Rhinehart</b></sub></a><br /><a href="https://github.com/vocalpy/crowsetta/commits?author=rhine3" title="Documentation">📖</a> <a href="https://github.com/vocalpy/crowsetta/issues?q=author%3Arhine3" title="Bug reports">🐛</a> <a href="#userTesting-rhine3" title="User Testing">📓</a> <a href="#ideas-rhine3" title="Ideas, Planning, & Feedback">🤔</a></td>
<td align="center" valign="top" width="14.28%"><a href="https://github.com/shaupert"><img src="https://avatars.githubusercontent.com/u/43136040?v=4?s=100" width="100px;" alt="Sylvain HAUPERT"/><br /><sub><b>Sylvain HAUPERT</b></sub></a><br /><a href="https://github.com/vocalpy/crowsetta/commits?author=shaupert" title="Code">💻</a> <a href="#ideas-shaupert" title="Ideas, Planning, & Feedback">🤔</a> <a href="#userTesting-shaupert" title="User Testing">📓</a></td>
<td align="center" valign="top" width="14.28%"><a href="https://github.com/YannickJadoul"><img src="https://avatars.githubusercontent.com/u/8025744?v=4?s=100" width="100px;" alt="Yannick Jadoul"/><br /><sub><b>Yannick Jadoul</b></sub></a><br /><a href="#ideas-YannickJadoul" title="Ideas, Planning, & Feedback">🤔</a> <a href="https://github.com/vocalpy/crowsetta/issues?q=author%3AYannickJadoul" title="Bug reports">🐛</a> <a href="https://github.com/vocalpy/crowsetta/commits?author=YannickJadoul" title="Documentation">📖</a> <a href="#userTesting-YannickJadoul" title="User Testing">📓</a></td>
</tr>
</tbody>
</table>
<!-- markdownlint-restore -->
<!-- prettier-ignore-end -->
<!-- ALL-CONTRIBUTORS-LIST:END -->
This project follows the [all-contributors](https://github.com/all-contributors/all-contributors) specification. Contributions of any kind welcome!
نیازمندی
| مقدار | نام |
|---|---|
| =1.4. | appdirs |
| =19.3. | attrs |
| =0.3. | evfuncs |
| =0.3. | birdsong-recognition-dataset |
| =5.7. | importlib-resources |
| =1.21. | numpy |
| - | pandas |
| - | pandera |
| =1.7. | scipy |
| =0.12. | SoundFile |
| =23.1. | black |
| est | crowsetta[doc, |
| =6.0. | flake8 |
| - | flit |
| =5.12. | isort |
| =2.1. | pycln |
| - | twine |
| - | ipython |
| =3.0. | jupyterlab |
| =1.13. | jupytext |
| =0.9. | librosa |
| =0.15. | myst-nb |
| =0.0. | osfclient |
| =0.2. | pyprojroot |
| =0.11. | seaborn |
| =3.4. | Sphinx |
| - | sphinx-autobuild |
| =0.3. | sphinx-book-theme |
| =0.4. | sphinx-copybutton |
| =0.2. | sphinx-design |
| =0.5. | sphinxext-opengraph |
| - | sphinx-tabs |
| =6.2. | pytest |
| =2.12. | pytest-cov |
| =3.2. | pytest-xdist |
زبان مورد نیاز
| مقدار | نام |
|---|---|
| >=3.9 | Python |
نحوه نصب
نصب پکیج whl crowsetta-5.0.0rc2:
pip install crowsetta-5.0.0rc2.whl
نصب پکیج tar.gz crowsetta-5.0.0rc2:
pip install crowsetta-5.0.0rc2.tar.gz