repo_full_name
stringlengths
6
93
repo_url
stringlengths
25
112
repo_api_url
stringclasses
28 values
owner
stringclasses
28 values
repo_name
stringclasses
28 values
description
stringclasses
28 values
stars
int64
617
98.8k
forks
int64
31
355
watchers
int64
990
999
license
stringclasses
2 values
default_branch
stringclasses
2 values
repo_created_at
timestamp[s]date
2012-07-24 23:12:50
2025-06-16 08:07:28
repo_updated_at
timestamp[s]date
2026-02-23 15:23:15
2026-05-03 18:52:12
repo_topics
listlengths
0
13
repo_languages
unknown
is_fork
bool
1 class
open_issues
int64
3
104
file_path
stringlengths
3
208
file_name
stringclasses
509 values
file_extension
stringclasses
1 value
file_size_bytes
int64
101
84k
file_url
stringclasses
627 values
file_raw_url
stringclasses
627 values
file_sha
stringclasses
624 values
language
stringclasses
8 values
parsed_at
stringdate
2026-05-04 01:12:36
2026-05-04 19:41:55
text
stringlengths
100
102k
GoogleCloudPlatform/functions-framework-python
https://github.com/GoogleCloudPlatform/functions-framework-python
null
null
null
null
968
null
null
apache-2.0
null
null
null
null
null
null
null
examples/cloud_run_async/main.py
null
null
null
null
null
null
Python
2026-05-04T02:36:26.674649
# Copyright 2025 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, ...
GoogleCloudPlatform/functions-framework-python
https://github.com/GoogleCloudPlatform/functions-framework-python
null
null
null
null
968
null
null
apache-2.0
null
null
null
null
null
null
null
examples/docker-compose/main.py
null
null
null
null
null
null
Python
2026-05-04T02:36:26.703353
# Copyright 2021 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, ...
GoogleCloudPlatform/functions-framework-python
https://github.com/GoogleCloudPlatform/functions-framework-python
null
null
null
null
968
null
null
apache-2.0
null
null
null
null
null
null
null
examples/cloud_run_async/send_cloud_event.py
null
null
null
null
null
null
Python
2026-05-04T02:36:26.704905
#!/usr/local/bin/python # Copyright 2025 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law ...
GoogleCloudPlatform/functions-framework-python
https://github.com/GoogleCloudPlatform/functions-framework-python
null
null
null
null
968
null
null
apache-2.0
null
null
null
null
null
null
null
setup.py
null
null
null
null
null
null
Python
2026-05-04T02:36:27.456570
# Copyright 2020 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, ...
GoogleCloudPlatform/functions-framework-python
https://github.com/GoogleCloudPlatform/functions-framework-python
null
null
null
null
968
null
null
apache-2.0
null
null
null
null
null
null
null
src/functions_framework/_http/__init__.py
null
null
null
null
null
null
Python
2026-05-04T02:36:27.458359
# Copyright 2020 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, ...
GoogleCloudPlatform/functions-framework-python
https://github.com/GoogleCloudPlatform/functions-framework-python
null
null
null
null
968
null
null
apache-2.0
null
null
null
null
null
null
null
src/functions_framework/__init__.py
null
null
null
null
null
null
Python
2026-05-04T02:36:27.459689
# Copyright 2020 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, ...
GoogleCloudPlatform/functions-framework-python
https://github.com/GoogleCloudPlatform/functions-framework-python
null
null
null
null
968
null
null
apache-2.0
null
null
null
null
null
null
null
src/functions_framework/_cli.py
null
null
null
null
null
null
Python
2026-05-04T02:36:27.626106
# Copyright 2020 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, ...
GoogleCloudPlatform/functions-framework-python
https://github.com/GoogleCloudPlatform/functions-framework-python
null
null
null
null
968
null
null
apache-2.0
null
null
null
null
null
null
null
src/functions_framework/_http/gunicorn.py
null
null
null
null
null
null
Python
2026-05-04T02:36:27.656233
# Copyright 2024 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, ...
GoogleCloudPlatform/functions-framework-python
https://github.com/GoogleCloudPlatform/functions-framework-python
null
null
null
null
968
null
null
apache-2.0
null
null
null
null
null
null
null
examples/skaffold/main.py
null
null
null
null
null
null
Python
2026-05-04T02:36:27.656763
# Copyright 2020 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, ...
GoogleCloudPlatform/functions-framework-python
https://github.com/GoogleCloudPlatform/functions-framework-python
null
null
null
null
968
null
null
apache-2.0
null
null
null
null
null
null
null
src/functions_framework/_http/asgi.py
null
null
null
null
null
null
Python
2026-05-04T02:36:27.795304
# Copyright 2025 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, ...
GoogleCloudPlatform/functions-framework-python
https://github.com/GoogleCloudPlatform/functions-framework-python
null
null
null
null
968
null
null
apache-2.0
null
null
null
null
null
null
null
src/functions_framework/_function_registry.py
null
null
null
null
null
null
Python
2026-05-04T02:36:27.865106
# Copyright 2021 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, ...
GoogleCloudPlatform/functions-framework-python
https://github.com/GoogleCloudPlatform/functions-framework-python
null
null
null
null
968
null
null
apache-2.0
null
null
null
null
null
null
null
src/functions_framework/_typed_event.py
null
null
null
null
null
null
Python
2026-05-04T02:36:28.075163
# Copyright 2022 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, ...
GoogleCloudPlatform/functions-framework-python
https://github.com/GoogleCloudPlatform/functions-framework-python
null
null
null
null
968
null
null
apache-2.0
null
null
null
null
null
null
null
src/functions_framework/aio/__init__.py
null
null
null
null
null
null
Python
2026-05-04T02:36:28.075822
# Copyright 2025 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, ...
GoogleCloudPlatform/functions-framework-python
https://github.com/GoogleCloudPlatform/functions-framework-python
null
null
null
null
968
null
null
apache-2.0
null
null
null
null
null
null
null
src/functions_framework/background_event.py
null
null
null
null
null
null
Python
2026-05-04T02:36:28.076777
# Copyright 2021 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, ...
GoogleCloudPlatform/functions-framework-python
https://github.com/GoogleCloudPlatform/functions-framework-python
null
null
null
null
968
null
null
apache-2.0
null
null
null
null
null
null
null
src/functions_framework/event_conversion.py
null
null
null
null
null
null
Python
2026-05-04T02:36:28.214747
# Copyright 2021 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, ...
GoogleCloudPlatform/functions-framework-python
https://github.com/GoogleCloudPlatform/functions-framework-python
null
null
null
null
968
null
null
apache-2.0
null
null
null
null
null
null
null
src/functions_framework/execution_id.py
null
null
null
null
null
null
Python
2026-05-04T02:36:28.219719
# Copyright 2020 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, ...
GoogleCloudPlatform/functions-framework-python
https://github.com/GoogleCloudPlatform/functions-framework-python
null
null
null
null
968
null
null
apache-2.0
null
null
null
null
null
null
null
src/functions_framework/exceptions.py
null
null
null
null
null
null
Python
2026-05-04T02:36:28.220990
# Copyright 2024 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, ...
GoogleCloudPlatform/functions-framework-python
https://github.com/GoogleCloudPlatform/functions-framework-python
null
null
null
null
968
null
null
apache-2.0
null
null
null
null
null
null
null
src/functions_framework/request_timeout.py
null
null
null
null
null
null
Python
2026-05-04T02:36:28.344858
import ctypes import logging import threading from .exceptions import RequestTimeoutException logger = logging.getLogger(__name__) class ThreadingTimeout(object): # pragma: no cover def __init__(self, seconds): self.seconds = seconds self.target_tid = threading.current_thread().ident se...
GoogleCloudPlatform/functions-framework-python
https://github.com/GoogleCloudPlatform/functions-framework-python
null
null
null
null
968
null
null
apache-2.0
null
null
null
null
null
null
null
src/functions_framework/_http/flask.py
null
null
null
null
null
null
Python
2026-05-04T02:36:28.457172
# Copyright 2020 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, ...
GoogleCloudPlatform/functions-framework-python
https://github.com/GoogleCloudPlatform/functions-framework-python
null
null
null
null
968
null
null
apache-2.0
null
null
null
null
null
null
null
src/google/__init__.py
null
null
null
null
null
null
Python
2026-05-04T02:36:28.488707
# Copyright 2020 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, ...
GoogleCloudPlatform/functions-framework-python
https://github.com/GoogleCloudPlatform/functions-framework-python
null
null
null
null
968
null
null
apache-2.0
null
null
null
null
null
null
null
src/functions_framework/__main__.py
null
null
null
null
null
null
Python
2026-05-04T02:36:28.599702
# Copyright 2020 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, ...
GoogleCloudPlatform/functions-framework-python
https://github.com/GoogleCloudPlatform/functions-framework-python
null
null
null
null
968
null
null
apache-2.0
null
null
null
null
null
null
null
src/google/cloud/functions/context.py
null
null
null
null
null
null
Python
2026-05-04T02:36:28.659355
# Copyright 2020 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, ...
GoogleCloudPlatform/functions-framework-python
https://github.com/GoogleCloudPlatform/functions-framework-python
null
null
null
null
968
null
null
apache-2.0
null
null
null
null
null
null
null
src/google/cloud/functions/__init__.py
null
null
null
null
null
null
Python
2026-05-04T02:36:28.660485
# Copyright 2020 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, ...
GoogleCloudPlatform/functions-framework-python
https://github.com/GoogleCloudPlatform/functions-framework-python
null
null
null
null
968
null
null
apache-2.0
null
null
null
null
null
null
null
src/google/cloud/__init__.py
null
null
null
null
null
null
Python
2026-05-04T02:36:28.696160
# Copyright 2020 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, ...
GoogleCloudPlatform/functions-framework-python
https://github.com/GoogleCloudPlatform/functions-framework-python
null
null
null
null
968
null
null
apache-2.0
null
null
null
null
null
null
null
src/google/cloud/functions_v1/__init__.py
null
null
null
null
null
null
Python
2026-05-04T02:36:28.786684
# Copyright 2020 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, ...
GoogleCloudPlatform/functions-framework-python
https://github.com/GoogleCloudPlatform/functions-framework-python
null
null
null
null
968
null
null
apache-2.0
null
null
null
null
null
null
null
src/google/cloud/functions_v1/context.py
null
null
null
null
null
null
Python
2026-05-04T02:36:28.787984
# Copyright 2020 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, ...
GoogleCloudPlatform/functions-framework-python
https://github.com/GoogleCloudPlatform/functions-framework-python
null
null
null
null
968
null
null
apache-2.0
null
null
null
null
null
null
null
src/google/cloud/functions_v1beta2/__init__.py
null
null
null
null
null
null
Python
2026-05-04T02:36:28.838834
# Copyright 2020 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, ...
GoogleCloudPlatform/functions-framework-python
https://github.com/GoogleCloudPlatform/functions-framework-python
null
null
null
null
968
null
null
apache-2.0
null
null
null
null
null
null
null
src/google/cloud/functions_v1beta2/context.py
null
null
null
null
null
null
Python
2026-05-04T02:36:28.893452
# Copyright 2020 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, ...
GoogleCloudPlatform/functions-framework-python
https://github.com/GoogleCloudPlatform/functions-framework-python
null
null
null
null
968
null
null
apache-2.0
null
null
null
null
null
null
null
tests/conformance/async_main.py
null
null
null
null
null
null
Python
2026-05-04T02:36:29.041116
import asyncio import json from cloudevents.http import to_json import functions_framework.aio filename = "function_output.json" class RawJson: data: dict def __init__(self, data): self.data = data @staticmethod def from_dict(obj: dict) -> "RawJson": return RawJson(obj) def t...
GoogleCloudPlatform/functions-framework-python
https://github.com/GoogleCloudPlatform/functions-framework-python
null
null
null
null
968
null
null
apache-2.0
null
null
null
null
null
null
null
tests/conformance/main.py
null
null
null
null
null
null
Python
2026-05-04T02:36:29.083236
import json import time from cloudevents.http import to_json import functions_framework filename = "function_output.json" class RawJson: data: dict def __init__(self, data): self.data = data @staticmethod def from_dict(obj: dict) -> "RawJson": return RawJson(obj) def to_dict(...
GoogleCloudPlatform/functions-framework-python
https://github.com/GoogleCloudPlatform/functions-framework-python
null
null
null
null
968
null
null
apache-2.0
null
null
null
null
null
null
null
tests/test_aio.py
null
null
null
null
null
null
Python
2026-05-04T02:36:29.165833
# Copyright 2025 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, ...
GoogleCloudPlatform/functions-framework-python
https://github.com/GoogleCloudPlatform/functions-framework-python
null
null
null
null
968
null
null
apache-2.0
null
null
null
null
null
null
null
tests/test_cli.py
null
null
null
null
null
null
Python
2026-05-04T02:36:29.222344
# Copyright 2020 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, ...
GoogleCloudPlatform/functions-framework-python
https://github.com/GoogleCloudPlatform/functions-framework-python
null
null
null
null
968
null
null
apache-2.0
null
null
null
null
null
null
null
tests/test_asgi.py
null
null
null
null
null
null
Python
2026-05-04T02:36:29.222930
# Copyright 2025 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, ...
GoogleCloudPlatform/functions-framework-python
https://github.com/GoogleCloudPlatform/functions-framework-python
null
null
null
null
968
null
null
apache-2.0
null
null
null
null
null
null
null
tests/test_cloud_event_functions.py
null
null
null
null
null
null
Python
2026-05-04T02:36:29.277962
# Copyright 2020 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, ...
GoogleCloudPlatform/functions-framework-python
https://github.com/GoogleCloudPlatform/functions-framework-python
null
null
null
null
968
null
null
apache-2.0
null
null
null
null
null
null
null
tests/test_convert.py
null
null
null
null
null
null
Python
2026-05-04T02:36:29.352485
# Copyright 2021 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, ...
GoogleCloudPlatform/functions-framework-python
https://github.com/GoogleCloudPlatform/functions-framework-python
null
null
null
null
968
null
null
apache-2.0
null
null
null
null
null
null
null
tests/test_decorator_functions.py
null
null
null
null
null
null
Python
2026-05-04T02:36:29.353734
# Copyright 2021 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, ...
GoogleCloudPlatform/functions-framework-python
https://github.com/GoogleCloudPlatform/functions-framework-python
null
null
null
null
968
null
null
apache-2.0
null
null
null
null
null
null
null
tests/test_execution_id.py
null
null
null
null
null
null
Python
2026-05-04T02:36:29.428666
# Copyright 2024 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, ...
GoogleCloudPlatform/functions-framework-python
https://github.com/GoogleCloudPlatform/functions-framework-python
null
null
null
null
968
null
null
apache-2.0
null
null
null
null
null
null
null
tests/test_function_registry.py
null
null
null
null
null
null
Python
2026-05-04T02:36:29.631893
# Copyright 2021 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, ...
GoogleCloudPlatform/functions-framework-python
https://github.com/GoogleCloudPlatform/functions-framework-python
null
null
null
null
968
null
null
apache-2.0
null
null
null
null
null
null
null
tests/test_functions.py
null
null
null
null
null
null
Python
2026-05-04T02:36:29.712490
# Copyright 2020 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, ...
GoogleCloudPlatform/functions-framework-python
https://github.com/GoogleCloudPlatform/functions-framework-python
null
null
null
null
968
null
null
apache-2.0
null
null
null
null
null
null
null
tests/test_functions/background_load_error/main.py
null
null
null
null
null
null
Python
2026-05-04T02:36:29.723786
# Copyright 2020 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, ...
GoogleCloudPlatform/functions-framework-python
https://github.com/GoogleCloudPlatform/functions-framework-python
null
null
null
null
968
null
null
apache-2.0
null
null
null
null
null
null
null
tests/test_functions/background_multiple_entry_points/main.py
null
null
null
null
null
null
Python
2026-05-04T02:36:29.786163
# Copyright 2020 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, ...
GoogleCloudPlatform/functions-framework-python
https://github.com/GoogleCloudPlatform/functions-framework-python
null
null
null
null
968
null
null
apache-2.0
null
null
null
null
null
null
null
tests/test_functions/background_missing_dependency/main.py
null
null
null
null
null
null
Python
2026-05-04T02:36:29.824674
# Copyright 2020 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, ...
GoogleCloudPlatform/functions-framework-python
https://github.com/GoogleCloudPlatform/functions-framework-python
null
null
null
null
968
null
null
apache-2.0
null
null
null
null
null
null
null
tests/test_execution_id_async.py
null
null
null
null
null
null
Python
2026-05-04T02:36:29.883663
# Copyright 2025 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, ...
k2-fsa/ZipVoice
https://github.com/k2-fsa/ZipVoice
null
null
null
null
969
null
null
apache-2.0
null
null
null
null
null
null
null
runtime/nvidia_triton/model_repo/zipvoice/1/model.py
null
null
null
null
null
null
Python
2026-05-04T02:36:32.184156
# Copyright 2025, NVIDIA CORPORATION & AFFILIATES. All rights reserved. # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions # are met: # * Redistributions of source code must retain the above copyright # notice, this list of con...
k2-fsa/ZipVoice
https://github.com/k2-fsa/ZipVoice
null
null
null
null
969
null
null
apache-2.0
null
null
null
null
null
null
null
egs/zipvoice/utils/validate_manifest.py
null
null
null
null
null
null
Python
2026-05-04T02:36:32.193349
#!/usr/bin/env python3 # Copyright 2022-2023 Xiaomi Corp. (authors: Fangjun Kuang, # Zengwei Yao) # # See ../../../../LICENSE for clarification regarding multiple authors # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not us...
k2-fsa/ZipVoice
https://github.com/k2-fsa/ZipVoice
null
null
null
null
969
null
null
apache-2.0
null
null
null
null
null
null
null
egs/zipvoice/local/prepare_tokens_emilia.py
null
null
null
null
null
null
Python
2026-05-04T02:36:32.197243
""" This file reads the texts in given manifest and save the new cuts with phoneme tokens. """ import argparse import glob import logging from concurrent.futures import ProcessPoolExecutor as Pool from pathlib import Path from lhotse import load_manifest_lazy from zipvoice.tokenizer.tokenizer import add_tokens def...
k2-fsa/ZipVoice
https://github.com/k2-fsa/ZipVoice
null
null
null
null
969
null
null
apache-2.0
null
null
null
null
null
null
null
egs/zipvoice/local/prepare_token_file_char.py
null
null
null
null
null
null
Python
2026-05-04T02:36:32.198688
#!/usr/bin/env python3 # Copyright 2024-2025 Xiaomi Corp. (authors: Wei Kang) # # See ../../../../LICENSE for clarification regarding multiple authors # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy...
k2-fsa/ZipVoice
https://github.com/k2-fsa/ZipVoice
null
null
null
null
969
null
null
apache-2.0
null
null
null
null
null
null
null
runtime/nvidia_triton/client_http.py
null
null
null
null
null
null
Python
2026-05-04T02:36:32.201888
# Copyright 2025, NVIDIA CORPORATION & AFFILIATES. All rights reserved. # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions # are met: # * Redistributions of source code must retain the above copyright # notice, this list of con...
k2-fsa/ZipVoice
https://github.com/k2-fsa/ZipVoice
null
null
null
null
969
null
null
apache-2.0
null
null
null
null
null
null
null
egs/zipvoice/local/prepare_token_file_emilia.py
null
null
null
null
null
null
Python
2026-05-04T02:36:32.204944
#!/usr/bin/env python3 # Copyright 2024 Xiaomi Corp. (authors: Zengwei Yao, # Wei Kang) # # See ../../../../LICENSE for clarification regarding multiple authors # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use thi...
k2-fsa/ZipVoice
https://github.com/k2-fsa/ZipVoice
null
null
null
null
969
null
null
apache-2.0
null
null
null
null
null
null
null
egs/zipvoice_dialog/local/prepare_opendialog.py
null
null
null
null
null
null
Python
2026-05-04T02:36:32.206497
#!/usr/bin/env python3 # Copyright 2025 Xiaomi Corp. (authors: Han Zhu) # # See ../../../../LICENSE for clarification regarding multiple authors # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy ...
k2-fsa/ZipVoice
https://github.com/k2-fsa/ZipVoice
null
null
null
null
969
null
null
apache-2.0
null
null
null
null
null
null
null
egs/zipvoice/local/preprocess_emilia.py
null
null
null
null
null
null
Python
2026-05-04T02:36:32.228145
#!/usr/bin/env python3 # Copyright 2024-2025 Xiaomi Corp. (authors: Wei Kang) # # See ../../../../LICENSE for clarification regarding multiple authors # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a cop...
k2-fsa/ZipVoice
https://github.com/k2-fsa/ZipVoice
null
null
null
null
969
null
null
apache-2.0
null
null
null
null
null
null
null
runtime/nvidia_triton/client_grpc.py
null
null
null
null
null
null
Python
2026-05-04T02:36:32.233623
# Copyright 2022 Xiaomi Corp. (authors: Fangjun Kuang) # 2023 Nvidia (authors: Yuekai Zhang) # 2023 Recurrent.ai (authors: Songtao Shi) # See LICENSE for clarification regarding multiple authors # # Licensed under the Apache License, Version 2.0 (the "Lic...
k2-fsa/ZipVoice
https://github.com/k2-fsa/ZipVoice
null
null
null
null
969
null
null
apache-2.0
null
null
null
null
null
null
null
runtime/nvidia_triton/pytriton_server.py
null
null
null
null
null
null
Python
2026-05-04T02:36:32.295712
import argparse import json import logging import os import numpy as np import torch import torchaudio from pytriton.decorators import batch from pytriton.model_config import DynamicBatcher, ModelConfig, Tensor from pytriton.triton import Triton, TritonConfig from vocos import Vocos from zipvoice.models.zipvoice impo...
k2-fsa/ZipVoice
https://github.com/k2-fsa/ZipVoice
null
null
null
null
969
null
null
apache-2.0
null
null
null
null
null
null
null
zipvoice/__init__.py
null
null
null
null
null
null
Python
2026-05-04T02:36:32.781285
import warnings warnings.filterwarnings( "ignore", category=UserWarning, message="pkg_resources is deprecated as an API.*", )
k2-fsa/ZipVoice
https://github.com/k2-fsa/ZipVoice
null
null
null
null
969
null
null
apache-2.0
null
null
null
null
null
null
null
runtime/nvidia_triton/scripts/fill_template.py
null
null
null
null
null
null
Python
2026-05-04T02:36:32.784836
#! /usr/bin/env python3 from argparse import ArgumentParser from string import Template def main(file_path, substitutions, in_place, participant_ids): with open(file_path) as f: pbtxt = Template(f.read()) sub_dict = {"max_queue_size": 0} sub_dict["participant_ids"] = participant_ids for sub i...
k2-fsa/ZipVoice
https://github.com/k2-fsa/ZipVoice
null
null
null
null
969
null
null
apache-2.0
null
null
null
null
null
null
null
zipvoice/bin/compute_fbank.py
null
null
null
null
null
null
Python
2026-05-04T02:36:32.803201
#!/usr/bin/env python3 # Copyright 2024-2025 Xiaomi Corp. (authors: Wei Kang # Han Zhu) # # See ../../../../LICENSE for clarification regarding multiple authors # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this fil...
k2-fsa/ZipVoice
https://github.com/k2-fsa/ZipVoice
null
null
null
null
969
null
null
apache-2.0
null
null
null
null
null
null
null
zipvoice/bin/infer_zipvoice.py
null
null
null
null
null
null
Python
2026-05-04T02:36:32.808391
#!/usr/bin/env python3 # Copyright 2025 Xiaomi Corp. (authors: Han Zhu) # # See ../../../../LICENSE for clarification regarding multiple authors # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy ...
k2-fsa/ZipVoice
https://github.com/k2-fsa/ZipVoice
null
null
null
null
969
null
null
apache-2.0
null
null
null
null
null
null
null
zipvoice/bin/infer_zipvoice_onnx.py
null
null
null
null
null
null
Python
2026-05-04T02:36:32.809823
#!/usr/bin/env python3 # Copyright 2025 Xiaomi Corp. (authors: Han Zhu, # Zengwei Yao) # # See ../../../../LICENSE for clarification regarding multiple authors # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this...
k2-fsa/ZipVoice
https://github.com/k2-fsa/ZipVoice
null
null
null
null
969
null
null
apache-2.0
null
null
null
null
null
null
null
zipvoice/bin/prepare_dataset.py
null
null
null
null
null
null
Python
2026-05-04T02:36:32.840064
#!/usr/bin/env python3 # Copyright 2025 Xiaomi Corp. (authors: Han Zhu) # # See ../../../../LICENSE for clarification regarding multiple authors # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy ...
k2-fsa/ZipVoice
https://github.com/k2-fsa/ZipVoice
null
null
null
null
969
null
null
apache-2.0
null
null
null
null
null
null
null
zipvoice/bin/generate_averaged_model.py
null
null
null
null
null
null
Python
2026-05-04T02:36:32.841326
#!/usr/bin/env python3 # # Copyright 2021-2022 Xiaomi Corporation # # See ../../../../LICENSE for clarification regarding multiple authors # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # ...
k2-fsa/ZipVoice
https://github.com/k2-fsa/ZipVoice
null
null
null
null
969
null
null
apache-2.0
null
null
null
null
null
null
null
zipvoice/bin/onnx_export.py
null
null
null
null
null
null
Python
2026-05-04T02:36:32.842470
#!/usr/bin/env python3 # Copyright 2025 Xiaomi Corp. (authors: Zengwei Yao) # # See ../../../../LICENSE for clarification regarding multiple authors # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a c...
k2-fsa/ZipVoice
https://github.com/k2-fsa/ZipVoice
null
null
null
null
969
null
null
apache-2.0
null
null
null
null
null
null
null
zipvoice/bin/infer_zipvoice_dialog.py
null
null
null
null
null
null
Python
2026-05-04T02:36:32.896607
#!/usr/bin/env python3 # Copyright 2025 Xiaomi Corp. (authors: Han Zhu) # # See ../../../../LICENSE for clarification regarding multiple authors # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy ...
k2-fsa/ZipVoice
https://github.com/k2-fsa/ZipVoice
null
null
null
null
969
null
null
apache-2.0
null
null
null
null
null
null
null
zipvoice/bin/prepare_tokens.py
null
null
null
null
null
null
Python
2026-05-04T02:36:32.911353
""" This file reads the texts in given manifest and save the new cuts with prepared tokens. """ import argparse import logging from functools import partial from pathlib import Path from lhotse import load_manifest, split_parallelize_combine from zipvoice.tokenizer.tokenizer import add_tokens def get_args(): p...
k2-fsa/ZipVoice
https://github.com/k2-fsa/ZipVoice
null
null
null
null
969
null
null
apache-2.0
null
null
null
null
null
null
null
zipvoice/bin/tensorrt_export.py
null
null
null
null
null
null
Python
2026-05-04T02:36:33.376597
#!/usr/bin/env python3 # Copyright 2025 Xiaomi Corp. (authors: Zengwei Yao) # Copyright 2025 Nvidia Corp. (authors: Yuekai Zhang) # # See ../../../../LICENSE for clarification regarding multiple authors # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use...
k2-fsa/ZipVoice
https://github.com/k2-fsa/ZipVoice
null
null
null
null
969
null
null
apache-2.0
null
null
null
null
null
null
null
zipvoice/bin/train_zipvoice_dialog.py
null
null
null
null
null
null
Python
2026-05-04T02:36:33.395156
#!/usr/bin/env python3 # Copyright 2025 Xiaomi Corp. (authors: Han Zhu) # # See ../../../../LICENSE for clarification regarding multiple authors # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of th...
k2-fsa/ZipVoice
https://github.com/k2-fsa/ZipVoice
null
null
null
null
969
null
null
apache-2.0
null
null
null
null
null
null
null
zipvoice/bin/train_zipvoice_dialog_stereo.py
null
null
null
null
null
null
Python
2026-05-04T02:36:33.415290
#!/usr/bin/env python3 # Copyright 2025 Xiaomi Corp. (authors: Han Zhu) # # See ../../../../LICENSE for clarification regarding multiple authors # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of th...
k2-fsa/ZipVoice
https://github.com/k2-fsa/ZipVoice
null
null
null
null
969
null
null
apache-2.0
null
null
null
null
null
null
null
zipvoice/bin/train_zipvoice_distill.py
null
null
null
null
null
null
Python
2026-05-04T02:36:33.417253
#!/usr/bin/env python3 # Copyright 2024 Xiaomi Corp. (authors: Han Zhu) # # See ../../../../LICENSE for clarification regarding multiple authors # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy ...
k2-fsa/ZipVoice
https://github.com/k2-fsa/ZipVoice
null
null
null
null
969
null
null
apache-2.0
null
null
null
null
null
null
null
zipvoice/bin/train_zipvoice.py
null
null
null
null
null
null
Python
2026-05-04T02:36:33.421301
#!/usr/bin/env python3 # Copyright 2024-2025 Xiaomi Corp. (authors: Wei Kang, # Han Zhu) # # See ../../../../LICENSE for clarification regarding multiple authors # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this fi...
k2-fsa/ZipVoice
https://github.com/k2-fsa/ZipVoice
null
null
null
null
969
null
null
apache-2.0
null
null
null
null
null
null
null
zipvoice/eval/models/ecapa_tdnn_wavllm.py
null
null
null
null
null
null
Python
2026-05-04T02:36:33.471896
import os import torch import torch.nn as nn import torch.nn.functional as F class ECAPA_TDNN_WAVLLM(nn.Module): def __init__( self, feat_dim=80, channels=512, emb_dim=192, global_context_att=False, sr=16000, ssl_model_path=None, ): super().__in...
k2-fsa/ZipVoice
https://github.com/k2-fsa/ZipVoice
null
null
null
null
969
null
null
apache-2.0
null
null
null
null
null
null
null
zipvoice/dataset/dataset.py
null
null
null
null
null
null
Python
2026-05-04T02:36:33.473464
from typing import Callable, Dict, List, Sequence, Union import torch from lhotse import CutSet, validate from lhotse.dataset import PrecomputedFeatures from lhotse.dataset.collation import collate_audio from lhotse.dataset.input_strategies import BatchIO from lhotse.utils import ifnone class SpeechSynthesisDataset(...
k2-fsa/ZipVoice
https://github.com/k2-fsa/ZipVoice
null
null
null
null
969
null
null
apache-2.0
null
null
null
null
null
null
null
zipvoice/eval/models/ecapa_tdnn_wavlm.py
null
null
null
null
null
null
Python
2026-05-04T02:36:33.475124
import os import torch import torch.nn as nn import torch.nn.functional as F class ECAPA_TDNN_WAVLM(nn.Module): def __init__( self, feat_dim=80, channels=512, emb_dim=192, global_context_att=False, sr=16000, ssl_model_path=None, ): super().__ini...
k2-fsa/ZipVoice
https://github.com/k2-fsa/ZipVoice
null
null
null
null
969
null
null
apache-2.0
null
null
null
null
null
null
null
zipvoice/dataset/datamodule.py
null
null
null
null
null
null
Python
2026-05-04T02:36:33.478223
# Copyright 2021 Piotr Żelasko # Copyright 2022-2024 Xiaomi Corporation (Authors: Mingshuang Luo, # Zengwei Yao, # Zengrui Jin, # ...
k2-fsa/ZipVoice
https://github.com/k2-fsa/ZipVoice
null
null
null
null
969
null
null
apache-2.0
null
null
null
null
null
null
null
zipvoice/eval/models/utmos.py
null
null
null
null
null
null
Python
2026-05-04T02:36:33.805468
""" UTMOS strong model. Implementation from https://github.com/tarepan/SpeechMOS """ import math from typing import List, Optional, Tuple import torch import torch.nn.functional as F import torchaudio # pyright: ignore [reportMissingTypeStubs] from torch import Tensor, nn class UTMOS22Strong(nn.Module): """Sa...
k2-fsa/ZipVoice
https://github.com/k2-fsa/ZipVoice
null
null
null
null
969
null
null
apache-2.0
null
null
null
null
null
null
null
zipvoice/eval/mos/utmos.py
null
null
null
null
null
null
Python
2026-05-04T02:36:35.314275
#!/usr/bin/env python3 # Copyright 2025 Xiaomi Corp. (authors: Han Zhu) # # See ../../../../LICENSE for clarification regarding multiple authors # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of t...
k2-fsa/ZipVoice
https://github.com/k2-fsa/ZipVoice
null
null
null
null
969
null
null
apache-2.0
null
null
null
null
null
null
null
zipvoice/models/modules/scaling.py
null
null
null
null
null
null
Python
2026-05-04T02:36:35.343287
# Copyright 2022-2025 Xiaomi Corp. (authors: Daniel Povey # Wei Kang) # # See ../../../../LICENSE for clarification regarding multiple authors # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compli...
k2-fsa/ZipVoice
https://github.com/k2-fsa/ZipVoice
null
null
null
null
969
null
null
apache-2.0
null
null
null
null
null
null
null
zipvoice/eval/wer/hubert.py
null
null
null
null
null
null
Python
2026-05-04T02:36:35.364694
#!/usr/bin/env python3 # Copyright 2025 Xiaomi Corp. (authors: Han Zhu, # Wei Kang) # # See ../../../../LICENSE for clarification regarding multiple authors # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file excep...
k2-fsa/ZipVoice
https://github.com/k2-fsa/ZipVoice
null
null
null
null
969
null
null
apache-2.0
null
null
null
null
null
null
null
zipvoice/eval/wer/dialog.py
null
null
null
null
null
null
Python
2026-05-04T02:36:35.415078
#!/usr/bin/env python3 # Copyright 2025 Xiaomi Corp. (authors: Han Zhu) # # See ../../../../LICENSE for clarification regarding multiple authors # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of t...
k2-fsa/ZipVoice
https://github.com/k2-fsa/ZipVoice
null
null
null
null
969
null
null
apache-2.0
null
null
null
null
null
null
null
zipvoice/eval/wer/seedtts.py
null
null
null
null
null
null
Python
2026-05-04T02:36:35.423289
#!/usr/bin/env python3 # Copyright 2025 Xiaomi Corp. (authors: Han Zhu, # Wei Kang) # # See ../../../../LICENSE for clarification regarding multiple authors # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file excep...
k2-fsa/ZipVoice
https://github.com/k2-fsa/ZipVoice
null
null
null
null
969
null
null
apache-2.0
null
null
null
null
null
null
null
zipvoice/models/modules/solver.py
null
null
null
null
null
null
Python
2026-05-04T02:36:35.426501
#!/usr/bin/env python3 # Copyright 2024 Xiaomi Corp. (authors: Han Zhu) # # See ../../../../LICENSE for clarification regarding multiple authors # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy ...
k2-fsa/ZipVoice
https://github.com/k2-fsa/ZipVoice
null
null
null
null
969
null
null
apache-2.0
null
null
null
null
null
null
null
zipvoice/eval/utils.py
null
null
null
null
null
null
Python
2026-05-04T02:36:35.427877
import logging import librosa import soundfile as sf import torch def load_waveform( fname: str, sample_rate: int, dtype: str = "float32", device: torch.device = torch.device("cpu"), return_numpy: bool = False, max_seconds: float = None, ) -> torch.Tensor: """ Load an audio file, prep...
k2-fsa/ZipVoice
https://github.com/k2-fsa/ZipVoice
null
null
null
null
969
null
null
apache-2.0
null
null
null
null
null
null
null
zipvoice/eval/speaker_similarity/sim.py
null
null
null
null
null
null
Python
2026-05-04T02:36:35.495248
#!/usr/bin/env python3 # Copyright 2025 Xiaomi Corp. (authors: Han Zhu # Wei Kang) # # See ../../../../LICENSE for clarification regarding multiple authors # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except...
k2-fsa/ZipVoice
https://github.com/k2-fsa/ZipVoice
null
null
null
null
969
null
null
apache-2.0
null
null
null
null
null
null
null
zipvoice/models/zipvoice.py
null
null
null
null
null
null
Python
2026-05-04T02:36:35.953260
# Copyright 2024 Xiaomi Corp. (authors: Wei Kang # Han Zhu) # # See ../../../../LICENSE for clarification regarding multiple authors # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with...
k2-fsa/ZipVoice
https://github.com/k2-fsa/ZipVoice
null
null
null
null
969
null
null
apache-2.0
null
null
null
null
null
null
null
zipvoice/models/modules/zipformer_two_stream.py
null
null
null
null
null
null
Python
2026-05-04T02:36:35.993549
#!/usr/bin/env python3 # Copyright 2025 Xiaomi Corp. (authors: Han Zhu) # # See ../../../../LICENSE for clarification regarding multiple authors # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of th...
k2-fsa/ZipVoice
https://github.com/k2-fsa/ZipVoice
null
null
null
null
969
null
null
apache-2.0
null
null
null
null
null
null
null
zipvoice/models/zipvoice_dialog.py
null
null
null
null
null
null
Python
2026-05-04T02:36:36.023385
# Copyright 2025 Xiaomi Corp. (authors: Han Zhu) # # See ../../../../LICENSE for clarification regarding multiple authors # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # ...
k2-fsa/ZipVoice
https://github.com/k2-fsa/ZipVoice
null
null
null
null
969
null
null
apache-2.0
null
null
null
null
null
null
null
zipvoice/tokenizer/tokenizer.py
null
null
null
null
null
null
Python
2026-05-04T02:36:36.025197
# Copyright 2023-2024 Xiaomi Corp. (authors: Zengwei Yao # Han Zhu, # Wei Kang) # # See ../../LICENSE for clarification regarding multiple authors # # Licensed under the Apache License, Version 2...
k2-fsa/ZipVoice
https://github.com/k2-fsa/ZipVoice
null
null
null
null
969
null
null
apache-2.0
null
null
null
null
null
null
null
zipvoice/tokenizer/normalizer.py
null
null
null
null
null
null
Python
2026-05-04T02:36:36.066025
import re from abc import ABC, abstractmethod import cn2an import inflect class TextNormalizer(ABC): """Abstract base class for text normalization, defining common interface.""" @abstractmethod def normalize(self, text: str) -> str: """Normalize text.""" raise NotImplementedError class...
k2-fsa/ZipVoice
https://github.com/k2-fsa/ZipVoice
null
null
null
null
969
null
null
apache-2.0
null
null
null
null
null
null
null
zipvoice/models/zipvoice_distill.py
null
null
null
null
null
null
Python
2026-05-04T02:36:36.066620
# Copyright 2024 Xiaomi Corp. (authors: Wei Kang # Han Zhu) # # See ../../../../LICENSE for clarification regarding multiple authors # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with...
k2-fsa/ZipVoice
https://github.com/k2-fsa/ZipVoice
null
null
null
null
969
null
null
apache-2.0
null
null
null
null
null
null
null
zipvoice/utils/checkpoint.py
null
null
null
null
null
null
Python
2026-05-04T02:36:36.106166
# Copyright 2021-2025 Xiaomi Corporation (authors: Fangjun Kuang, # Zengwei Yao) # # See ../../LICENSE for clarification regarding multiple authors # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance ...
k2-fsa/ZipVoice
https://github.com/k2-fsa/ZipVoice
null
null
null
null
969
null
null
apache-2.0
null
null
null
null
null
null
null
zipvoice/utils/common.py
null
null
null
null
null
null
Python
2026-05-04T02:36:36.137385
import argparse import collections import json import logging import os import socket import subprocess import sys import warnings from collections import defaultdict from contextlib import contextmanager from datetime import datetime from pathlib import Path from typing import Any, Dict, List, Tuple, Union import tor...
k2-fsa/ZipVoice
https://github.com/k2-fsa/ZipVoice
null
null
null
null
969
null
null
apache-2.0
null
null
null
null
null
null
null
zipvoice/utils/feature.py
null
null
null
null
null
null
Python
2026-05-04T02:36:36.897323
#!/usr/bin/env python3 # Copyright 2024 Xiaomi Corp. (authors: Han Zhu) # # See ../../../../LICENSE for clarification regarding multiple authors # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy ...
k2-fsa/ZipVoice
https://github.com/k2-fsa/ZipVoice
null
null
null
null
969
null
null
apache-2.0
null
null
null
null
null
null
null
zipvoice/utils/diagnostics.py
null
null
null
null
null
null
Python
2026-05-04T02:36:36.898370
# Copyright 2022-2024 Xiaomi Corp. (authors: Daniel Povey # Zengwei Yao # Mingshuang Luo, # Zengrui Jin,) # # See ../LICENSE for clarification regarding multip...
k2-fsa/ZipVoice
https://github.com/k2-fsa/ZipVoice
null
null
null
null
969
null
null
apache-2.0
null
null
null
null
null
null
null
zipvoice/eval/speaker_similarity/cpsim.py
null
null
null
null
null
null
Python
2026-05-04T02:36:43.497777
#!/usr/bin/env python3 # Copyright 2025 Xiaomi Corp. (authors: Han Zhu) # # See ../../../../LICENSE for clarification regarding multiple authors # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of t...
k2-fsa/ZipVoice
https://github.com/k2-fsa/ZipVoice
null
null
null
null
969
null
null
apache-2.0
null
null
null
null
null
null
null
zipvoice/models/modules/zipformer.py
null
null
null
null
null
null
Python
2026-05-04T02:36:44.076096
#!/usr/bin/env python3 # Copyright 2022-2024 Xiaomi Corp. (authors: Daniel Povey, # Zengwei Yao, # Wei Kang # Han Zhu) # # See ../../../../LICENSE ...
zhyever/Monocular-Depth-Estimation-Toolbox
https://github.com/zhyever/Monocular-Depth-Estimation-Toolbox
null
null
null
null
967
null
null
apache-2.0
null
null
null
null
null
null
null
configs/_base_/datasets/cityscapes.py
null
null
null
null
null
null
Python
2026-05-04T02:36:46.375228
# dataset settings dataset_type = 'CSDataset' data_root = 'data/cityscapes' img_norm_cfg = dict( mean=[123.675, 116.28, 103.53], std=[58.395, 57.12, 57.375], to_rgb=True) crop_size= (352, 704) train_pipeline = [ dict(type='LoadImageFromFile'), dict(type='DisparityLoadAnnotations'), dict(type='Resize', i...
zhyever/Monocular-Depth-Estimation-Toolbox
https://github.com/zhyever/Monocular-Depth-Estimation-Toolbox
null
null
null
null
967
null
null
apache-2.0
null
null
null
null
null
null
null
configs/_base_/datasets/sun_rgbd.py
null
null
null
null
null
null
Python
2026-05-04T02:36:46.381264
# dataset settings # We only use SUN RGB-D dataset for cross-dataset evaluation dataset_type = 'SUNRGBDDataset' data_root = 'data/sunrgbd/' img_norm_cfg = dict( mean=[123.675, 116.28, 103.53], std=[58.395, 57.12, 57.375], to_rgb=True) test_pipeline = [ dict(type='LoadImageFromFile'), dict( type='Mul...
zhyever/Monocular-Depth-Estimation-Toolbox
https://github.com/zhyever/Monocular-Depth-Estimation-Toolbox
null
null
null
null
967
null
null
apache-2.0
null
null
null
null
null
null
null
configs/_base_/datasets/kitti_benchmark.py
null
null
null
null
null
null
Python
2026-05-04T02:36:46.384134
# dataset settings dataset_type = 'KITTIDataset' data_root = 'data/kitti' img_norm_cfg = dict( mean=[123.675, 116.28, 103.53], std=[58.395, 57.12, 57.375], to_rgb=True) crop_size= (352, 704) train_pipeline = [ dict(type='LoadImageFromFile'), dict(type='DepthLoadAnnotations'), dict(type='LoadKITTICamIntr...
zhyever/Monocular-Depth-Estimation-Toolbox
https://github.com/zhyever/Monocular-Depth-Estimation-Toolbox
null
null
null
null
967
null
null
apache-2.0
null
null
null
null
null
null
null
configs/_base_/datasets/kitti.py
null
null
null
null
null
null
Python
2026-05-04T02:36:46.389589
# dataset settings dataset_type = 'KITTIDataset' data_root = 'data/kitti' img_norm_cfg = dict( mean=[123.675, 116.28, 103.53], std=[58.395, 57.12, 57.375], to_rgb=True) crop_size= (352, 704) train_pipeline = [ dict(type='LoadImageFromFile'), dict(type='DepthLoadAnnotations'), dict(type='LoadKITTICamIntr...
zhyever/Monocular-Depth-Estimation-Toolbox
https://github.com/zhyever/Monocular-Depth-Estimation-Toolbox
null
null
null
null
967
null
null
apache-2.0
null
null
null
null
null
null
null
configs/_base_/models/binsformer.py
null
null
null
null
null
null
Python
2026-05-04T02:36:46.391367
# model settings norm_cfg = dict(type='SyncBN', requires_grad=True) backbone_norm_cfg = dict(type='LN', requires_grad=True) model = dict( type='DepthEncoderDecoder', backbone=dict( type='SwinTransformer', pretrain_img_size=224, embed_dims=96, patch_size=4, window_size=7, ...
zhyever/Monocular-Depth-Estimation-Toolbox
https://github.com/zhyever/Monocular-Depth-Estimation-Toolbox
null
null
null
null
967
null
null
apache-2.0
null
null
null
null
null
null
null
configs/_base_/models/bts.py
null
null
null
null
null
null
Python
2026-05-04T02:36:46.401456
# model settings norm_cfg = dict(type='BN', requires_grad=True) model = dict( type='DepthEncoderDecoder', backbone=dict( type='ResNet', depth=50, num_stages=4, out_indices=(0, 1, 2, 3, 4), style='pytorch', norm_cfg=norm_cfg), decode_head=dict( type='BT...
zhyever/Monocular-Depth-Estimation-Toolbox
https://github.com/zhyever/Monocular-Depth-Estimation-Toolbox
null
null
null
null
967
null
null
apache-2.0
null
null
null
null
null
null
null
configs/_base_/datasets/nyu.py
null
null
null
null
null
null
Python
2026-05-04T02:36:46.408651
# dataset settings dataset_type = 'NYUDataset' data_root = 'data/nyu/' img_norm_cfg = dict( mean=[123.675, 116.28, 103.53], std=[58.395, 57.12, 57.375], to_rgb=True) crop_size= (416, 544) train_pipeline = [ dict(type='LoadImageFromFile'), dict(type='DepthLoadAnnotations'), dict(type='NYUCrop', depth=Tru...