birdnet-analyzer 2.2.0__tar.gz → 3.0.0__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (199) hide show
  1. birdnet_analyzer-3.0.0/MANIFEST.in +19 -0
  2. {birdnet_analyzer-2.2.0 → birdnet_analyzer-3.0.0}/PKG-INFO +75 -24
  3. {birdnet_analyzer-2.2.0 → birdnet_analyzer-3.0.0}/README.md +35 -5
  4. birdnet_analyzer-3.0.0/birdnet_analyzer/__init__.py +24 -0
  5. birdnet_analyzer-3.0.0/birdnet_analyzer/analyze/__init__.py +20 -0
  6. birdnet_analyzer-3.0.0/birdnet_analyzer/analyze/cli.py +67 -0
  7. birdnet_analyzer-3.0.0/birdnet_analyzer/analyze/core.py +949 -0
  8. birdnet_analyzer-3.0.0/birdnet_analyzer/analyze/resume.py +341 -0
  9. {birdnet_analyzer-2.2.0 → birdnet_analyzer-3.0.0}/birdnet_analyzer/audio.py +123 -120
  10. birdnet_analyzer-3.0.0/birdnet_analyzer/base_models.py +119 -0
  11. birdnet_analyzer-3.0.0/birdnet_analyzer/cli.py +973 -0
  12. birdnet_analyzer-3.0.0/birdnet_analyzer/config.py +78 -0
  13. birdnet_analyzer-3.0.0/birdnet_analyzer/embeddings/__init__.py +3 -0
  14. birdnet_analyzer-3.0.0/birdnet_analyzer/embeddings/core.py +359 -0
  15. birdnet_analyzer-3.0.0/birdnet_analyzer/embeddings/upgrade.py +179 -0
  16. birdnet_analyzer-3.0.0/birdnet_analyzer/evaluation/__init__.py +465 -0
  17. {birdnet_analyzer-2.2.0 → birdnet_analyzer-3.0.0}/birdnet_analyzer/evaluation/assessment/metrics.py +177 -116
  18. birdnet_analyzer-3.0.0/birdnet_analyzer/evaluation/assessment/performance_assessor.py +455 -0
  19. {birdnet_analyzer-2.2.0 → birdnet_analyzer-3.0.0}/birdnet_analyzer/evaluation/assessment/plotting.py +89 -109
  20. birdnet_analyzer-3.0.0/birdnet_analyzer/evaluation/errors.py +14 -0
  21. birdnet_analyzer-3.0.0/birdnet_analyzer/evaluation/preprocessing/data_processor.py +1025 -0
  22. birdnet_analyzer-3.0.0/birdnet_analyzer/evaluation/preprocessing/utils.py +522 -0
  23. birdnet_analyzer-3.0.0/birdnet_analyzer/gui/__init__.py +39 -0
  24. birdnet_analyzer-3.0.0/birdnet_analyzer/gui/__main__.py +7 -0
  25. birdnet_analyzer-3.0.0/birdnet_analyzer/gui/analysis.py +230 -0
  26. birdnet_analyzer-3.0.0/birdnet_analyzer/gui/assets/fonts/OFL.txt +93 -0
  27. birdnet_analyzer-3.0.0/birdnet_analyzer/gui/assets/fonts/SourceSans3-SemiBold.woff2 +0 -0
  28. birdnet_analyzer-3.0.0/birdnet_analyzer/gui/assets/gui.css +221 -0
  29. {birdnet_analyzer-2.2.0 → birdnet_analyzer-3.0.0}/birdnet_analyzer/gui/assets/gui.js +53 -9
  30. birdnet_analyzer-3.0.0/birdnet_analyzer/gui/embeddings.py +402 -0
  31. birdnet_analyzer-3.0.0/birdnet_analyzer/gui/evaluation.py +2064 -0
  32. birdnet_analyzer-3.0.0/birdnet_analyzer/gui/localization.py +75 -0
  33. birdnet_analyzer-3.0.0/birdnet_analyzer/gui/multi_file.py +458 -0
  34. birdnet_analyzer-3.0.0/birdnet_analyzer/gui/presets.py +423 -0
  35. {birdnet_analyzer-2.2.0 → birdnet_analyzer-3.0.0}/birdnet_analyzer/gui/review.py +183 -61
  36. birdnet_analyzer-3.0.0/birdnet_analyzer/gui/search.py +572 -0
  37. birdnet_analyzer-3.0.0/birdnet_analyzer/gui/segments.py +324 -0
  38. birdnet_analyzer-3.0.0/birdnet_analyzer/gui/single_file.py +513 -0
  39. birdnet_analyzer-3.0.0/birdnet_analyzer/gui/species.py +149 -0
  40. birdnet_analyzer-3.0.0/birdnet_analyzer/gui/state.py +389 -0
  41. birdnet_analyzer-3.0.0/birdnet_analyzer/gui/train.py +808 -0
  42. birdnet_analyzer-3.0.0/birdnet_analyzer/gui/utils.py +2839 -0
  43. birdnet_analyzer-3.0.0/birdnet_analyzer/index_paths.py +114 -0
  44. birdnet_analyzer-3.0.0/birdnet_analyzer/lang/de.json +554 -0
  45. birdnet_analyzer-3.0.0/birdnet_analyzer/lang/en.json +554 -0
  46. birdnet_analyzer-3.0.0/birdnet_analyzer/lang/fi.json +554 -0
  47. birdnet_analyzer-3.0.0/birdnet_analyzer/lang/fr.json +554 -0
  48. birdnet_analyzer-3.0.0/birdnet_analyzer/lang/id.json +554 -0
  49. birdnet_analyzer-3.0.0/birdnet_analyzer/lang/pt-br.json +554 -0
  50. birdnet_analyzer-3.0.0/birdnet_analyzer/lang/ru.json +554 -0
  51. birdnet_analyzer-3.0.0/birdnet_analyzer/lang/se.json +554 -0
  52. birdnet_analyzer-3.0.0/birdnet_analyzer/lang/tlh.json +554 -0
  53. birdnet_analyzer-3.0.0/birdnet_analyzer/lang/zh_CN.json +554 -0
  54. birdnet_analyzer-3.0.0/birdnet_analyzer/lang/zh_TW.json +554 -0
  55. birdnet_analyzer-3.0.0/birdnet_analyzer/logs.py +137 -0
  56. birdnet_analyzer-3.0.0/birdnet_analyzer/model.py +1000 -0
  57. birdnet_analyzer-3.0.0/birdnet_analyzer/model_store.py +177 -0
  58. birdnet_analyzer-3.0.0/birdnet_analyzer/model_utils.py +756 -0
  59. birdnet_analyzer-3.0.0/birdnet_analyzer/params.py +251 -0
  60. birdnet_analyzer-3.0.0/birdnet_analyzer/progress.py +81 -0
  61. birdnet_analyzer-3.0.0/birdnet_analyzer/py.typed +0 -0
  62. birdnet_analyzer-3.0.0/birdnet_analyzer/search/core.py +157 -0
  63. birdnet_analyzer-3.0.0/birdnet_analyzer/search/utils.py +157 -0
  64. birdnet_analyzer-3.0.0/birdnet_analyzer/segments/cli.py +30 -0
  65. birdnet_analyzer-3.0.0/birdnet_analyzer/segments/core.py +124 -0
  66. birdnet_analyzer-3.0.0/birdnet_analyzer/segments/utils.py +628 -0
  67. birdnet_analyzer-3.0.0/birdnet_analyzer/settings.py +922 -0
  68. {birdnet_analyzer-2.2.0 → birdnet_analyzer-3.0.0}/birdnet_analyzer/species/cli.py +0 -2
  69. birdnet_analyzer-3.0.0/birdnet_analyzer/species/core.py +69 -0
  70. birdnet_analyzer-3.0.0/birdnet_analyzer/species/utils.py +35 -0
  71. birdnet_analyzer-3.0.0/birdnet_analyzer/train/cli.py +56 -0
  72. birdnet_analyzer-3.0.0/birdnet_analyzer/train/core.py +158 -0
  73. birdnet_analyzer-3.0.0/birdnet_analyzer/train/custom_models.py +72 -0
  74. birdnet_analyzer-3.0.0/birdnet_analyzer/train/errors.py +17 -0
  75. birdnet_analyzer-3.0.0/birdnet_analyzer/train/utils.py +1553 -0
  76. birdnet_analyzer-3.0.0/birdnet_analyzer/utils.py +560 -0
  77. {birdnet_analyzer-2.2.0 → birdnet_analyzer-3.0.0}/birdnet_analyzer.egg-info/PKG-INFO +75 -24
  78. {birdnet_analyzer-2.2.0 → birdnet_analyzer-3.0.0}/birdnet_analyzer.egg-info/SOURCES.txt +22 -43
  79. {birdnet_analyzer-2.2.0 → birdnet_analyzer-3.0.0}/birdnet_analyzer.egg-info/entry_points.txt +2 -2
  80. birdnet_analyzer-3.0.0/birdnet_analyzer.egg-info/requires.txt +62 -0
  81. {birdnet_analyzer-2.2.0 → birdnet_analyzer-3.0.0}/pyproject.toml +53 -22
  82. birdnet_analyzer-2.2.0/birdnet_analyzer/__init__.py +0 -9
  83. birdnet_analyzer-2.2.0/birdnet_analyzer/analyze/__init__.py +0 -19
  84. birdnet_analyzer-2.2.0/birdnet_analyzer/analyze/cli.py +0 -30
  85. birdnet_analyzer-2.2.0/birdnet_analyzer/analyze/core.py +0 -268
  86. birdnet_analyzer-2.2.0/birdnet_analyzer/analyze/utils.py +0 -700
  87. birdnet_analyzer-2.2.0/birdnet_analyzer/cli.py +0 -755
  88. birdnet_analyzer-2.2.0/birdnet_analyzer/config.py +0 -252
  89. birdnet_analyzer-2.2.0/birdnet_analyzer/embeddings/__init__.py +0 -3
  90. birdnet_analyzer-2.2.0/birdnet_analyzer/embeddings/core.py +0 -88
  91. birdnet_analyzer-2.2.0/birdnet_analyzer/embeddings/utils.py +0 -263
  92. birdnet_analyzer-2.2.0/birdnet_analyzer/evaluation/__init__.py +0 -189
  93. birdnet_analyzer-2.2.0/birdnet_analyzer/evaluation/assessment/performance_assessor.py +0 -364
  94. birdnet_analyzer-2.2.0/birdnet_analyzer/evaluation/preprocessing/data_processor.py +0 -631
  95. birdnet_analyzer-2.2.0/birdnet_analyzer/evaluation/preprocessing/utils.py +0 -98
  96. birdnet_analyzer-2.2.0/birdnet_analyzer/gui/__init__.py +0 -19
  97. birdnet_analyzer-2.2.0/birdnet_analyzer/gui/__main__.py +0 -3
  98. birdnet_analyzer-2.2.0/birdnet_analyzer/gui/analysis.py +0 -179
  99. birdnet_analyzer-2.2.0/birdnet_analyzer/gui/assets/gui.css +0 -37
  100. birdnet_analyzer-2.2.0/birdnet_analyzer/gui/embeddings.py +0 -653
  101. birdnet_analyzer-2.2.0/birdnet_analyzer/gui/evaluation.py +0 -801
  102. birdnet_analyzer-2.2.0/birdnet_analyzer/gui/localization.py +0 -75
  103. birdnet_analyzer-2.2.0/birdnet_analyzer/gui/multi_file.py +0 -267
  104. birdnet_analyzer-2.2.0/birdnet_analyzer/gui/segments.py +0 -239
  105. birdnet_analyzer-2.2.0/birdnet_analyzer/gui/settings.py +0 -149
  106. birdnet_analyzer-2.2.0/birdnet_analyzer/gui/single_file.py +0 -264
  107. birdnet_analyzer-2.2.0/birdnet_analyzer/gui/species.py +0 -95
  108. birdnet_analyzer-2.2.0/birdnet_analyzer/gui/train.py +0 -687
  109. birdnet_analyzer-2.2.0/birdnet_analyzer/gui/utils.py +0 -805
  110. birdnet_analyzer-2.2.0/birdnet_analyzer/labels/V2.4/BirdNET_GLOBAL_6K_V2.4_Labels_af.txt +0 -6522
  111. birdnet_analyzer-2.2.0/birdnet_analyzer/labels/V2.4/BirdNET_GLOBAL_6K_V2.4_Labels_ar.txt +0 -6522
  112. birdnet_analyzer-2.2.0/birdnet_analyzer/labels/V2.4/BirdNET_GLOBAL_6K_V2.4_Labels_bg.txt +0 -6522
  113. birdnet_analyzer-2.2.0/birdnet_analyzer/labels/V2.4/BirdNET_GLOBAL_6K_V2.4_Labels_ca.txt +0 -6522
  114. birdnet_analyzer-2.2.0/birdnet_analyzer/labels/V2.4/BirdNET_GLOBAL_6K_V2.4_Labels_cs.txt +0 -6522
  115. birdnet_analyzer-2.2.0/birdnet_analyzer/labels/V2.4/BirdNET_GLOBAL_6K_V2.4_Labels_da.txt +0 -6522
  116. birdnet_analyzer-2.2.0/birdnet_analyzer/labels/V2.4/BirdNET_GLOBAL_6K_V2.4_Labels_de.txt +0 -6522
  117. birdnet_analyzer-2.2.0/birdnet_analyzer/labels/V2.4/BirdNET_GLOBAL_6K_V2.4_Labels_el.txt +0 -6522
  118. birdnet_analyzer-2.2.0/birdnet_analyzer/labels/V2.4/BirdNET_GLOBAL_6K_V2.4_Labels_en_uk.txt +0 -6522
  119. birdnet_analyzer-2.2.0/birdnet_analyzer/labels/V2.4/BirdNET_GLOBAL_6K_V2.4_Labels_es.txt +0 -6522
  120. birdnet_analyzer-2.2.0/birdnet_analyzer/labels/V2.4/BirdNET_GLOBAL_6K_V2.4_Labels_fi.txt +0 -6522
  121. birdnet_analyzer-2.2.0/birdnet_analyzer/labels/V2.4/BirdNET_GLOBAL_6K_V2.4_Labels_fr.txt +0 -6522
  122. birdnet_analyzer-2.2.0/birdnet_analyzer/labels/V2.4/BirdNET_GLOBAL_6K_V2.4_Labels_he.txt +0 -6522
  123. birdnet_analyzer-2.2.0/birdnet_analyzer/labels/V2.4/BirdNET_GLOBAL_6K_V2.4_Labels_hr.txt +0 -6522
  124. birdnet_analyzer-2.2.0/birdnet_analyzer/labels/V2.4/BirdNET_GLOBAL_6K_V2.4_Labels_hu.txt +0 -6522
  125. birdnet_analyzer-2.2.0/birdnet_analyzer/labels/V2.4/BirdNET_GLOBAL_6K_V2.4_Labels_in.txt +0 -6522
  126. birdnet_analyzer-2.2.0/birdnet_analyzer/labels/V2.4/BirdNET_GLOBAL_6K_V2.4_Labels_is.txt +0 -6522
  127. birdnet_analyzer-2.2.0/birdnet_analyzer/labels/V2.4/BirdNET_GLOBAL_6K_V2.4_Labels_it.txt +0 -6522
  128. birdnet_analyzer-2.2.0/birdnet_analyzer/labels/V2.4/BirdNET_GLOBAL_6K_V2.4_Labels_ja.txt +0 -6522
  129. birdnet_analyzer-2.2.0/birdnet_analyzer/labels/V2.4/BirdNET_GLOBAL_6K_V2.4_Labels_ko.txt +0 -6522
  130. birdnet_analyzer-2.2.0/birdnet_analyzer/labels/V2.4/BirdNET_GLOBAL_6K_V2.4_Labels_lt.txt +0 -6522
  131. birdnet_analyzer-2.2.0/birdnet_analyzer/labels/V2.4/BirdNET_GLOBAL_6K_V2.4_Labels_ml.txt +0 -6522
  132. birdnet_analyzer-2.2.0/birdnet_analyzer/labels/V2.4/BirdNET_GLOBAL_6K_V2.4_Labels_nl.txt +0 -6522
  133. birdnet_analyzer-2.2.0/birdnet_analyzer/labels/V2.4/BirdNET_GLOBAL_6K_V2.4_Labels_no.txt +0 -6522
  134. birdnet_analyzer-2.2.0/birdnet_analyzer/labels/V2.4/BirdNET_GLOBAL_6K_V2.4_Labels_pl.txt +0 -6522
  135. birdnet_analyzer-2.2.0/birdnet_analyzer/labels/V2.4/BirdNET_GLOBAL_6K_V2.4_Labels_pt_BR.txt +0 -6522
  136. birdnet_analyzer-2.2.0/birdnet_analyzer/labels/V2.4/BirdNET_GLOBAL_6K_V2.4_Labels_pt_PT.txt +0 -6522
  137. birdnet_analyzer-2.2.0/birdnet_analyzer/labels/V2.4/BirdNET_GLOBAL_6K_V2.4_Labels_ro.txt +0 -6522
  138. birdnet_analyzer-2.2.0/birdnet_analyzer/labels/V2.4/BirdNET_GLOBAL_6K_V2.4_Labels_ru.txt +0 -6522
  139. birdnet_analyzer-2.2.0/birdnet_analyzer/labels/V2.4/BirdNET_GLOBAL_6K_V2.4_Labels_sk.txt +0 -6522
  140. birdnet_analyzer-2.2.0/birdnet_analyzer/labels/V2.4/BirdNET_GLOBAL_6K_V2.4_Labels_sl.txt +0 -6522
  141. birdnet_analyzer-2.2.0/birdnet_analyzer/labels/V2.4/BirdNET_GLOBAL_6K_V2.4_Labels_sr.txt +0 -6522
  142. birdnet_analyzer-2.2.0/birdnet_analyzer/labels/V2.4/BirdNET_GLOBAL_6K_V2.4_Labels_sv.txt +0 -6522
  143. birdnet_analyzer-2.2.0/birdnet_analyzer/labels/V2.4/BirdNET_GLOBAL_6K_V2.4_Labels_th.txt +0 -6522
  144. birdnet_analyzer-2.2.0/birdnet_analyzer/labels/V2.4/BirdNET_GLOBAL_6K_V2.4_Labels_tr.txt +0 -6522
  145. birdnet_analyzer-2.2.0/birdnet_analyzer/labels/V2.4/BirdNET_GLOBAL_6K_V2.4_Labels_uk.txt +0 -6522
  146. birdnet_analyzer-2.2.0/birdnet_analyzer/labels/V2.4/BirdNET_GLOBAL_6K_V2.4_Labels_zh.txt +0 -6522
  147. birdnet_analyzer-2.2.0/birdnet_analyzer/lang/de.json +0 -353
  148. birdnet_analyzer-2.2.0/birdnet_analyzer/lang/en.json +0 -353
  149. birdnet_analyzer-2.2.0/birdnet_analyzer/lang/fi.json +0 -353
  150. birdnet_analyzer-2.2.0/birdnet_analyzer/lang/fr.json +0 -353
  151. birdnet_analyzer-2.2.0/birdnet_analyzer/lang/id.json +0 -353
  152. birdnet_analyzer-2.2.0/birdnet_analyzer/lang/pt-br.json +0 -353
  153. birdnet_analyzer-2.2.0/birdnet_analyzer/lang/ru.json +0 -353
  154. birdnet_analyzer-2.2.0/birdnet_analyzer/lang/se.json +0 -353
  155. birdnet_analyzer-2.2.0/birdnet_analyzer/lang/tlh.json +0 -353
  156. birdnet_analyzer-2.2.0/birdnet_analyzer/lang/zh_TW.json +0 -353
  157. birdnet_analyzer-2.2.0/birdnet_analyzer/model.py +0 -1209
  158. birdnet_analyzer-2.2.0/birdnet_analyzer/search/core.py +0 -78
  159. birdnet_analyzer-2.2.0/birdnet_analyzer/search/utils.py +0 -104
  160. birdnet_analyzer-2.2.0/birdnet_analyzer/segments/cli.py +0 -13
  161. birdnet_analyzer-2.2.0/birdnet_analyzer/segments/core.py +0 -100
  162. birdnet_analyzer-2.2.0/birdnet_analyzer/segments/utils.py +0 -422
  163. birdnet_analyzer-2.2.0/birdnet_analyzer/species/core.py +0 -35
  164. birdnet_analyzer-2.2.0/birdnet_analyzer/species/utils.py +0 -73
  165. birdnet_analyzer-2.2.0/birdnet_analyzer/train/cli.py +0 -13
  166. birdnet_analyzer-2.2.0/birdnet_analyzer/train/core.py +0 -113
  167. birdnet_analyzer-2.2.0/birdnet_analyzer/train/utils.py +0 -878
  168. birdnet_analyzer-2.2.0/birdnet_analyzer/translate.py +0 -132
  169. birdnet_analyzer-2.2.0/birdnet_analyzer/utils.py +0 -425
  170. birdnet_analyzer-2.2.0/birdnet_analyzer.egg-info/requires.txt +0 -47
  171. birdnet_analyzer-2.2.0/tests/test_utils.py +0 -28
  172. {birdnet_analyzer-2.2.0 → birdnet_analyzer-3.0.0}/LICENSE +0 -0
  173. {birdnet_analyzer-2.2.0 → birdnet_analyzer-3.0.0}/birdnet_analyzer/analyze/__main__.py +0 -0
  174. {birdnet_analyzer-2.2.0 → birdnet_analyzer-3.0.0}/birdnet_analyzer/eBird_taxonomy_codes_2024E.json +0 -0
  175. {birdnet_analyzer-2.2.0 → birdnet_analyzer-3.0.0}/birdnet_analyzer/embeddings/__main__.py +0 -0
  176. {birdnet_analyzer-2.2.0 → birdnet_analyzer-3.0.0}/birdnet_analyzer/embeddings/cli.py +0 -0
  177. {birdnet_analyzer-2.2.0 → birdnet_analyzer-3.0.0}/birdnet_analyzer/evaluation/__main__.py +0 -0
  178. {birdnet_analyzer-2.2.0 → birdnet_analyzer-3.0.0}/birdnet_analyzer/evaluation/assessment/__init__.py +0 -0
  179. {birdnet_analyzer-2.2.0 → birdnet_analyzer-3.0.0}/birdnet_analyzer/evaluation/preprocessing/__init__.py +0 -0
  180. {birdnet_analyzer-2.2.0 → birdnet_analyzer-3.0.0}/birdnet_analyzer/gui/assets/arrow_down.svg +0 -0
  181. {birdnet_analyzer-2.2.0 → birdnet_analyzer-3.0.0}/birdnet_analyzer/gui/assets/arrow_left.svg +0 -0
  182. {birdnet_analyzer-2.2.0 → birdnet_analyzer-3.0.0}/birdnet_analyzer/gui/assets/arrow_right.svg +0 -0
  183. {birdnet_analyzer-2.2.0 → birdnet_analyzer-3.0.0}/birdnet_analyzer/gui/assets/arrow_up.svg +0 -0
  184. {birdnet_analyzer-2.2.0 → birdnet_analyzer-3.0.0}/birdnet_analyzer/gui/assets/img/birdnet-icon.ico +0 -0
  185. {birdnet_analyzer-2.2.0 → birdnet_analyzer-3.0.0}/birdnet_analyzer/gui/assets/img/birdnet_logo.png +0 -0
  186. {birdnet_analyzer-2.2.0 → birdnet_analyzer-3.0.0}/birdnet_analyzer/gui/assets/img/birdnet_logo_no_transparent.png +0 -0
  187. {birdnet_analyzer-2.2.0 → birdnet_analyzer-3.0.0}/birdnet_analyzer/gui/assets/img/clo-logo-bird.svg +0 -0
  188. {birdnet_analyzer-2.2.0 → birdnet_analyzer-3.0.0}/birdnet_analyzer/search/__init__.py +0 -0
  189. {birdnet_analyzer-2.2.0 → birdnet_analyzer-3.0.0}/birdnet_analyzer/search/__main__.py +0 -0
  190. {birdnet_analyzer-2.2.0 → birdnet_analyzer-3.0.0}/birdnet_analyzer/search/cli.py +0 -0
  191. {birdnet_analyzer-2.2.0 → birdnet_analyzer-3.0.0}/birdnet_analyzer/segments/__init__.py +0 -0
  192. {birdnet_analyzer-2.2.0 → birdnet_analyzer-3.0.0}/birdnet_analyzer/segments/__main__.py +0 -0
  193. {birdnet_analyzer-2.2.0 → birdnet_analyzer-3.0.0}/birdnet_analyzer/species/__init__.py +0 -0
  194. {birdnet_analyzer-2.2.0 → birdnet_analyzer-3.0.0}/birdnet_analyzer/species/__main__.py +0 -0
  195. {birdnet_analyzer-2.2.0 → birdnet_analyzer-3.0.0}/birdnet_analyzer/train/__init__.py +0 -0
  196. {birdnet_analyzer-2.2.0 → birdnet_analyzer-3.0.0}/birdnet_analyzer/train/__main__.py +0 -0
  197. {birdnet_analyzer-2.2.0 → birdnet_analyzer-3.0.0}/birdnet_analyzer.egg-info/dependency_links.txt +0 -0
  198. {birdnet_analyzer-2.2.0 → birdnet_analyzer-3.0.0}/birdnet_analyzer.egg-info/top_level.txt +0 -0
  199. {birdnet_analyzer-2.2.0 → birdnet_analyzer-3.0.0}/setup.cfg +0 -0
