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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
controlplaneio/simulator | https://github.com/controlplaneio/simulator | null | null | null | null | 986 | null | null | apache-2.0 | null | null | null | null | null | null | null | scenarios/coastline-cluster-attack/emydocephalus/static/Lib/_threading_local.py | null | null | null | null | null | null | Python | 2026-05-04T02:32:28.913323 | """Thread-local objects.
(Note that this module provides a Python version of the threading.local
class. Depending on the version of Python you're using, there may be a
faster one available. You should always import the `local` class from
`threading`.)
Thread-local objects support the management of thread-local d... |
controlplaneio/simulator | https://github.com/controlplaneio/simulator | null | null | null | null | 986 | null | null | apache-2.0 | null | null | null | null | null | null | null | scenarios/coastline-cluster-attack/emydocephalus/static/Lib/_weakrefset.py | null | null | null | null | null | null | Python | 2026-05-04T02:32:29.195298 | # Access WeakSet through the weakref module.
# This code is separated-out because it is needed
# by abc.py to load everything else at startup.
from _weakref import ref
from types import GenericAlias
__all__ = ['WeakSet']
class _IterationGuard:
# This context manager registers itself in the current iterators of ... |
controlplaneio/simulator | https://github.com/controlplaneio/simulator | null | null | null | null | 986 | null | null | apache-2.0 | null | null | null | null | null | null | null | scenarios/coastline-cluster-attack/emydocephalus/static/Lib/_weakref.py | null | null | null | null | null | null | Python | 2026-05-04T02:32:29.205469 | # Minimal implementation of _weakref
class ProxyType:
def __init__(self, obj):
object.__setattr__(self, "obj", obj)
def __setattr__(self, attr, value):
setattr(object.__getattribute__(self, "obj"), attr, value)
def __getattr__(self, attr):
return getattr(object.__getattribute__(s... |
controlplaneio/simulator | https://github.com/controlplaneio/simulator | null | null | null | null | 986 | null | null | apache-2.0 | null | null | null | null | null | null | null | scenarios/coastline-cluster-attack/emydocephalus/static/Lib/abc.py | null | null | null | null | null | null | Python | 2026-05-04T02:32:29.206587 | # Copyright 2007 Google, Inc. All Rights Reserved.
# Licensed to PSF under a Contributor Agreement.
"""Abstract Base Classes (ABCs) according to PEP 3119."""
def abstractmethod(funcobj):
"""A decorator indicating abstract methods.
Requires that the metaclass is ABCMeta or derived from it. A
class that ... |
controlplaneio/simulator | https://github.com/controlplaneio/simulator | null | null | null | null | 986 | null | null | apache-2.0 | null | null | null | null | null | null | null | scenarios/coastline-cluster-attack/emydocephalus/static/Lib/argparse.py | null | null | null | null | null | null | Python | 2026-05-04T02:32:29.337032 | # Author: Steven J. Bethard <steven.bethard@gmail.com>.
# New maintainer as of 29 August 2019: Raymond Hettinger <raymond.hettinger@gmail.com>
"""Command-line parsing library
This module is an optparse-inspired command-line parsing library that:
- handles both optional and positional arguments
- produces hi... |
controlplaneio/simulator | https://github.com/controlplaneio/simulator | null | null | null | null | 986 | null | null | apache-2.0 | null | null | null | null | null | null | null | scenarios/coastline-cluster-attack/emydocephalus/static/Lib/antigravity.py | null | null | null | null | null | null | Python | 2026-05-04T02:32:29.343494 |
import webbrowser
import hashlib
webbrowser.open("https://xkcd.com/353/")
def geohash(latitude, longitude, datedow):
'''Compute geohash() using the Munroe algorithm.
>>> geohash(37.421542, -122.085589, b'2005-05-26-10458.68')
37.857713 -122.544543
'''
# https://xkcd.com/426/
h = hashlib.md5... |
controlplaneio/simulator | https://github.com/controlplaneio/simulator | null | null | null | null | 986 | null | null | apache-2.0 | null | null | null | null | null | null | null | scenarios/coastline-cluster-attack/emydocephalus/static/Lib/asyncio.py | null | null | null | null | null | null | Python | 2026-05-04T02:32:29.589137 | print('Brython implementation of asyncio is present to avoid ImportError ' +
'in some modules, but does not implement the asyncio features ' +
'because of browser limitations.\nFor asynchronous programming, use ' +
'browser.aio instead')
ALL_COMPLETED = """ALL_COMPLETED"""
class AbstractEvent... |
controlplaneio/simulator | https://github.com/controlplaneio/simulator | null | null | null | null | 986 | null | null | apache-2.0 | null | null | null | null | null | null | null | scenarios/coastline-cluster-attack/emydocephalus/static/Lib/base64.py | null | null | null | null | null | null | Python | 2026-05-04T02:32:29.796775 | #! /usr/bin/env python3
"""Base16, Base32, Base64 (RFC 3548), Base85 and Ascii85 data encodings"""
# Modified 04-Oct-1995 by Jack Jansen to use binascii module
# Modified 30-Dec-2003 by Barry Warsaw to add full RFC 3548 support
# Modified 22-May-2007 by Guido van Rossum to use bytes everywhere
import re
import struc... |
controlplaneio/simulator | https://github.com/controlplaneio/simulator | null | null | null | null | 986 | null | null | apache-2.0 | null | null | null | null | null | null | null | scenarios/coastline-cluster-attack/emydocephalus/static/Lib/atexit.py | null | null | null | null | null | null | Python | 2026-05-04T02:32:29.807470 | """allow programmer to define multiple exit functions to be executedupon normal program termination.
Two public functions, register and unregister, are defined.
"""
class __loader__(object):
pass
def _clear(*args,**kw):
"""_clear() -> None
Clear the list of previously registered exit functions."""
... |
controlplaneio/simulator | https://github.com/controlplaneio/simulator | null | null | null | null | 986 | null | null | apache-2.0 | null | null | null | null | null | null | null | scenarios/coastline-cluster-attack/emydocephalus/static/Lib/bdb.py | null | null | null | null | null | null | Python | 2026-05-04T02:32:29.837683 | """Debugger basics"""
import fnmatch
import sys
import os
from inspect import CO_GENERATOR, CO_COROUTINE, CO_ASYNC_GENERATOR
__all__ = ["BdbQuit", "Bdb", "Breakpoint"]
GENERATOR_AND_COROUTINE_FLAGS = CO_GENERATOR | CO_COROUTINE | CO_ASYNC_GENERATOR
class BdbQuit(Exception):
"""Exception to give up completely."... |
controlplaneio/simulator | https://github.com/controlplaneio/simulator | null | null | null | null | 986 | null | null | apache-2.0 | null | null | null | null | null | null | null | scenarios/coastline-cluster-attack/emydocephalus/static/Lib/bisect.py | null | null | null | null | null | null | Python | 2026-05-04T02:32:29.908429 | """Bisection algorithms."""
def insort_right(a, x, lo=0, hi=None, *, key=None):
"""Insert item x in list a, and keep it sorted assuming a is sorted.
If x is already in a, insert it to the right of the rightmost x.
Optional args lo (default 0) and hi (default len(a)) bound the
slice of a to be search... |
controlplaneio/simulator | https://github.com/controlplaneio/simulator | null | null | null | null | 986 | null | null | apache-2.0 | null | null | null | null | null | null | null | scenarios/coastline-cluster-attack/emydocephalus/static/Lib/binascii.py | null | null | null | null | null | null | Python | 2026-05-04T02:32:29.909835 | """A pure Python implementation of binascii.
Rather slow and buggy in corner cases.
PyPy provides an RPython version too.
"""
# borrowed from https://bitbucket.org/pypy/pypy/src/f2bf94943a41/lib_pypy/binascii.py
import _base64 # Javascript module in libs
from _binascii import *
class Error(ValueError):
def __i... |
controlplaneio/simulator | https://github.com/controlplaneio/simulator | null | null | null | null | 986 | null | null | apache-2.0 | null | null | null | null | null | null | null | scenarios/coastline-cluster-attack/emydocephalus/static/Lib/browser/aio.py | null | null | null | null | null | null | Python | 2026-05-04T02:32:30.202508 | from _aio import * # in libs/_aio.js
def _task(coro, Id, block):
async def _task():
block[Id] = None
try:
block[Id] = await coro
except Exception as e:
block[Id] = e
if not block[Id]:
del block[Id]
return _task()
async def gather(*coros, rat... |
controlplaneio/simulator | https://github.com/controlplaneio/simulator | null | null | null | null | 986 | null | null | apache-2.0 | null | null | null | null | null | null | null | scenarios/coastline-cluster-attack/emydocephalus/static/Lib/browser/idbcache.py | null | null | null | null | null | null | Python | 2026-05-04T02:32:30.402186 | # Generates a widget to show the Brython indexedDB cache
from datetime import datetime
from browser.widgets import dialog
from browser import bind, window, document
from browser.html import *
idb_name = "brython-cache"
idb_cx = window.indexedDB.open(idb_name)
infos = {"nb_modules": 0, "size": 0}
@bind(idb_cx, "su... |
controlplaneio/simulator | https://github.com/controlplaneio/simulator | null | null | null | null | 986 | null | null | apache-2.0 | null | null | null | null | null | null | null | scenarios/coastline-cluster-attack/emydocephalus/static/Lib/browser/highlight.py | null | null | null | null | null | null | Python | 2026-05-04T02:32:30.433331 | import re
from browser import html
letters = 'abcdefghijklmnopqrstuvwxyz'
letters += letters.upper()+'_'
digits = '0123456789'
builtin_funcs = """abs|dict|help|min|setattr|
all|dir|hex|next|slice|
any|divmod|id|object|sorted|
ascii|enumerate|input|oct|staticmethod|
bin|eval|int|open|str|
bool|exec|isinstance|ord|sum... |
controlplaneio/simulator | https://github.com/controlplaneio/simulator | null | null | null | null | 986 | null | null | apache-2.0 | null | null | null | null | null | null | null | scenarios/coastline-cluster-attack/emydocephalus/static/Lib/browser/indexed_db.py | null | null | null | null | null | null | Python | 2026-05-04T02:32:30.471921 | class EventListener:
def __init__(self, events=[]):
self._events=events
def append(self, event):
self._events.append(event)
def fire(self, e):
for _event in self._events:
_event(e)
class IndexedDB:
def __init__(self):
if not __BRYTHON__.has_indexedDB:
raise NotImple... |
controlplaneio/simulator | https://github.com/controlplaneio/simulator | null | null | null | null | 986 | null | null | apache-2.0 | null | null | null | null | null | null | null | scenarios/coastline-cluster-attack/emydocephalus/static/Lib/browser/local_storage.py | null | null | null | null | null | null | Python | 2026-05-04T02:32:30.514663 | # local storage in browser
import sys
from browser import window, console
has_local_storage = hasattr(window, 'localStorage')
class _UnProvided():
pass
class LocalStorage():
storage_type = "local_storage"
def __init__(self):
if not has_local_storage:
raise EnvironmentError("LocalStor... |
controlplaneio/simulator | https://github.com/controlplaneio/simulator | null | null | null | null | 986 | null | null | apache-2.0 | null | null | null | null | null | null | null | scenarios/coastline-cluster-attack/emydocephalus/static/Lib/browser/markdown.py | null | null | null | null | null | null | Python | 2026-05-04T02:32:30.545046 | # -*- coding: utf-8 -*-
import re
import random
letters = 'abcdefghijklmnopqrstuvwxyz'
letters += letters.upper()+'0123456789'
class URL:
def __init__(self,src):
elts = src.split(maxsplit=1)
self.href = elts[0]
self.alt = ''
if len(elts) == 2:
alt = elts[1]
... |
controlplaneio/simulator | https://github.com/controlplaneio/simulator | null | null | null | null | 986 | null | null | apache-2.0 | null | null | null | null | null | null | null | scenarios/coastline-cluster-attack/emydocephalus/static/Lib/browser/object_storage.py | null | null | null | null | null | null | Python | 2026-05-04T02:32:30.828259 | from javascript import JSON
class _UnProvided():
pass
class ObjectStorage():
def __init__(self, storage):
self.storage = storage
def __delitem__(self, key):
del self.storage[JSON.stringify(key)]
def __getitem__(self, key):
return JSON.parse(self.storage[JSON.stringify(key)]... |
controlplaneio/simulator | https://github.com/controlplaneio/simulator | null | null | null | null | 986 | null | null | apache-2.0 | null | null | null | null | null | null | null | scenarios/coastline-cluster-attack/emydocephalus/static/Lib/_csv.py | null | null | null | null | null | null | Python | 2026-05-04T02:32:31.645245 | """CSV parsing and writing.
[Copied from PyPy
https://bitbucket-assetroot.s3.amazonaws.com/pypy/pypy/1400171824.19/641/_csv.py?Signature=cc%2Bc8m06cBMbsxt2e15XXXUDACk%3D&Expires=1404136251&AWSAccessKeyId=0EMWEFSGA12Z1HF1TZ82
and adapted to Python 3 syntax for Brython]
This module provides classes that assist in the ... |
controlplaneio/simulator | https://github.com/controlplaneio/simulator | null | null | null | null | 986 | null | null | apache-2.0 | null | null | null | null | null | null | null | scenarios/coastline-cluster-attack/emydocephalus/static/Lib/_operator.py | null | null | null | null | null | null | Python | 2026-05-04T02:32:32.277185 | """Brython-specific.
Only implements _compare_digest because it is used in hmac module."""
def _compare_digest(a, b):
"""Return 'a == b'.
This function uses an approach designed to prevent
timing analysis, making it appropriate for cryptography.
a and b must both be of the same type: either str (ASCII... |
controlplaneio/simulator | https://github.com/controlplaneio/simulator | null | null | null | null | 986 | null | null | apache-2.0 | null | null | null | null | null | null | null | scenarios/coastline-cluster-attack/emydocephalus/static/Lib/_py_abc.py | null | null | null | null | null | null | Python | 2026-05-04T02:32:32.332350 | from _weakrefset import WeakSet
def get_cache_token():
"""Returns the current ABC cache token.
The token is an opaque object (supporting equality testing) identifying the
current version of the ABC cache for virtual subclasses. The token changes
with every call to ``register()`` on any ABC.
"""
... |
yandex/YaFSDP | https://github.com/yandex/YaFSDP | null | null | null | null | 986 | null | null | apache-2.0 | null | null | null | null | null | null | null | ya_fsdp/__init__.py | null | null | null | null | null | null | Python | 2026-05-04T02:32:34.623149 | from ._api import MixedPrecisionPolicy
from ._tensor import RaggedShard, RaggedShardDTensor
from .fully_shard import UnshardHandle, YaFSDPModule, fully_shard
__all__ = [
"MixedPrecisionPolicy",
"RaggedShard",
"RaggedShardDTensor",
"UnshardHandle",
"YaFSDPModule",
"fully_shard",
]
|
yandex/YaFSDP | https://github.com/yandex/YaFSDP | null | null | null | null | 986 | null | null | apache-2.0 | null | null | null | null | null | null | null | ya_fsdp/_state.py | null | null | null | null | null | null | Python | 2026-05-04T02:32:34.624670 | import functools
import logging
from collections.abc import Callable, Sequence
from typing import TYPE_CHECKING, Any
import torch
import torch.nn as nn
from torch._logging import warning_once # type: ignore[attr-defined]
from torch.autograd import Variable
from torch.autograd.graph import _MultiHandle
from torch.dist... |
yandex/YaFSDP | https://github.com/yandex/YaFSDP | null | null | null | null | 986 | null | null | apache-2.0 | null | null | null | null | null | null | null | ya_fsdp/_collectives.py | null | null | null | null | null | null | Python | 2026-05-04T02:32:34.627071 | from typing import TYPE_CHECKING, Any, NamedTuple, Optional, cast
import torch
import torch.distributed as dist
from torch.distributed import ReduceOp
from torch.distributed.device_mesh import _get_device_handle
from ._param import YaFSDPParam
if TYPE_CHECKING:
from ._param_group import YaFSDPParamGroup
from... |
yandex/YaFSDP | https://github.com/yandex/YaFSDP | null | null | null | null | 986 | null | null | apache-2.0 | null | null | null | null | null | null | null | ya_fsdp/_api.py | null | null | null | null | null | null | Python | 2026-05-04T02:32:34.636219 | from dataclasses import dataclass
import torch
@dataclass(frozen=True)
class MixedPrecisionPolicy:
param_dtype: torch.dtype | None = None
reduce_dtype: torch.dtype | None = None
output_dtype: torch.dtype | None = None
cast_forward_inputs: bool = False
bit32_acc_for_bit16_reduce_scatter: bool = Fa... |
yandex/YaFSDP | https://github.com/yandex/YaFSDP | null | null | null | null | 986 | null | null | apache-2.0 | null | null | null | null | null | null | null | ya_fsdp/_init.py | null | null | null | null | null | null | Python | 2026-05-04T02:32:34.637216 | import itertools
import logging
import torch
import torch.distributed as dist
import torch.nn as nn
from torch._logging import warning_once # type: ignore[attr-defined]
from torch.distributed.device_mesh import (
DeviceMesh,
_get_device_handle,
init_device_mesh,
)
from torch.distributed.tensor import DTen... |
yandex/YaFSDP | https://github.com/yandex/YaFSDP | null | null | null | null | 986 | null | null | apache-2.0 | null | null | null | null | null | null | null | ya_fsdp/_param_group.py | null | null | null | null | null | null | Python | 2026-05-04T02:32:34.639183 | import contextlib
import logging
from collections.abc import Generator
from enum import Enum, auto
from typing import TYPE_CHECKING, Any, cast
import torch
import torch.distributed as dist
import torch.nn as nn
from torch.distributed.device_mesh import _get_device_handle
from torch.distributed.fsdp._common_utils impor... |
yandex/YaFSDP | https://github.com/yandex/YaFSDP | null | null | null | null | 986 | null | null | apache-2.0 | null | null | null | null | null | null | null | ya_fsdp/_tensor.py | null | null | null | null | null | null | Python | 2026-05-04T02:32:34.660201 | import logging
import operator
import warnings
from dataclasses import dataclass
from functools import reduce
from typing import Any, cast
import torch
import torch.distributed.tensor._random as random
from torch.distributed.checkpoint.metadata import (
ChunkStorageMetadata,
MetadataIndex,
TensorProperties... |
yandex/YaFSDP | https://github.com/yandex/YaFSDP | null | null | null | null | 986 | null | null | apache-2.0 | null | null | null | null | null | null | null | ya_fsdp/fully_shard.py | null | null | null | null | null | null | Python | 2026-05-04T02:32:34.723310 | from collections.abc import Iterable
from typing import (
TYPE_CHECKING,
Any,
NoReturn,
cast,
overload,
)
import torch
import torch.nn as nn
from torch.distributed._composable import contract # type: ignore[attr-defined]
from torch.distributed.device_mesh import DeviceMesh
from torch.distributed.u... |
yandex/YaFSDP | https://github.com/yandex/YaFSDP | null | null | null | null | 986 | null | null | apache-2.0 | null | null | null | null | null | null | null | ya_fsdp/_common.py | null | null | null | null | null | null | Python | 2026-05-04T02:32:34.735928 | import traceback
from dataclasses import dataclass
from enum import Enum, auto
from typing import Any, NoReturn
import torch
import torch.distributed as dist
import torch.nn as nn
from torch.distributed._composable.contract import _get_registry
from torch.distributed.device_mesh import DeviceMesh
@dataclass
class Da... |
yandex/YaFSDP | https://github.com/yandex/YaFSDP | null | null | null | null | 986 | null | null | apache-2.0 | null | null | null | null | null | null | null | ya_fsdp/_param.py | null | null | null | null | null | null | Python | 2026-05-04T02:32:34.736571 | from dataclasses import dataclass, field
from enum import Enum, auto
from typing import TYPE_CHECKING, Any, cast
import torch
import torch.nn as nn
from torch.distributed._functional_collectives import AsyncCollectiveTensor
from torch.distributed.device_mesh import DeviceMesh
from torch.distributed.tensor import DTens... |
yandex/YaFSDP | https://github.com/yandex/YaFSDP | null | null | null | null | 986 | null | null | apache-2.0 | null | null | null | null | null | null | null | ya_fsdp/ya_fsdp.py | null | null | null | null | null | null | Python | 2026-05-04T02:32:35.371309 | import gc
import time
from collections import OrderedDict
from enum import Enum
from typing import Any, Callable, Optional, Type
import torch
import torch.distributed as dist
import torch.distributed.fsdp.wrap
import torch.nn as nn
from torch.distributed.fsdp._init_utils import (
_init_intra_node_process_group,
... |
yandex/YaFSDP | https://github.com/yandex/YaFSDP | null | null | null | null | 986 | null | null | apache-2.0 | null | null | null | null | null | null | null | ya_fsdp/meta_param.py | null | null | null | null | null | null | Python | 2026-05-04T02:32:35.430255 | import torch
class Narrow(torch.autograd.Function):
@staticmethod
def forward(ctx, buffer, grad_buffer, metaparam):
ctx.metaparam = metaparam
ctx.set_materialize_grads(False)
param_view = buffer.narrow(0, metaparam.offset, metaparam.numel).view(metaparam.shape)
if grad_buffer i... |
ZTE-AICloud/Co-Sight | https://github.com/ZTE-AICloud/Co-Sight | null | null | null | null | 985 | null | null | apache-2.0 | null | null | null | null | null | null | null | app/__init__.py | null | null | null | null | null | null | Python | 2026-05-04T02:32:42.402072 | # Copyright 2025 ZTE Corporation.
# 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/LICENSE-2.0
#
# Unless required... |
ZTE-AICloud/Co-Sight | https://github.com/ZTE-AICloud/Co-Sight | null | null | null | null | 985 | null | null | apache-2.0 | null | null | null | null | null | null | null | app/agent_dispatcher/domain/plan/action/skill/mcp/__init__.py | null | null | null | null | null | null | Python | 2026-05-04T02:32:42.408344 | # Copyright 2025 ZTE Corporation.
# 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/LICENSE-2.0
#
# Unless required... |
ZTE-AICloud/Co-Sight | https://github.com/ZTE-AICloud/Co-Sight | null | null | null | null | 985 | null | null | apache-2.0 | null | null | null | null | null | null | null | app/agent_dispatcher/application/__init__.py | null | null | null | null | null | null | Python | 2026-05-04T02:32:42.409556 | # Copyright 2025 ZTE Corporation.
# 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/LICENSE-2.0
#
# Unless required... |
ZTE-AICloud/Co-Sight | https://github.com/ZTE-AICloud/Co-Sight | null | null | null | null | 985 | null | null | apache-2.0 | null | null | null | null | null | null | null | app/agent_dispatcher/domain/plan/action/__init__.py | null | null | null | null | null | null | Python | 2026-05-04T02:32:42.412652 | # Copyright 2025 ZTE Corporation.
# 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/LICENSE-2.0
#
# Unless required... |
ZTE-AICloud/Co-Sight | https://github.com/ZTE-AICloud/Co-Sight | null | null | null | null | 985 | null | null | apache-2.0 | null | null | null | null | null | null | null | CoSight.py | null | null | null | null | null | null | Python | 2026-05-04T02:32:42.415121 | # Copyright 2025 ZTE Corporation.
# 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/LICENSE-2.0
#
# Unless required... |
ZTE-AICloud/Co-Sight | https://github.com/ZTE-AICloud/Co-Sight | null | null | null | null | 985 | null | null | apache-2.0 | null | null | null | null | null | null | null | app/agent_dispatcher/domain/__init__.py | null | null | null | null | null | null | Python | 2026-05-04T02:32:42.417331 | # Copyright 2025 ZTE Corporation.
# 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/LICENSE-2.0
#
# Unless required... |
ZTE-AICloud/Co-Sight | https://github.com/ZTE-AICloud/Co-Sight | null | null | null | null | 985 | null | null | apache-2.0 | null | null | null | null | null | null | null | app/agent_dispatcher/domain/llm/__init__.py | null | null | null | null | null | null | Python | 2026-05-04T02:32:42.418559 | # Copyright 2025 ZTE Corporation.
# 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/LICENSE-2.0
#
# Unless required... |
ZTE-AICloud/Co-Sight | https://github.com/ZTE-AICloud/Co-Sight | null | null | null | null | 985 | null | null | apache-2.0 | null | null | null | null | null | null | null | app/agent_dispatcher/domain/plan/action/skill/__init__.py | null | null | null | null | null | null | Python | 2026-05-04T02:32:42.419571 | # Copyright 2025 ZTE Corporation.
# 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/LICENSE-2.0
#
# Unless required... |
ZTE-AICloud/Co-Sight | https://github.com/ZTE-AICloud/Co-Sight | null | null | null | null | 985 | null | null | apache-2.0 | null | null | null | null | null | null | null | app/agent_dispatcher/__init__.py | null | null | null | null | null | null | Python | 2026-05-04T02:32:42.421202 | # Copyright 2025 ZTE Corporation.
# 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/LICENSE-2.0
#
# Unless required... |
ZTE-AICloud/Co-Sight | https://github.com/ZTE-AICloud/Co-Sight | null | null | null | null | 985 | null | null | apache-2.0 | null | null | null | null | null | null | null | app/agent_dispatcher/domain/plan/__init__.py | null | null | null | null | null | null | Python | 2026-05-04T02:32:42.422155 | # Copyright 2025 ZTE Corporation.
# 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/LICENSE-2.0
#
# Unless required... |
ZTE-AICloud/Co-Sight | https://github.com/ZTE-AICloud/Co-Sight | null | null | null | null | 985 | null | null | apache-2.0 | null | null | null | null | null | null | null | app/agent_dispatcher/infrastructure/entity/ConversationHistory.py | null | null | null | null | null | null | Python | 2026-05-04T02:32:43.455445 | # Copyright 2025 ZTE Corporation.
# 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/LICENSE-2.0
#
# Unless required... |
ZTE-AICloud/Co-Sight | https://github.com/ZTE-AICloud/Co-Sight | null | null | null | null | 985 | null | null | apache-2.0 | null | null | null | null | null | null | null | app/agent_dispatcher/domain/plan/action/skill/mcp/const.py | null | null | null | null | null | null | Python | 2026-05-04T02:32:43.458489 | # Copyright 2025 ZTE Corporation.
# 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/LICENSE-2.0
#
# Unless required... |
ZTE-AICloud/Co-Sight | https://github.com/ZTE-AICloud/Co-Sight | null | null | null | null | 985 | null | null | apache-2.0 | null | null | null | null | null | null | null | app/agent_dispatcher/infrastructure/entity/Message.py | null | null | null | null | null | null | Python | 2026-05-04T02:32:43.459628 | # Copyright 2025 ZTE Corporation.
# 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/LICENSE-2.0
#
# Unless required... |
ZTE-AICloud/Co-Sight | https://github.com/ZTE-AICloud/Co-Sight | null | null | null | null | 985 | null | null | apache-2.0 | null | null | null | null | null | null | null | app/agent_dispatcher/infrastructure/entity/AgentInstance.py | null | null | null | null | null | null | Python | 2026-05-04T02:32:43.460975 | # Copyright 2025 ZTE Corporation.
# 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/LICENSE-2.0
#
# Unless required... |
ZTE-AICloud/Co-Sight | https://github.com/ZTE-AICloud/Co-Sight | null | null | null | null | 985 | null | null | apache-2.0 | null | null | null | null | null | null | null | app/agent_dispatcher/domain/plan/action/skill/mcp/engine.py | null | null | null | null | null | null | Python | 2026-05-04T02:32:43.462385 | # Copyright 2025 ZTE Corporation.
# 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/LICENSE-2.0
#
# Unless required... |
ZTE-AICloud/Co-Sight | https://github.com/ZTE-AICloud/Co-Sight | null | null | null | null | 985 | null | null | apache-2.0 | null | null | null | null | null | null | null | app/agent_dispatcher/domain/plan/action/skill/mcp/server.py | null | null | null | null | null | null | Python | 2026-05-04T02:32:43.463376 | # Copyright 2025 ZTE Corporation.
# 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/LICENSE-2.0
#
# Unless required... |
ZTE-AICloud/Co-Sight | https://github.com/ZTE-AICloud/Co-Sight | null | null | null | null | 985 | null | null | apache-2.0 | null | null | null | null | null | null | null | app/agent_dispatcher/infrastructure/entity/AgentTemplate.py | null | null | null | null | null | null | Python | 2026-05-04T02:32:43.463929 | # Copyright 2025 ZTE Corporation.
# 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/LICENSE-2.0
#
# Unless required... |
ZTE-AICloud/Co-Sight | https://github.com/ZTE-AICloud/Co-Sight | null | null | null | null | 985 | null | null | apache-2.0 | null | null | null | null | null | null | null | app/agent_dispatcher/infrastructure/entity/OptResult.py | null | null | null | null | null | null | Python | 2026-05-04T02:32:44.885901 | # Copyright 2025 ZTE Corporation.
# 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/LICENSE-2.0
#
# Unless required... |
ZTE-AICloud/Co-Sight | https://github.com/ZTE-AICloud/Co-Sight | null | null | null | null | 985 | null | null | apache-2.0 | null | null | null | null | null | null | null | app/agent_dispatcher/infrastructure/entity/Organization.py | null | null | null | null | null | null | Python | 2026-05-04T02:32:44.887740 | # Copyright 2025 ZTE Corporation.
# 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/LICENSE-2.0
#
# Unless required... |
ZTE-AICloud/Co-Sight | https://github.com/ZTE-AICloud/Co-Sight | null | null | null | null | 985 | null | null | apache-2.0 | null | null | null | null | null | null | null | app/agent_dispatcher/infrastructure/entity/RagWorkFlow.py | null | null | null | null | null | null | Python | 2026-05-04T02:32:44.888838 | # Copyright 2025 ZTE Corporation.
# 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/LICENSE-2.0
#
# Unless required... |
ZTE-AICloud/Co-Sight | https://github.com/ZTE-AICloud/Co-Sight | null | null | null | null | 985 | null | null | apache-2.0 | null | null | null | null | null | null | null | app/agent_dispatcher/infrastructure/entity/Skill.py | null | null | null | null | null | null | Python | 2026-05-04T02:32:44.890108 | # Copyright 2025 ZTE Corporation.
# 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/LICENSE-2.0
#
# Unless required... |
ZTE-AICloud/Co-Sight | https://github.com/ZTE-AICloud/Co-Sight | null | null | null | null | 985 | null | null | apache-2.0 | null | null | null | null | null | null | null | app/agent_dispatcher/infrastructure/entity/Profile.py | null | null | null | null | null | null | Python | 2026-05-04T02:32:45.419855 | # Copyright 2025 ZTE Corporation.
# 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/LICENSE-2.0
#
# Unless required... |
ZTE-AICloud/Co-Sight | https://github.com/ZTE-AICloud/Co-Sight | null | null | null | null | 985 | null | null | apache-2.0 | null | null | null | null | null | null | null | app/agent_dispatcher/infrastructure/entity/exception/ZaeFrameworkException.py | null | null | null | null | null | null | Python | 2026-05-04T02:32:45.520188 | # Copyright 2025 ZTE Corporation.
# 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/LICENSE-2.0
#
# Unless required... |
ZTE-AICloud/Co-Sight | https://github.com/ZTE-AICloud/Co-Sight | null | null | null | null | 985 | null | null | apache-2.0 | null | null | null | null | null | null | null | app/agent_dispatcher/infrastructure/entity/exception/__init__.py | null | null | null | null | null | null | Python | 2026-05-04T02:32:45.531298 | # Copyright 2025 ZTE Corporation.
# 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/LICENSE-2.0
#
# Unless required... |
ZTE-AICloud/Co-Sight | https://github.com/ZTE-AICloud/Co-Sight | null | null | null | null | 985 | null | null | apache-2.0 | null | null | null | null | null | null | null | app/agent_dispatcher/infrastructure/entity/SkillsOrchestration.py | null | null | null | null | null | null | Python | 2026-05-04T02:32:45.550342 | # Copyright 2025 ZTE Corporation.
# 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/LICENSE-2.0
#
# Unless required... |
ZTE-AICloud/Co-Sight | https://github.com/ZTE-AICloud/Co-Sight | null | null | null | null | 985 | null | null | apache-2.0 | null | null | null | null | null | null | null | app/agent_dispatcher/infrastructure/entity/__init__.py | null | null | null | null | null | null | Python | 2026-05-04T02:32:45.580741 | # Copyright 2025 ZTE Corporation.
# 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/LICENSE-2.0
#
# Unless required... |
ZTE-AICloud/Co-Sight | https://github.com/ZTE-AICloud/Co-Sight | null | null | null | null | 985 | null | null | apache-2.0 | null | null | null | null | null | null | null | app/agent_dispatcher/infrastructure/entity/ProfileI18.py | null | null | null | null | null | null | Python | 2026-05-04T02:32:45.729835 | # Copyright 2025 ZTE Corporation.
# 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/LICENSE-2.0
#
# Unless required... |
ZTE-AICloud/Co-Sight | https://github.com/ZTE-AICloud/Co-Sight | null | null | null | null | 985 | null | null | apache-2.0 | null | null | null | null | null | null | null | app/agent_dispatcher/infrastructure/entity/SkillFunction.py | null | null | null | null | null | null | Python | 2026-05-04T02:32:45.730836 | # Copyright 2025 ZTE Corporation.
# 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/LICENSE-2.0
#
# Unless required... |
ZTE-AICloud/Co-Sight | https://github.com/ZTE-AICloud/Co-Sight | null | null | null | null | 985 | null | null | apache-2.0 | null | null | null | null | null | null | null | app/agent_dispatcher/infrastructure/entity/exception/error_code_consts.py | null | null | null | null | null | null | Python | 2026-05-04T02:32:46.044521 | # Copyright 2025 ZTE Corporation.
# 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/LICENSE-2.0
#
# Unless required... |
ZTE-AICloud/Co-Sight | https://github.com/ZTE-AICloud/Co-Sight | null | null | null | null | 985 | null | null | apache-2.0 | null | null | null | null | null | null | null | app/agent_dispatcher/infrastructure/util/__init__.py | null | null | null | null | null | null | Python | 2026-05-04T02:32:46.119476 | # Copyright 2025 ZTE Corporation.
# 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/LICENSE-2.0
#
# Unless required... |
ZTE-AICloud/Co-Sight | https://github.com/ZTE-AICloud/Co-Sight | null | null | null | null | 985 | null | null | apache-2.0 | null | null | null | null | null | null | null | app/agent_dispatcher/infrastructure/util/constants.py | null | null | null | null | null | null | Python | 2026-05-04T02:32:46.120714 | # Copyright 2025 ZTE Corporation.
# 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/LICENSE-2.0
#
# Unless required... |
ZTE-AICloud/Co-Sight | https://github.com/ZTE-AICloud/Co-Sight | null | null | null | null | 985 | null | null | apache-2.0 | null | null | null | null | null | null | null | app/common/__init__.py | null | null | null | null | null | null | Python | 2026-05-04T02:32:46.194699 | # Copyright 2025 ZTE Corporation.
# 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/LICENSE-2.0
#
# Unless required... |
ZTE-AICloud/Co-Sight | https://github.com/ZTE-AICloud/Co-Sight | null | null | null | null | 985 | null | null | apache-2.0 | null | null | null | null | null | null | null | app/common/application/__init__.py | null | null | null | null | null | null | Python | 2026-05-04T02:32:46.226147 | # Copyright 2025 ZTE Corporation.
# 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/LICENSE-2.0
#
# Unless required... |
ZTE-AICloud/Co-Sight | https://github.com/ZTE-AICloud/Co-Sight | null | null | null | null | 985 | null | null | apache-2.0 | null | null | null | null | null | null | null | app/common/domain/util/__init__.py | null | null | null | null | null | null | Python | 2026-05-04T02:32:46.325131 | # Copyright 2025 ZTE Corporation.
# 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/LICENSE-2.0
#
# Unless required... |
ZTE-AICloud/Co-Sight | https://github.com/ZTE-AICloud/Co-Sight | null | null | null | null | 985 | null | null | apache-2.0 | null | null | null | null | null | null | null | app/common/domain/__init__.py | null | null | null | null | null | null | Python | 2026-05-04T02:32:46.326194 | # Copyright 2025 ZTE Corporation.
# 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/LICENSE-2.0
#
# Unless required... |
ZTE-AICloud/Co-Sight | https://github.com/ZTE-AICloud/Co-Sight | null | null | null | null | 985 | null | null | apache-2.0 | null | null | null | null | null | null | null | app/common/domain/util/json_util.py | null | null | null | null | null | null | Python | 2026-05-04T02:32:46.675461 | # Copyright 2025 ZTE Corporation.
# 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/LICENSE-2.0
#
# Unless required... |
ZTE-AICloud/Co-Sight | https://github.com/ZTE-AICloud/Co-Sight | null | null | null | null | 985 | null | null | apache-2.0 | null | null | null | null | null | null | null | app/common/logger_util.py | null | null | null | null | null | null | Python | 2026-05-04T02:32:46.704919 | # Copyright 2025 ZTE Corporation.
# 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/LICENSE-2.0
#
# Unless required... |
ZTE-AICloud/Co-Sight | https://github.com/ZTE-AICloud/Co-Sight | null | null | null | null | 985 | null | null | apache-2.0 | null | null | null | null | null | null | null | app/cosight/__init__.py | null | null | null | null | null | null | Python | 2026-05-04T02:32:46.714667 | # Copyright 2025 ZTE Corporation.
# 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/LICENSE-2.0
#
# Unless required... |
ZTE-AICloud/Co-Sight | https://github.com/ZTE-AICloud/Co-Sight | null | null | null | null | 985 | null | null | apache-2.0 | null | null | null | null | null | null | null | app/cosight/agent/__init__.py | null | null | null | null | null | null | Python | 2026-05-04T02:32:46.768380 | # Copyright 2025 ZTE Corporation.
# 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/LICENSE-2.0
#
# Unless required... |
ZTE-AICloud/Co-Sight | https://github.com/ZTE-AICloud/Co-Sight | null | null | null | null | 985 | null | null | apache-2.0 | null | null | null | null | null | null | null | app/cosight/agent/actor/__init__.py | null | null | null | null | null | null | Python | 2026-05-04T02:32:46.819153 | # Copyright 2025 ZTE Corporation.
# 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/LICENSE-2.0
#
# Unless required... |
ZTE-AICloud/Co-Sight | https://github.com/ZTE-AICloud/Co-Sight | null | null | null | null | 985 | null | null | apache-2.0 | null | null | null | null | null | null | null | app/cosight/agent/actor/instance/__init__.py | null | null | null | null | null | null | Python | 2026-05-04T02:32:46.922821 | # Copyright 2025 ZTE Corporation.
# 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/LICENSE-2.0
#
# Unless required... |
ZTE-AICloud/Co-Sight | https://github.com/ZTE-AICloud/Co-Sight | null | null | null | null | 985 | null | null | apache-2.0 | null | null | null | null | null | null | null | app/cosight/agent/actor/instance/actor_agent_instance.py | null | null | null | null | null | null | Python | 2026-05-04T02:32:46.923297 | # Copyright 2025 ZTE Corporation.
# 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/LICENSE-2.0
#
# Unless required... |
ZTE-AICloud/Co-Sight | https://github.com/ZTE-AICloud/Co-Sight | null | null | null | null | 985 | null | null | apache-2.0 | null | null | null | null | null | null | null | app/cosight/agent/actor/instance/actor_agent_skill.py | null | null | null | null | null | null | Python | 2026-05-04T02:32:47.279986 | # Copyright 2025 ZTE Corporation.
# 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/LICENSE-2.0
#
# Unless required... |
ZTE-AICloud/Co-Sight | https://github.com/ZTE-AICloud/Co-Sight | null | null | null | null | 985 | null | null | apache-2.0 | null | null | null | null | null | null | null | app/cosight/agent/actor/prompt/__init__.py | null | null | null | null | null | null | Python | 2026-05-04T02:32:47.301626 | # Copyright 2025 ZTE Corporation.
# 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/LICENSE-2.0
#
# Unless required... |
ZTE-AICloud/Co-Sight | https://github.com/ZTE-AICloud/Co-Sight | null | null | null | null | 985 | null | null | apache-2.0 | null | null | null | null | null | null | null | app/cosight/agent/actor/task_actor_agent.py | null | null | null | null | null | null | Python | 2026-05-04T02:32:47.347026 | # Copyright 2025 ZTE Corporation.
# 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/LICENSE-2.0
#
# Unless required... |
ZTE-AICloud/Co-Sight | https://github.com/ZTE-AICloud/Co-Sight | null | null | null | null | 985 | null | null | apache-2.0 | null | null | null | null | null | null | null | app/cosight/agent/actor/prompt/actor_prompt.py | null | null | null | null | null | null | Python | 2026-05-04T02:32:47.365939 | # Copyright 2025 ZTE Corporation.
# 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/LICENSE-2.0
#
# Unless... |
ZTE-AICloud/Co-Sight | https://github.com/ZTE-AICloud/Co-Sight | null | null | null | null | 985 | null | null | apache-2.0 | null | null | null | null | null | null | null | app/cosight/agent/base/__init__.py | null | null | null | null | null | null | Python | 2026-05-04T02:32:47.455399 | # Copyright 2025 ZTE Corporation.
# 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/LICENSE-2.0
#
# Unless required... |
ZTE-AICloud/Co-Sight | https://github.com/ZTE-AICloud/Co-Sight | null | null | null | null | 985 | null | null | apache-2.0 | null | null | null | null | null | null | null | app/agent_dispatcher/infrastructure/__init__.py | null | null | null | null | null | null | Python | 2026-05-04T02:32:53.149077 | # Copyright 2025 ZTE Corporation.
# 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/LICENSE-2.0
#
# Unless required... |
ZTE-AICloud/Co-Sight | https://github.com/ZTE-AICloud/Co-Sight | null | null | null | null | 985 | null | null | apache-2.0 | null | null | null | null | null | null | null | app/agent_dispatcher/infrastructure/entity/MessageStream.py | null | null | null | null | null | null | Python | 2026-05-04T02:32:53.151054 | # Copyright 2025 ZTE Corporation.
# 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/LICENSE-2.0
#
# Unless required... |
ZTE-AICloud/Co-Sight | https://github.com/ZTE-AICloud/Co-Sight | null | null | null | null | 985 | null | null | apache-2.0 | null | null | null | null | null | null | null | app/agent_dispatcher/infrastructure/entity/KnowledgeInfo.py | null | null | null | null | null | null | Python | 2026-05-04T02:32:53.151809 | # Copyright 2025 ZTE Corporation.
# 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/LICENSE-2.0
#
# Unless required... |
terricain/aioboto3 | https://github.com/terricain/aioboto3 | null | null | null | null | 983 | null | null | apache-2.0 | null | null | null | null | null | null | null | aioboto3/__init__.py | null | null | null | null | null | null | Python | 2026-05-04T02:32:55.839784 | # -*- coding: utf-8 -*-
"""Top-level package for Async AWS SDK for Python."""
import logging
from aioboto3.session import Session
__author__ = """Terri Cain"""
__email__ = 'terri@dolphincorp.co.uk'
try:
from aioboto3._version import __version__
except PackageNotFoundError:
__version__ = "0.0.0"
# Set up l... |
terricain/aioboto3 | https://github.com/terricain/aioboto3 | null | null | null | null | 983 | null | null | apache-2.0 | null | null | null | null | null | null | null | aioboto3/resources/action.py | null | null | null | null | null | null | Python | 2026-05-04T02:32:55.843423 | import logging
from boto3.resources.action import ServiceAction, WaiterAction
from boto3.resources.params import create_request_parameters
from boto3.resources.action import xform_name
from aioboto3.resources.response import AIOResourceHandler, AIORawHandler
logger = logging.getLogger(__name__)
class AIOServiceAct... |
terricain/aioboto3 | https://github.com/terricain/aioboto3 | null | null | null | null | 983 | null | null | apache-2.0 | null | null | null | null | null | null | null | aioboto3/dynamodb/table.py | null | null | null | null | null | null | Python | 2026-05-04T02:32:55.844357 | import asyncio
import logging
from boto3.dynamodb.table import TableResource
logger = logging.getLogger(__name__)
def register_table_methods(base_classes, **kwargs):
base_classes.insert(0, CustomTableResource)
class CustomTableResource(TableResource):
def batch_writer(self, overwrite_by_pkeys=None, flush_... |
terricain/aioboto3 | https://github.com/terricain/aioboto3 | null | null | null | null | 983 | null | null | apache-2.0 | null | null | null | null | null | null | null | aioboto3/resources/collection.py | null | null | null | null | null | null | Python | 2026-05-04T02:32:55.846616 | import logging
from typing import AsyncIterator, Any, cast
from boto3.docs import docstring
from boto3.resources.collection import CollectionFactory, ResourceCollection, CollectionManager, merge_dicts
from boto3.resources.params import create_request_parameters
from aioboto3.resources.action import AioBatchAction, AI... |
terricain/aioboto3 | https://github.com/terricain/aioboto3 | null | null | null | null | 983 | null | null | apache-2.0 | null | null | null | null | null | null | null | aioboto3/resources/base.py | null | null | null | null | null | null | Python | 2026-05-04T02:32:56.577195 | import logging
import warnings
from boto3.resources.base import ServiceResource
logger = logging.getLogger(__name__)
class AIOBoto3ServiceResource(ServiceResource):
async def __aenter__(self):
return self
async def __aexit__(self, exc_type, exc_val, exc_tb):
await self.meta.client.__aexit__... |
terricain/aioboto3 | https://github.com/terricain/aioboto3 | null | null | null | null | 983 | null | null | apache-2.0 | null | null | null | null | null | null | null | aioboto3/experimental/async_chalice.py | null | null | null | null | null | null | Python | 2026-05-04T02:32:56.578638 | import asyncio
from typing import Optional
from chalice import Chalice
from chalice.app import RestAPIEventHandler
from aioboto3 import Session
class AsyncRestAPIEventHandler(RestAPIEventHandler):
def _get_view_function_response(self, view_function, function_args):
# Wrap the view_function so that we ca... |
terricain/aioboto3 | https://github.com/terricain/aioboto3 | null | null | null | null | 983 | null | null | apache-2.0 | null | null | null | null | null | null | null | aioboto3/resources/factory.py | null | null | null | null | null | null | Python | 2026-05-04T02:32:56.737381 | import logging
from functools import partial
from boto3.resources.factory import ResourceFactory
from boto3.resources.model import ResourceModel
from boto3.resources.base import ResourceMeta
from boto3.docs import docstring
from boto3.exceptions import ResourceLoadException
from boto3.resources.factory import build_id... |
terricain/aioboto3 | https://github.com/terricain/aioboto3 | null | null | null | null | 983 | null | null | apache-2.0 | null | null | null | null | null | null | null | aioboto3/resources/response.py | null | null | null | null | null | null | Python | 2026-05-04T02:32:57.563995 | from boto3.resources.response import RawHandler, ResourceHandler, build_identifiers, build_empty_response, all_not_none, jmespath
class AIOResourceHandler(ResourceHandler):
async def __call__(self, parent, params, response):
"""
:type parent: ServiceResource
:param parent: The resource ins... |
terricain/aioboto3 | https://github.com/terricain/aioboto3 | null | null | null | null | 983 | null | null | apache-2.0 | null | null | null | null | null | null | null | aioboto3/s3/inject.py | null | null | null | null | null | null | Python | 2026-05-04T02:32:57.569011 | import asyncio
import aiofiles
import inspect
import logging
import math
from functools import partial
from io import BytesIO
from typing import Optional, Callable, BinaryIO, Dict, Any, Union
from abc import abstractmethod
from aiobotocore.context import with_current_context
from botocore.exceptions import ClientError... |
terricain/aioboto3 | https://github.com/terricain/aioboto3 | null | null | null | null | 983 | null | null | apache-2.0 | null | null | null | null | null | null | null | aioboto3/session.py | null | null | null | null | null | null | Python | 2026-05-04T02:32:57.676011 | # -*- coding: utf-8 -*-
"""
This class essentially overrides the boto3 session init, passing in
an async botocore session
"""
import copy
import boto3.session
import boto3.resources.base
import boto3.utils
from boto3.session import DataNotFoundError, UnknownServiceError
from boto3.exceptions import ResourceNotExistsE... |
terricain/aioboto3 | https://github.com/terricain/aioboto3 | null | null | null | null | 983 | null | null | apache-2.0 | null | null | null | null | null | null | null | aioboto3/s3/cse.py | null | null | null | null | null | null | Python | 2026-05-04T02:32:57.677423 | import asyncio
import base64
import json
import inspect
import os
import re
import sys
import struct
from io import BytesIO
from typing import Dict, Union, IO, Optional, Any, Tuple
import aioboto3
from cryptography.hazmat.primitives.ciphers.aead import AESGCM
from cryptography.hazmat.backends import default_backend
fr... |
terricain/aioboto3 | https://github.com/terricain/aioboto3 | null | null | null | null | 983 | null | null | apache-2.0 | null | null | null | null | null | null | null | tests/conftest.py | null | null | null | null | null | null | Python | 2026-05-04T02:32:57.790343 | import boto3
import pytest
import random
import string
import uuid
from unittest import mock
from typing import Dict, Type, TypeVar
import pytest_asyncio
from aiobotocore.config import AioConfig
from aioboto3.session import Session
@pytest.fixture(scope="session", params=[True, False],
ids=['debug[t... |
terricain/aioboto3 | https://github.com/terricain/aioboto3 | null | null | null | null | 983 | null | null | apache-2.0 | null | null | null | null | null | null | null | tests/mock_server.py | null | null | null | null | null | null | Python | 2026-05-04T02:32:57.896466 | import pytest
from moto.server import ThreadedMotoServer
_proxy_bypass = {
"http": None,
"https": None,
}
# TODO this in theory can run for all tests not 1 per service
def start_service(host, port) -> ThreadedMotoServer:
server = ThreadedMotoServer(ip_address=host, port=port, verbose=False)
server.start... |
terricain/aioboto3 | https://github.com/terricain/aioboto3 | null | null | null | null | 983 | null | null | apache-2.0 | null | null | null | null | null | null | null | tests/test_dynamo.py | null | null | null | null | null | null | Python | 2026-05-04T02:32:58.406694 | import asyncio
from boto3.dynamodb.conditions import Key
import pytest
@pytest.mark.asyncio
async def test_dynamo_resource_query(dynamodb_resource, random_table_name):
await dynamodb_resource.create_table(
TableName=random_table_name,
KeySchema=[{'AttributeName': 'pk', 'KeyType': 'HASH'}],
... |
terricain/aioboto3 | https://github.com/terricain/aioboto3 | null | null | null | null | 983 | null | null | apache-2.0 | null | null | null | null | null | null | null | tests/test_basic.py | null | null | null | null | null | null | Python | 2026-05-04T02:32:58.407172 | #!/usr/bin/env python
# -*- coding: utf-8 -*-
"""Tests for `aioboto3` package."""
import pytest
from aiobotocore.client import AioBaseClient
import aioboto3
@pytest.mark.asyncio
async def test_getting_client():
"""Simple getting of client."""
session = aioboto3.Session()
async with session.client('ssm... |
terricain/aioboto3 | https://github.com/terricain/aioboto3 | null | null | null | null | 983 | null | null | apache-2.0 | null | null | null | null | null | null | null | tests/test_experimental_chalice.py | null | null | null | null | null | null | Python | 2026-05-04T02:32:58.407682 | import aioboto3
import boto3
import pytest
from chalice_app import app
from chalice.test import Client
def test_chalice_async_http(moto_patch, region, bucket_name):
session = aioboto3.Session()
app.aioboto3 = session
with Client(app) as client:
response = client.http.get('/hello/myname')
... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.