pyannote.database 5.1.2__tar.gz → 6.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.
- pyannote_database-6.0.0/.gitattributes +1 -0
- pyannote_database-6.0.0/.github/FUNDING.yml +3 -0
- pyannote_database-6.0.0/.github/workflows/doc.yml +33 -0
- pyannote_database-6.0.0/.github/workflows/release.yml +125 -0
- pyannote_database-6.0.0/.github/workflows/test.yml +36 -0
- pyannote_database-6.0.0/.gitignore +91 -0
- pyannote_database-6.0.0/PKG-INFO +866 -0
- pyannote_database-6.0.0/doc/Makefile +20 -0
- pyannote_database-6.0.0/doc/make.bat +36 -0
- pyannote_database-6.0.0/doc/source/changelog.rst +335 -0
- pyannote_database-6.0.0/doc/source/conf.py +184 -0
- pyannote_database-6.0.0/doc/source/index.rst +26 -0
- pyannote_database-6.0.0/pyproject.toml +56 -0
- pyannote_database-6.0.0/setup.cfg +12 -0
- {pyannote.database-5.1.2 → pyannote_database-6.0.0/src}/pyannote/database/__init__.py +2 -5
- pyannote_database-6.0.0/src/pyannote/database/py.typed +0 -0
- pyannote_database-6.0.0/tests/data/audio/filename1.wav +0 -0
- pyannote_database-6.0.0/tests/data/audio/filename2.wav +0 -0
- pyannote_database-6.0.0/tests/data/ctms/filename1.ctm +2 -0
- pyannote_database-6.0.0/tests/data/ctms/filename2.ctm +3 -0
- pyannote_database-6.0.0/tests/data/database.yml +39 -0
- pyannote_database-6.0.0/tests/data/lists/train.lst +2 -0
- pyannote_database-6.0.0/tests/data/mapping/domain.map +2 -0
- pyannote_database-6.0.0/tests/data/mapping/duration.map +2 -0
- pyannote_database-6.0.0/tests/data/rttms/train.rttm +2 -0
- pyannote_database-6.0.0/tests/data/trial/train.trial +1 -0
- pyannote_database-6.0.0/tests/data/uems/train.uem +2 -0
- pyannote_database-6.0.0/tests/test.py +86 -0
- pyannote_database-6.0.0/tests/test_registry.py +77 -0
- pyannote.database-5.1.2/pyannote/__init__.py → pyannote_database-6.0.0/tests/trial.py +14 -2
- pyannote_database-6.0.0/uv.lock +1296 -0
- pyannote.database-5.1.2/MANIFEST.in +0 -2
- pyannote.database-5.1.2/PKG-INFO +0 -18
- pyannote.database-5.1.2/pyannote/database/_version.py +0 -21
- pyannote.database-5.1.2/pyannote.database.egg-info/PKG-INFO +0 -18
- pyannote.database-5.1.2/pyannote.database.egg-info/SOURCES.txt +0 -32
- pyannote.database-5.1.2/pyannote.database.egg-info/dependency_links.txt +0 -1
- pyannote.database-5.1.2/pyannote.database.egg-info/entry_points.txt +0 -10
- pyannote.database-5.1.2/pyannote.database.egg-info/namespace_packages.txt +0 -1
- pyannote.database-5.1.2/pyannote.database.egg-info/requires.txt +0 -17
- pyannote.database-5.1.2/pyannote.database.egg-info/top_level.txt +0 -1
- pyannote.database-5.1.2/setup.cfg +0 -12
- pyannote.database-5.1.2/versioneer.py +0 -1749
- {pyannote.database-5.1.2 → pyannote_database-6.0.0}/LICENSE +0 -0
- {pyannote.database-5.1.2 → pyannote_database-6.0.0}/README.md +0 -0
- {pyannote.database-5.1.2 → pyannote_database-6.0.0}/setup.py +0 -0
- {pyannote.database-5.1.2 → pyannote_database-6.0.0/src}/pyannote/database/cli.py +0 -0
- {pyannote.database-5.1.2 → pyannote_database-6.0.0/src}/pyannote/database/custom.py +0 -0
- {pyannote.database-5.1.2 → pyannote_database-6.0.0/src}/pyannote/database/database.py +0 -0
- {pyannote.database-5.1.2 → pyannote_database-6.0.0/src}/pyannote/database/file_finder.py +0 -0
- {pyannote.database-5.1.2 → pyannote_database-6.0.0/src}/pyannote/database/loader.py +0 -0
- {pyannote.database-5.1.2 → pyannote_database-6.0.0/src}/pyannote/database/protocol/__init__.py +0 -0
- {pyannote.database-5.1.2 → pyannote_database-6.0.0/src}/pyannote/database/protocol/collection.py +0 -0
- {pyannote.database-5.1.2 → pyannote_database-6.0.0/src}/pyannote/database/protocol/protocol.py +0 -0
- {pyannote.database-5.1.2 → pyannote_database-6.0.0/src}/pyannote/database/protocol/segmentation.py +0 -0
- {pyannote.database-5.1.2 → pyannote_database-6.0.0/src}/pyannote/database/protocol/speaker_diarization.py +0 -0
- {pyannote.database-5.1.2 → pyannote_database-6.0.0/src}/pyannote/database/protocol/speaker_identification.py +0 -0
- {pyannote.database-5.1.2 → pyannote_database-6.0.0/src}/pyannote/database/protocol/speaker_recognition.py +0 -0
- {pyannote.database-5.1.2 → pyannote_database-6.0.0/src}/pyannote/database/protocol/speaker_spotting.py +0 -0
- {pyannote.database-5.1.2 → pyannote_database-6.0.0/src}/pyannote/database/protocol/speaker_verification.py +0 -0
- {pyannote.database-5.1.2 → pyannote_database-6.0.0/src}/pyannote/database/registry.py +0 -0
- {pyannote.database-5.1.2 → pyannote_database-6.0.0/src}/pyannote/database/util.py +0 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
pyannote/database/_version.py export-subst
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
name: Documentation
|
|
2
|
+
on:
|
|
3
|
+
push:
|
|
4
|
+
branches:
|
|
5
|
+
- master
|
|
6
|
+
|
|
7
|
+
jobs:
|
|
8
|
+
build-and-deploy:
|
|
9
|
+
runs-on: ubuntu-latest
|
|
10
|
+
|
|
11
|
+
steps:
|
|
12
|
+
- uses: actions/checkout@v4
|
|
13
|
+
with:
|
|
14
|
+
persist-credentials: false
|
|
15
|
+
fetch-depth: 0
|
|
16
|
+
- name: Install uv
|
|
17
|
+
uses: astral-sh/setup-uv@v5
|
|
18
|
+
with:
|
|
19
|
+
enable-cache: true
|
|
20
|
+
cache-dependency-glob: uv.lock
|
|
21
|
+
|
|
22
|
+
- name: Install the project
|
|
23
|
+
run: uv sync --extra doc
|
|
24
|
+
|
|
25
|
+
- name: Build documentation
|
|
26
|
+
run: |
|
|
27
|
+
make --directory=doc html
|
|
28
|
+
touch ./doc/build/html/.nojekyll
|
|
29
|
+
- name: Deploy
|
|
30
|
+
uses: peaceiris/actions-gh-pages@v3
|
|
31
|
+
with:
|
|
32
|
+
github_token: ${{ secrets.GITHUB_TOKEN }}
|
|
33
|
+
publish_dir: ./doc/build/html
|
|
@@ -0,0 +1,125 @@
|
|
|
1
|
+
name: Publish Python 🐍 distribution 📦 to PyPI and TestPyPI
|
|
2
|
+
|
|
3
|
+
on: push
|
|
4
|
+
|
|
5
|
+
jobs:
|
|
6
|
+
build:
|
|
7
|
+
name: Build distribution 📦
|
|
8
|
+
runs-on: ubuntu-latest
|
|
9
|
+
|
|
10
|
+
steps:
|
|
11
|
+
- uses: actions/checkout@v4
|
|
12
|
+
with:
|
|
13
|
+
persist-credentials: false
|
|
14
|
+
fetch-depth: 0
|
|
15
|
+
- name: Install uv
|
|
16
|
+
uses: astral-sh/setup-uv@v5
|
|
17
|
+
with:
|
|
18
|
+
enable-cache: true
|
|
19
|
+
cache-dependency-glob: uv.lock
|
|
20
|
+
- name: Set up Python
|
|
21
|
+
uses: actions/setup-python@v5
|
|
22
|
+
with:
|
|
23
|
+
python-version-file: ".python-version"
|
|
24
|
+
- name: Build
|
|
25
|
+
run: uv build
|
|
26
|
+
- name: Store the distribution packages
|
|
27
|
+
uses: actions/upload-artifact@v4
|
|
28
|
+
with:
|
|
29
|
+
name: python-package-distributions
|
|
30
|
+
path: dist/
|
|
31
|
+
|
|
32
|
+
publish-to-pypi:
|
|
33
|
+
name: >-
|
|
34
|
+
Publish Python 🐍 distribution 📦 to PyPI
|
|
35
|
+
if: startsWith(github.ref, 'refs/tags/') # only publish to PyPI on tag pushes
|
|
36
|
+
needs:
|
|
37
|
+
- build
|
|
38
|
+
runs-on: ubuntu-latest
|
|
39
|
+
environment:
|
|
40
|
+
name: pypi
|
|
41
|
+
permissions:
|
|
42
|
+
id-token: write
|
|
43
|
+
steps:
|
|
44
|
+
- name: Download all the dists
|
|
45
|
+
uses: actions/download-artifact@v4
|
|
46
|
+
with:
|
|
47
|
+
name: python-package-distributions
|
|
48
|
+
path: dist/
|
|
49
|
+
- name: Install uv
|
|
50
|
+
uses: astral-sh/setup-uv@v5
|
|
51
|
+
with:
|
|
52
|
+
enable-cache: true
|
|
53
|
+
cache-dependency-glob: uv.lock
|
|
54
|
+
- name: Publish distribution 📦 to PyPI
|
|
55
|
+
run: uv publish --trusted-publishing always --publish-url https://upload.pypi.org/legacy/
|
|
56
|
+
|
|
57
|
+
|
|
58
|
+
github-release:
|
|
59
|
+
name: >-
|
|
60
|
+
Sign the Python 🐍 distribution 📦 with Sigstore
|
|
61
|
+
and upload them to GitHub Release
|
|
62
|
+
needs:
|
|
63
|
+
- publish-to-pypi
|
|
64
|
+
runs-on: ubuntu-latest
|
|
65
|
+
|
|
66
|
+
permissions:
|
|
67
|
+
contents: write # IMPORTANT: mandatory for making GitHub Releases
|
|
68
|
+
id-token: write # IMPORTANT: mandatory for sigstore
|
|
69
|
+
|
|
70
|
+
steps:
|
|
71
|
+
- name: Download all the dists
|
|
72
|
+
uses: actions/download-artifact@v4
|
|
73
|
+
with:
|
|
74
|
+
name: python-package-distributions
|
|
75
|
+
path: dist/
|
|
76
|
+
- name: Sign the dists with Sigstore
|
|
77
|
+
uses: sigstore/gh-action-sigstore-python@v3.0.0
|
|
78
|
+
with:
|
|
79
|
+
inputs: >-
|
|
80
|
+
./dist/*.tar.gz
|
|
81
|
+
./dist/*.whl
|
|
82
|
+
- name: Create GitHub Release
|
|
83
|
+
env:
|
|
84
|
+
GITHUB_TOKEN: ${{ github.token }}
|
|
85
|
+
run: >-
|
|
86
|
+
gh release create
|
|
87
|
+
"$GITHUB_REF_NAME"
|
|
88
|
+
--repo "$GITHUB_REPOSITORY"
|
|
89
|
+
--notes ""
|
|
90
|
+
- name: Upload artifact signatures to GitHub Release
|
|
91
|
+
env:
|
|
92
|
+
GITHUB_TOKEN: ${{ github.token }}
|
|
93
|
+
# Upload to GitHub Release using the `gh` CLI.
|
|
94
|
+
# `dist/` contains the built packages, and the
|
|
95
|
+
# sigstore-produced signatures and certificates.
|
|
96
|
+
run: >-
|
|
97
|
+
gh release upload
|
|
98
|
+
"$GITHUB_REF_NAME" dist/**
|
|
99
|
+
--repo "$GITHUB_REPOSITORY"
|
|
100
|
+
|
|
101
|
+
# publish-to-testpypi:
|
|
102
|
+
# name: Publish Python 🐍 distribution 📦 to TestPyPI
|
|
103
|
+
# needs:
|
|
104
|
+
# - build
|
|
105
|
+
# runs-on: ubuntu-latest
|
|
106
|
+
#
|
|
107
|
+
# environment:
|
|
108
|
+
# name: testpypi
|
|
109
|
+
#
|
|
110
|
+
# permissions:
|
|
111
|
+
# id-token: write # IMPORTANT: mandatory for trusted publishing
|
|
112
|
+
#
|
|
113
|
+
# steps:
|
|
114
|
+
# - name: Download all the dists
|
|
115
|
+
# uses: actions/download-artifact@v4
|
|
116
|
+
# with:
|
|
117
|
+
# name: python-package-distributions
|
|
118
|
+
# path: dist/
|
|
119
|
+
# - name: Install uv
|
|
120
|
+
# uses: astral-sh/setup-uv@v5
|
|
121
|
+
# with:
|
|
122
|
+
# enable-cache: true
|
|
123
|
+
# cache-dependency-glob: uv.lock
|
|
124
|
+
# - name: Publish distribution 📦 to PyPI
|
|
125
|
+
# run: uv publish --trusted-publishing always --publish-url https://test.pypi.org/legacy/
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
name: Test
|
|
2
|
+
|
|
3
|
+
on:
|
|
4
|
+
pull_request:
|
|
5
|
+
branches:
|
|
6
|
+
- develop
|
|
7
|
+
push:
|
|
8
|
+
branches:
|
|
9
|
+
- develop
|
|
10
|
+
- master
|
|
11
|
+
- release/*
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
jobs:
|
|
15
|
+
test:
|
|
16
|
+
name: Test
|
|
17
|
+
runs-on: ubuntu-latest
|
|
18
|
+
strategy:
|
|
19
|
+
matrix:
|
|
20
|
+
python-version:
|
|
21
|
+
- "3.10"
|
|
22
|
+
- "3.11"
|
|
23
|
+
- "3.12"
|
|
24
|
+
env:
|
|
25
|
+
UV_PYTHON: ${{ matrix.python-version }}
|
|
26
|
+
steps:
|
|
27
|
+
- uses: actions/checkout@v4
|
|
28
|
+
|
|
29
|
+
- name: Install uv
|
|
30
|
+
uses: astral-sh/setup-uv@v5
|
|
31
|
+
|
|
32
|
+
- name: Install the project
|
|
33
|
+
run: uv sync --extra test
|
|
34
|
+
|
|
35
|
+
- name: Run tests
|
|
36
|
+
run: uv run pytest tests
|
|
@@ -0,0 +1,91 @@
|
|
|
1
|
+
# Byte-compiled / optimized / DLL files
|
|
2
|
+
__pycache__/
|
|
3
|
+
*.py[cod]
|
|
4
|
+
*$py.class
|
|
5
|
+
|
|
6
|
+
# C extensions
|
|
7
|
+
*.so
|
|
8
|
+
|
|
9
|
+
# Distribution / packaging
|
|
10
|
+
.Python
|
|
11
|
+
env/
|
|
12
|
+
build/
|
|
13
|
+
develop-eggs/
|
|
14
|
+
dist/
|
|
15
|
+
downloads/
|
|
16
|
+
eggs/
|
|
17
|
+
.eggs/
|
|
18
|
+
lib/
|
|
19
|
+
lib64/
|
|
20
|
+
parts/
|
|
21
|
+
sdist/
|
|
22
|
+
var/
|
|
23
|
+
*.egg-info/
|
|
24
|
+
.installed.cfg
|
|
25
|
+
*.egg
|
|
26
|
+
|
|
27
|
+
# PyInstaller
|
|
28
|
+
# Usually these files are written by a python script from a template
|
|
29
|
+
# before PyInstaller builds the exe, so as to inject date/other infos into it.
|
|
30
|
+
*.manifest
|
|
31
|
+
*.spec
|
|
32
|
+
|
|
33
|
+
# Installer logs
|
|
34
|
+
pip-log.txt
|
|
35
|
+
pip-delete-this-directory.txt
|
|
36
|
+
|
|
37
|
+
# Unit test / coverage reports
|
|
38
|
+
htmlcov/
|
|
39
|
+
.tox/
|
|
40
|
+
.coverage
|
|
41
|
+
.coverage.*
|
|
42
|
+
.cache
|
|
43
|
+
nosetests.xml
|
|
44
|
+
coverage.xml
|
|
45
|
+
*,cover
|
|
46
|
+
.hypothesis/
|
|
47
|
+
|
|
48
|
+
# Translations
|
|
49
|
+
*.mo
|
|
50
|
+
*.pot
|
|
51
|
+
|
|
52
|
+
# Django stuff:
|
|
53
|
+
*.log
|
|
54
|
+
local_settings.py
|
|
55
|
+
|
|
56
|
+
# Flask stuff:
|
|
57
|
+
instance/
|
|
58
|
+
.webassets-cache
|
|
59
|
+
|
|
60
|
+
# Scrapy stuff:
|
|
61
|
+
.scrapy
|
|
62
|
+
|
|
63
|
+
# Sphinx documentation
|
|
64
|
+
docs/_build/
|
|
65
|
+
|
|
66
|
+
# PyBuilder
|
|
67
|
+
target/
|
|
68
|
+
|
|
69
|
+
# IPython Notebook
|
|
70
|
+
.ipynb_checkpoints
|
|
71
|
+
|
|
72
|
+
# pyenv
|
|
73
|
+
.python-version
|
|
74
|
+
|
|
75
|
+
# celery beat schedule file
|
|
76
|
+
celerybeat-schedule
|
|
77
|
+
|
|
78
|
+
# dotenv
|
|
79
|
+
.env
|
|
80
|
+
|
|
81
|
+
# virtualenv
|
|
82
|
+
venv/
|
|
83
|
+
ENV/
|
|
84
|
+
|
|
85
|
+
# Spyder project settings
|
|
86
|
+
.spyderproject
|
|
87
|
+
|
|
88
|
+
# Rope project settings
|
|
89
|
+
.ropeproject
|
|
90
|
+
|
|
91
|
+
.mypy_cache
|