@@ -0,0 +1,19 @@
1
+ # What ends up in the sdist is governed mainly by the explicit
2
+ # `[tool.setuptools] packages` / `package-data` lists in pyproject.toml, not by this
3
+ # file. Verified by building an sdist with this file removed: docs/, .github/,
4
+ # Dockerfile, .gitmodules and the agent instruction files are all left out anyway.
5
+ # The one thing setuptools adds by itself is a top-level tests/ directory, so the
6
+ # prune below is the only load-bearing line here.
7
+ #
8
+ # The test suite is deliberately excluded: its audio fixtures come from the
9
+ # tests/data git submodule, which is not part of the distribution, so a shipped
10
+ # suite could not be run. Run the tests from a repository checkout instead
11
+ # (see CONTRIBUTING.md).
12
+ prune tests
13
+
14
+ # Belt and braces, in case a future setuptools widens its sdist defaults: keep the
15
+ # non-package trees, every dot-directory (.github/, .claude/, .cursor/, ...) and the
16
+ # usual editor/OS junk out regardless.
17
+ prune docs
18
+ prune .*/
19
+ global-exclude *~ *.py[cod] *.so .DS_Store
@@ -1,18 +1,28 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: birdnet_analyzer
3
- Version: 2.2.0
3
+ Version: 3.0.0
4
4
  Summary: BirdNET analyzer for scientific audio data processing and bird classification.
