text stringlengths 5 22M | id stringlengths 12 177 | metadata dict | __index_level_0__ int64 0 1.37k |
|---|---|---|---|
# Multi-node Search
This sample shows how to use Azure ML to do partial training on a GPU cluster during an Archai
`EvolutionParetoSearch`. Implementing the `AsyncModelEvaluator` interface an
`AmlTrainingValAccuracy` evaluator is able to do partial training of many models in parallel across
a GPU cluster using [Azure... | archai/docs/advanced_guide/cloud/azure/notebooks/multi_node_search/readme.md/0 | {
"file_path": "archai/docs/advanced_guide/cloud/azure/notebooks/multi_node_search/readme.md",
"repo_id": "archai",
"token_count": 2271
} | 324 |
display_name: Search with Transformer-Flex
type: command
compute: nas-cpu-cluster-D14-v2
inputs:
model_type: gpt2
num_iters: 2
init_num_models: 5
num_random_mix: 5
max_unseen_population: 100
mutations_per_parent: 1
num_crossovers: 5
seed: 123
outputs:
output_dir:
type: uri_folder
code: .
environme... | archai/docs/advanced_guide/cloud/azure/notebooks/text_generation/src/search.yaml/0 | {
"file_path": "archai/docs/advanced_guide/cloud/azure/notebooks/text_generation/src/search.yaml",
"repo_id": "archai",
"token_count": 314
} | 325 |
First Time Contributor
======================
We are excited to have you as a contributor to our platform. Most contributions require you to agree to a `Contributor License Agreement (CLA) <https://cla.microsoft.com>`_ declaring that you have the right to, and actually do, grant us the rights to use your contribution.... | archai/docs/contributing/first_contribution.rst/0 | {
"file_path": "archai/docs/contributing/first_contribution.rst",
"repo_id": "archai",
"token_count": 460
} | 326 |
<jupyter_start><jupyter_code>from random import Random
import torch
from torch import nn<jupyter_output><empty_output><jupyter_text>Config Search Spaces As seen before, discrete search spaces in Archai are defined using the `DiscreteSearchSpace` abstract class. This tutorial shows how to use the Config Search Space API... | archai/docs/getting_started/notebooks/discrete_search/config_search.ipynb/0 | {
"file_path": "archai/docs/getting_started/notebooks/discrete_search/config_search.ipynb",
"repo_id": "archai",
"token_count": 6196
} | 327 |
PyTorch Profiler (Utilities)
============================
Evaluator
---------
.. automodule:: archai.discrete_search.evaluators.pt_profiler_utils.pt_profiler_eval
:members:
:undoc-members:
Hooks
-----
.. automodule:: archai.discrete_search.evaluators.pt_profiler_utils.pt_profiler_hooks
:members:
:undoc-... | archai/docs/reference/api/archai.discrete_search.evaluators.pt_profiler_utils.rst/0 | {
"file_path": "archai/docs/reference/api/archai.discrete_search.evaluators.pt_profiler_utils.rst",
"repo_id": "archai",
"token_count": 174
} | 328 |
Natural Language Processing
===========================
Modules
-------
.. automodule:: archai.quantization.nlp.modules
:members:
:undoc-members:
| archai/docs/reference/api/archai.quantization.nlp.rst/0 | {
"file_path": "archai/docs/reference/api/archai.quantization.nlp.rst",
"repo_id": "archai",
"token_count": 46
} | 329 |
Neural Architecture Search
==========================
Architecture Module
-------------------
.. automodule:: archai.supergraph.nas.arch_module
:members:
:undoc-members:
Architecture Parameters
-----------------------
.. automodule:: archai.supergraph.nas.arch_params
:members:
:undoc-members:
Architect... | archai/docs/reference/api/archai.supergraph.nas.rst/0 | {
"file_path": "archai/docs/reference/api/archai.supergraph.nas.rst",
"repo_id": "archai",
"token_count": 700
} | 330 |
# Copyright (c) Microsoft Corporation.
# Licensed under the MIT license.
""" Script to prepare sport8 dataset for pytorch dataloader. On Windows requires installation of WinRAR
from here: https://www.rarlab.com/download.htm and adding path of unrar.exe to PATH environment variable.
"""
import os
import sys
import sub... | archai/scripts/supergraph/download_datasets/sport8_install.py/0 | {
"file_path": "archai/scripts/supergraph/download_datasets/sport8_install.py",
"repo_id": "archai",
"token_count": 1955
} | 331 |
# Copyright (c) Microsoft Corporation.
# Licensed under the MIT license.
"""
Without cudnn setup, requires_grad=False:
3: 0.90ms for 1000 calls [stddev: 9.08, min: 0.49, max: 287.68]
4: 0.57ms for 1000 calls [stddev: 0.16, min: 0.48, max: 3.89]
... | archai/scripts/supergraph/performance/mixed_ops.py/0 | {
"file_path": "archai/scripts/supergraph/performance/mixed_ops.py",
"repo_id": "archai",
"token_count": 5508
} | 332 |
# Copyright (c) Microsoft Corporation.
# Licensed under the MIT license.
import argparse
from transformers import AutoTokenizer, OPTConfig, OPTForCausalLM, TrainingArguments
from archai.datasets.nlp.fast_hf_dataset_provider import (
FastDataCollatorForLanguageModeling,
FastHfDatasetProvider,
)
from archai.tr... | archai/scripts/trainers/hf/train_opt.py/0 | {
"file_path": "archai/scripts/trainers/hf/train_opt.py",
"repo_id": "archai",
"token_count": 1210
} | 333 |
# Copyright (c) Microsoft Corporation.
# Licensed under the MIT license.
import argparse
import os
import sys
from archai.common.store import ArchaiStore
CONNECTION_NAME = 'MODEL_STORAGE_CONNECTION_STRING'
def list_models(con_str, experiment_name):
parser = argparse.ArgumentParser(
description="List all ... | archai/tasks/face_segmentation/aml/azure/list.py/0 | {
"file_path": "archai/tasks/face_segmentation/aml/azure/list.py",
"repo_id": "archai",
"token_count": 397
} | 334 |
# assumes you have already run "az login" and "az account set --subscription id"
# also assumes you have run "az aks install-cli"
$resource_group = "snpe-quantizaton-rg"
$storage_account_name = "nasfacemodels"
$plan_location = "westus2"
$aks_cluster = "snpe-quantizer-aks"
$aks_node_vm = "Standard_D16s_v3"
$aks_namespa... | archai/tasks/face_segmentation/aml/docker/quantizer/setup.ps1/0 | {
"file_path": "archai/tasks/face_segmentation/aml/docker/quantizer/setup.ps1",
"repo_id": "archai",
"token_count": 3524
} | 335 |
import os
import sys
import json
import subprocess
home = os.getenv("HOME")
experiments = f"{home}/snpe/experiment"
script_dir = os.path.dirname(os.path.abspath(__file__))
map_file = os.path.join(script_dir, "map.txt")
command = f'{script_dir}/../azure/loop.sh'
def run(cmd):
p = subprocess.Popen(cmd, stdin=subpr... | archai/tasks/face_segmentation/aml/setup/launch.py/0 | {
"file_path": "archai/tasks/face_segmentation/aml/setup/launch.py",
"repo_id": "archai",
"token_count": 1474
} | 336 |
# Copyright (c) Microsoft Corporation.
# Licensed under the MIT license.
from threading import Lock
class PriorityQueue:
def __init__(self):
self.queue = []
self.lock = Lock()
def enqueue(self, priority, data):
self.lock.acquire()
inserted = False
for i in range(len(se... | archai/tasks/face_segmentation/aml/util/priority_queue.py/0 | {
"file_path": "archai/tasks/face_segmentation/aml/util/priority_queue.py",
"repo_id": "archai",
"token_count": 609
} | 337 |
# Copyright (c) Microsoft Corporation.
# Licensed under the MIT license.
import torch
from typing import Callable, List, Optional
from torch import nn, Tensor
from torchvision.models._utils import _make_divisible
from torchvision.ops.misc import Conv2dNormActivation
# Adapted from https://github.com/pytorch/vision/... | archai/tasks/facial_landmark_detection/model.py/0 | {
"file_path": "archai/tasks/facial_landmark_detection/model.py",
"repo_id": "archai",
"token_count": 3218
} | 338 |
# Copyright (c) Microsoft Corporation.
# Licensed under the MIT license.
import torch
from archai.datasets.cv.transforms.brightness import Brightness, RandomBrightness
def test_brightness():
# Assert that it works with minimum value
b = Brightness(-1.0)
img = torch.tensor([0.5])
result = b(img)
... | archai/tests/datasets/cv/transforms/test_brightness.py/0 | {
"file_path": "archai/tests/datasets/cv/transforms/test_brightness.py",
"repo_id": "archai",
"token_count": 361
} | 339 |
# Copyright (c) Microsoft Corporation.
# Licensed under the MIT license.
import os
import pytest
from archai.discrete_search.algos.regularized_evolution import (
RegularizedEvolutionSearch,
)
@pytest.fixture(scope="session")
def output_dir(tmp_path_factory):
return tmp_path_factory.mktemp("out_re")
def t... | archai/tests/discrete_search/algos/test_regularized_evolution.py/0 | {
"file_path": "archai/tests/discrete_search/algos/test_regularized_evolution.py",
"repo_id": "archai",
"token_count": 437
} | 340 |
# Copyright (c) Microsoft Corporation.
# Licensed under the MIT license.
import os
import torch
import pytest
from transformers import PretrainedConfig, CodeGenConfig
from archai.discrete_search.api import ArchaiModel
from archai.discrete_search.search_spaces.config import ArchConfig, ConfigSearchSpace
from archai.d... | archai/tests/discrete_search/search_spaces/nlp/tfpp/test_tfpp.py/0 | {
"file_path": "archai/tests/discrete_search/search_spaces/nlp/tfpp/test_tfpp.py",
"repo_id": "archai",
"token_count": 510
} | 341 |
# Copyright (c) Microsoft Corporation.
# Licensed under the MIT license.
import os
from transformers import GPT2Config, GPT2LMHeadModel
from archai.common.file_utils import create_file_name_identifier
from archai.onnx.export import export_to_onnx
from archai.onnx.optimization import optimize_onnx
def test_optimize... | archai/tests/onnx/test_optimization.py/0 | {
"file_path": "archai/tests/onnx/test_optimization.py",
"repo_id": "archai",
"token_count": 550
} | 342 |
# Copyright (c) Microsoft Corporation.
# Licensed under the MIT license.
import math
from unittest.mock import MagicMock
from transformers import TrainerControl, TrainerState, TrainingArguments
from archai.trainers.nlp.hf_callbacks import (
BPCTrainerCallback,
PerplexityTrainerCallback,
)
def test_bpc_trai... | archai/tests/trainers/nlp/test_hf_callbacks.py/0 | {
"file_path": "archai/tests/trainers/nlp/test_hf_callbacks.py",
"repo_id": "archai",
"token_count": 706
} | 343 |
# --------------------------------------------------------------------------------------------
# Copyright (c) Microsoft Corporation. All rights reserved.
# Licensed under the MIT License. See License.txt in the project root for license information.
# --------------------------------------------------------------------... | azure-devops-python-api/azure-devops/azure/devops/client_configuration.py/0 | {
"file_path": "azure-devops-python-api/azure-devops/azure/devops/client_configuration.py",
"repo_id": "azure-devops-python-api",
"token_count": 208
} | 344 |
# --------------------------------------------------------------------------------------------
# Copyright (c) Microsoft Corporation. All rights reserved.
# Licensed under the MIT License. See License.txt in the project root for license information.
# -------------------------------------------------------------------... | azure-devops-python-api/azure-devops/azure/devops/released/search/search_client.py/0 | {
"file_path": "azure-devops-python-api/azure-devops/azure/devops/released/search/search_client.py",
"repo_id": "azure-devops-python-api",
"token_count": 3379
} | 345 |
# --------------------------------------------------------------------------------------------
# Copyright (c) Microsoft Corporation. All rights reserved.
# Licensed under the MIT License. See License.txt in the project root for license information.
# -------------------------------------------------------------------... | azure-devops-python-api/azure-devops/azure/devops/v7_1/contributions/contributions_client.py/0 | {
"file_path": "azure-devops-python-api/azure-devops/azure/devops/v7_1/contributions/contributions_client.py",
"repo_id": "azure-devops-python-api",
"token_count": 2399
} | 346 |
# --------------------------------------------------------------------------------------------
# Copyright (c) Microsoft Corporation. All rights reserved.
# Licensed under the MIT License. See License.txt in the project root for license information.
# -------------------------------------------------------------------... | azure-devops-python-api/azure-devops/azure/devops/v7_1/extension_management/models.py/0 | {
"file_path": "azure-devops-python-api/azure-devops/azure/devops/v7_1/extension_management/models.py",
"repo_id": "azure-devops-python-api",
"token_count": 21817
} | 347 |
# --------------------------------------------------------------------------------------------
# Copyright (c) Microsoft Corporation. All rights reserved.
# Licensed under the MIT License. See License.txt in the project root for license information.
# -------------------------------------------------------------------... | azure-devops-python-api/azure-devops/azure/devops/v7_1/git/__init__.py/0 | {
"file_path": "azure-devops-python-api/azure-devops/azure/devops/v7_1/git/__init__.py",
"repo_id": "azure-devops-python-api",
"token_count": 1316
} | 348 |
# --------------------------------------------------------------------------------------------
# Copyright (c) Microsoft Corporation. All rights reserved.
# Licensed under the MIT License. See License.txt in the project root for license information.
# -------------------------------------------------------------------... | azure-devops-python-api/azure-devops/azure/devops/v7_1/member_entitlement_management/__init__.py/0 | {
"file_path": "azure-devops-python-api/azure-devops/azure/devops/v7_1/member_entitlement_management/__init__.py",
"repo_id": "azure-devops-python-api",
"token_count": 680
} | 349 |
# --------------------------------------------------------------------------------------------
# Copyright (c) Microsoft Corporation. All rights reserved.
# Licensed under the MIT License. See License.txt in the project root for license information.
# -------------------------------------------------------------------... | azure-devops-python-api/azure-devops/azure/devops/v7_1/pipeline_permissions/models.py/0 | {
"file_path": "azure-devops-python-api/azure-devops/azure/devops/v7_1/pipeline_permissions/models.py",
"repo_id": "azure-devops-python-api",
"token_count": 3353
} | 350 |
# --------------------------------------------------------------------------------------------
# Copyright (c) Microsoft Corporation. All rights reserved.
# Licensed under the MIT License. See License.txt in the project root for license information.
# -------------------------------------------------------------------... | azure-devops-python-api/azure-devops/azure/devops/v7_1/profile_regions/profile_regions_client.py/0 | {
"file_path": "azure-devops-python-api/azure-devops/azure/devops/v7_1/profile_regions/profile_regions_client.py",
"repo_id": "azure-devops-python-api",
"token_count": 925
} | 351 |
# --------------------------------------------------------------------------------------------
# Copyright (c) Microsoft Corporation. All rights reserved.
# Licensed under the MIT License. See License.txt in the project root for license information.
# -------------------------------------------------------------------... | azure-devops-python-api/azure-devops/azure/devops/v7_1/tfvc/__init__.py/0 | {
"file_path": "azure-devops-python-api/azure-devops/azure/devops/v7_1/tfvc/__init__.py",
"repo_id": "azure-devops-python-api",
"token_count": 543
} | 352 |
# --------------------------------------------------------------------------------------------
# Copyright (c) Microsoft Corporation. All rights reserved.
# Licensed under the MIT License. See License.txt in the project root for license information.
# -------------------------------------------------------------------... | azure-devops-python-api/azure-devops/azure/devops/v7_1/work/models.py/0 | {
"file_path": "azure-devops-python-api/azure-devops/azure/devops/v7_1/work/models.py",
"repo_id": "azure-devops-python-api",
"token_count": 34216
} | 353 |
[/_apis/build/status/microsoft.qdk-python?branchName=main)](https://dev.azure.com/ms-quantum-public/Microsoft%20Quantum%20(public)/_build/latest?definitionId=32&branchName=main)
# Azure Quantum SDK
## Introduction
This repository c... | azure-quantum-python/README.md/0 | {
"file_path": "azure-quantum-python/README.md",
"repo_id": "azure-quantum-python",
"token_count": 970
} | 354 |
# --------------------------------------------------------------------------
#
# Copyright (c) Microsoft Corporation. All rights reserved.
#
# The MIT License (MIT)
#
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the ""Software""), ... | azure-quantum-python/azure-quantum/azure/quantum/_client/_serialization.py/0 | {
"file_path": "azure-quantum-python/azure-quantum/azure/quantum/_client/_serialization.py",
"repo_id": "azure-quantum-python",
"token_count": 35548
} | 355 |
##
# Copyright (c) Microsoft Corporation.
# Licensed under the MIT License.
##
from typing import TYPE_CHECKING, Dict, Sequence
if TYPE_CHECKING:
import cirq
from azure.quantum import Job as AzureJob
class Job:
"""
Thin wrapper around an Azure Quantum Job that supports
returning results in Cirq f... | azure-quantum-python/azure-quantum/azure/quantum/cirq/job.py/0 | {
"file_path": "azure-quantum-python/azure-quantum/azure/quantum/cirq/job.py",
"repo_id": "azure-quantum-python",
"token_count": 1219
} | 356 |
##
# Copyright (c) Microsoft Corporation.
# Licensed under the MIT License.
##
import os
import json
import logging
import warnings
logger = logging.getLogger(__name__)
from typing import Any, Dict, Tuple, Union, List, Optional
from azure.quantum.version import __version__
from azure.quantum.qiskit.job import (
... | azure-quantum-python/azure-quantum/azure/quantum/qiskit/backends/backend.py/0 | {
"file_path": "azure-quantum-python/azure-quantum/azure/quantum/qiskit/backends/backend.py",
"repo_id": "azure-quantum-python",
"token_count": 8523
} | 357 |
import collections.abc
from typing import Any, Dict, Union
from azure.quantum.job import JobFailedWithResultsError
from azure.quantum.job.job import Job, DEFAULT_TIMEOUT
from azure.quantum._client.models import JobDetails
class MicrosoftElementsDftJob(Job):
"""
A dedicated job class for jobs from the microsoft... | azure-quantum-python/azure-quantum/azure/quantum/target/microsoft/elements/dft/job.py/0 | {
"file_path": "azure-quantum-python/azure-quantum/azure/quantum/target/microsoft/elements/dft/job.py",
"repo_id": "azure-quantum-python",
"token_count": 1187
} | 358 |
$env:AZURE_QUANTUM_ENV = $null
$env:AZURE_CLIENT_ID = $null
$env:AZURE_CLIENT_SECRET = $null
$env:AZURE_TENANT_ID = $null
$env:AZURE_TEST_RUN_LIVE = $null
$env:AZURE_QUANTUM_WORKSPACE_RG = $null
$env:SUBSCRIPTION_ID = $null
$env:AZURE_QUANTUM_WORKSPACE_NAME = $null
$env:AZURE_QUANTUM_WORKSPACE_LOCATION = $null
$env:AZU... | azure-quantum-python/azure-quantum/eng/Clear-Env-Vars.ps1/0 | {
"file_path": "azure-quantum-python/azure-quantum/eng/Clear-Env-Vars.ps1",
"repo_id": "azure-quantum-python",
"token_count": 232
} | 359 |
##
# Copyright (c) Microsoft Corporation. All rights reserved.
# Licensed under the MIT License.
##
from typing import Dict
import time
import pytest
from common import QuantumTestBase, DEFAULT_TIMEOUT_SECS
from test_job_payload_factory import JobPayloadFactory
from azure.quantum import Job, JobStatus, Session, Sessi... | azure-quantum-python/azure-quantum/tests/unit/test_session.py/0 | {
"file_path": "azure-quantum-python/azure-quantum/tests/unit/test_session.py",
"repo_id": "azure-quantum-python",
"token_count": 7699
} | 360 |
<jupyter_start><jupyter_text>A practical introduction into quantum signal processing (QSP)In this notebook we are going to implement and run the single-qubit quantum circuits used to illustrate quantum signal processing in [arXiv:2110.11327](https://arxiv.org/abs/2110.11327) and [arXiv:2105.02859](https://arxiv.org/abs... | azure-quantum-python/samples/quantum-signal-processing/signal-processing.ipynb/0 | {
"file_path": "azure-quantum-python/samples/quantum-signal-processing/signal-processing.ipynb",
"repo_id": "azure-quantum-python",
"token_count": 4716
} | 361 |
# Builds react-lib, js-lib and links the packages.
resources:
- repo: self
clean: true
# Trigger whenever a PR is submitted
pr:
branches:
include:
- main
variables:
rootDirectory: visualization
project: $(rootDirectory)/react-lib
jslib: $(rootDirectory)/js-lib
reactnodemodules: node_modules/... | azure-quantum-python/visualization/build/visualization-lib-pr.yml/0 | {
"file_path": "azure-quantum-python/visualization/build/visualization-lib-pr.yml",
"repo_id": "azure-quantum-python",
"token_count": 1290
} | 362 |
// Jest Snapshot v1, https://goo.gl/fbAQLP
exports[`Donut chart tests Verify Donut Chart: DonutChart 1`] = `
<div
style={
{
"alignItems": "center",
"justifyContent": "center",
}
}
>
<svg
height={1000}
id="donutchart"
width={1000}
/>
</div>
`;
| azure-quantum-python/visualization/react-lib/src/components/d3-visualization-components/__tests__/__snapshots__/DonutChart.test.tsx.snap/0 | {
"file_path": "azure-quantum-python/visualization/react-lib/src/components/d3-visualization-components/__tests__/__snapshots__/DonutChart.test.tsx.snap",
"repo_id": "azure-quantum-python",
"token_count": 132
} | 363 |
{
"extends": "../tsconfig.json",
"compileOnSave": true,
"compilerOptions": {
"inlineSources": true,
"module": "commonjs",
"target": "ES2019",
"types": ["jest", "node"]
},
"exclude": ["**/*.js"]
} | azure-quantum-python/visualization/react-lib/test-config/tsconfig.json/0 | {
"file_path": "azure-quantum-python/visualization/react-lib/test-config/tsconfig.json",
"repo_id": "azure-quantum-python",
"token_count": 121
} | 364 |
Alignment
=========
.. testsetup:: *
from bistring import Alignment
.. autoclass:: bistring.Alignment
| bistring/docs/Python/Alignment.rst/0 | {
"file_path": "bistring/docs/Python/Alignment.rst",
"repo_id": "bistring",
"token_count": 37
} | 365 |
{
"name": "bistring",
"version": "0.5.0",
"description": "Bidirectionally transformed strings",
"repository": {
"type": "git",
"url": "git+https://github.com/microsoft/bistring.git"
},
"author": "msrmtle@microsoft.com",
"license": "MIT",
"bugs": {
"url": "https://... | bistring/js/package.json/0 | {
"file_path": "bistring/js/package.json",
"repo_id": "bistring",
"token_count": 850
} | 366 |
[build-system]
requires = ["setuptools", "wheel"]
build-backend = "setuptools.build_meta"
| bistring/python/pyproject.toml/0 | {
"file_path": "bistring/python/pyproject.toml",
"repo_id": "bistring",
"token_count": 32
} | 367 |
# Copyright (c) Microsoft Corporation. All rights reserved.
# Licensed under the MIT License.
from typing import List
class BookingDetails:
def __init__(
self,
destination: str = None,
origin: str = None,
travel_date: str = None,
unsupported_airports: List[str] = None,
... | botbuilder-python/generators/app/templates/core/{{cookiecutter.bot_name}}/booking_details.py/0 | {
"file_path": "botbuilder-python/generators/app/templates/core/{{cookiecutter.bot_name}}/booking_details.py",
"repo_id": "botbuilder-python",
"token_count": 188
} | 368 |
# coding=utf-8
# --------------------------------------------------------------------------
# Copyright (c) Microsoft Corporation. All rights reserved.
# Licensed under the MIT License. See License.txt in the project root for
# license information.
# ---------------------------------------------------------------------... | botbuilder-python/libraries/botbuilder-adapters-slack/botbuilder/adapters/slack/__init__.py/0 | {
"file_path": "botbuilder-python/libraries/botbuilder-adapters-slack/botbuilder/adapters/slack/__init__.py",
"repo_id": "botbuilder-python",
"token_count": 287
} | 369 |
# Copyright (c) Microsoft Corporation. All rights reserved.
# Licensed under the MIT License.
from .qnamaker import QnAMaker
from .qnamaker_endpoint import QnAMakerEndpoint
from .qnamaker_options import QnAMakerOptions
from .qnamaker_telemetry_client import QnAMakerTelemetryClient
from .qna_dialog_response_options imp... | botbuilder-python/libraries/botbuilder-ai/botbuilder/ai/qna/__init__.py/0 | {
"file_path": "botbuilder-python/libraries/botbuilder-ai/botbuilder/ai/qna/__init__.py",
"repo_id": "botbuilder-python",
"token_count": 376
} | 370 |
# Copyright (c) Microsoft Corporation. All rights reserved.
# Licensed under the MIT License.
class RankerTypes:
"""Default Ranker Behaviour. i.e. Ranking based on Questions and Answer."""
DEFAULT = "Default"
""" Ranker based on question Only. """
QUESTION_ONLY = "QuestionOnly"
""" Ranker base... | botbuilder-python/libraries/botbuilder-ai/botbuilder/ai/qna/models/ranker_types.py/0 | {
"file_path": "botbuilder-python/libraries/botbuilder-ai/botbuilder/ai/qna/models/ranker_types.py",
"repo_id": "botbuilder-python",
"token_count": 126
} | 371 |
# Copyright (c) Microsoft Corporation. All rights reserved.
# Licensed under the MIT License.
import os
from setuptools import setup
REQUIRES = [
"azure-cognitiveservices-language-luis==0.2.0",
"botbuilder-schema==4.16.0",
"botbuilder-core==4.16.0",
"aiohttp==3.9.3",
]
TESTS_REQUIRES = ["aiounittest>... | botbuilder-python/libraries/botbuilder-ai/setup.py/0 | {
"file_path": "botbuilder-python/libraries/botbuilder-ai/setup.py",
"repo_id": "botbuilder-python",
"token_count": 695
} | 372 |
{
"entities": {
"$instance": {
"Airline": [
{
"endIndex": 23,
"modelType": "List Entity Extractor",
"recognitionSources": [
"externalEntities"
],
"startIndex": 7,
"text": "humberg airlines",
"ty... | botbuilder-python/libraries/botbuilder-ai/tests/luis/test_data/ExternalEntitiesAndList_v3.json/0 | {
"file_path": "botbuilder-python/libraries/botbuilder-ai/tests/luis/test_data/ExternalEntitiesAndList_v3.json",
"repo_id": "botbuilder-python",
"token_count": 2690
} | 373 |
{
"entities": {
"$instance": {
"Composite2": [
{
"endIndex": 66,
"modelType": "Composite Entity Extractor",
"recognitionSources": [
"model"
],
"score": 0.7077416,
"startIndex": 0,
"text": "http:... | botbuilder-python/libraries/botbuilder-ai/tests/luis/test_data/Prebuilt_v3.json/0 | {
"file_path": "botbuilder-python/libraries/botbuilder-ai/tests/luis/test_data/Prebuilt_v3.json",
"repo_id": "botbuilder-python",
"token_count": 4283
} | 374 |
{
"activeLearningEnabled": false,
"answers": [
{
"questions": [
"Q1"
],
"answer": "A1",
"score": 80,
"id": 15,
"source": "Editorial",
"metadata": [
{
"name": "topic",
"value": "value"
}
]
... | botbuilder-python/libraries/botbuilder-ai/tests/qna/test_data/QnaMaker_RankerType_QuestionOnly.json/0 | {
"file_path": "botbuilder-python/libraries/botbuilder-ai/tests/qna/test_data/QnaMaker_RankerType_QuestionOnly.json",
"repo_id": "botbuilder-python",
"token_count": 400
} | 375 |
# Copyright (c) Microsoft Corporation. All rights reserved.
# Licensed under the MIT License.
"""Bot Telemetry Middleware."""
from threading import current_thread
# Map of thread id => POST body text
_REQUEST_BODIES = {}
def retrieve_bot_body():
"""
Retrieve the POST body text from temporary cache.
Th... | botbuilder-python/libraries/botbuilder-applicationinsights/botbuilder/applicationinsights/django/bot_telemetry_middleware.py/0 | {
"file_path": "botbuilder-python/libraries/botbuilder-applicationinsights/botbuilder/applicationinsights/django/bot_telemetry_middleware.py",
"repo_id": "botbuilder-python",
"token_count": 630
} | 376 |
# Copyright (c) Microsoft Corporation. All rights reserved.
# Licensed under the MIT License.
from botframework.connector.auth import BotFrameworkAuthentication, ClaimsIdentity
from .channel_service_handler import ChannelServiceHandler
class CloudChannelServiceHandler(ChannelServiceHandler):
def __init__( # py... | botbuilder-python/libraries/botbuilder-core/botbuilder/core/cloud_channel_service_handler.py/0 | {
"file_path": "botbuilder-python/libraries/botbuilder-core/botbuilder/core/cloud_channel_service_handler.py",
"repo_id": "botbuilder-python",
"token_count": 207
} | 377 |
# Copyright (c) Microsoft Corporation. All rights reserved.
# Licensed under the MIT License.
from copy import deepcopy
from typing import Dict, List
from .storage import Storage, StoreItem
class MemoryStorage(Storage):
def __init__(self, dictionary=None):
super(MemoryStorage, self).__init__()
se... | botbuilder-python/libraries/botbuilder-core/botbuilder/core/memory_storage.py/0 | {
"file_path": "botbuilder-python/libraries/botbuilder-core/botbuilder/core/memory_storage.py",
"repo_id": "botbuilder-python",
"token_count": 2215
} | 378 |
# Copyright (c) Microsoft Corporation. All rights reserved.
# Licensed under the MIT License.
from copy import copy
from inspect import getmembers
from typing import Type
from enum import Enum
from msrest.serialization import Model, Deserializer, Serializer
import botbuilder.schema as schema
import botbuilder.schema.... | botbuilder-python/libraries/botbuilder-core/botbuilder/core/serializer_helper.py/0 | {
"file_path": "botbuilder-python/libraries/botbuilder-core/botbuilder/core/serializer_helper.py",
"repo_id": "botbuilder-python",
"token_count": 781
} | 379 |
# Copyright (c) Microsoft Corporation. All rights reserved.
# Licensed under the MIT License.
from http import HTTPStatus
from typing import Awaitable, Callable, List
from botbuilder.core import (
Bot,
BotFrameworkAdapter,
BotFrameworkAdapterSettings,
InvokeResponse,
TurnContext,
)
from botbuilder... | botbuilder-python/libraries/botbuilder-core/botbuilder/core/streaming/bot_framework_http_adapter_base.py/0 | {
"file_path": "botbuilder-python/libraries/botbuilder-core/botbuilder/core/streaming/bot_framework_http_adapter_base.py",
"repo_id": "botbuilder-python",
"token_count": 1770
} | 380 |
# Copyright (c) Microsoft Corporation. All rights reserved.
# Licensed under the MIT License.
from .turn_context import TurnContext
from .bot_state import BotState
from .storage import Storage
class UserState(BotState):
"""
Reads and writes user state for your bot to storage.
"""
no_key_error_messag... | botbuilder-python/libraries/botbuilder-core/botbuilder/core/user_state.py/0 | {
"file_path": "botbuilder-python/libraries/botbuilder-core/botbuilder/core/user_state.py",
"repo_id": "botbuilder-python",
"token_count": 569
} | 381 |
from http import HTTPStatus
from typing import List
import aiounittest
from botframework.connector import ConnectorClient
from botframework.connector.auth import AppCredentials
from botbuilder.core import ActivityHandler, BotAdapter, TurnContext
from botbuilder.schema import (
Activity,
ActivityTypes,
Cha... | botbuilder-python/libraries/botbuilder-core/tests/test_activity_handler.py/0 | {
"file_path": "botbuilder-python/libraries/botbuilder-core/tests/test_activity_handler.py",
"repo_id": "botbuilder-python",
"token_count": 4085
} | 382 |
# Copyright (c) Microsoft Corporation. All rights reserved.
# Licensed under the MIT License.
# pylint: disable=line-too-long,missing-docstring,unused-variable
import copy
import uuid
from typing import Dict
from unittest.mock import Mock
import aiounittest
from botframework.connector import Channels
from botbuilder.... | botbuilder-python/libraries/botbuilder-core/tests/test_telemetry_middleware.py/0 | {
"file_path": "botbuilder-python/libraries/botbuilder-core/tests/test_telemetry_middleware.py",
"repo_id": "botbuilder-python",
"token_count": 6371
} | 383 |
# Copyright (c) Microsoft Corporation. All rights reserved.
# Licensed under the MIT License.
from typing import Callable, List, Union
from .choice import Choice
from .find_choices_options import FindChoicesOptions, FindValuesOptions
from .found_choice import FoundChoice
from .found_value import FoundValue
from .mode... | botbuilder-python/libraries/botbuilder-dialogs/botbuilder/dialogs/choices/find.py/0 | {
"file_path": "botbuilder-python/libraries/botbuilder-dialogs/botbuilder/dialogs/choices/find.py",
"repo_id": "botbuilder-python",
"token_count": 4195
} | 384 |
# Copyright (c) Microsoft Corporation. All rights reserved.
# Licensed under the MIT License.
from botframework.connector.auth import (
ClaimsIdentity,
SkillValidation,
AuthenticationConstants,
GovernmentConstants,
)
from botbuilder.core import BotAdapter, StatePropertyAccessor, TurnContext
from botbui... | botbuilder-python/libraries/botbuilder-dialogs/botbuilder/dialogs/dialog_extensions.py/0 | {
"file_path": "botbuilder-python/libraries/botbuilder-dialogs/botbuilder/dialogs/dialog_extensions.py",
"repo_id": "botbuilder-python",
"token_count": 3786
} | 385 |
from abc import ABC, abstractmethod
class PathResolverBase(ABC):
@abstractmethod
def transform_path(self, path: str):
raise NotImplementedError()
| botbuilder-python/libraries/botbuilder-dialogs/botbuilder/dialogs/memory/path_resolver_base.py/0 | {
"file_path": "botbuilder-python/libraries/botbuilder-dialogs/botbuilder/dialogs/memory/path_resolver_base.py",
"repo_id": "botbuilder-python",
"token_count": 57
} | 386 |
# Copyright (c) Microsoft Corporation. All rights reserved.
# Licensed under the MIT License.
from abc import ABC, abstractmethod
class MemoryScope(ABC):
def __init__(self, name: str, include_in_snapshot: bool = True):
# <summary>
# Gets or sets name of the scope.
# </summary>
# <... | botbuilder-python/libraries/botbuilder-dialogs/botbuilder/dialogs/memory/scopes/memory_scope.py/0 | {
"file_path": "botbuilder-python/libraries/botbuilder-dialogs/botbuilder/dialogs/memory/scopes/memory_scope.py",
"repo_id": "botbuilder-python",
"token_count": 1187
} | 387 |
# Copyright (c) Microsoft Corporation. All rights reserved.
# Licensed under the MIT License.
import re
from datetime import datetime, timedelta
from http import HTTPStatus
from typing import Union, Awaitable, Callable
from botframework.connector import Channels
from botframework.connector.auth import (
ClaimsIde... | botbuilder-python/libraries/botbuilder-dialogs/botbuilder/dialogs/prompts/oauth_prompt.py/0 | {
"file_path": "botbuilder-python/libraries/botbuilder-dialogs/botbuilder/dialogs/prompts/oauth_prompt.py",
"repo_id": "botbuilder-python",
"token_count": 11469
} | 388 |
# Copyright (c) Microsoft Corporation. All rights reserved.
# Licensed under the MIT License.
# pylint: disable=pointless-string-statement
from enum import Enum
from typing import Callable, List, Tuple
import aiounittest
from botbuilder.core import (
AutoSaveStateMiddleware,
BotAdapter,
ConversationState... | botbuilder-python/libraries/botbuilder-dialogs/tests/test_dialog_manager.py/0 | {
"file_path": "botbuilder-python/libraries/botbuilder-dialogs/tests/test_dialog_manager.py",
"repo_id": "botbuilder-python",
"token_count": 5716
} | 389 |
# Copyright (c) Microsoft Corporation. All rights reserved.
# Licensed under the MIT License.
# pylint: disable=no-member
import json
from typing import Dict, List, Tuple
from logging import Logger
import aiohttp
from botbuilder.core import InvokeResponse
from botbuilder.core.skills import BotFrameworkClient
from bot... | botbuilder-python/libraries/botbuilder-integration-aiohttp/botbuilder/integration/aiohttp/bot_framework_http_client.py/0 | {
"file_path": "botbuilder-python/libraries/botbuilder-integration-aiohttp/botbuilder/integration/aiohttp/bot_framework_http_client.py",
"repo_id": "botbuilder-python",
"token_count": 2775
} | 390 |
# Copyright (c) Microsoft Corporation. All rights reserved.
# Licensed under the MIT License.
"""Bot Framework Application Insights integration package for aiohttp library."""
import os
__title__ = "botbuilder-integration-applicationinsights-aiohttp"
__version__ = (
os.environ["packageVersion"] if "packageVersion... | botbuilder-python/libraries/botbuilder-integration-applicationinsights-aiohttp/botbuilder/integration/applicationinsights/aiohttp/about.py/0 | {
"file_path": "botbuilder-python/libraries/botbuilder-integration-applicationinsights-aiohttp/botbuilder/integration/applicationinsights/aiohttp/about.py",
"repo_id": "botbuilder-python",
"token_count": 164
} | 391 |
# Copyright (c) Microsoft Corporation. All rights reserved.
# Licensed under the MIT License.
class ContentType:
O365_CONNECTOR_CARD = "application/vnd.microsoft.teams.card.o365connector"
FILE_CONSENT_CARD = "application/vnd.microsoft.teams.card.file.consent"
FILE_DOWNLOAD_INFO = "application/vnd.microsof... | botbuilder-python/libraries/botbuilder-schema/botbuilder/schema/teams/additional_properties.py/0 | {
"file_path": "botbuilder-python/libraries/botbuilder-schema/botbuilder/schema/teams/additional_properties.py",
"repo_id": "botbuilder-python",
"token_count": 317
} | 392 |
============================================
Microsoft Bot Framework Connector for Python
============================================
.. image:: https://dev.azure.com/FuseLabs/SDK_v4/_apis/build/status/Python/Python-CI-PR-yaml?branchName=master
:target: https://dev.azure.com/FuseLabs/SDK_v4/_apis/build/status/Py... | botbuilder-python/libraries/botframework-connector/README.rst/0 | {
"file_path": "botbuilder-python/libraries/botframework-connector/README.rst",
"repo_id": "botbuilder-python",
"token_count": 1496
} | 393 |
# Copyright (c) Microsoft Corporation. All rights reserved.
# Licensed under the MIT License.
from logging import Logger
from typing import Optional
from botbuilder.schema import Activity
from ..bot_framework_sdk_client_async import BotFrameworkConnectorConfiguration
from ..http_client_factory import HttpClientFacto... | botbuilder-python/libraries/botframework-connector/botframework/connector/auth/_built_in_bot_framework_authentication.py/0 | {
"file_path": "botbuilder-python/libraries/botframework-connector/botframework/connector/auth/_built_in_bot_framework_authentication.py",
"repo_id": "botbuilder-python",
"token_count": 3557
} | 394 |
# Copyright (c) Microsoft Corporation. All rights reserved.
# Licensed under the MIT License.
from abc import ABC, abstractmethod
from botframework.connector.aio import ConnectorClient
class ConnectorFactory(ABC):
@abstractmethod
async def create(self, service_url: str, audience: str) -> ConnectorClient:
... | botbuilder-python/libraries/botframework-connector/botframework/connector/auth/connector_factory.py/0 | {
"file_path": "botbuilder-python/libraries/botframework-connector/botframework/connector/auth/connector_factory.py",
"repo_id": "botbuilder-python",
"token_count": 210
} | 395 |
# Copyright (c) Microsoft Corporation. All rights reserved.
# Licensed under the MIT License.
from datetime import timedelta
from typing import List, Union
class VerifyOptions:
def __init__(self, issuer, audience, clock_tolerance, ignore_expiration):
self.issuer: Union[List[str], str] = issuer or []
... | botbuilder-python/libraries/botframework-connector/botframework/connector/auth/verify_options.py/0 | {
"file_path": "botbuilder-python/libraries/botframework-connector/botframework/connector/auth/verify_options.py",
"repo_id": "botbuilder-python",
"token_count": 160
} | 396 |
interactions:
- request:
body: '{"activity": {"recipient": {"id": "U19KH8EHJ:T03CWQ0QB"}, "channelId":
"slack", "text": "Hi there!", "type": "message"}, "bot": {"id": "B21UTEF8S:T03CWQ0QB"},
"members": [{"id": "U19KH8EHJ:T03CWQ0QB"}]}'
headers:
Accept: [application/json]
Accept-Encoding:... | botbuilder-python/libraries/botframework-connector/tests/recordings/test_conversations_create_conversation.yaml/0 | {
"file_path": "botbuilder-python/libraries/botframework-connector/tests/recordings/test_conversations_create_conversation.yaml",
"repo_id": "botbuilder-python",
"token_count": 640
} | 397 |
interactions:
- request:
body: '{"type": "message", "from": {"id": "B21UTEF8S:T03CWQ0QB"}, "text": "Updating
activity...", "channelId": "slack", "recipient": {"id": "U19KH8EHJ:T03CWQ0QB"}}'
headers:
Accept: [application/json]
Accept-Encoding: ['gzip, deflate']
Connection: [keep-alive]
... | botbuilder-python/libraries/botframework-connector/tests/recordings/test_conversations_update_activity.yaml/0 | {
"file_path": "botbuilder-python/libraries/botframework-connector/tests/recordings/test_conversations_update_activity.yaml",
"repo_id": "botbuilder-python",
"token_count": 1191
} | 398 |
# Copyright (c) Microsoft Corporation. All rights reserved.
# Licensed under the MIT License.
import json
from asyncio import Future
from abc import ABC, abstractmethod
from uuid import UUID
from typing import List
from botframework.streaming.transport import TransportConstants
from botframework.streaming.payload_tra... | botbuilder-python/libraries/botframework-streaming/botframework/streaming/payloads/disassemblers/payload_disassembler.py/0 | {
"file_path": "botbuilder-python/libraries/botframework-streaming/botframework/streaming/payloads/disassemblers/payload_disassembler.py",
"repo_id": "botbuilder-python",
"token_count": 1413
} | 399 |
# Copyright (c) Microsoft Corporation. All rights reserved.
# Licensed under the MIT License.
from uuid import UUID
from typing import Callable, Dict, List
from botframework.streaming.payloads.assemblers import PayloadStreamAssembler
from botframework.streaming.payloads.models import Header
class StreamManager:
... | botbuilder-python/libraries/botframework-streaming/botframework/streaming/payloads/stream_manager.py/0 | {
"file_path": "botbuilder-python/libraries/botframework-streaming/botframework/streaming/payloads/stream_manager.py",
"repo_id": "botbuilder-python",
"token_count": 704
} | 400 |
# Copyright (c) Microsoft Corporation. All rights reserved.
# Licensed under the MIT License.
from enum import IntEnum
class WebSocketCloseStatus(IntEnum):
NORMAL_CLOSURE = 1000
ENDPOINT_UNAVAILABLE = 1001
PROTOCOL_ERROR = 1002
INVALID_MESSAGE_TYPE = 1003
EMPTY = 1005
INVALID_PAYLOAD_DATA = 1... | botbuilder-python/libraries/botframework-streaming/botframework/streaming/transport/web_socket/web_socket_close_status.py/0 | {
"file_path": "botbuilder-python/libraries/botframework-streaming/botframework/streaming/transport/web_socket/web_socket_close_status.py",
"repo_id": "botbuilder-python",
"token_count": 185
} | 401 |
# Copyright (c) Microsoft Corporation. All rights reserved.
# Licensed under the MIT License.
from typing import List
from uuid import uuid4
import aiounittest
from botframework.streaming import PayloadStream, StreamingRequest
from botframework.streaming.payloads import SendOperations
from botframework.streaming.pay... | botbuilder-python/libraries/botframework-streaming/tests/test_send_operations.py/0 | {
"file_path": "botbuilder-python/libraries/botframework-streaming/tests/test_send_operations.py",
"repo_id": "botbuilder-python",
"token_count": 699
} | 402 |
# Copyright (c) Microsoft Corporation. All rights reserved.
# Licensed under the MIT License.
import logging
import sys
import traceback
from datetime import datetime
from aiohttp import web
from aiohttp.web import Request, Response
from aiohttp.web_response import json_response
from botbuilder.core import (
BotF... | botbuilder-python/tests/experimental/sso/child/app.py/0 | {
"file_path": "botbuilder-python/tests/experimental/sso/child/app.py",
"repo_id": "botbuilder-python",
"token_count": 1171
} | 403 |
# Copyright (c) Microsoft Corporation. All rights reserved.
# Licensed under the MIT License.
import asyncio
import sys
from types import MethodType
from flask import Flask, request, Response
from botbuilder.core import (
BotFrameworkAdapter,
BotFrameworkAdapterSettings,
MessageFactory,
TurnContext,
)... | botbuilder-python/tests/functional-tests/functionaltestbot/functionaltestbot/app.py/0 | {
"file_path": "botbuilder-python/tests/functional-tests/functionaltestbot/functionaltestbot/app.py",
"repo_id": "botbuilder-python",
"token_count": 890
} | 404 |
# Copyright (c) Microsoft Corporation. All rights reserved.
# Licensed under the MIT License.
from botbuilder.core import ActivityHandler, TurnContext
class ChildBot(ActivityHandler):
async def on_message_activity(self, turn_context: TurnContext):
await turn_context.send_activity("child: activity (1)")
... | botbuilder-python/tests/skills/skills-buffered/child/bots/child_bot.py/0 | {
"file_path": "botbuilder-python/tests/skills/skills-buffered/child/bots/child_bot.py",
"repo_id": "botbuilder-python",
"token_count": 167
} | 405 |
# Copyright (c) Microsoft Corporation. All rights reserved.
# Licensed under the MIT License.
from botbuilder.dialogs import (
ComponentDialog,
DialogTurnResult,
)
from botbuilder.dialogs import DialogContext
from botbuilder.core import BotFrameworkAdapter, MessageFactory
from botbuilder.schema import Activity... | botbuilder-python/tests/skills/skills-prototypes/dialog-to-dialog/authentication-bot/dialogs/logout_dialog.py/0 | {
"file_path": "botbuilder-python/tests/skills/skills-prototypes/dialog-to-dialog/authentication-bot/dialogs/logout_dialog.py",
"repo_id": "botbuilder-python",
"token_count": 620
} | 406 |
from typing import Awaitable, Callable, List
from botbuilder.core import Middleware, TurnContext
from botbuilder.schema import Activity, ResourceResponse
class DummyMiddleware(Middleware):
def __init__(self, label: str):
self._label = label
async def on_turn(
self, context: TurnContext, logi... | botbuilder-python/tests/skills/skills-prototypes/simple-bot-to-bot/simple-root-bot/middleware/dummy_middleware.py/0 | {
"file_path": "botbuilder-python/tests/skills/skills-prototypes/simple-bot-to-bot/simple-root-bot/middleware/dummy_middleware.py",
"repo_id": "botbuilder-python",
"token_count": 372
} | 407 |
<?xml version='1.0' encoding='UTF-8'?>
<glyph name="ainTwodotsverticalabove-ar.fina" format="2">
<advance width="1200"/>
<outline>
<component base="ain-ar.fina"/>
<component base="twodotsverticalabove-ar" xOffset="10" yOffset="253"/>
</outline>
<lib>
<dict>
<key>public.markColor</key>
<s... | cascadia-code/sources/CascadiaCode-Bold.ufo/glyphs/ainT_wodotsverticalabove-ar.fina.glif/0 | {
"file_path": "cascadia-code/sources/CascadiaCode-Bold.ufo/glyphs/ainT_wodotsverticalabove-ar.fina.glif",
"repo_id": "cascadia-code",
"token_count": 172
} | 408 |
<?xml version='1.0' encoding='UTF-8'?>
<glyph name="dad-ar.fina" format="2">
<advance width="1200"/>
<outline>
<component base="sad-ar.fina"/>
<component base="dotabove-ar" xOffset="280" yOffset="373"/>
</outline>
<lib>
<dict>
<key>public.markColor</key>
<string>0.98,0.36,0.67,1</string>... | cascadia-code/sources/CascadiaCode-Bold.ufo/glyphs/dad-ar.fina.glif/0 | {
"file_path": "cascadia-code/sources/CascadiaCode-Bold.ufo/glyphs/dad-ar.fina.glif",
"repo_id": "cascadia-code",
"token_count": 163
} | 409 |
<?xml version='1.0' encoding='UTF-8'?>
<glyph name="dalVinvertedabove-ar" format="2">
<advance width="1200"/>
<unicode hex="06EE"/>
<outline>
<component base="dal-ar"/>
<component base="vinvertedabove-ar" xOffset="16" yOffset="502"/>
</outline>
<lib>
<dict>
<key>public.markColor</key>
... | cascadia-code/sources/CascadiaCode-Bold.ufo/glyphs/dalV_invertedabove-ar.glif/0 | {
"file_path": "cascadia-code/sources/CascadiaCode-Bold.ufo/glyphs/dalV_invertedabove-ar.glif",
"repo_id": "cascadia-code",
"token_count": 171
} | 410 |
<?xml version='1.0' encoding='UTF-8'?>
<glyph name="exclamdown" format="2">
<advance width="1200"/>
<unicode hex="00A1"/>
<outline>
<contour>
<point x="446" y="-370" type="line"/>
<point x="754" y="-370" type="line"/>
<point x="717" y="504" type="line"/>
<point x="479" y="504" type="li... | cascadia-code/sources/CascadiaCode-Bold.ufo/glyphs/exclamdown.glif/0 | {
"file_path": "cascadia-code/sources/CascadiaCode-Bold.ufo/glyphs/exclamdown.glif",
"repo_id": "cascadia-code",
"token_count": 384
} | 411 |
<?xml version='1.0' encoding='UTF-8'?>
<glyph name="four-persiansuperior" format="2">
<advance width="1200"/>
<outline>
<component base="four-persianinferior" yOffset="790"/>
</outline>
<lib>
<dict>
<key>com.schriftgestaltung.Glyphs.category</key>
<string>Number</string>
<key>com.schri... | cascadia-code/sources/CascadiaCode-Bold.ufo/glyphs/four-persiansuperior.glif/0 | {
"file_path": "cascadia-code/sources/CascadiaCode-Bold.ufo/glyphs/four-persiansuperior.glif",
"repo_id": "cascadia-code",
"token_count": 265
} | 412 |
<?xml version='1.0' encoding='UTF-8'?>
<glyph name="gafThreedots-ar.medi" format="2">
<advance width="1200"/>
<anchor x="423" y="1850" name="top"/>
<outline>
<component base="gaf-ar.medi"/>
<component base="threedotsupabove-ar.v2" xScale="0.7" yScale="0.7" xOffset="44" yOffset="998"/>
</outline>
<lib>... | cascadia-code/sources/CascadiaCode-Bold.ufo/glyphs/gafT_hreedots-ar.medi.glif/0 | {
"file_path": "cascadia-code/sources/CascadiaCode-Bold.ufo/glyphs/gafT_hreedots-ar.medi.glif",
"repo_id": "cascadia-code",
"token_count": 203
} | 413 |
<?xml version='1.0' encoding='UTF-8'?>
<glyph name="gueh-ar.medi" format="2">
<advance width="1200"/>
<outline>
<component base="gaf-ar.medi"/>
<component base="twodotsverticalbelow-ar" xOffset="47" yOffset="-24"/>
</outline>
<lib>
<dict>
<key>public.markColor</key>
<string>0.98,0.36,0.6... | cascadia-code/sources/CascadiaCode-Bold.ufo/glyphs/gueh-ar.medi.glif/0 | {
"file_path": "cascadia-code/sources/CascadiaCode-Bold.ufo/glyphs/gueh-ar.medi.glif",
"repo_id": "cascadia-code",
"token_count": 167
} | 414 |
<?xml version='1.0' encoding='UTF-8'?>
<glyph name="hahHamzaabove-ar.fina" format="2">
<advance width="1200"/>
<outline>
<component base="hah-ar.fina"/>
<component base="hamzaabove-ar" xOffset="-54" yOffset="-180"/>
</outline>
<lib>
<dict>
<key>public.markColor</key>
<string>0.98,0.36,0.... | cascadia-code/sources/CascadiaCode-Bold.ufo/glyphs/hahH_amzaabove-ar.fina.glif/0 | {
"file_path": "cascadia-code/sources/CascadiaCode-Bold.ufo/glyphs/hahH_amzaabove-ar.fina.glif",
"repo_id": "cascadia-code",
"token_count": 170
} | 415 |
<?xml version='1.0' encoding='UTF-8'?>
<glyph name="hahThreedotsabove-ar.fina" format="2">
<advance width="1200"/>
<outline>
<component base="hah-ar.fina"/>
<component base="threedotsupabove-ar" xOffset="-34" yOffset="382"/>
</outline>
<lib>
<dict>
<key>public.markColor</key>
<string>0.9... | cascadia-code/sources/CascadiaCode-Bold.ufo/glyphs/hahT_hreedotsabove-ar.fina.glif/0 | {
"file_path": "cascadia-code/sources/CascadiaCode-Bold.ufo/glyphs/hahT_hreedotsabove-ar.fina.glif",
"repo_id": "cascadia-code",
"token_count": 172
} | 416 |
<?xml version='1.0' encoding='UTF-8'?>
<glyph name="hehVinvertedabove-ar.init" format="2">
<advance width="1200"/>
<outline>
<component base="hehDoachashmee-ar.init"/>
<component base="vinvertedabove-ar" xOffset="-51" yOffset="398"/>
</outline>
<lib>
<dict>
<key>public.markColor</key>
<s... | cascadia-code/sources/CascadiaCode-Bold.ufo/glyphs/hehV_invertedabove-ar.init.glif/0 | {
"file_path": "cascadia-code/sources/CascadiaCode-Bold.ufo/glyphs/hehV_invertedabove-ar.init.glif",
"repo_id": "cascadia-code",
"token_count": 173
} | 417 |
<?xml version='1.0' encoding='UTF-8'?>
<glyph name="kehehThreedotsupbelow-ar.fina" format="2">
<advance width="1200"/>
<outline>
<component base="keheh-ar.fina"/>
<component base="threedotsupbelow-ar" xOffset="-47" yOffset="-24"/>
</outline>
<lib>
<dict>
<key>public.markColor</key>
<stri... | cascadia-code/sources/CascadiaCode-Bold.ufo/glyphs/kehehT_hreedotsupbelow-ar.fina.glif/0 | {
"file_path": "cascadia-code/sources/CascadiaCode-Bold.ufo/glyphs/kehehT_hreedotsupbelow-ar.fina.glif",
"repo_id": "cascadia-code",
"token_count": 176
} | 418 |
<?xml version='1.0' encoding='UTF-8'?>
<glyph name="kirghizyu-ar.fina" format="2">
<advance width="1200"/>
<outline>
<component base="waw-ar.fina"/>
<component base="vinvertedabove-ar" xOffset="70" yOffset="238"/>
</outline>
<lib>
<dict>
<key>public.markColor</key>
<string>0.98,0.36,0.67... | cascadia-code/sources/CascadiaCode-Bold.ufo/glyphs/kirghizyu-ar.fina.glif/0 | {
"file_path": "cascadia-code/sources/CascadiaCode-Bold.ufo/glyphs/kirghizyu-ar.fina.glif",
"repo_id": "cascadia-code",
"token_count": 168
} | 419 |
<?xml version='1.0' encoding='UTF-8'?>
<glyph name="less_asterisk.liga" format="2">
<advance width="1200"/>
<outline>
<component base="less" xOffset="131"/>
<component base="asterisk" xOffset="1133"/>
</outline>
<lib>
<dict>
<key>com.schriftgestaltung.Glyphs.ComponentInfo</key>
<array>
... | cascadia-code/sources/CascadiaCode-Bold.ufo/glyphs/less_asterisk.liga.glif/0 | {
"file_path": "cascadia-code/sources/CascadiaCode-Bold.ufo/glyphs/less_asterisk.liga.glif",
"repo_id": "cascadia-code",
"token_count": 413
} | 420 |
<?xml version='1.0' encoding='UTF-8'?>
<glyph name="lslash" format="2">
<advance width="1200"/>
<unicode hex="0142"/>
<outline>
<contour>
<point x="128" y="438" type="line"/>
<point x="934" y="808" type="line"/>
<point x="934" y="1077" type="line"/>
<point x="128" y="707" type="line"/>... | cascadia-code/sources/CascadiaCode-Bold.ufo/glyphs/lslash.glif/0 | {
"file_path": "cascadia-code/sources/CascadiaCode-Bold.ufo/glyphs/lslash.glif",
"repo_id": "cascadia-code",
"token_count": 370
} | 421 |
<?xml version='1.0' encoding='UTF-8'?>
<glyph name="noon-ar.medi" format="2">
<advance width="1200"/>
<outline>
<component base="behDotless-ar.medi"/>
<component base="dotabove-ar" xOffset="30" yOffset="213"/>
</outline>
<lib>
<dict>
<key>public.markColor</key>
<string>0.98,0.36,0.67,1</... | cascadia-code/sources/CascadiaCode-Bold.ufo/glyphs/noon-ar.medi.glif/0 | {
"file_path": "cascadia-code/sources/CascadiaCode-Bold.ufo/glyphs/noon-ar.medi.glif",
"repo_id": "cascadia-code",
"token_count": 163
} | 422 |
<?xml version='1.0' encoding='UTF-8'?>
<glyph name="noonTahabove-ar.fina" format="2">
<advance width="1200"/>
<outline>
<component base="noonghunna-ar.fina"/>
<component base="_onedotstah" xOffset="-35" yOffset="37"/>
</outline>
<lib>
<dict>
<key>com.schriftgestaltung.Glyphs.glyph.leftMetricsK... | cascadia-code/sources/CascadiaCode-Bold.ufo/glyphs/noonT_ahabove-ar.fina.glif/0 | {
"file_path": "cascadia-code/sources/CascadiaCode-Bold.ufo/glyphs/noonT_ahabove-ar.fina.glif",
"repo_id": "cascadia-code",
"token_count": 270
} | 423 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.