repo
stringclasses
454 values
file_path
stringlengths
5
201
extension
stringclasses
1 value
content
stringlengths
8
509k
num_lines
int64
3
16.9k
size_bytes
int64
8
511k
OpenViking
openviking_cli/utils/config/storage_config.py
.py
# Copyright (c) 2026 Beijing Volcano Engine Technology Co., Ltd. # SPDX-License-Identifier: AGPL-3.0 from pathlib import Path from typing import Any, Dict from pydantic import BaseModel, Field, model_validator from openviking_cli.utils.logger import get_logger from .agfs_config import AGFSConfig from .transaction_co...
133
5,201
OpenViking
openviking_cli/utils/config/parser_config.py
.py
# Copyright (c) 2026 Beijing Volcano Engine Technology Co., Ltd. # SPDX-License-Identifier: AGPL-3.0 """ Unified parser configuration management for OpenViking. This module consolidates all parser configuration classes that were previously scattered across different modules. All configurations inherit from ParserConfi...
863
29,774
OpenViking
openviking_cli/utils/config/vlm_config.py
.py
# Copyright (c) 2026 Beijing Volcano Engine Technology Co., Ltd. # SPDX-License-Identifier: AGPL-3.0 import asyncio import importlib import threading import weakref from pathlib import Path from typing import Any, Awaitable, Callable, Dict, List, Optional, Union from pydantic import BaseModel, Field, PrivateAttr, mode...
798
33,721
OpenViking
openviking_cli/utils/config/retrieval_config.py
.py
# Copyright (c) 2026 Beijing Volcano Engine Technology Co., Ltd. # SPDX-License-Identifier: AGPL-3.0 from pydantic import BaseModel, Field class RetrievalConfig(BaseModel): """Configuration for retrieval ranking behavior.""" hotness_alpha: float = Field( default=0.0, ge=0.0, le=1.0, ...
50
1,622
OpenViking
openviking_cli/utils/config/grep_config.py
.py
# Copyright (c) 2026 Beijing Volcano Engine Technology Co., Ltd. # SPDX-License-Identifier: AGPL-3.0 from typing import Literal from pydantic import BaseModel, Field # Grep engine mode type alias — import this instead of repeating Literal["auto", "fs"] GrepEngine = Literal["auto", "fs"] class GrepConfig(BaseModel)...
32
859
OpenViking
openviking_cli/utils/config/rerank_config.py
.py
# Copyright (c) 2026 Beijing Volcano Engine Technology Co., Ltd. # SPDX-License-Identifier: AGPL-3.0 from typing import Dict, Optional from pydantic import BaseModel, Field, model_validator class RerankConfig(BaseModel): """Configuration for rerank API. Supports VikingDB, Cohere, OpenAI-compatible, and LiteLLM p...
105
3,995
OpenViking
openviking_cli/utils/config/telemetry_config.py
.py
# Copyright (c) 2026 Beijing Volcano Engine Technology Co., Ltd. # SPDX-License-Identifier: AGPL-3.0 from pydantic import BaseModel, Field class TracerConfig(BaseModel): """OpenTelemetry tracer configuration.""" enabled: bool = Field(default=False, description="Enable OpenTelemetry tracing") endpoint: st...
27
952
OpenViking
openviking_cli/utils/config/ingest_config.py
.py
# Copyright (c) 2026 Beijing Volcano Engine Technology Co., Ltd. # SPDX-License-Identifier: AGPL-3.0 """Configuration for the conversation-log ingest subsystem (``openviking-server ingest``). Ingest parses local agent-harness conversation logs (Claude Code, Codex, OpenCode, Hermes, OpenClaw, Cursor) and "replays" them...
140
5,141
OpenViking
integrations/langchain/tests/installed_smoke.py
.py
# Copyright (c) 2026 Beijing Volcano Engine Technology Co., Ltd. # SPDX-License-Identifier: AGPL-3.0 """Exercise the built wheel without the full OpenViking package on ``sys.path``.""" from __future__ import annotations import sys from langchain.agents import create_agent from langchain_core.language_models.fake_cha...
60
1,908
OpenViking
integrations/langchain/tests/installed_base_smoke.py
.py
# Copyright (c) 2026 Beijing Volcano Engine Technology Co., Ltd. # SPDX-License-Identifier: AGPL-3.0 """Exercise the installed base distribution without LangGraph dependencies.""" from __future__ import annotations import sys import langchain_openviking from langchain_openviking import InMemoryOpenVikingClient, Open...
46
1,538
OpenViking
integrations/langchain/src/langchain_openviking/middleware.py
.py
# Copyright (c) 2026 Beijing Volcano Engine Technology Co., Ltd. # SPDX-License-Identifier: AGPL-3.0 """LangGraph agent middleware for OpenViking recall and capture.""" from __future__ import annotations import asyncio import json from contextlib import AbstractContextManager, nullcontext from dataclasses import data...
591
21,199
OpenViking
integrations/langchain/src/langchain_openviking/store.py
.py
# Copyright (c) 2026 Beijing Volcano Engine Technology Co., Ltd. # SPDX-License-Identifier: AGPL-3.0 """LangGraph Store implementation backed by OpenViking.""" from __future__ import annotations import asyncio import json import logging from datetime import datetime, timezone from typing import TYPE_CHECKING, Any, It...
598
20,384
OpenViking
integrations/langchain/src/langchain_openviking/actor_peer.py
.py
# Copyright (c) 2026 Beijing Volcano Engine Technology Co., Ltd. # SPDX-License-Identifier: AGPL-3.0 """Compatibility bridge for request-scoped actor peers in openviking-sdk.""" from __future__ import annotations from contextlib import AbstractContextManager from importlib import import_module from typing import Call...
49
1,700
OpenViking
integrations/langchain/src/langchain_openviking/__init__.py
.py
# Copyright (c) 2026 Beijing Volcano Engine Technology Co., Ltd. # SPDX-License-Identifier: AGPL-3.0 """LangChain and LangGraph integrations for OpenViking. The base distribution depends on ``langchain-core``. LangGraph middleware is loaded only when the ``langgraph`` extra (or compatible dependencies) is installed. "...
107
3,668
OpenViking
integrations/langchain/src/langchain_openviking/_testing_utils.py
.py
# Copyright (c) 2026 Beijing Volcano Engine Technology Co., Ltd. # SPDX-License-Identifier: AGPL-3.0 """Private deterministic helpers for the in-memory integration test client.""" from __future__ import annotations import math import re _IDENTIFIER_PATTERN = re.compile(r"^[a-zA-Z0-9_.@-]+$") def normalize_peer_id(...
63
2,017
OpenViking
integrations/langchain/src/langchain_openviking/_uri.py
.py
# Copyright (c) 2026 Beijing Volcano Engine Technology Co., Ltd. # SPDX-License-Identifier: AGPL-3.0 """Narrow Viking URI parsing used by the LangGraph store adapter.""" from __future__ import annotations from dataclasses import dataclass _CONTENT_SEGMENTS = frozenset({"memories", "resources", "skills"}) _PEER_CONTE...
62
1,946
OpenViking
integrations/langchain/src/langchain_openviking/testing.py
.py
# Copyright (c) 2026 Beijing Volcano Engine Technology Co., Ltd. # SPDX-License-Identifier: AGPL-3.0 """Deterministic test utilities for framework smoke tests.""" from __future__ import annotations import fnmatch import re import uuid from collections import defaultdict from datetime import datetime, timezone from ty...
410
15,662
OpenViking
integrations/langchain/src/langchain_openviking/messages.py
.py
# Copyright (c) 2026 Beijing Volcano Engine Technology Co., Ltd. # SPDX-License-Identifier: AGPL-3.0 """LangChain message conversion and recording filters.""" from __future__ import annotations from collections.abc import Sequence from copy import deepcopy from typing import Any try: from langchain_core.messages...
207
7,519
OpenViking
integrations/langchain/src/langchain_openviking/client.py
.py
# Copyright (c) 2026 Beijing Volcano Engine Technology Co., Ltd. # SPDX-License-Identifier: AGPL-3.0 """Shared helpers for LangChain/LangGraph integration adapters.""" from __future__ import annotations import asyncio import copy import inspect import json import logging import threading from dataclasses import datac...
831
27,242
OpenViking
integrations/langchain/src/langchain_openviking/context.py
.py
# Copyright (c) 2026 Beijing Volcano Engine Technology Co., Ltd. # SPDX-License-Identifier: AGPL-3.0 """High-level OpenViking context lifecycle helpers for LangChain.""" from __future__ import annotations import asyncio import logging import threading from collections.abc import AsyncIterator, Callable, Sequence from...
936
32,758
OpenViking
integrations/langchain/src/langchain_openviking/history.py
.py
# Copyright (c) 2026 Beijing Volcano Engine Technology Co., Ltd. # SPDX-License-Identifier: AGPL-3.0 """LangChain chat history backed by OpenViking sessions.""" from __future__ import annotations import asyncio import logging from collections.abc import Sequence from typing import Any, Callable try: from langcha...
291
10,662
OpenViking
integrations/langchain/src/langchain_openviking/tools.py
.py
# Copyright (c) 2026 Beijing Volcano Engine Technology Co., Ltd. # SPDX-License-Identifier: AGPL-3.0 """LangChain tool factory for OpenViking primitives.""" from __future__ import annotations import logging import re from pathlib import Path from typing import Annotated, Any, Iterable, Literal from urllib.parse impor...
877
31,223
OpenViking
integrations/langchain/src/langchain_openviking/retrievers.py
.py
# Copyright (c) 2026 Beijing Volcano Engine Technology Co., Ltd. # SPDX-License-Identifier: AGPL-3.0 """LangChain retriever backed by OpenViking retrieval.""" from __future__ import annotations import asyncio import threading from typing import Any, Literal from pydantic import ConfigDict, Field, PrivateAttr try: ...
304
11,648
OpenViking
integrations/langchain/src/langchain_openviking/_async_client_cache.py
.py
# Copyright (c) 2026 Beijing Volcano Engine Technology Co., Ltd. # SPDX-License-Identifier: AGPL-3.0 """Private event-loop scoped cache for integration-owned async clients.""" from __future__ import annotations import asyncio import inspect import threading import weakref from collections.abc import Callable from typ...
125
3,959
OpenViking
integrations/langchain/src/langchain_openviking/recording.py
.py
# Copyright (c) 2026 Beijing Volcano Engine Technology Co., Ltd. # SPDX-License-Identifier: AGPL-3.0 """Reusable OpenViking session recording for LangChain messages.""" from __future__ import annotations import asyncio import threading from collections.abc import Iterable, Sequence from copy import deepcopy from data...
690
24,073
spleeter
spleeter/types.py
.py
#!/usr/bin/env python # coding: utf8 """ Custom types definition. """ from typing import Any, Tuple # pyright: reportMissingImports=false # pylint: disable=import-error import numpy as np # pylint: enable=import-error AudioDescriptor = Any Signal = Tuple[np.ndarray, float]
16
279
spleeter
spleeter/options.py
.py
#!/usr/bin/env python # coding: utf8 """This modules provides spleeter command as well as CLI parsing methods.""" from os.path import join from tempfile import gettempdir from typer import Argument, Exit, Option, echo from typer.models import List, Optional from .audio import Codec __email__ = "spleeter@deezer.com...
134
3,138
spleeter
spleeter/separator.py
.py
#!/usr/bin/env python # coding: utf8 """ Module that provides a class wrapper for source separation. Examples: ```python >>> from spleeter.separator import Separator >>> separator = Separator('spleeter:2stems') >>> separator.separate(waveform, lambda instrument, data: ...) >>> separator.separate_to_file(...) ``` """...
349
11,628
spleeter
spleeter/__main__.py
.py
#!/usr/bin/env python # coding: utf8 """ Python oneliner script usage. USAGE: python -m spleeter {train,evaluate,separate} ... Notes: All critical import involving TF, numpy or Pandas are deported to command function scope to avoid heavy import on CLI evaluation, leading to large bootstraping time. """ i...
274
8,600
spleeter
spleeter/__init__.py
.py
#!/usr/bin/env python # coding: utf8 """ Spleeter is the Deezer source separation library with pretrained models. The library is based on Tensorflow: - It provides already trained model for performing separation. - It makes it easy to train source separation model with tensorflow (provided you have a dataset ...
25
671
spleeter
spleeter/dataset.py
.py
#!/usr/bin/env python # coding: utf8 """ Module for building data preprocessing pipeline using the tensorflow data API. Data preprocessing such as audio loading, spectrogram computation, cropping, feature caching or data augmentation is done using a tensorflow dataset object that output a tuple (input_, output) where:...
608
20,953
spleeter
spleeter/audio/convertor.py
.py
#!/usr/bin/env python # coding: utf8 """ This module provides audio data convertion functions. """ # pyright: reportMissingImports=false # pylint: disable=import-error import numpy as np import tensorflow as tf # type: ignore from ..utils.tensor import from_float32_to_uint8, from_uint8_to_float32 # pylint: enable=...
140
3,652
spleeter
spleeter/audio/ffmpeg.py
.py
#!/usr/bin/env python # coding: utf8 """ This module provides an AudioAdapter implementation based on FFMPEG process. Such implementation is POSIXish and depends on nothing except standard Python libraries. Thus this implementation is the default one used within this library. """ import datetime as dt import os impor...
186
6,303
spleeter
spleeter/audio/__init__.py
.py
#!/usr/bin/env python # coding: utf8 """ `spleeter.utils.audio` package provides various tools for manipulating audio content such as : - Audio adapter class for abstract interaction with audio file. - FFMPEG implementation for audio adapter. - Waveform convertion and transforming functions. """ # Python 3.11 is not...
38
854
spleeter
spleeter/audio/adapter.py
.py
#!/usr/bin/env python # coding: utf8 """ AudioAdapter class defintion. """ from abc import ABC, abstractmethod from importlib import import_module from pathlib import Path from typing import Any, Dict, List, Optional, Union # pyright: reportMissingImports=false # pylint: disable=import-error import numpy as np impor...
201
6,578
spleeter
spleeter/audio/spectrogram.py
.py
#!/usr/bin/env python # coding: utf8 """ Spectrogram specific data augmentation. """ # pyright: reportMissingImports=false # pylint: disable=import-error import tensorflow as tf # type: ignore from tensorflow.signal import hann_window, stft # type: ignore # pylint: enable=import-error __email__ = "spleeter@deezer...
178
5,907
spleeter
spleeter/resources/__init__.py
.py
#!/usr/bin/env python # coding: utf8 """ Packages that provides static resources file for the library. """ __email__ = "spleeter@deezer.com" __author__ = "Deezer Research" __license__ = "MIT License"
9
202
spleeter
spleeter/model/__init__.py
.py
#!/usr/bin/env python # coding: utf8 """ This package provide an estimator builder as well as model functions. """ import importlib from typing import Any, Dict, Optional, Tuple # pyright: reportMissingImports=false # pylint: disable=import-error import tensorflow as tf # type: ignore from tensorflow.signal import ...
586
19,898
spleeter
spleeter/model/functions/unet.py
.py
#!/usr/bin/env python # coding: utf8 """ This module contains building functions for U-net source separation models in a similar way as in A. Jansson et al. : "Singing voice separation with deep u-net convolutional networks", ISMIR 2017 Each instrument is modeled by a single U-net convolutional / deconvolutional net...
241
7,446
spleeter
spleeter/model/functions/blstm.py
.py
#!/usr/bin/env python # coding: utf8 """ This system (UHL1) uses a bi-directional LSTM network as described in : `S. Uhlich, M. Porcu, F. Giron, M. Enenkl, T. Kemp, N. Takahashi and Y. Mitsufuji. "Improving music source separation based on deep neural networks through data augmentation and network blending", Proc. I...
99
3,024
spleeter
spleeter/model/functions/__init__.py
.py
#!/usr/bin/env python # coding: utf8 """ This package provide model functions. """ from typing import Callable, Dict, Iterable, Optional # pyright: reportMissingImports=false # pylint: disable=import-error import tensorflow as tf # type: ignore # pylint: enable=import-error __email__ = "spleeter@deezer.com" __aut...
49
1,247
spleeter
spleeter/model/provider/__init__.py
.py
#!/usr/bin/env python # coding: utf8 """ This package provides tools for downloading model from network using remote storage abstraction. Example: ```python >>> provider = MyProviderImplementation() >>> provider.get('/path/to/local/storage', params) ``` """ from abc import ABC, abstractmethod from os import environ,...
99
2,746
spleeter
spleeter/model/provider/github.py
.py
#!/usr/bin/env python # coding: utf8 """ A ModelProvider backed by Github Release feature. Examples: ```python >>> from spleeter.model.provider import github >>> provider = github.GithubModelProvider( 'github.com', 'Deezer/spleeter', 'latest') >>> provider.download('2stems', '/path/to/local/s...
164
4,828
spleeter
spleeter/utils/configuration.py
.py
#!/usr/bin/env python # coding: utf8 """ Module that provides configuration loading function. """ import importlib.resources as loader import json from os.path import exists from typing import Dict from .. import SpleeterError, resources __email__ = "spleeter@deezer.com" __author__ = "Deezer Research" __license__ =...
52
1,591
spleeter
spleeter/utils/logging.py
.py
#!/usr/bin/env python # coding: utf8 """Centralized logging facilities for Spleeter.""" import logging import warnings from os import environ # pyright: reportMissingImports=false # pylint: disable=import-error from typer import echo # pylint: enable=import-error __email__ = "spleeter@deezer.com" __author__ = "Dee...
57
1,437
spleeter
spleeter/utils/tensor.py
.py
#!/usr/bin/env python # coding: utf8 """ Utility function for tensorflow. """ from typing import Any, Callable, Dict import pandas as pd # type: ignore # pyright: reportMissingImports=false # pylint: disable=import-error import tensorflow as tf # type: ignore # pylint: enable=import-error __email__ = "spleeter@...
200
6,332
spleeter
spleeter/utils/__init__.py
.py
#!/usr/bin/env python # coding: utf8 """ This package provides utility function and classes. """ __email__ = "spleeter@deezer.com" __author__ = "Deezer Research" __license__ = "MIT License"
9
192
spleeter
tests/__init__.py
.py
#!/usr/bin/env python # coding: utf8 """ Unit testing package. """ __email__ = "spleeter@deezer.com" __author__ = "Deezer Research" __license__ = "MIT License"
9
162
spleeter
tests/test_separator.py
.py
#!/usr/bin/env python # coding: utf8 """ Unit testing for Separator class. """ __email__ = "spleeter@deezer.com" __author__ = "Deezer Research" __license__ = "MIT License" import itertools from os.path import basename, exists, join, splitext from tempfile import TemporaryDirectory import numpy as np import pytest i...
96
3,560
spleeter
tests/test_eval.py
.py
#!/usr/bin/env python # coding: utf8 """ Unit testing for Separator class. """ __email__ = "spleeter@deezer.com" __author__ = "Deezer Research" __license__ = "MIT License" from os import makedirs from os.path import join from tempfile import TemporaryDirectory import numpy as np from spleeter.__main__ import evalu...
63
2,032
spleeter
tests/test_command.py
.py
#!/usr/bin/env python # coding: utf8 """ Unit testing for Separator class. """ __email__ = "research@deezer.com" __author__ = "Deezer Research" __license__ = "MIT License" from typer.testing import CliRunner from spleeter.__main__ import spleeter def test_version(): runner = CliRunner() # execute spleet...
26
432
spleeter
tests/test_train.py
.py
#!/usr/bin/env python # coding: utf8 """ Unit testing for Separator class. """ __email__ = "research@deezer.com" __author__ = "Deezer Research" __license__ = "MIT License" import json import os from os import makedirs from os.path import join from tempfile import TemporaryDirectory import numpy as np import pandas ...
119
3,705
spleeter
tests/test_ffmpeg_adapter.py
.py
#!/usr/bin/env python # coding: utf8 """ Unit testing for audio adapter. """ __email__ = "spleeter@deezer.com" __author__ = "Deezer Research" __license__ = "MIT License" from os.path import join from tempfile import TemporaryDirectory import ffmpeg # type: ignore import numpy as np # pyright: reportMissingImports...
80
2,210
spleeter
tests/test_github_model_provider.py
.py
#!/usr/bin/env python # coding: utf8 """ TO DOCUMENT """ from pytest import raises from spleeter.model.provider import ModelProvider def test_checksum(): """Test archive checksum index retrieval.""" provider = ModelProvider.default() assert ( provider.checksum("2stems") == "f3a90b39dd28...
28
733
python-fire
fire/helptext_test.py
.py
# Copyright (C) 2018 Google Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, ...
597
22,705
python-fire
fire/inspectutils_test.py
.py
# Copyright (C) 2018 Google Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, ...
131
4,997
python-fire
fire/testutils.py
.py
# Copyright (C) 2018 Google Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, ...
113
3,450
python-fire
fire/test_components_py3.py
.py
# Copyright (C) 2018 Google Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, ...
102
2,394
python-fire
fire/testutils_test.py
.py
# Copyright (C) 2018 Google Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, ...
54
1,753
python-fire
fire/parser.py
.py
# Copyright (C) 2018 Google Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, ...
133
4,697
python-fire
fire/value_types.py
.py
# Copyright (C) 2018 Google Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, ...
81
2,615
python-fire
fire/trace.py
.py
# Copyright (C) 2018 Google Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, ...
307
10,314
python-fire
fire/parser_fuzz_test.py
.py
# Copyright (C) 2018 Google Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, ...
95
3,041
python-fire
fire/test_components.py
.py
# Copyright (C) 2018 Google Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, ...
569
11,723
python-fire
fire/fire_import_test.py
.py
# Copyright (C) 2018 Google Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, ...
41
1,107
python-fire
fire/formatting_test.py
.py
# Copyright (C) 2018 Google Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, ...
79
2,647
python-fire
fire/interact.py
.py
# Copyright (C) 2018 Google Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, ...
97
3,036
python-fire
fire/core_test.py
.py
# Copyright (C) 2018 Google Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, ...
229
9,613
python-fire
fire/custom_descriptions.py
.py
# Copyright (C) 2018 Google Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, ...
145
5,247
python-fire
fire/completion.py
.py
# Copyright (C) 2018 Google Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, ...
519
15,992
python-fire
fire/__main__.py
.py
# Copyright (C) 2018 Google Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, ...
127
3,788
python-fire
fire/custom_descriptions_test.py
.py
# Copyright (C) 2018 Google Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, ...
70
2,654
python-fire
fire/docstrings.py
.py
# Copyright (C) 2018 Google Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, ...
775
25,023
python-fire
fire/interact_test.py
.py
# Copyright (C) 2018 Google Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, ...
49
1,436
python-fire
fire/docstrings_fuzz_test.py
.py
# Copyright (C) 2018 Google Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, ...
37
1,100
python-fire
fire/test_components_bin.py
.py
# Copyright (C) 2018 Google Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, ...
29
807
python-fire
fire/test_components_test.py
.py
# Copyright (C) 2018 Google Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, ...
37
1,230
python-fire
fire/inspectutils.py
.py
# Copyright (C) 2018 Google Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, ...
350
11,966
python-fire
fire/decorators_test.py
.py
# Copyright (C) 2018 Google Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, ...
171
5,582
python-fire
fire/parser_test.py
.py
# Copyright (C) 2018 Google Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, ...
141
6,379
python-fire
fire/fire_test.py
.py
# Copyright (C) 2018 Google Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, ...
722
29,218
python-fire
fire/decorators.py
.py
# Copyright (C) 2018 Google Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, ...
111
3,561
python-fire
fire/docstrings_test.py
.py
# Copyright (C) 2018 Google Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, ...
362
12,284
python-fire
fire/completion_test.py
.py
# Copyright (C) 2018 Google Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, ...
189
6,266
python-fire
fire/helptext.py
.py
# Copyright (C) 2018 Google Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, ...
788
27,341
python-fire
fire/trace_test.py
.py
# Copyright (C) 2018 Google Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, ...
151
5,112
python-fire
fire/formatting_windows.py
.py
# Copyright (C) 2018 Google Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, ...
59
1,984
python-fire
fire/formatting.py
.py
# Copyright (C) 2018 Google Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, ...
94
2,716
python-fire
fire/main_test.py
.py
# Copyright (C) 2018 Google Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, ...
95
3,318
python-fire
fire/core.py
.py
# Copyright (C) 2018 Google Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, ...
995
36,731
python-fire
fire/console/files.py
.py
# -*- coding: utf-8 -*- # # Copyright 2013 Google LLC. 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 requir...
115
4,056
python-fire
fire/console/console_io.py
.py
# -*- coding: utf-8 -*- # # Copyright 2013 Google LLC. 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 requir...
111
4,149
python-fire
fire/console/platforms.py
.py
# -*- coding: utf-8 -*- # # Copyright 2013 Google LLC. 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 requir...
484
16,487
python-fire
fire/console/encoding.py
.py
# -*- coding: utf-8 -*- # # Copyright 2015 Google LLC. 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 requi...
190
6,040
python-fire
fire/console/console_pager.py
.py
# -*- coding: utf-8 -*- # # Copyright 2015 Google LLC. 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 requir...
300
9,563
python-fire
fire/console/console_attr.py
.py
# -*- coding: utf-8 -*- # # Copyright 2015 Google LLC. 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 requi...
812
23,573
python-fire
fire/console/text.py
.py
# -*- coding: utf-8 -*- # # Copyright 2018 Google LLC. 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 requir...
104
2,776
python-fire
fire/console/console_attr_os.py
.py
# -*- coding: utf-8 -*- # # Copyright 2015 Google LLC. 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 requir...
258
7,458
python-fire
examples/diff/diff.py
.py
# Copyright (C) 2018 Google Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, ...
106
3,189
python-fire
examples/diff/difffull.py
.py
# Copyright (C) 2018 Google Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, ...
52
1,757