5
5
  Author: Stefan Kahl
6
6
  Maintainer: Josef Haupt, Max Mauermann
7
- License: MIT
8
- Project-URL: Homepage, https://birdnet.cornell.edu/birdnet
7
+ License-Expression: MIT
8
+ Project-URL: Homepage, https://birdnet.cornell.edu/
9
9
  Project-URL: Documentation, https://birdnet-team.github.io/BirdNET-Analyzer/
10
10
  Project-URL: Repository, https://github.com/birdnet-team/BirdNET-Analyzer
11
11
  Project-URL: Issues, https://github.com/birdnet-team/BirdNET-Analyzer/issues
12
12
  Project-URL: Download, https://github.com/birdnet-team/BirdNET-Analyzer/releases/latest
13
13
  Keywords: birdnet,birdnet-analyzer
14
+ Classifier: Programming Language :: Python
15
+ Classifier: Programming Language :: Python :: 3
14
16
  Classifier: Programming Language :: Python :: 3.11
17
+ Classifier: Programming Language :: Python :: 3.12
18
+ Classifier: Programming Language :: Python :: 3.13
15
19
  Classifier: Operating System :: OS Independent
20
+ Classifier: Operating System :: MacOS
21
+ Classifier: Operating System :: Microsoft :: Windows
22
+ Classifier: Operating System :: POSIX
23
+ Classifier: Operating System :: POSIX :: Linux
24
+ Classifier: Operating System :: POSIX :: BSD
25
+ Classifier: Operating System :: Unix
16
26
  Classifier: Topic :: Multimedia :: Sound/Audio :: Analysis
