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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
kuleshov-group/bd3lms | https://github.com/kuleshov-group/bd3lms | null | null | null | null | 998 | null | null | apache-2.0 | null | null | null | null | null | null | null | ssd-lm/ssd_model_decode_alt.py | null | null | null | null | null | null | Python | 2026-05-04T02:29:58.294221 | #!/usr/bin/env python
# coding=utf-8
# Copyright 2021 The HuggingFace Inc. team. All rights reserved.
#
# 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/LI... |
sematic-ai/sematic | https://github.com/sematic-ai/sematic | null | null | null | null | 998 | null | null | apache-2.0 | null | null | null | null | null | null | null | sematic/abstract_plugin.py | null | null | null | null | null | null | Python | 2026-05-04T02:30:04.074151 | """
Module that holds the base abstractions for Sematic's plug-in system.
Plug-ins are classes that inherit from the AbstractPlugin abstract base class.
Plug-ins are imported at runtime based on user's or server's settings stored in
their corresponding yaml files.
"""
# Standard Library
import abc
import enum
import... |
sematic-ai/sematic | https://github.com/sematic-ai/sematic | null | null | null | null | 998 | null | null | apache-2.0 | null | null | null | null | null | null | null | sematic/abstract_future.py | null | null | null | null | null | null | Python | 2026-05-04T02:30:04.076335 | """
`AbstractFuture` is needed to resolve circular dependencies
between `Future` and `Resolver`.
"""
# Standard Library
import abc
import enum
import math
import time
import uuid
from dataclasses import dataclass, replace
from typing import Any, Dict, FrozenSet, List, Optional, Tuple, Union
# Sematic
from sematic.abs... |
sematic-ai/sematic | https://github.com/sematic-ai/sematic | null | null | null | null | 998 | null | null | apache-2.0 | null | null | null | null | null | null | null | bazel/worker.py | null | null | null | null | null | null | Python | 2026-05-04T02:30:04.081310 | """
This is the entry point for the sematic_pipeline Bazel rule.
We need to do this because we don't want to use the current worker at
//sematic/resolvers:worker we want to use the one in the wheel that the user has
installed.
"""
from sematic.resolvers.worker import wrap_main_with_logging
if __name__ == "__main__":... |
sematic-ai/sematic | https://github.com/sematic-ai/sematic | null | null | null | null | 998 | null | null | apache-2.0 | null | null | null | null | null | null | null | sematic/abstract_function.py | null | null | null | null | null | null | Python | 2026-05-04T02:30:04.090599 | """
Module defining AbstractFunction.
This is needed to avoid circular dependencies between
modules for Function and Future.
"""
# Standard Library
import abc
import typing
class FunctionError(Exception):
"""Error when the exception originated inside user code"""
pass
class AbstractFunction(abc.ABC):
... |
sematic-ai/sematic | https://github.com/sematic-ai/sematic | null | null | null | null | 998 | null | null | apache-2.0 | null | null | null | null | null | null | null | sematic/abstract_system_metric.py | null | null | null | null | null | null | Python | 2026-05-04T02:30:04.104214 | # Standard Library
import abc
import logging
from datetime import datetime, timedelta
from typing import Dict, List, Optional, Tuple
# Third-party
import sqlalchemy.orm
# Sematic
from sematic.db.db import db
from sematic.db.models.run import Run
from sematic.db.models.user import User
from sematic.db.queries import g... |
sematic-ai/sematic | https://github.com/sematic-ai/sematic | null | null | null | null | 998 | null | null | apache-2.0 | null | null | null | null | null | null | null | docs/conf.py | null | null | null | null | null | null | Python | 2026-05-04T02:30:04.104718 | # Configuration file for the Sphinx documentation builder.
#
# This file only contains a selection of the most common options. For a full
# list see the documentation:
# https://www.sphinx-doc.org/en/master/usage/configuration.html
# -- Path setup --------------------------------------------------------------
# If ex... |
sematic-ai/sematic | https://github.com/sematic-ai/sematic | null | null | null | null | 998 | null | null | apache-2.0 | null | null | null | null | null | null | null | sematic/api/app.py | null | null | null | null | null | null | Python | 2026-05-04T02:30:04.128331 | # Third-party
from flask import Flask
from flask_cors import CORS
sematic_api = Flask(__name__, static_folder="../ui/build/static")
CORS(sematic_api, resources={r"/api/*": {"origins": "*"}})
|
sematic-ai/sematic | https://github.com/sematic-ai/sematic | null | null | null | null | 998 | null | null | apache-2.0 | null | null | null | null | null | null | null | sematic/__init__.py | null | null | null | null | null | null | Python | 2026-05-04T02:30:04.177004 | """
Sematic Public API
"""
# Standard Library
import os # noqa: E402
import platform # noqa: E402
import sys # noqa: E402
# `urllib` invokes the underlying OS framework to get configured system proxies.
# On MacOS, this call causes the OS to immediately kill the `gunicorn` WSGI worker because
# it had not immedia... |
sematic-ai/sematic | https://github.com/sematic-ai/sematic | null | null | null | null | 998 | null | null | apache-2.0 | null | null | null | null | null | null | null | sematic/api/endpoints/edges.py | null | null | null | null | null | null | Python | 2026-05-04T02:30:05.097335 | # Standard Library
from typing import List
# Third-party
import flask
# Sematic
from sematic.api.app import sematic_api
from sematic.api.endpoints.request_parameters import get_request_parameters
from sematic.db.db import db
from sematic.db.models.edge import Edge
@sematic_api.route("/api/v1/edges", methods=["GET"]... |
sematic-ai/sematic | https://github.com/sematic-ai/sematic | null | null | null | null | 998 | null | null | apache-2.0 | null | null | null | null | null | null | null | sematic/api/endpoints/events.py | null | null | null | null | null | null | Python | 2026-05-04T02:30:05.097868 | # Standard Library
import logging
from http import HTTPStatus
from typing import Any, Dict, Optional
# Third-party
import flask
import requests
from starlette.applications import Starlette # type: ignore
from starlette.responses import JSONResponse # type: ignore
from starlette.routing import Route # type: ignore
... |
sematic-ai/sematic | https://github.com/sematic-ai/sematic | null | null | null | null | 998 | null | null | apache-2.0 | null | null | null | null | null | null | null | sematic/api/endpoints/external_resources.py | null | null | null | null | null | null | Python | 2026-05-04T02:30:05.099803 | # Standard Library
import logging
import time
from enum import Enum, unique
from http import HTTPStatus
from typing import Optional
# Third-party
import flask
# Sematic
from sematic.api.app import sematic_api
from sematic.api.endpoints.auth import authenticate
from sematic.api.endpoints.request_parameters import json... |
sematic-ai/sematic | https://github.com/sematic-ai/sematic | null | null | null | null | 998 | null | null | apache-2.0 | null | null | null | null | null | null | null | sematic/api/endpoints/meta.py | null | null | null | null | null | null | Python | 2026-05-04T02:30:05.127504 | """Metadata about the server itself."""
# Standard Library
from logging import getLogger
from typing import Optional
# Third-party
import flask
import sqlalchemy
# Sematic
from sematic.api.app import sematic_api
from sematic.api.endpoints.auth import authenticate
from sematic.config.server_settings import ServerSett... |
sematic-ai/sematic | https://github.com/sematic-ai/sematic | null | null | null | null | 998 | null | null | apache-2.0 | null | null | null | null | null | null | null | sematic/api/endpoints/auth.py | null | null | null | null | null | null | Python | 2026-05-04T02:30:05.128054 | # Standard Library
import functools
from http import HTTPStatus
from typing import Callable
# Third-party
import flask
from google.auth.exceptions import GoogleAuthError
from google.auth.transport import requests
from google.oauth2 import id_token
from sqlalchemy.orm.exc import NoResultFound
from starlette.responses i... |
sematic-ai/sematic | https://github.com/sematic-ai/sematic | null | null | null | null | 998 | null | null | apache-2.0 | null | null | null | null | null | null | null | sematic/api/endpoints/metrics.py | null | null | null | null | null | null | Python | 2026-05-04T02:30:05.133083 | # Standard Library
import datetime
import enum
import json
import logging
import time
from http import HTTPStatus
from typing import Any, Dict, List, Literal, Optional, Type, cast
# Third-party
import flask
# Sematic
from sematic.abstract_system_metric import AbstractSystemMetric
from sematic.api.app import sematic_a... |
sematic-ai/sematic | https://github.com/sematic-ai/sematic | null | null | null | null | 998 | null | null | apache-2.0 | null | null | null | null | null | null | null | sematic/api/endpoints/artifacts.py | null | null | null | null | null | null | Python | 2026-05-04T02:30:06.740862 | # Standard Library
import logging
from http import HTTPStatus
from typing import List, Optional
# Third-party
import flask
from sqlalchemy.orm.exc import NoResultFound
# Sematic
from sematic.api.app import sematic_api
from sematic.api.endpoints.auth import authenticate
from sematic.api.endpoints.request_parameters im... |
sematic-ai/sematic | https://github.com/sematic-ai/sematic | null | null | null | null | 998 | null | null | apache-2.0 | null | null | null | null | null | null | null | sematic/api/endpoints/resolutions.py | null | null | null | null | null | null | Python | 2026-05-04T02:30:10.023630 | """
Module keeping all /api/v*/runs/* API endpoints.
"""
# Standard Library
import logging
from datetime import datetime
from http import HTTPStatus
from typing import Callable, Dict, List, Optional, Tuple, Union
from urllib.parse import urlencode
# Third-party
import flask
import sqlalchemy
from sqlalchemy.orm.exc i... |
sematic-ai/sematic | https://github.com/sematic-ai/sematic | null | null | null | null | 998 | null | null | apache-2.0 | null | null | null | null | null | null | null | sematic/api/endpoints/tests/test_artifacts.py | null | null | null | null | null | null | Python | 2026-05-04T02:30:10.264833 | # Standard Library
from typing import Any, Dict
# Third-party
import flask.testing
# Sematic
from sematic.api.tests.fixtures import mock_auth, test_client # noqa: F401
from sematic.db.models.artifact import Artifact
from sematic.db.tests.fixtures import persisted_artifact, test_db # noqa: F401
from sematic.tests.fi... |
sematic-ai/sematic | https://github.com/sematic-ai/sematic | null | null | null | null | 998 | null | null | apache-2.0 | null | null | null | null | null | null | null | sematic/api/endpoints/tests/test_auth.py | null | null | null | null | null | null | Python | 2026-05-04T02:30:10.820293 | # Standard Library
import uuid
from http import HTTPStatus
from typing import Dict
from unittest import mock
# Third-party
import flask
import flask.testing
import pytest
from google.auth.exceptions import GoogleAuthError
# Sematic
from sematic.api.app import sematic_api
from sematic.api.endpoints.auth import authent... |
sematic-ai/sematic | https://github.com/sematic-ai/sematic | null | null | null | null | 998 | null | null | apache-2.0 | null | null | null | null | null | null | null | sematic/api/endpoints/request_parameters.py | null | null | null | null | null | null | Python | 2026-05-04T02:30:10.820827 | # Standard Library
import json
import logging
import sys
from dataclasses import dataclass
from http import HTTPStatus
from typing import (
Any,
Callable,
Dict,
List,
Literal,
Optional,
Tuple,
Type,
Union,
cast,
)
from urllib.parse import urlsplit, urlunsplit
# Third-party
impor... |
sematic-ai/sematic | https://github.com/sematic-ai/sematic | null | null | null | null | 998 | null | null | apache-2.0 | null | null | null | null | null | null | null | sematic/api/endpoints/runs.py | null | null | null | null | null | null | Python | 2026-05-04T02:30:10.933406 | """
Module keeping all /api/v*/runs/* API endpoints.
"""
# Standard Library
import base64
import datetime
import logging
from dataclasses import asdict
from http import HTTPStatus
from typing import Any, Dict, List, Optional, Tuple, Union
from urllib.parse import urlencode, urlsplit, urlunsplit
# Third-party
import f... |
sematic-ai/sematic | https://github.com/sematic-ai/sematic | null | null | null | null | 998 | null | null | apache-2.0 | null | null | null | null | null | null | null | sematic/api/endpoints/storage.py | null | null | null | null | null | null | Python | 2026-05-04T02:30:11.046650 | # Standard Library
import logging
from http import HTTPStatus
from typing import Optional
from urllib.parse import urlparse
# Third-party
import flask
# Sematic
from sematic.api.app import sematic_api
from sematic.api.endpoints.auth import authenticate
from sematic.api.endpoints.request_parameters import jsonify_erro... |
sematic-ai/sematic | https://github.com/sematic-ai/sematic | null | null | null | null | 998 | null | null | apache-2.0 | null | null | null | null | null | null | null | sematic/api/endpoints/tests/test_external_resources.py | null | null | null | null | null | null | Python | 2026-05-04T02:30:11.991135 | # Standard Library
import time
from dataclasses import dataclass, replace
from unittest.mock import patch
# Third-party
import flask.testing
# Sematic
from sematic.api.tests.fixtures import (
make_auth_test, # noqa: F401
mock_auth, # noqa: F401
test_client, # noqa: F401; noqa: F401
)
from sematic.db.mo... |
sematic-ai/sematic | https://github.com/sematic-ai/sematic | null | null | null | null | 998 | null | null | apache-2.0 | null | null | null | null | null | null | null | sematic/api/endpoints/payloads.py | null | null | null | null | null | null | Python | 2026-05-04T02:30:11.992251 | """Augment or modify the returned json for ORM models for returns from API calls."""
# Standard Library
import logging
from typing import Any, Dict, List, Protocol, Sequence
# Third-party
from sqlalchemy import String
from sqlalchemy.orm import declared_attr
# Sematic
from sematic.db.queries import get_user, get_use... |
sematic-ai/sematic | https://github.com/sematic-ai/sematic | null | null | null | null | 998 | null | null | apache-2.0 | null | null | null | null | null | null | null | sematic/api/endpoints/tests/test_meta.py | null | null | null | null | null | null | Python | 2026-05-04T02:30:12.535588 | # Standard Library
from typing import Any, Dict, cast
# Third-party
import flask.testing
import sqlalchemy
# Sematic
import sematic.api.endpoints.meta # noqa: F401
from sematic.api.app import sematic_api # noqa: F401
from sematic.api.tests.fixtures import (
mock_requests, # noqa: F401
mock_server_settings,... |
sematic-ai/sematic | https://github.com/sematic-ai/sematic | null | null | null | null | 998 | null | null | apache-2.0 | null | null | null | null | null | null | null | sematic/api/endpoints/tests/test_resolutions.py | null | null | null | null | null | null | Python | 2026-05-04T02:30:12.537087 | # Standard Library
import json
import time
import typing
from copy import copy
from dataclasses import replace
from http import HTTPStatus
from unittest import mock
from urllib.parse import urlencode
# Third-party
import flask.testing
import pytest
# Sematic
from sematic.abstract_future import FutureState
from semati... |
sematic-ai/sematic | https://github.com/sematic-ai/sematic | null | null | null | null | 998 | null | null | apache-2.0 | null | null | null | null | null | null | null | sematic/api/endpoints/tests/test_metrics.py | null | null | null | null | null | null | Python | 2026-05-04T02:30:12.616938 | # Standard Library
import json
from datetime import datetime, timedelta
from typing import List
# Third-party
import flask.testing
import pytest
# Sematic
from sematic.abstract_future import FutureState
from sematic.api.endpoints.metrics import MetricEvent, save_event_metrics
from sematic.api.tests.fixtures import te... |
sematic-ai/sematic | https://github.com/sematic-ai/sematic | null | null | null | null | 998 | null | null | apache-2.0 | null | null | null | null | null | null | null | sematic/api/endpoints/tests/test_runs.py | null | null | null | null | null | null | Python | 2026-05-04T02:30:12.648143 | # Standard Library
import datetime
import json
import time
import typing
import uuid
from dataclasses import asdict, replace
from unittest import mock
from urllib.parse import urlencode
# Third-party
import flask.testing
import pytest
# Sematic
import sematic.api_client as api_client
from sematic.abstract_future impo... |
sematic-ai/sematic | https://github.com/sematic-ai/sematic | null | null | null | null | 998 | null | null | apache-2.0 | null | null | null | null | null | null | null | sematic/api/endpoints/tests/test_organizations.py | null | null | null | null | null | null | Python | 2026-05-04T02:30:12.665813 | # Standard Library
from typing import List
# Third-party
import flask.testing
import pytest
# Sematic
from sematic.api.tests.fixtures import test_client # noqa: F401
from sematic.db.db import DB
from sematic.db.models.organization import Organization
from sematic.db.tests.fixtures import test_db # noqa: F401
@pyt... |
sematic-ai/sematic | https://github.com/sematic-ai/sematic | null | null | null | null | 998 | null | null | apache-2.0 | null | null | null | null | null | null | null | sematic/api/endpoints/tests/test_storage.py | null | null | null | null | null | null | Python | 2026-05-04T02:30:12.842553 | # Third-party
import flask
import flask.testing
# Sematic
from sematic.api.tests.fixtures import mock_auth, test_client # noqa: F401
from sematic.db.tests.fixtures import test_db # noqa: F401
def test_upload_download(
mock_auth, # noqa: F811
test_client: flask.testing.FlaskClient, # noqa: F811
):
val... |
sematic-ai/sematic | https://github.com/sematic-ai/sematic | null | null | null | null | 998 | null | null | apache-2.0 | null | null | null | null | null | null | null | sematic/api/endpoints/tests/test_users.py | null | null | null | null | null | null | Python | 2026-05-04T02:30:13.201796 | # Standard Library
from typing import List
# Third-party
import flask.testing
import pytest
# Sematic
from sematic.api.tests.fixtures import test_client # noqa: F401
from sematic.db.db import DB
from sematic.db.models.user import User
from sematic.db.tests.fixtures import test_db # noqa: F401
@pytest.fixture
def ... |
sematic-ai/sematic | https://github.com/sematic-ai/sematic | null | null | null | null | 998 | null | null | apache-2.0 | null | null | null | null | null | null | null | sematic/api/endpoints/users.py | null | null | null | null | null | null | Python | 2026-05-04T02:30:13.406588 | # Standard Library
from typing import Optional
# Third-party
import flask
# Sematic
from sematic.api.app import sematic_api
from sematic.api.endpoints.auth import authenticate
from sematic.db.models.user import User
from sematic.db.queries import get_users
@sematic_api.route("/api/v1/users", methods=["GET"])
@authe... |
sematic-ai/sematic | https://github.com/sematic-ai/sematic | null | null | null | null | 998 | null | null | apache-2.0 | null | null | null | null | null | null | null | sematic/api/server.py | null | null | null | null | null | null | Python | 2026-05-04T02:30:13.756480 | # Standard Library
import argparse
import logging
import os
import signal
import sys
from logging.config import dictConfig
from typing import Optional
# Third-party
import flask
import socketio # type: ignore
import uvicorn # type: ignore
from asgiref.wsgi import WsgiToAsgi # type: ignore
from flask import jsonify,... |
sematic-ai/sematic | https://github.com/sematic-ai/sematic | null | null | null | null | 998 | null | null | apache-2.0 | null | null | null | null | null | null | null | sematic/api/tests/fixtures.py | null | null | null | null | null | null | Python | 2026-05-04T02:30:13.758270 | # Standard Library
import contextlib
import re
from copy import copy
from http import HTTPStatus
from typing import Dict, Type, cast
from unittest import mock
# Third-party
import flask.testing
import pytest
# responses 0.21.0 has type stubs, but they break mypy
# See https://github.com/getsentry/responses/issues/556... |
sematic-ai/sematic | https://github.com/sematic-ai/sematic | null | null | null | null | 998 | null | null | apache-2.0 | null | null | null | null | null | null | null | sematic/caching/__init__.py | null | null | null | null | null | null | Python | 2026-05-04T02:30:14.119941 | # Sematic
from sematic.caching.caching import (
CacheNamespace, # noqa: F401
CacheNamespaceCallable, # noqa: F401
determine_cache_namespace, # noqa: F401
get_future_cache_key, # noqa: F401; noqa: F401
)
|
sematic-ai/sematic | https://github.com/sematic-ai/sematic | null | null | null | null | 998 | null | null | apache-2.0 | null | null | null | null | null | null | null | sematic/api/tests/test_server.py | null | null | null | null | null | null | Python | 2026-05-04T02:30:14.121165 | # Third-party
import flask.testing
# Sematic
from sematic.api.tests.fixtures import test_client # noqa: F401
from sematic.db.tests.fixtures import pg_mock, test_db # noqa: F401
def test_ping(test_client: flask.testing.FlaskClient): # noqa: F811
result = test_client.get("/api/v1/ping")
assert result.json =... |
sematic-ai/sematic | https://github.com/sematic-ai/sematic | null | null | null | null | 998 | null | null | apache-2.0 | null | null | null | null | null | null | null | sematic/api_client.py | null | null | null | null | null | null | Python | 2026-05-04T02:30:14.123097 | # Standard Library
import json
import logging
import time
import uuid
from enum import Enum
from typing import Any, Callable, Dict, Iterable, List, Literal, Optional, Tuple, cast
from urllib.parse import urlencode
# Third-party
import requests
from requests.exceptions import ConnectionError
# Sematic
from sematic.abs... |
sematic-ai/sematic | https://github.com/sematic-ai/sematic | null | null | null | null | 998 | null | null | apache-2.0 | null | null | null | null | null | null | null | sematic/caching/caching.py | null | null | null | null | null | null | Python | 2026-05-04T02:30:14.233036 | # Standard Library
import json
import logging
from typing import Callable, Optional, Union
# Sematic
from sematic.abstract_future import AbstractFuture
from sematic.types.serialization import (
get_json_encodable_summary,
type_to_json_encodable,
value_to_json_encodable,
)
from sematic.utils.hashing import ... |
sematic-ai/sematic | https://github.com/sematic-ai/sematic | null | null | null | null | 998 | null | null | apache-2.0 | null | null | null | null | null | null | null | sematic/caching/git.py | null | null | null | null | null | null | Python | 2026-05-04T02:30:14.468072 | # Sematic
from sematic.abstract_future import AbstractFuture
from sematic.utils.git import get_git_info
def get_git_sha_caching_namespace(future: AbstractFuture) -> str:
"""
Returns a caching namespace based on the specified `Future` func's source code git
commit SHA.
Must only be used when launching... |
sematic-ai/sematic | https://github.com/sematic-ai/sematic | null | null | null | null | 998 | null | null | apache-2.0 | null | null | null | null | null | null | null | sematic/cli/cancel.py | null | null | null | null | null | null | Python | 2026-05-04T02:30:15.002351 | # Third-party
import click
# Sematic
import sematic.api_client as api_client
from sematic.cli.cli import cli
from sematic.config.config import switch_env
@cli.command("cancel", short_help="Cancel a run") # type: ignore
@click.argument("run_id", type=click.STRING)
def cancel(run_id: str):
"""
Cancel a pipeli... |
sematic-ai/sematic | https://github.com/sematic-ai/sematic | null | null | null | null | 998 | null | null | apache-2.0 | null | null | null | null | null | null | null | sematic/caching/tests/test_caching.py | null | null | null | null | null | null | Python | 2026-05-04T02:30:15.003029 | # Standard Library
from typing import Dict
from unittest import mock
# Third-party
import pytest
# Sematic
from sematic import func
from sematic.abstract_future import AbstractFuture
from sematic.caching.caching import determine_cache_namespace, get_future_cache_key
from sematic.runners.state_machine_runner import St... |
sematic-ai/sematic | https://github.com/sematic-ai/sematic | null | null | null | null | 998 | null | null | apache-2.0 | null | null | null | null | null | null | null | sematic/api/endpoints/notes.py | null | null | null | null | null | null | Python | 2026-05-04T02:30:15.004181 | # Standard Library
import json
from http import HTTPStatus
from typing import List, Optional
# Third-party
import flask
from sqlalchemy.orm.exc import NoResultFound
# Sematic
from sematic.api.app import sematic_api
from sematic.api.endpoints.auth import authenticate
from sematic.api.endpoints.payloads import get_note... |
sematic-ai/sematic | https://github.com/sematic-ai/sematic | null | null | null | null | 998 | null | null | apache-2.0 | null | null | null | null | null | null | null | sematic/api/endpoints/organizations_users.py | null | null | null | null | null | null | Python | 2026-05-04T02:30:15.178740 | # Standard Library
from http import HTTPStatus
from typing import List, Optional
# Third-party
import flask
# Sematic
from sematic.api.app import sematic_api
from sematic.api.endpoints.auth import authenticate
from sematic.api.endpoints.request_parameters import (
get_request_parameters,
jsonify_error,
)
from... |
sematic-ai/sematic | https://github.com/sematic-ai/sematic | null | null | null | null | 998 | null | null | apache-2.0 | null | null | null | null | null | null | null | sematic/api/endpoints/organizations.py | null | null | null | null | null | null | Python | 2026-05-04T02:30:15.179436 | # Standard Library
from typing import Optional
# Third-party
import flask
# Sematic
from sematic.api.app import sematic_api
from sematic.api.endpoints.auth import authenticate
from sematic.db.models.user import User
from sematic.db.queries import get_organizations
@sematic_api.route("/api/v1/organizations", methods... |
sematic-ai/sematic | https://github.com/sematic-ai/sematic | null | null | null | null | 998 | null | null | apache-2.0 | null | null | null | null | null | null | null | sematic/api/endpoints/tests/test_notes.py | null | null | null | null | null | null | Python | 2026-05-04T02:30:17.093212 | # Standard Library
import json
# Third-party
import flask.testing
import pytest
from sqlalchemy.orm.exc import NoResultFound
# Sematic
from sematic.api.tests.fixtures import (
make_auth_test, # noqa: F401
mock_auth, # noqa: F401
test_client, # noqa: F401; noqa: F401
)
from sematic.db.models.note import... |
google-research/magvit | https://github.com/google-research/magvit | null | null | null | null | 998 | null | null | apache-2.0 | null | null | null | null | null | null | null | videogvt/configs/vqgan3d_bair_config.py | null | null | null | null | null | null | Python | 2026-05-04T02:30:19.552459 | # Copyright 2023 The videogvt 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
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in... |
google-research/magvit | https://github.com/google-research/magvit | null | null | null | null | 998 | null | null | apache-2.0 | null | null | null | null | null | null | null | videogvt/configs/maskgvt_bair_config.py | null | null | null | null | null | null | Python | 2026-05-04T02:30:19.554002 | # Copyright 2023 The videogvt 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
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in... |
google-research/magvit | https://github.com/google-research/magvit | null | null | null | null | 998 | null | null | apache-2.0 | null | null | null | null | null | null | null | videogvt/interfaces/colab_utils.py | null | null | null | null | null | null | Python | 2026-05-04T02:30:19.556283 | # Copyright 2023 The videogvt 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
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in... |
google-research/magvit | https://github.com/google-research/magvit | null | null | null | null | 998 | null | null | apache-2.0 | null | null | null | null | null | null | null | videogvt/configs/vqgan3d_ucf101_config.py | null | null | null | null | null | null | Python | 2026-05-04T02:30:19.568200 | # Copyright 2023 The videogvt 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
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in... |
google-research/magvit | https://github.com/google-research/magvit | null | null | null | null | 998 | null | null | apache-2.0 | null | null | null | null | null | null | null | videogvt/clip/simple_tokenizer.py | null | null | null | null | null | null | Python | 2026-05-04T02:30:19.569333 | # Copyright 2023 The videogvt 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
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in... |
google-research/magvit | https://github.com/google-research/magvit | null | null | null | null | 998 | null | null | apache-2.0 | null | null | null | null | null | null | null | videogvt/configs/maskgvt_bair_multitask_config.py | null | null | null | null | null | null | Python | 2026-05-04T02:30:19.570331 | # Copyright 2023 The videogvt 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
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in... |
google-research/magvit | https://github.com/google-research/magvit | null | null | null | null | 998 | null | null | apache-2.0 | null | null | null | null | null | null | null | videogvt/interfaces/mm_vq.py | null | null | null | null | null | null | Python | 2026-05-04T02:30:19.573111 | # Copyright 2023 The videogvt 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
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in... |
google-research/magvit | https://github.com/google-research/magvit | null | null | null | null | 998 | null | null | apache-2.0 | null | null | null | null | null | null | null | videogvt/configs/maskgvt_ucf101_config.py | null | null | null | null | null | null | Python | 2026-05-04T02:30:19.574817 | # Copyright 2023 The videogvt 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
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in... |
google-research/magvit | https://github.com/google-research/magvit | null | null | null | null | 998 | null | null | apache-2.0 | null | null | null | null | null | null | null | videogvt/configs/vqgan2d_ucf101_config.py | null | null | null | null | null | null | Python | 2026-05-04T02:30:19.603586 | # Copyright 2023 The videogvt 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
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in... |
google-research/magvit | https://github.com/google-research/magvit | null | null | null | null | 998 | null | null | apache-2.0 | null | null | null | null | null | null | null | videogvt/main.py | null | null | null | null | null | null | Python | 2026-05-04T02:30:19.604126 | # Copyright 2023 The videogvt 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
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in... |
google-research/magvit | https://github.com/google-research/magvit | null | null | null | null | 998 | null | null | apache-2.0 | null | null | null | null | null | null | null | videogvt/models/enc_dec_2plus1dcnn.py | null | null | null | null | null | null | Python | 2026-05-04T02:30:20.220465 | # Copyright 2023 The videogvt 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
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in... |
google-research/magvit | https://github.com/google-research/magvit | null | null | null | null | 998 | null | null | apache-2.0 | null | null | null | null | null | null | null | videogvt/models/enc_dec_2dcnn.py | null | null | null | null | null | null | Python | 2026-05-04T02:30:20.221115 | # Copyright 2023 The videogvt 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
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in... |
google-research/magvit | https://github.com/google-research/magvit | null | null | null | null | 998 | null | null | apache-2.0 | null | null | null | null | null | null | null | videogvt/models/stylegan_discriminator_2d.py | null | null | null | null | null | null | Python | 2026-05-04T02:30:20.222859 | # Copyright 2023 The videogvt 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
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in... |
google-research/magvit | https://github.com/google-research/magvit | null | null | null | null | 998 | null | null | apache-2.0 | null | null | null | null | null | null | null | videogvt/models/stylegan_discriminator_3d.py | null | null | null | null | null | null | Python | 2026-05-04T02:30:20.237212 | # Copyright 2023 The videogvt 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
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in... |
google-research/magvit | https://github.com/google-research/magvit | null | null | null | null | 998 | null | null | apache-2.0 | null | null | null | null | null | null | null | videogvt/models/stylegan_discriminator_2plus1d.py | null | null | null | null | null | null | Python | 2026-05-04T02:30:20.242247 | # Copyright 2023 The videogvt 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
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in... |
google-research/magvit | https://github.com/google-research/magvit | null | null | null | null | 998 | null | null | apache-2.0 | null | null | null | null | null | null | null | videogvt/models/model_utils.py | null | null | null | null | null | null | Python | 2026-05-04T02:30:20.242777 | # Copyright 2023 The videogvt 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
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in... |
google-research/magvit | https://github.com/google-research/magvit | null | null | null | null | 998 | null | null | apache-2.0 | null | null | null | null | null | null | null | videogvt/models/simplified_bert.py | null | null | null | null | null | null | Python | 2026-05-04T02:30:20.272265 | # Copyright 2023 The videogvt 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
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in... |
google-research/magvit | https://github.com/google-research/magvit | null | null | null | null | 998 | null | null | apache-2.0 | null | null | null | null | null | null | null | videogvt/models/enc_dec_3dcnn.py | null | null | null | null | null | null | Python | 2026-05-04T02:30:20.273520 | # Copyright 2023 The videogvt 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
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in... |
google-research/magvit | https://github.com/google-research/magvit | null | null | null | null | 998 | null | null | apache-2.0 | null | null | null | null | null | null | null | videogvt/models/t5_bert.py | null | null | null | null | null | null | Python | 2026-05-04T02:30:20.294111 | # Copyright 2023 The videogvt 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
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in... |
google-research/magvit | https://github.com/google-research/magvit | null | null | null | null | 998 | null | null | apache-2.0 | null | null | null | null | null | null | null | videogvt/models/transformer_lm.py | null | null | null | null | null | null | Python | 2026-05-04T02:30:20.323254 | # Copyright 2023 The videogvt 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
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in... |
google-research/magvit | https://github.com/google-research/magvit | null | null | null | null | 998 | null | null | apache-2.0 | null | null | null | null | null | null | null | videogvt/models/transformer_lm_test.py | null | null | null | null | null | null | Python | 2026-05-04T02:30:21.048265 | # Copyright 2023 The videogvt 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
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in... |
google-research/magvit | https://github.com/google-research/magvit | null | null | null | null | 998 | null | null | apache-2.0 | null | null | null | null | null | null | null | videogvt/models/vqvae.py | null | null | null | null | null | null | Python | 2026-05-04T02:30:21.049520 | # Copyright 2023 The videogvt 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
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in... |
google-research/magvit | https://github.com/google-research/magvit | null | null | null | null | 998 | null | null | apache-2.0 | null | null | null | null | null | null | null | videogvt/train_lib/eval_utils.py | null | null | null | null | null | null | Python | 2026-05-04T02:30:21.082014 | # Copyright 2023 The videogvt 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
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in... |
google-research/magvit | https://github.com/google-research/magvit | null | null | null | null | 998 | null | null | apache-2.0 | null | null | null | null | null | null | null | videogvt/tools/compute_fvd.py | null | null | null | null | null | null | Python | 2026-05-04T02:30:21.083141 | # Copyright 2023 The videogvt 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
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in... |
google-research/magvit | https://github.com/google-research/magvit | null | null | null | null | 998 | null | null | apache-2.0 | null | null | null | null | null | null | null | videogvt/train_lib/frechet_distance.py | null | null | null | null | null | null | Python | 2026-05-04T02:30:21.084663 | # Copyright 2023 The videogvt 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
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in... |
google-research/magvit | https://github.com/google-research/magvit | null | null | null | null | 998 | null | null | apache-2.0 | null | null | null | null | null | null | null | videogvt/train_lib/cond_utils.py | null | null | null | null | null | null | Python | 2026-05-04T02:30:21.085757 | # Copyright 2023 The videogvt 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
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in... |
google-research/magvit | https://github.com/google-research/magvit | null | null | null | null | 998 | null | null | apache-2.0 | null | null | null | null | null | null | null | videogvt/train_lib/cond_utils_test.py | null | null | null | null | null | null | Python | 2026-05-04T02:30:21.087042 | # Copyright 2023 The videogvt 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
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in... |
google-research/magvit | https://github.com/google-research/magvit | null | null | null | null | 998 | null | null | apache-2.0 | null | null | null | null | null | null | null | videogvt/train_lib/image_quality_metrics.py | null | null | null | null | null | null | Python | 2026-05-04T02:30:21.166579 | # Copyright 2023 The videogvt 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
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in... |
google-research/magvit | https://github.com/google-research/magvit | null | null | null | null | 998 | null | null | apache-2.0 | null | null | null | null | null | null | null | videogvt/models/vq_models_test.py | null | null | null | null | null | null | Python | 2026-05-04T02:30:22.073953 | # Copyright 2023 The videogvt 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
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in... |
google-research/magvit | https://github.com/google-research/magvit | null | null | null | null | 998 | null | null | apache-2.0 | null | null | null | null | null | null | null | videogvt/train_lib/frechet_distance_test.py | null | null | null | null | null | null | Python | 2026-05-04T02:30:22.155255 | # Copyright 2023 The videogvt 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
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in... |
google-research/magvit | https://github.com/google-research/magvit | null | null | null | null | 998 | null | null | apache-2.0 | null | null | null | null | null | null | null | videogvt/train_lib/losses.py | null | null | null | null | null | null | Python | 2026-05-04T02:30:22.267569 | # Copyright 2023 The videogvt 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
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in... |
google-research/magvit | https://github.com/google-research/magvit | null | null | null | null | 998 | null | null | apache-2.0 | null | null | null | null | null | null | null | videogvt/train_lib/mask_utils.py | null | null | null | null | null | null | Python | 2026-05-04T02:30:22.285797 | # Copyright 2023 The videogvt 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
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in... |
google-research/magvit | https://github.com/google-research/magvit | null | null | null | null | 998 | null | null | apache-2.0 | null | null | null | null | null | null | null | videogvt/train_lib/mask_schedule.py | null | null | null | null | null | null | Python | 2026-05-04T02:30:22.316688 | # Copyright 2023 The videogvt 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
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in... |
google-research/magvit | https://github.com/google-research/magvit | null | null | null | null | 998 | null | null | apache-2.0 | null | null | null | null | null | null | null | videogvt/train_lib/inception_score.py | null | null | null | null | null | null | Python | 2026-05-04T02:30:22.712628 | # Copyright 2023 The videogvt 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
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in... |
google-research/magvit | https://github.com/google-research/magvit | null | null | null | null | 998 | null | null | apache-2.0 | null | null | null | null | null | null | null | videogvt/train_lib/maskgvt_train_lib.py | null | null | null | null | null | null | Python | 2026-05-04T02:30:22.714018 | # Copyright 2023 The videogvt 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
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in... |
google-research/magvit | https://github.com/google-research/magvit | null | null | null | null | 998 | null | null | apache-2.0 | null | null | null | null | null | null | null | videogvt/train_lib/lm_sample_decode.py | null | null | null | null | null | null | Python | 2026-05-04T02:30:22.716154 | # Copyright 2023 The videogvt 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
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in... |
google-research/magvit | https://github.com/google-research/magvit | null | null | null | null | 998 | null | null | apache-2.0 | null | null | null | null | null | null | null | videogvt/train_lib/image_quality_metrics_test.py | null | null | null | null | null | null | Python | 2026-05-04T02:30:22.764848 | # Copyright 2023 The videogvt 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
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in... |
google-research/magvit | https://github.com/google-research/magvit | null | null | null | null | 998 | null | null | apache-2.0 | null | null | null | null | null | null | null | videogvt/train_lib/metrics_lib.py | null | null | null | null | null | null | Python | 2026-05-04T02:30:22.798619 | # Copyright 2023 The videogvt 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
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in... |
google-research/magvit | https://github.com/google-research/magvit | null | null | null | null | 998 | null | null | apache-2.0 | null | null | null | null | null | null | null | videogvt/train_lib/inception_score_test.py | null | null | null | null | null | null | Python | 2026-05-04T02:30:22.824781 | # Copyright 2023 The videogvt 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
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in... |
google-research/magvit | https://github.com/google-research/magvit | null | null | null | null | 998 | null | null | apache-2.0 | null | null | null | null | null | null | null | videogvt/train_lib/parallel_decode.py | null | null | null | null | null | null | Python | 2026-05-04T02:30:22.866271 | # Copyright 2023 The videogvt 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
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in... |
google-research/magvit | https://github.com/google-research/magvit | null | null | null | null | 998 | null | null | apache-2.0 | null | null | null | null | null | null | null | videogvt/train_lib/pretrained_model_utils.py | null | null | null | null | null | null | Python | 2026-05-04T02:30:22.867294 | # Copyright 2023 The videogvt 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
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in... |
google-research/magvit | https://github.com/google-research/magvit | null | null | null | null | 998 | null | null | apache-2.0 | null | null | null | null | null | null | null | videogvt/train_lib/resnet_v1.py | null | null | null | null | null | null | Python | 2026-05-04T02:30:22.895414 | # Copyright 2023 The videogvt 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
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in... |
google-research/magvit | https://github.com/google-research/magvit | null | null | null | null | 998 | null | null | apache-2.0 | null | null | null | null | null | null | null | videogvt/train_lib/task_manager.py | null | null | null | null | null | null | Python | 2026-05-04T02:30:23.272659 | # Copyright 2023 The videogvt 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
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in... |
google-research/magvit | https://github.com/google-research/magvit | null | null | null | null | 998 | null | null | apache-2.0 | null | null | null | null | null | null | null | videogvt/train_lib/sampling.py | null | null | null | null | null | null | Python | 2026-05-04T02:30:23.282458 | # Copyright 2023 The videogvt 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
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in... |
google-research/magvit | https://github.com/google-research/magvit | null | null | null | null | 998 | null | null | apache-2.0 | null | null | null | null | null | null | null | videogvt/train_lib/task_registry.py | null | null | null | null | null | null | Python | 2026-05-04T02:30:23.310396 | # Copyright 2023 The videogvt 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
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in... |
google-research/magvit | https://github.com/google-research/magvit | null | null | null | null | 998 | null | null | apache-2.0 | null | null | null | null | null | null | null | videogvt/train_lib/task_registry_test.py | null | null | null | null | null | null | Python | 2026-05-04T02:30:23.343217 | # Copyright 2023 The videogvt 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
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in... |
google-research/magvit | https://github.com/google-research/magvit | null | null | null | null | 998 | null | null | apache-2.0 | null | null | null | null | null | null | null | videogvt/train_lib/train_state_manager.py | null | null | null | null | null | null | Python | 2026-05-04T02:30:23.411610 | # Copyright 2023 The videogvt 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
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in... |
google-research/magvit | https://github.com/google-research/magvit | null | null | null | null | 998 | null | null | apache-2.0 | null | null | null | null | null | null | null | videogvt/train_lib/train_utils.py | null | null | null | null | null | null | Python | 2026-05-04T02:30:23.455248 | # Copyright 2023 The videogvt 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
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in... |
google-research/magvit | https://github.com/google-research/magvit | null | null | null | null | 998 | null | null | apache-2.0 | null | null | null | null | null | null | null | videogvt/train_lib/train_utils_test.py | null | null | null | null | null | null | Python | 2026-05-04T02:30:23.457356 | # Copyright 2023 The videogvt 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
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in... |
google-research/magvit | https://github.com/google-research/magvit | null | null | null | null | 998 | null | null | apache-2.0 | null | null | null | null | null | null | null | videogvt/train_lib/mask_utils_test.py | null | null | null | null | null | null | Python | 2026-05-04T02:30:27.035912 | # Copyright 2023 The videogvt 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
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in... |
i-am-bee/acp | https://github.com/i-am-bee/acp | null | null | null | null | 997 | null | null | apache-2.0 | null | null | null | null | null | null | null | examples/python/acp-agent-generator/mcpdoctool.py | null | null | null | null | null | null | Python | 2026-05-04T02:30:29.774397 | # Copyright 2025 © BeeAI a Series of LF Projects, LLC
# SPDX-License-Identifier: Apache-2.0
from mcpdoc.main import create_server
# This is a simple example of how to use the mcpdoc library to create a server
# that serves documentation sources for the Agent Communication Protocol (ACP) and Langraph.
if __name__ == "... |
i-am-bee/acp | https://github.com/i-am-bee/acp | null | null | null | null | 997 | null | null | apache-2.0 | null | null | null | null | null | null | null | examples/python/basic/clients/simple.py | null | null | null | null | null | null | Python | 2026-05-04T02:30:29.775896 | # Copyright 2025 © BeeAI a Series of LF Projects, LLC
# SPDX-License-Identifier: Apache-2.0
import asyncio
from acp_sdk.client import Client
from acp_sdk.models import (
Message,
MessagePart,
)
async def example() -> None:
async with Client(base_url="http://localhost:8000") as client:
run = awai... |
i-am-bee/acp | https://github.com/i-am-bee/acp | null | null | null | null | 997 | null | null | apache-2.0 | null | null | null | null | null | null | null | examples/python/basic/await-external-approval/agent.py | null | null | null | null | null | null | Python | 2026-05-04T02:30:29.786412 | # Copyright 2025 © BeeAI a Series of LF Projects, LLC
# SPDX-License-Identifier: Apache-2.0
import asyncio
import random
import string
from collections.abc import AsyncGenerator
from acp_sdk import Message
from acp_sdk.models import MessageAwaitRequest, MessagePart
from acp_sdk.server import Context, Server
server =... |
i-am-bee/acp | https://github.com/i-am-bee/acp | null | null | null | null | 997 | null | null | apache-2.0 | null | null | null | null | null | null | null | docs/sdks/python/source/conf.py | null | null | null | null | null | null | Python | 2026-05-04T02:30:29.789207 | # Configuration file for the Sphinx documentation builder.
#
# For the full list of built-in configuration values, see the documentation:
# https://www.sphinx-doc.org/en/master/usage/configuration.html
import os
import sys
from pathlib import Path
def setup_paths():
"""Setup project path for sphinx and verify th... |
i-am-bee/acp | https://github.com/i-am-bee/acp | null | null | null | null | 997 | null | null | apache-2.0 | null | null | null | null | null | null | null | examples/python/basic/clients/session.py | null | null | null | null | null | null | Python | 2026-05-04T02:30:29.792262 | # Copyright 2025 © BeeAI a Series of LF Projects, LLC
# SPDX-License-Identifier: Apache-2.0
import asyncio
from functools import reduce
from acp_sdk.client import Client
from acp_sdk.models import (
Message,
MessagePart,
)
async def example() -> None:
async with Client(base_url="http://localhost:8000") ... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.