17
27
  Classifier: Topic :: Scientific/Engineering
18
28
  Classifier: Topic :: Scientific/Engineering :: Information Analysis
@@ -20,41 +30,52 @@ Classifier: Topic :: Scientific/Engineering :: Artificial Intelligence
20
30
  Requires-Python: >=3.11
21
31
  Description-Content-Type: text/markdown
22
32
  License-File: LICENSE
23
- Requires-Dist: librosa
24
- Requires-Dist: resampy
25
- Requires-Dist: tensorflow==2.15.1
26
- Requires-Dist: scikit-learn==1.6.1
33
+ Requires-Dist: librosa>=0.11
34
+ Requires-Dist: tensorflow>=2.20
35
+ Requires-Dist: keras
36
+ Requires-Dist: onnxruntime>=1.18.0
37
+ Requires-Dist: numpy
38
+ Requires-Dist: scipy
39
+ Requires-Dist: soundfile
40
+ Requires-Dist: scikit-learn
41
+ Requires-Dist: pyarrow; platform_system != "Darwin"
42
+ Requires-Dist: pyarrow>=22.0.0; platform_system == "Darwin"
27
43
  Requires-Dist: tqdm
28
44
  Requires-Dist: pandas
29
45
  Requires-Dist: matplotlib
46
+ Requires-Dist: birdnet>=1.6.0
47
+ Requires-Dist: truststore
30
48
  Provides-Extra: train
31
- Requires-Dist: keras-tuner; extra == "train"
32
- Provides-Extra: server
33
- Requires-Dist: bottle; extra == "server"
34
- Requires-Dist: requests; extra == "server"
49
+ Requires-Dist: optuna; extra == "train"
50
+ Requires-Dist: optuna-integration; extra == "train"
35
51
  Provides-Extra: gui
36
52
  Requires-Dist: birdnet-analyzer[embeddings,train]; extra == "gui"
37
- Requires-Dist: gradio==5.32.1; extra == "gui"
38
- Requires-Dist: pywebview; extra == "gui"
53
+ Requires-Dist: gradio==6.30.0; extra == "gui"
54
+ Requires-Dist: pywebview<7.0,>=6.1; extra == "gui"
39
55
  Requires-Dist: plotly[express]; extra == "gui"
56
+ Requires-Dist: pillow; extra == "gui"
57
+ Requires-Dist: psutil; extra == "gui"
40
58
  Requires-Dist: pywin32; platform_system == "Windows" and extra == "gui"
41
59
  Requires-Dist: qtpy; platform_system == "Linux" and extra == "gui"
42
- Requires-Dist: PyGObject; platform_system == "Linux" and extra == "gui"
60
+ Requires-Dist: PySide6; platform_system == "Linux" and extra == "gui"
43
61
  Provides-Extra: embeddings
44
- Requires-Dist: perch-hoplite; extra == "embeddings"
62
+ Requires-Dist: perch-hoplite<2.0.0,>=1.0.1; extra == "embeddings"
63
+ Requires-Dist: ml-collections; extra == "embeddings"
45
64
  Provides-Extra: all
46
- Requires-Dist: birdnet-analyzer[gui,server]; extra == "all"
65
+ Requires-Dist: birdnet-analyzer[gui]; extra == "all"
47
66
  Provides-Extra: docs
48
- Requires-Dist: sphinx; extra == "docs"
49
- Requires-Dist: sphinx-rtd-theme; extra == "docs"
67
+ Requires-Dist: sphinx>=7.3; extra == "docs"
50
68
  Requires-Dist: sphinx-argparse; extra == "docs"
51
69
  Provides-Extra: tests
52
70
  Requires-Dist: pytest; extra == "tests"
53
71
  Requires-Dist: pytest-timeout; extra == "tests"
72
+ Provides-Extra: gui-tests
73
+ Requires-Dist: birdnet-analyzer[tests]; extra == "gui-tests"
74
+ Requires-Dist: gradio==6.30.0; extra == "gui-tests"
54
75
  Provides-Extra: dev
55
76
  Requires-Dist: birdnet_analyzer[tests]; extra == "dev"
56
77
  Requires-Dist: birdnet_analyzer[docs]; extra == "dev"
57
- Requires-Dist: ruff; extra == "dev"
78
+ Requires-Dist: ruff==0.15.10; extra == "dev"
58
79
  Dynamic: license-file
59
80
 
60
81
  <div align="center">
@@ -68,8 +89,8 @@ Dynamic: license-file
68
89
 
69
90
  ![License](https://img.shields.io/github/license/birdnet-team/BirdNET-Analyzer)
70
91
  ![OS](https://badgen.net/badge/OS/Linux%2C%20Windows%2C%20macOS/blue)
71
- [![Python 3.11](https://img.shields.io/badge/python-3.11-blue.svg)](https://www.python.org/downloads/release/python-3110/)
72
- ![Species](https://badgen.net/badge/Species/6512/blue)
92
+ [![Python 3.11 | 3.12 | 3.13](https://img.shields.io/badge/python-3.11%20%7C%203.12%20%7C%203.13-blue.svg)](https://www.python.org/downloads/)
93
+ ![Species](https://badgen.net/badge/Species/11709/blue)
73
94
  ![Downloads](https://www-user.tu-chemnitz.de/~johau/birdnet_total_downloads_badge.php)
74
95
 
75
96
  [![Docker](https://github.com/birdnet-team/BirdNET-Analyzer/actions/workflows/docker-build.yml/badge.svg)](https://github.com/birdnet-team/BirdNET-Analyzer/actions/workflows/docker-build.yml)
@@ -107,8 +128,38 @@ You can access documentation for this project [here](https://birdnet-team.github
107
128
 
108
129
  ## Download
109
130
 
110
- You can download installers for Windows and macOS from the [releases page](https://github.com/birdnet-team/BirdNET-Analyzer/releases/latest).
111
- Models can be found on [Zenodo](https://zenodo.org/records/15050749).
131
+ You can download installers for Windows and macOS, and an AppImage or `.deb` package for Linux, from the [releases page](https://github.com/birdnet-team/BirdNET-Analyzer/releases/latest).
132
+ On Windows, once the package is listed in the Windows Package Manager, you can also install it with:
133
+
134
+ ```powershell
135
+ winget install BirdNETTeam.BirdNETAnalyzer
136
+ ```
137
+
138
+ Models can be found on Zenodo: [BirdNET 3.0](https://zenodo.org/records/24362980) and [BirdNET 2.4](https://zenodo.org/records/15050749).
139
+
140
+ ## Installation
141
+
142
+ Install the package from PyPI (Python 3.11 to 3.13):
143
+
144
+ ```bash
145
+ pip install birdnet_analyzer
146
+ ```
147
+
148
+ This provides the command line tools `birdnet-analyze`, `birdnet-segments`, `birdnet-species`, `birdnet-train` and `birdnet-evaluate`.
149
+ Additional feature sets are available as extras:
150
+
151
+ | Extra | Adds |
152
+ | --- | --- |
153
+ | `embeddings` | embedding extraction and similarity search (`birdnet-embeddings`, `birdnet-search`) |
154
+ | `train` | hyperparameter autotuning when training custom classifiers |
155
+ | `gui` | the graphical user interface (`birdnet-gui`), including `embeddings` and `train` |
156
+ | `all` | everything above (currently the same set as `gui`) |
157
+
158
+ ```bash
159
+ pip install "birdnet_analyzer[all]"
160
+ ```
161
+
162
+ For the standalone installers or a source installation, see the [installation documentation](https://birdnet-team.github.io/BirdNET-Analyzer/stable/installation.html), for the Docker image the [Docker documentation](https://birdnet-team.github.io/BirdNET-Analyzer/stable/usage/docker.html).
112
163
 
113
164
  ## About
114
165
 
@@ -123,7 +174,7 @@ Want to use BirdNET to analyze a large dataset? Don't hesitate to contact us: cc
123
174
  ## License
124
175
 
125
176
  - **Source Code**: The source code for this project is licensed under the [MIT License](https://opensource.org/licenses/MIT).
126
- - **Models**: The models used in this project are licensed under the [Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License (CC BY-NC-SA 4.0)](https://creativecommons.org/licenses/by-nc-sa/4.0/).
177
+ - **Models**: The BirdNET 3.0 models, the acoustic model and its geolocation model, are licensed under the [Apache License 2.0](https://github.com/birdnet-team/model-converter/blob/main/MODEL_LICENSE.md) and come with an [acceptable use policy](https://github.com/birdnet-team/model-converter/blob/main/ACCEPTABLE_USE.md). BirdNET 2.4 and the older BirdNET models are licensed under the [Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License (CC BY-NC-SA 4.0)](https://creativecommons.org/licenses/by-nc-sa/4.0/).
127
178
 
128
179
  Please ensure you review and adhere to the specific license terms provided with each model.
129
180
 
@@ -9,8 +9,8 @@
9
9
 
10
10
  ![License](https://img.shields.io/github/license/birdnet-team/BirdNET-Analyzer)
11
11
  ![OS](https://badgen.net/badge/OS/Linux%2C%20Windows%2C%20macOS/blue)
12
- [![Python 3.11](https://img.shields.io/badge/python-3.11-blue.svg)](https://www.python.org/downloads/release/python-3110/)
13
- ![Species](https://badgen.net/badge/Species/6512/blue)
12
+ [![Python 3.11 | 3.12 | 3.13](https://img.shields.io/badge/python-3.11%20%7C%203.12%20%7C%203.13-blue.svg)](https://www.python.org/downloads/)
13
+ ![Species](https://badgen.net/badge/Species/11709/blue)
14
14
  ![Downloads](https://www-user.tu-chemnitz.de/~johau/birdnet_total_downloads_badge.php)
15
15
 
16
16
  [![Docker](https://github.com/birdnet-team/BirdNET-Analyzer/actions/workflows/docker-build.yml/badge.svg)](https://github.com/birdnet-team/BirdNET-Analyzer/actions/workflows/docker-build.yml)
@@ -48,8 +48,38 @@ You can access documentation for this project [here](https://birdnet-team.github
48
48
 
49
49
  ## Download
50
50
 
51
- You can download installers for Windows and macOS from the [releases page](https://github.com/birdnet-team/BirdNET-Analyzer/releases/latest).
52
- Models can be found on [Zenodo](https://zenodo.org/records/15050749).
51
+ You can download installers for Windows and macOS, and an AppImage or `.deb` package for Linux, from the [releases page](https://github.com/birdnet-team/BirdNET-Analyzer/releases/latest).
52
+ On Windows, once the package is listed in the Windows Package Manager, you can also install it with:
53
+
54
+ ```powershell
55
+ winget install BirdNETTeam.BirdNETAnalyzer
56
+ ```
57
+
58
+ Models can be found on Zenodo: [BirdNET 3.0](https://zenodo.org/records/24362980) and [BirdNET 2.4](https://zenodo.org/records/15050749).
59
+
60
+ ## Installation
61
+
62
+ Install the package from PyPI (Python 3.11 to 3.13):
63
+
64
+ ```bash
65
+ pip install birdnet_analyzer
66
+ ```
67
+
68
+ This provides the command line tools `birdnet-analyze`, `birdnet-segments`, `birdnet-species`, `birdnet-train` and `birdnet-evaluate`.
69
+ Additional feature sets are available as extras:
70
+
71
+ | Extra | Adds |
72
+ | --- | --- |
73
+ | `embeddings` | embedding extraction and similarity search (`birdnet-embeddings`, `birdnet-search`) |
74
+ | `train` | hyperparameter autotuning when training custom classifiers |
75
+ | `gui` | the graphical user interface (`birdnet-gui`), including `embeddings` and `train` |
76
+ | `all` | everything above (currently the same set as `gui`) |
77
+
78
+ ```bash
79
+ pip install "birdnet_analyzer[all]"
80
+ ```
81
+
82
+ For the standalone installers or a source installation, see the [installation documentation](https://birdnet-team.github.io/BirdNET-Analyzer/stable/installation.html), for the Docker image the [Docker documentation](https://birdnet-team.github.io/BirdNET-Analyzer/stable/usage/docker.html).
53
83
 
54
84
  ## About
55
85
 
@@ -64,7 +94,7 @@ Want to use BirdNET to analyze a large dataset? Don't hesitate to contact us: cc
64
94
  ## License
65
95
 
66
96
  - **Source Code**: The source code for this project is licensed under the [MIT License](https://opensource.org/licenses/MIT).
67
- - **Models**: The models used in this project are licensed under the [Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License (CC BY-NC-SA 4.0)](https://creativecommons.org/licenses/by-nc-sa/4.0/).
97
+ - **Models**: The BirdNET 3.0 models, the acoustic model and its geolocation model, are licensed under the [Apache License 2.0](https://github.com/birdnet-team/model-converter/blob/main/MODEL_LICENSE.md) and come with an [acceptable use policy](https://github.com/birdnet-team/model-converter/blob/main/ACCEPTABLE_USE.md). BirdNET 2.4 and the older BirdNET models are licensed under the [Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License (CC BY-NC-SA 4.0)](https://creativecommons.org/licenses/by-nc-sa/4.0/).
68
98
 
69
99
  Please ensure you review and adhere to the specific license terms provided with each model.
70
100
 
@@ -0,0 +1,24 @@
1
+ import logging
2
+
3
+ from birdnet_analyzer.settings import (
4
+ apply_matplotlib_config_directory,
5
+ apply_model_directory,
6
+ )
7
+
8
+ # Library convention: emit records but leave the configuration to the host
9
+ # application. The shipped CLI and GUI configure handlers via logs.setup_logging().
10
+ logging.getLogger(__name__).addHandler(logging.NullHandler())
11
+
12
+ # The birdnet library reads BIRDNET_APP_DATA whenever it needs a model path.
13
+ apply_model_directory()
14
+ apply_matplotlib_config_directory()
15
+
16
+ from birdnet_analyzer.analyze import analyze # noqa: E402
17
+ from birdnet_analyzer.embeddings import embeddings # noqa: E402
18
+ from birdnet_analyzer.search import search # noqa: E402
19
+ from birdnet_analyzer.segments import segments # noqa: E402
20
+ from birdnet_analyzer.species import species # noqa: E402
21
+ from birdnet_analyzer.train import train # noqa: E402
22
+
23
+ __version__ = "3.0.0"
24
+ __all__ = ["analyze", "embeddings", "search", "segments", "species", "train"]
@@ -0,0 +1,20 @@
1
+ from typing import get_args
2
+
3
+ import birdnet_analyzer.config as cfg
4
+ from birdnet_analyzer.analyze.core import (
5
+ analyze,
6
+ save_as_audacity,
7
+ save_as_csv,
8
+ save_as_kaleidoscope,
9
+ save_as_rtable,
10
+ )
11
+
12
+ POSSIBLE_ADDITIONAL_COLUMNS = list(get_args(cfg.ADDITIONAL_COLUMNS))
13
+
14
+ __all__ = [
15
+ "analyze",
16
+ "save_as_audacity",
17
+ "save_as_csv",
18
+ "save_as_kaleidoscope",
19
+ "save_as_rtable",
20
+ ]
@@ -0,0 +1,67 @@
1
+ import contextlib
2
+ import io
3
+ import logging
4
+
5
+ from birdnet_analyzer import analyze
6
+ from birdnet_analyzer.progress import ConsoleProgress
7
+ from birdnet_analyzer.utils import runtime_error_handler
8
+
9
+ logger = logging.getLogger(__name__)
10
+
11
+
12
+ @runtime_error_handler
13
+ def main():
14
+ import os
15
+ from multiprocessing import freeze_support
16
+
17
+ from birdnet_analyzer import cli, params
18
+
19
+ freeze_support()
20
+
21
+ parser = cli.analyzer_parser()
22
+ cli.apply_params_file_defaults(parser, params.load_analysis_params)
23
+ args = parser.parse_args()
24
+
25
+ quiet = not logger.isEnabledFor(logging.INFO)
26
+
27
+ if not quiet:
28
+ with contextlib.suppress(Exception):
29
+ if os.get_terminal_size().columns >= 64:
30
+ print(cli.ASCII_LOGO, flush=True)
31
+
32
+ if (
33
+ "additional_columns" in args
34
+ and args.additional_columns
35
+ and ("csv" not in args.rtype and "parquet" not in args.rtype)
36
+ ):
37
+ logger.warning(
38
+ "The --additional_columns argument is only valid for CSV and parquet "
39
+ "output. It will be ignored."
40
+ )
41
+
42
+ if args.use_perch and args.classifier:
43
+ raise ValueError(
44
+ "The --use_perch and --classifier arguments cannot be used together."
45
+ )
46
+
47
+ analyze_args = vars(args)
48
+ analyze_args.pop("use_perch") # handled via model param
49
+ analyze_args.pop("load_params") # already applied as defaults
50
+ progress = ConsoleProgress("Analyzing")
51
+
52
+ # The inference library prints its summary of the run.
53
+ summary = contextlib.redirect_stdout(io.StringIO()) if quiet else None
54
+
55
+ try:
56
+ with summary or contextlib.nullcontext():
57
+ analyze(**analyze_args, on_update=progress, save_params=True)
58
+ except KeyboardInterrupt as ex:
59
+ if os.path.isdir(args.audio_input):
60
+ ex.add_note(
61
+ "Run the same command again to continue the analysis: the files "
62
+ "that are done are kept and skipped."
63
+ )
64
+
65
+ raise
66
+ finally:
67
+ progress.close()