try 1
Browse filesThis view is limited to 50 files because it contains too many changes.
See raw diff
- .gitattributes +9 -0
- repos/Azure-azure-sdk-for-python-c89899b/.coveragerc +27 -0
- repos/Azure-azure-sdk-for-python-c89899b/.devcontainer/devcontainer.json +41 -0
- repos/Azure-azure-sdk-for-python-c89899b/.gitattributes +63 -0
- repos/Azure-azure-sdk-for-python-c89899b/.gitignore +157 -0
- repos/Azure-azure-sdk-for-python-c89899b/.sscignore +1 -0
- repos/Azure-azure-sdk-for-python-c89899b/.vscode/cspell.json +1865 -0
- repos/Azure-azure-sdk-for-python-c89899b/CODE_OF_CONDUCT.md +74 -0
- repos/Azure-azure-sdk-for-python-c89899b/CONTRIBUTING.md +203 -0
- repos/Azure-azure-sdk-for-python-c89899b/LICENSE +21 -0
- repos/Azure-azure-sdk-for-python-c89899b/NOTICE.txt +17 -0
- repos/Azure-azure-sdk-for-python-c89899b/README.md +77 -0
- repos/Azure-azure-sdk-for-python-c89899b/README.rst +93 -0
- repos/Azure-azure-sdk-for-python-c89899b/SECURITY.md +41 -0
- repos/Azure-azure-sdk-for-python-c89899b/SUPPORT.md +31 -0
- repos/Azure-azure-sdk-for-python-c89899b/ci_template.yml +33 -0
- repos/Azure-azure-sdk-for-python-c89899b/common/smoketest/README.md +136 -0
- repos/Azure-azure-sdk-for-python-c89899b/common/smoketest/cosmos_db.py +89 -0
- repos/Azure-azure-sdk-for-python-c89899b/common/smoketest/dependencies.py +71 -0
- repos/Azure-azure-sdk-for-python-c89899b/common/smoketest/event_hubs.py +98 -0
- repos/Azure-azure-sdk-for-python-c89899b/common/smoketest/event_hubs_async.py +96 -0
- repos/Azure-azure-sdk-for-python-c89899b/common/smoketest/key_vault_base.py +22 -0
- repos/Azure-azure-sdk-for-python-c89899b/common/smoketest/key_vault_base_async.py +10 -0
- repos/Azure-azure-sdk-for-python-c89899b/common/smoketest/key_vault_certificates.py +50 -0
- repos/Azure-azure-sdk-for-python-c89899b/common/smoketest/key_vault_certificates_async.py +47 -0
- repos/Azure-azure-sdk-for-python-c89899b/common/smoketest/key_vault_keys.py +45 -0
- repos/Azure-azure-sdk-for-python-c89899b/common/smoketest/key_vault_keys_async.py +46 -0
- repos/Azure-azure-sdk-for-python-c89899b/common/smoketest/key_vault_secrets.py +46 -0
- repos/Azure-azure-sdk-for-python-c89899b/common/smoketest/key_vault_secrets_async.py +49 -0
- repos/Azure-azure-sdk-for-python-c89899b/common/smoketest/program.py +18 -0
- repos/Azure-azure-sdk-for-python-c89899b/common/smoketest/requirements-release.txt +10 -0
- repos/Azure-azure-sdk-for-python-c89899b/common/smoketest/requirements.txt +8 -0
- repos/Azure-azure-sdk-for-python-c89899b/common/smoketest/requirements_async.txt +1 -0
- repos/Azure-azure-sdk-for-python-c89899b/common/smoketest/smoke-test.yml +4 -0
- repos/Azure-azure-sdk-for-python-c89899b/common/smoketest/smoke_test.py +27 -0
- repos/Azure-azure-sdk-for-python-c89899b/common/smoketest/smoke_test_async.py +27 -0
- repos/Azure-azure-sdk-for-python-c89899b/common/smoketest/storage_blob.py +61 -0
- repos/Azure-azure-sdk-for-python-c89899b/common/smoketest/storage_blob_async.py +61 -0
- repos/Azure-azure-sdk-for-python-c89899b/common/smoketest/test-resources.json +269 -0
- repos/Azure-azure-sdk-for-python-c89899b/conda/conda-recipes/README.md +14 -0
- repos/Azure-azure-sdk-for-python-c89899b/conda/conda-recipes/azure-ai-contentsafety/meta.yaml +59 -0
- repos/Azure-azure-sdk-for-python-c89899b/conda/conda-recipes/azure-ai-formrecognizer/meta.yaml +56 -0
- repos/Azure-azure-sdk-for-python-c89899b/conda/conda-recipes/azure-ai-language-conversations/meta.yaml +59 -0
- repos/Azure-azure-sdk-for-python-c89899b/conda/conda-recipes/azure-ai-language-questionanswering/meta.yaml +61 -0
- repos/Azure-azure-sdk-for-python-c89899b/conda/conda-recipes/azure-ai-metricsadvisor/meta.yaml +56 -0
- repos/Azure-azure-sdk-for-python-c89899b/conda/conda-recipes/azure-ai-ml/meta.yaml +88 -0
- repos/Azure-azure-sdk-for-python-c89899b/conda/conda-recipes/azure-ai-textanalytics/meta.yaml +55 -0
- repos/Azure-azure-sdk-for-python-c89899b/conda/conda-recipes/azure-ai-translation-document/meta.yaml +60 -0
- repos/Azure-azure-sdk-for-python-c89899b/conda/conda-recipes/azure-ai-translation-text/meta.yaml +61 -0
- repos/Azure-azure-sdk-for-python-c89899b/conda/conda-recipes/azure-appconfiguration/meta.yaml +54 -0
.gitattributes
CHANGED
@@ -56,3 +56,12 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
|
|
56 |
# Video files - compressed
|
57 |
*.mp4 filter=lfs diff=lfs merge=lfs -text
|
58 |
*.webm filter=lfs diff=lfs merge=lfs -text
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
56 |
# Video files - compressed
|
57 |
*.mp4 filter=lfs diff=lfs merge=lfs -text
|
58 |
*.webm filter=lfs diff=lfs merge=lfs -text
|
59 |
+
repos/Azure-azure-sdk-for-python-c89899b/sdk/core/azure-servicemanagement-legacy/tests/data/WindowsAzure1.cspkg filter=lfs diff=lfs merge=lfs -text
|
60 |
+
repos/Azure-azure-sdk-for-python-c89899b/sdk/core/azure-servicemanagement-legacy/tests/data/testhd filter=lfs diff=lfs merge=lfs -text
|
61 |
+
repos/Azure-azure-sdk-for-python-c89899b/sdk/ml/azure-ai-ml/tests/test_configs/batch_endpoint_model/mnist-tf.model.data-00000-of-00001 filter=lfs diff=lfs merge=lfs -text
|
62 |
+
repos/Azure-azure-sdk-for-python-c89899b/sdk/ml/azure-ai-ml/tests/test_configs/deployments/mnist/model/mnist-tf.model.data-00000-of-00001 filter=lfs diff=lfs merge=lfs -text
|
63 |
+
repos/Azure-azure-sdk-for-python-c89899b/sdk/ml/azure-ai-ml/tests/test_configs/mnist_models/mnist-tf.model.data-00000-of-00001 filter=lfs diff=lfs merge=lfs -text
|
64 |
+
repos/Textualize-rich-9ec4191/assets/logo.ai filter=lfs diff=lfs merge=lfs -text
|
65 |
+
repos/pypa-virtualenv-3185e1f/src/virtualenv/seed/wheels/embed/pip-24.0-py3-none-any.whl filter=lfs diff=lfs merge=lfs -text
|
66 |
+
repos/pypa-virtualenv-3185e1f/src/virtualenv/seed/wheels/embed/pip-24.1-py3-none-any.whl filter=lfs diff=lfs merge=lfs -text
|
67 |
+
repos/pypa-virtualenv-3185e1f/tests/unit/create/virtualenv-16.7.9-py2.py3-none-any.whl filter=lfs diff=lfs merge=lfs -text
|
repos/Azure-azure-sdk-for-python-c89899b/.coveragerc
ADDED
@@ -0,0 +1,27 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
[run]
|
2 |
+
include =
|
3 |
+
azure*
|
4 |
+
sdk*
|
5 |
+
omit =
|
6 |
+
*/test*
|
7 |
+
env*
|
8 |
+
*/_serialization.py
|
9 |
+
|
10 |
+
[paths]
|
11 |
+
source =
|
12 |
+
sdk/
|
13 |
+
**/sdk
|
14 |
+
|
15 |
+
[report]
|
16 |
+
exclude_lines =
|
17 |
+
pragma: no cover
|
18 |
+
if raw:
|
19 |
+
if custom_headers:
|
20 |
+
if headers:
|
21 |
+
if response.status_code not in
|
22 |
+
if TYPE_CHECKING:
|
23 |
+
omit =
|
24 |
+
*/test*
|
25 |
+
env*
|
26 |
+
*/_serialization.py
|
27 |
+
*/sms/_shared/*
|
repos/Azure-azure-sdk-for-python-c89899b/.devcontainer/devcontainer.json
ADDED
@@ -0,0 +1,41 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"name": "GitHub Codespaces (Default)",
|
3 |
+
"settings": {
|
4 |
+
"terminal.integrated.profiles.linux": {
|
5 |
+
"bash": {
|
6 |
+
"path": "/bin/bash",
|
7 |
+
"args": []
|
8 |
+
}
|
9 |
+
},
|
10 |
+
"terminal.integrated.defaultProfile.linux": "bash",
|
11 |
+
"go.useGoProxyToCheckForToolUpdates": false,
|
12 |
+
"go.useLanguageServer": true,
|
13 |
+
"go.gopath": "/go",
|
14 |
+
"go.goroot": "/usr/local/go",
|
15 |
+
"go.toolsGopath": "/go/bin",
|
16 |
+
"python.defaultInterpreterPath": "/opt/python/latest/bin/python",
|
17 |
+
"lldb.executable": "/usr/bin/lldb",
|
18 |
+
"files.watcherExclude": {
|
19 |
+
"**/target/**": true
|
20 |
+
}
|
21 |
+
},
|
22 |
+
"remoteUser": "codespace",
|
23 |
+
"overrideCommand": false,
|
24 |
+
"workspaceMount": "source=${localWorkspaceFolder},target=/home/codespace/workspace,type=bind,consistency=cached",
|
25 |
+
"workspaceFolder": "/home/codespace/workspace",
|
26 |
+
"mounts": [ "source=/var/run/docker.sock,target=/var/run/docker-host.sock,type=bind" ],
|
27 |
+
"runArgs": [ "--cap-add=SYS_PTRACE", "--security-opt", "seccomp=unconfined", "--privileged" ],
|
28 |
+
|
29 |
+
// Add the IDs of extensions you want installed when the container is created.
|
30 |
+
"extensions": [
|
31 |
+
"GitHub.vscode-pull-request-github",
|
32 |
+
"MS-vsliveshare.vsliveshare",
|
33 |
+
"VisualStudioExptTeam.vscodeintellicode"
|
34 |
+
]
|
35 |
+
|
36 |
+
// Use 'forwardPorts' to make a list of ports inside the container available locally.
|
37 |
+
// "forwardPorts": [],
|
38 |
+
|
39 |
+
// Use 'postCreateCommand' to run commands after the container is created.
|
40 |
+
// "postCreateCommand": "uname -a"
|
41 |
+
}
|
repos/Azure-azure-sdk-for-python-c89899b/.gitattributes
ADDED
@@ -0,0 +1,63 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
###############################################################################
|
2 |
+
# Set default behavior to automatically normalize line endings.
|
3 |
+
###############################################################################
|
4 |
+
* text=auto
|
5 |
+
|
6 |
+
###############################################################################
|
7 |
+
# Set default behavior for command prompt diff.
|
8 |
+
#
|
9 |
+
# This is need for earlier builds of msysgit that does not have it on by
|
10 |
+
# default for csharp files.
|
11 |
+
# Note: This is only used by command line
|
12 |
+
###############################################################################
|
13 |
+
#*.cs diff=csharp
|
14 |
+
|
15 |
+
###############################################################################
|
16 |
+
# Set the merge driver for project and solution files
|
17 |
+
#
|
18 |
+
# Merging from the command prompt will add diff markers to the files if there
|
19 |
+
# are conflicts (Merging from VS is not affected by the settings below, in VS
|
20 |
+
# the diff markers are never inserted). Diff markers may cause the following
|
21 |
+
# file extensions to fail to load in VS. An alternative would be to treat
|
22 |
+
# these files as binary and thus will always conflict and require user
|
23 |
+
# intervention with every merge. To do so, just uncomment the entries below
|
24 |
+
###############################################################################
|
25 |
+
#*.sln merge=binary
|
26 |
+
#*.csproj merge=binary
|
27 |
+
#*.vbproj merge=binary
|
28 |
+
#*.vcxproj merge=binary
|
29 |
+
#*.vcproj merge=binary
|
30 |
+
#*.dbproj merge=binary
|
31 |
+
#*.fsproj merge=binary
|
32 |
+
#*.lsproj merge=binary
|
33 |
+
#*.wixproj merge=binary
|
34 |
+
#*.modelproj merge=binary
|
35 |
+
#*.sqlproj merge=binary
|
36 |
+
#*.wwaproj merge=binary
|
37 |
+
|
38 |
+
###############################################################################
|
39 |
+
# behavior for image files
|
40 |
+
#
|
41 |
+
# image files are treated as binary by default.
|
42 |
+
###############################################################################
|
43 |
+
#*.jpg binary
|
44 |
+
#*.png binary
|
45 |
+
#*.gif binary
|
46 |
+
|
47 |
+
###############################################################################
|
48 |
+
# diff behavior for common document formats
|
49 |
+
#
|
50 |
+
# Convert binary document formats to text before diffing them. This feature
|
51 |
+
# is only available from the command line. Turn it on by uncommenting the
|
52 |
+
# entries below.
|
53 |
+
###############################################################################
|
54 |
+
#*.doc diff=astextplain
|
55 |
+
#*.DOC diff=astextplain
|
56 |
+
#*.docx diff=astextplain
|
57 |
+
#*.DOCX diff=astextplain
|
58 |
+
#*.dot diff=astextplain
|
59 |
+
#*.DOT diff=astextplain
|
60 |
+
#*.pdf diff=astextplain
|
61 |
+
#*.PDF diff=astextplain
|
62 |
+
#*.rtf diff=astextplain
|
63 |
+
#*.RTF diff=astextplain
|
repos/Azure-azure-sdk-for-python-c89899b/.gitignore
ADDED
@@ -0,0 +1,157 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
# Default Assets restore directory
|
2 |
+
.assets
|
3 |
+
|
4 |
+
# Python cache
|
5 |
+
__pycache__/
|
6 |
+
*.py[cod]
|
7 |
+
.pytest_cache
|
8 |
+
.mypy_cache
|
9 |
+
.cache
|
10 |
+
|
11 |
+
# Virtual environment
|
12 |
+
env*/
|
13 |
+
|
14 |
+
# Codespace virtual environment
|
15 |
+
pythonenv*/
|
16 |
+
|
17 |
+
# PTVS analysis
|
18 |
+
.ptvs/
|
19 |
+
|
20 |
+
# Coverage report
|
21 |
+
**/.coverage
|
22 |
+
_coverage
|
23 |
+
|
24 |
+
# Build results
|
25 |
+
bin/
|
26 |
+
obj/
|
27 |
+
dist/
|
28 |
+
MANIFEST
|
29 |
+
_docs
|
30 |
+
|
31 |
+
# Result of running python setup.py install/pip install -e
|
32 |
+
RECORD.txt
|
33 |
+
build/
|
34 |
+
*.egg-info/
|
35 |
+
.tox_pip_cache*/
|
36 |
+
|
37 |
+
# Test results
|
38 |
+
TestResults/
|
39 |
+
ENV_DIR/
|
40 |
+
.assets/
|
41 |
+
|
42 |
+
# Perf test profiling
|
43 |
+
cProfile-*.pstats
|
44 |
+
|
45 |
+
# tox generated artifacts
|
46 |
+
test-junit-*.xml
|
47 |
+
pylint-*.out.txt
|
48 |
+
coverage-*.xml
|
49 |
+
stderr.txt
|
50 |
+
stdout.txt
|
51 |
+
_proxy_log_*.log
|
52 |
+
_azci_*.log
|
53 |
+
.artifacts
|
54 |
+
.tmp_whl_dir
|
55 |
+
.logs
|
56 |
+
.proxy
|
57 |
+
conda/output/
|
58 |
+
conda/assembly/
|
59 |
+
conda/assembled/
|
60 |
+
conda/downloaded/
|
61 |
+
conda/conda-env/
|
62 |
+
scenario_*.txt
|
63 |
+
|
64 |
+
# tox environment folders
|
65 |
+
.tox/
|
66 |
+
|
67 |
+
# Credentials
|
68 |
+
credentials_real.json
|
69 |
+
testsettings_local.json
|
70 |
+
testsettings_local.cfg
|
71 |
+
servicebus_settings_real.py
|
72 |
+
storage_settings_real.py
|
73 |
+
legacy_mgmt_settings_real.py
|
74 |
+
mgmt_settings_real.py
|
75 |
+
app_creds_real.py
|
76 |
+
|
77 |
+
# User-specific files
|
78 |
+
*.suo
|
79 |
+
*.user
|
80 |
+
*.sln.docstates
|
81 |
+
.vs/
|
82 |
+
.vscode/
|
83 |
+
|
84 |
+
# Windows image file caches
|
85 |
+
Thumbs.db
|
86 |
+
ehthumbs.db
|
87 |
+
|
88 |
+
# Folder config file
|
89 |
+
Desktop.ini
|
90 |
+
|
91 |
+
# Recycle Bin used on file shares
|
92 |
+
$RECYCLE.BIN/
|
93 |
+
|
94 |
+
# Mac desktop service store files
|
95 |
+
.DS_Store
|
96 |
+
|
97 |
+
.idea
|
98 |
+
src/build
|
99 |
+
*.iml
|
100 |
+
/doc/_build
|
101 |
+
/doc/sphinx/examples
|
102 |
+
/doc/sphinx/tests
|
103 |
+
/.vs/config/applicationhost.config
|
104 |
+
|
105 |
+
# Azure deployment credentials
|
106 |
+
*.pubxml
|
107 |
+
|
108 |
+
# [begoldsm] ignore virtual env if it exists.
|
109 |
+
adlEnv/
|
110 |
+
venv/
|
111 |
+
.venv/
|
112 |
+
code_reports
|
113 |
+
|
114 |
+
# Azure Storage test credentials
|
115 |
+
sdk/storage/azure-storage-blob/tests/settings/settings_real.py
|
116 |
+
sdk/storage/azure-storage-queue/tests/settings/settings_real.py
|
117 |
+
sdk/storage/azure-storage-file-share/tests/settings/settings_real.py
|
118 |
+
sdk/storage/azure-storage-file-datalake/tests/settings/settings_real.py
|
119 |
+
sdk/storage/azure-storage-blob-changefeed/tests/settings/settings_real.py
|
120 |
+
|
121 |
+
# azure-ai-ml test configs
|
122 |
+
!sdk/ml/azure-ai-ml/tests/test_configs/environment/*
|
123 |
+
!sdk/ml/azure-ai-ml/tests/test_configs/*/*/environment*
|
124 |
+
!sdk/ml/azure-ai-ml/tests/environment*
|
125 |
+
|
126 |
+
|
127 |
+
# The locations below are deprecated - keep to prevent any accidental secrets leakage ==========
|
128 |
+
sdk/storage/azure-storage-blob/tests/_shared/settings_real.py
|
129 |
+
sdk/storage/azure-storage-queue/tests/_shared/settings_real.py
|
130 |
+
sdk/storage/azure-storage-file-share/tests/_shared/settings_real.py
|
131 |
+
sdk/storage/azure-storage-file-datalake/tests/settings_real.py
|
132 |
+
sdk/storage/azure-storage-blob/tests/settings_real.py
|
133 |
+
sdk/storage/azure-storage-queue/tests/settings_real.py
|
134 |
+
sdk/storage/azure-storage-file-share/tests/settings_real.py
|
135 |
+
# ==============================================================================================
|
136 |
+
|
137 |
+
*.code-workspace
|
138 |
+
sdk/cosmos/azure-cosmos/test/test_config.py
|
139 |
+
|
140 |
+
# temp path to to run regression test
|
141 |
+
.tmp_code_path/
|
142 |
+
|
143 |
+
# env vars
|
144 |
+
.env
|
145 |
+
|
146 |
+
# local SSL certificate folder
|
147 |
+
.certificate
|
148 |
+
|
149 |
+
# ignore pre-commit config to avoid adding hooks in this repo as
|
150 |
+
# package specific hooks will bring delay and in some cases errors to all developers
|
151 |
+
.pre-commit-config.yaml
|
152 |
+
|
153 |
+
# api stub files
|
154 |
+
*_python.json
|
155 |
+
|
156 |
+
# temporary folder to refresh SDK with cadl
|
157 |
+
TempTypeSpecFiles/
|
repos/Azure-azure-sdk-for-python-c89899b/.sscignore
ADDED
@@ -0,0 +1 @@
|
|
|
|
|
1 |
+
{ "cfs": ["CFS0001"] }
|
repos/Azure-azure-sdk-for-python-c89899b/.vscode/cspell.json
ADDED
@@ -0,0 +1,1865 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"version": "0.2",
|
3 |
+
"language": "en",
|
4 |
+
"languageId": "python",
|
5 |
+
"dictionaries": [
|
6 |
+
"powershell",
|
7 |
+
"python",
|
8 |
+
"softwareTerms",
|
9 |
+
"lorem-ipsum",
|
10 |
+
"en_us",
|
11 |
+
"en-gb"
|
12 |
+
],
|
13 |
+
"ignorePaths": [
|
14 |
+
"eng/**",
|
15 |
+
".github/CODEOWNERS",
|
16 |
+
"scripts/**",
|
17 |
+
"**/tests/recordings/**",
|
18 |
+
".vscode/cspell.json",
|
19 |
+
"*.parquet",
|
20 |
+
"*.cspkg",
|
21 |
+
"*.avro",
|
22 |
+
"*.tgz",
|
23 |
+
"*.pfx",
|
24 |
+
"sdk/**/azure-mgmt**/**",
|
25 |
+
"sdk/**/ci.yml",
|
26 |
+
"sdk/**/azure-cognitiveservices**",
|
27 |
+
"sdk/**/_generated/**",
|
28 |
+
"**/*requirement*.txt",
|
29 |
+
"**/assets.json",
|
30 |
+
"**/pyproject.toml",
|
31 |
+
"sdk/anomalydetector/**",
|
32 |
+
"sdk/applicationinsights/azure-applicationinsights/**",
|
33 |
+
"sdk/batch/azure-batch/**",
|
34 |
+
"sdk/ai/**/index/**",
|
35 |
+
"sdk/ai/azure-ai-generative/tests/**",
|
36 |
+
"sdk/ai/azure-ai-resources/azure/ai/resources/_index/_langchain/vendor/**",
|
37 |
+
"sdk/ai/azure-ai-resources/azure/ai/resources/_restclient/**",
|
38 |
+
"sdk/cognitiveservices/azure-cognitiveservices-search-autosuggest/**",
|
39 |
+
"sdk/cognitiveservices/azure-cognitiveservices-search-customimagesearch/**",
|
40 |
+
"sdk/cognitiveservices/azure-cognitiveservices-search-customsearch/**",
|
41 |
+
"sdk/cognitiveservices/azure-cognitiveservices-language-textanalytics/**",
|
42 |
+
"sdk/cognitiveservices/azure-cognitiveservices-language-luis/**",
|
43 |
+
"sdk/cognitiveservices/azure-cognitiveservices-search-entitysearch/**",
|
44 |
+
"sdk/cognitiveservices/azure-cognitiveservices-knowledge-qnamaker/**",
|
45 |
+
"sdk/cognitiveservices/azure-cognitiveservices-search-imagesearch/**",
|
46 |
+
"sdk/cognitiveservices/azure-cognitiveservices-search-newssearch/**",
|
47 |
+
"sdk/cognitiveservices/azure-cognitiveservices-search-videosearch/**",
|
48 |
+
"sdk/cognitiveservices/azure-cognitiveservices-search-websearch/**",
|
49 |
+
"sdk/cognitiveservices/azure-cognitiveservices-vision-computervision/**",
|
50 |
+
"sdk/cognitiveservices/azure-cognitiveservices-vision-customvision/**",
|
51 |
+
"sdk/cognitiveservices/azure-cognitiveservices-search-visualsearch/**",
|
52 |
+
"sdk/communication/azure-communication-networktraversal/**",
|
53 |
+
"sdk/communication/azure-communication-chat/**",
|
54 |
+
"sdk/communication/azure-communication-phonenumbers/**",
|
55 |
+
"sdk/communication/azure-communication-sms/**",
|
56 |
+
"sdk/communication/azure-communication-callautomation/tests/**",
|
57 |
+
"sdk/core/azure/**",
|
58 |
+
"sdk/core/azure-common/**",
|
59 |
+
"sdk/core/azure-core-tracing-opencensus/**",
|
60 |
+
"sdk/core/azure-core-tracing-opentelemetry/**",
|
61 |
+
"sdk/core/azure-servicemanagement-legacy/**",
|
62 |
+
"sdk/core/corehttp/**",
|
63 |
+
"sdk/digitaltwins/azure-digitaltwins-core/**",
|
64 |
+
"sdk/eventhub/azure-eventhub-checkpointstoretable/**",
|
65 |
+
"sdk/eventhub/azure-eventhub-checkpointstoreblob-aio/**",
|
66 |
+
"sdk/eventhub/azure-eventhub/**",
|
67 |
+
"sdk/easm/azure-defender-easm/azure/defender/easm/**",
|
68 |
+
"sdk/graphrbac/azure-graphrbac/**",
|
69 |
+
"sdk/healthinsights/azure-healthinsights-cancerprofiling/azure/**",
|
70 |
+
"sdk/healthinsights/azure-healthinsights-clinicalmatching/azure/**",
|
71 |
+
"sdk/formrecognizer/azure-ai-formrecognizer/samples/sample_forms/**",
|
72 |
+
"sdk/formrecognizer/azure-ai-formrecognizer/tests/sample_forms/**",
|
73 |
+
"sdk/documentintelligence/azure-ai-documentintelligence/samples/sample_forms/**",
|
74 |
+
"sdk/documentintelligence/azure-ai-documentintelligence/tests/sample_forms/**",
|
75 |
+
"sdk/personalizer/azure-ai-personalizer/azure/ai/personalizer/**",
|
76 |
+
"sdk/identity/azure-identity/images/**",
|
77 |
+
"sdk/identity/azure-identity/tests/pod-identity/**",
|
78 |
+
"sdk/identity/azure-identity/tests/managed-identity-live/service-fabric/**",
|
79 |
+
"sdk/keyvault/azure-keyvault-certificates/tests/certs.py",
|
80 |
+
"sdk/keyvault/azure-keyvault-keys/tests/keys.py",
|
81 |
+
"sdk/modelsrepository/azure-iot-modelsrepository/**",
|
82 |
+
"sdk/remoterendering/test-resources.json",
|
83 |
+
"sdk/remoterendering/azure-mixedreality-remoterendering/swagger/azure/mixedreality/remoterendering/mr-arr.json",
|
84 |
+
"sdk/servicefabric/azure-servicefabric/**",
|
85 |
+
"sdk/search/azure-search-documents/**",
|
86 |
+
"sdk/storage/azure-storage-blob-changefeed/**",
|
87 |
+
"sdk/servicebus/azure-servicebus/**",
|
88 |
+
"sdk/storage/azure-storage-queue/**",
|
89 |
+
"sdk/synapse/azure-synapse/**",
|
90 |
+
"sdk/synapse/azure-synapse-artifacts/**",
|
91 |
+
"sdk/translation/azure-ai-translation-document/samples/assets/**",
|
92 |
+
"sdk/translation/azure-ai-translation-document/tests/glossaries-valid.csv",
|
93 |
+
"sdk/storage/azure-storage-blob/**",
|
94 |
+
"sdk/storage/azure-storage-extensions/**",
|
95 |
+
"sdk/ml/azure-ai-ml/azure/ai/ml/_restclient/**",
|
96 |
+
"sdk/ml/azure-ai-ml/azure/ai/ml/_utils/_virtual_cluster_utils/_restclient/**",
|
97 |
+
"sdk/ml/azure-ai-ml/azure/ai/ml/entities/_job/job_name_generator.py",
|
98 |
+
"sdk/ml/azure-ai-ml/azure/ai/ml/constants/_job/automl.py",
|
99 |
+
"sdk/ml/azure-ai-ml/tests/**",
|
100 |
+
"sdk/ml/azure-ai-ml/swagger/**",
|
101 |
+
"sdk/ml/azure-ai-ml/NOTICE.txt",
|
102 |
+
"sdk/ml/azure-ai-ml/.pre-commit-config.yaml",
|
103 |
+
"sdk/ml/azure-ai-ml/azure/ai/ml/entities/_autogen_entities/_model_base.py",
|
104 |
+
"sdk/ml/azure-ai-ml/azure/ai/ml/entities/_autogen_entities/_serialization.py",
|
105 |
+
"sdk/monitor/azure-monitor-opentelemetry/samples/tracing/django/sample/db.sqlite3",
|
106 |
+
"sdk/monitor/azure-monitor-opentelemetry-exporter/samples/traces/django/sample/db.sqlite3",
|
107 |
+
"sdk/loadtestservice/azure-developer-loadtesting/**",
|
108 |
+
"sdk/translation/azure-ai-translation-text/azure/ai/translation/text/_serialization.py",
|
109 |
+
"sdk/translation/azure-ai-translation-text/tests/test_break_sentence.py",
|
110 |
+
"sdk/translation/azure-ai-translation-text/tests/test_translation.py",
|
111 |
+
"sdk/translation/azure-ai-translation-text/tests/test_transliteration.py",
|
112 |
+
"sdk/translation/azure-ai-translation-text/tests/test_break_sentence_async.py",
|
113 |
+
"sdk/translation/azure-ai-translation-text/tests/test_translation_async.py",
|
114 |
+
"sdk/translation/azure-ai-translation-text/tests/test_transliteration_async.py",
|
115 |
+
"sdk/translation/azure-ai-translation-text/azure/ai/translation/text/_model_base.py",
|
116 |
+
"sdk/translation/test-resources.json",
|
117 |
+
"eng/**/*.json",
|
118 |
+
"eng/*.txt",
|
119 |
+
"eng/tox/tox.ini",
|
120 |
+
"eng/common/docgeneration/Generate-DocIndex.ps1",
|
121 |
+
"eng/**/*.py",
|
122 |
+
".gitignore",
|
123 |
+
"tools/azure-sdk-tools/ci_tools/github_tools.py",
|
124 |
+
"tools/azure-sdk-tools/devtools_testutils/fake_credentials.py",
|
125 |
+
"tools/azure-sdk-tools/packaging_tools/**",
|
126 |
+
"tools/azure-sdk-tools/setup.py",
|
127 |
+
"sdk/webpubsub/azure-messaging-webpubsubclient/azure/messaging/webpubsubclient/_serialization.py",
|
128 |
+
"sdk/webpubsub/azure-messaging-webpubsubclient/azure/messaging/webpubsubclient/_model_base.py",
|
129 |
+
"tools/azure-sdk-tools/tests/test_servicemetadata.py",
|
130 |
+
"conda/conda-recipes/azure-ai-ml/meta.yaml",
|
131 |
+
"conda/conda-recipes/azure-eventhub/meta.yaml",
|
132 |
+
"conda/conda-recipes/azure-mgmt/meta.yaml",
|
133 |
+
"conda/conda-recipes/azure-security-attestation/meta.yaml",
|
134 |
+
"conda/conda-recipes/msal-extensions/meta.yaml",
|
135 |
+
"conda/conda-recipes/msrest/meta.yaml",
|
136 |
+
"conda/conda-recipes/uamqp/meta.yaml",
|
137 |
+
"conda/conda-releaselogs/azure-mgmt.md"
|
138 |
+
],
|
139 |
+
"words": [
|
140 |
+
"spinup",
|
141 |
+
"cibuildwheel",
|
142 |
+
"aoai",
|
143 |
+
"pyprojects",
|
144 |
+
"certifi",
|
145 |
+
"cffi",
|
146 |
+
"tomlw",
|
147 |
+
"xdist",
|
148 |
+
"pyprojecttoml",
|
149 |
+
"tomli",
|
150 |
+
"sdkrel",
|
151 |
+
"qnamaker",
|
152 |
+
"mindependency",
|
153 |
+
"automl",
|
154 |
+
"pyyaml",
|
155 |
+
"CONLL",
|
156 |
+
"pyjwt",
|
157 |
+
"conll",
|
158 |
+
"aad",
|
159 |
+
"aadclient",
|
160 |
+
"AADSTS",
|
161 |
+
"adamw",
|
162 |
+
"addfinalizer",
|
163 |
+
"addinivalue",
|
164 |
+
"adfs",
|
165 |
+
"adls",
|
166 |
+
"aenter",
|
167 |
+
"aiohttp",
|
168 |
+
"alru",
|
169 |
+
"amqp",
|
170 |
+
"amqps",
|
171 |
+
"anyio",
|
172 |
+
"apim",
|
173 |
+
"Asal",
|
174 |
+
"asgi",
|
175 |
+
"astimezone",
|
176 |
+
"AsyncIterable",
|
177 |
+
"asyncio",
|
178 |
+
"avroencoder",
|
179 |
+
"Avs",
|
180 |
+
"azcmagent",
|
181 |
+
"azsdk",
|
182 |
+
"azurecr",
|
183 |
+
"azuremgmtcore",
|
184 |
+
"azuremgmtcommunication",
|
185 |
+
"bdist",
|
186 |
+
"bstr",
|
187 |
+
"byref",
|
188 |
+
"cdll",
|
189 |
+
"certprg",
|
190 |
+
"certver",
|
191 |
+
"cchardet",
|
192 |
+
"clientid",
|
193 |
+
"cname",
|
194 |
+
"conda",
|
195 |
+
"connectedvmware",
|
196 |
+
"consts",
|
197 |
+
"contoso",
|
198 |
+
"contosodataset",
|
199 |
+
"centralus",
|
200 |
+
"centraluseuap",
|
201 |
+
"creds",
|
202 |
+
"ctoring",
|
203 |
+
"ctxt",
|
204 |
+
"ctypes",
|
205 |
+
"curr",
|
206 |
+
"dateutil",
|
207 |
+
"ddos",
|
208 |
+
"decryptor",
|
209 |
+
"delenv",
|
210 |
+
"dependened",
|
211 |
+
"deque",
|
212 |
+
"deserialization",
|
213 |
+
"deserializers",
|
214 |
+
"disablecov",
|
215 |
+
"distilbert",
|
216 |
+
"distilroberta",
|
217 |
+
"docfx",
|
218 |
+
"dont",
|
219 |
+
"dotenv",
|
220 |
+
"dowhile",
|
221 |
+
"DPAPI",
|
222 |
+
"dpkg",
|
223 |
+
"dtlk",
|
224 |
+
"dtlksd",
|
225 |
+
"DWORD",
|
226 |
+
"eastus",
|
227 |
+
"Easm",
|
228 |
+
"euap",
|
229 |
+
"eckey",
|
230 |
+
"ekus",
|
231 |
+
"encryptor",
|
232 |
+
"engsys",
|
233 |
+
"entra",
|
234 |
+
"envname",
|
235 |
+
"evals",
|
236 |
+
"fileno",
|
237 |
+
"fqdns",
|
238 |
+
"fstat",
|
239 |
+
"gbps",
|
240 |
+
"GCCH",
|
241 |
+
"getsizeof",
|
242 |
+
"graphrbac",
|
243 |
+
"gmtime",
|
244 |
+
"guids",
|
245 |
+
"hanaonazure",
|
246 |
+
"hdinsight",
|
247 |
+
"healthdataaiservices",
|
248 |
+
"heapq",
|
249 |
+
"hexlify",
|
250 |
+
"himds",
|
251 |
+
"hmac",
|
252 |
+
"hnstestscope",
|
253 |
+
"howto",
|
254 |
+
"Hololens",
|
255 |
+
"httpx",
|
256 |
+
"illumos",
|
257 |
+
"imds",
|
258 |
+
"inotify",
|
259 |
+
"ints",
|
260 |
+
"iohttp",
|
261 |
+
"IOHTTP",
|
262 |
+
"IOLRO",
|
263 |
+
"inprogress",
|
264 |
+
"ipconfiguration",
|
265 |
+
"ipconfigurations",
|
266 |
+
"iqmp",
|
267 |
+
"isclass",
|
268 |
+
"iscoroutine",
|
269 |
+
"iscoroutinefunction",
|
270 |
+
"iscsi",
|
271 |
+
"iterrows",
|
272 |
+
"ivar",
|
273 |
+
"ivars",
|
274 |
+
"jwks",
|
275 |
+
"keybak",
|
276 |
+
"kube",
|
277 |
+
"kubeconfig",
|
278 |
+
"kubeconfigs",
|
279 |
+
"Kubernetes",
|
280 |
+
"Kusto",
|
281 |
+
"kvlt",
|
282 |
+
"livekvtest",
|
283 |
+
"livekvtestcertprg",
|
284 |
+
"livekvtestcertrec",
|
285 |
+
"livekvtestgetcertperfcert",
|
286 |
+
"livekvtestgetsecretperfsecret",
|
287 |
+
"livekvtestlistperfsecret",
|
288 |
+
"livekvtestdecryptperfkey",
|
289 |
+
"livekvtestgetkeyperfkey",
|
290 |
+
"livekvtestsignperfkey",
|
291 |
+
"livekvtestunwrapperfkey",
|
292 |
+
"lrobasepollingasynclrobasepolling",
|
293 |
+
"lropollerasynclropoller",
|
294 |
+
"lmazuel",
|
295 |
+
"logz",
|
296 |
+
"LPCWSTR",
|
297 |
+
"Lucene",
|
298 |
+
"mbps",
|
299 |
+
"mday",
|
300 |
+
"mibps",
|
301 |
+
"mgmt",
|
302 |
+
"mhsm",
|
303 |
+
"mros",
|
304 |
+
"Nify",
|
305 |
+
"mipsle",
|
306 |
+
"mktime",
|
307 |
+
"mlindex",
|
308 |
+
"msal",
|
309 |
+
"msrest",
|
310 |
+
"msrestazure",
|
311 |
+
"MSSQL",
|
312 |
+
"mutex",
|
313 |
+
"myacr",
|
314 |
+
"mydirectory",
|
315 |
+
"myfile",
|
316 |
+
"myvault",
|
317 |
+
"mytable",
|
318 |
+
"nazsdk",
|
319 |
+
"nbytes",
|
320 |
+
"nbsp",
|
321 |
+
"noarch",
|
322 |
+
"NOPERM",
|
323 |
+
"northcentralus",
|
324 |
+
"nspkg",
|
325 |
+
"OAEP",
|
326 |
+
"oauthlib",
|
327 |
+
"objs",
|
328 |
+
"odata",
|
329 |
+
"oidc",
|
330 |
+
"onboarded",
|
331 |
+
"onmicrosoft",
|
332 |
+
"openai",
|
333 |
+
"OPENAI",
|
334 |
+
"owasp",
|
335 |
+
"ownerid",
|
336 |
+
"PBYTE",
|
337 |
+
"PCREDENTIAL",
|
338 |
+
"perfmon",
|
339 |
+
"perfstress",
|
340 |
+
"perfstressdebug",
|
341 |
+
"personalizer",
|
342 |
+
"pkce",
|
343 |
+
"pkey",
|
344 |
+
"plex",
|
345 |
+
"pluggy",
|
346 |
+
"popen",
|
347 |
+
"prebuilts",
|
348 |
+
"premf",
|
349 |
+
"prevsnapshot",
|
350 |
+
"pschema",
|
351 |
+
"PSECRET",
|
352 |
+
"pyfetch",
|
353 |
+
"pyfuncitem",
|
354 |
+
"pygobject",
|
355 |
+
"pyodide",
|
356 |
+
"pyright",
|
357 |
+
"pyrightconfig",
|
358 |
+
"parameterizing",
|
359 |
+
"pytyped",
|
360 |
+
"pytz",
|
361 |
+
"pywin",
|
362 |
+
"pyversion",
|
363 |
+
"RAGRS",
|
364 |
+
"rdbms",
|
365 |
+
"reauthenticated",
|
366 |
+
"reimage",
|
367 |
+
"revascularization",
|
368 |
+
"riscv",
|
369 |
+
"rollup",
|
370 |
+
"RSNULL",
|
371 |
+
"rtsp",
|
372 |
+
"rtype",
|
373 |
+
"rwdlacu",
|
374 |
+
"scbedd",
|
375 |
+
"sdist",
|
376 |
+
"sdpath",
|
377 |
+
"secbak",
|
378 |
+
"SECG",
|
379 |
+
"SECP",
|
380 |
+
"setfacl",
|
381 |
+
"sftdl",
|
382 |
+
"signalr",
|
383 |
+
"signup",
|
384 |
+
"simplifiable",
|
385 |
+
"skipif",
|
386 |
+
"sktid",
|
387 |
+
"skus",
|
388 |
+
"southcentralus",
|
389 |
+
"ssis",
|
390 |
+
"struct",
|
391 |
+
"STRUCT",
|
392 |
+
"substringof",
|
393 |
+
"systemperf",
|
394 |
+
"tenvparallel",
|
395 |
+
"Teradata",
|
396 |
+
"timegm",
|
397 |
+
"toxenv",
|
398 |
+
"tzname",
|
399 |
+
"tzutc",
|
400 |
+
"uamqp",
|
401 |
+
"uksouth",
|
402 |
+
"ukwest",
|
403 |
+
"unpad",
|
404 |
+
"unpadder",
|
405 |
+
"unpartial",
|
406 |
+
"uniquifier",
|
407 |
+
"unredacted",
|
408 |
+
"unseekable",
|
409 |
+
"unsubscriptable",
|
410 |
+
"upns",
|
411 |
+
"upserted",
|
412 |
+
"urandom",
|
413 |
+
"urlsafeb",
|
414 |
+
"urlunparse",
|
415 |
+
"usgov",
|
416 |
+
"usdodcentral",
|
417 |
+
"usdodeast",
|
418 |
+
"usgovarizona",
|
419 |
+
"usgovcloudapi",
|
420 |
+
"usgoviowa",
|
421 |
+
"usgovtexas",
|
422 |
+
"usgovvirginia",
|
423 |
+
"utid",
|
424 |
+
"Uvsc",
|
425 |
+
"vcrpy",
|
426 |
+
"vendored",
|
427 |
+
"verifysdist",
|
428 |
+
"verifywhl",
|
429 |
+
"versionid",
|
430 |
+
"vmimage",
|
431 |
+
"vmss",
|
432 |
+
"vmwarecloudsimple",
|
433 |
+
"vnet",
|
434 |
+
"volcz",
|
435 |
+
"vsts",
|
436 |
+
"wchar",
|
437 |
+
"westcentralus",
|
438 |
+
"westus",
|
439 |
+
"wfile",
|
440 |
+
"westus",
|
441 |
+
"xlnet",
|
442 |
+
"BUILDID",
|
443 |
+
"documentdb",
|
444 |
+
"chdir",
|
445 |
+
"radiculopathy",
|
446 |
+
"reqs",
|
447 |
+
"rgpy",
|
448 |
+
"swaggertosdk",
|
449 |
+
"rgname",
|
450 |
+
"mtype",
|
451 |
+
"venvtools",
|
452 |
+
"ispkg",
|
453 |
+
"openpyxl",
|
454 |
+
"deps",
|
455 |
+
"prnumber",
|
456 |
+
"yarl",
|
457 |
+
"SDDL",
|
458 |
+
"dacl",
|
459 |
+
"wday",
|
460 |
+
"whls",
|
461 |
+
"aiter",
|
462 |
+
"solft",
|
463 |
+
"amltmp",
|
464 |
+
"amltemp",
|
465 |
+
"deserializers",
|
466 |
+
"dicom",
|
467 |
+
"WINDOWSVMIMAGE",
|
468 |
+
"LINUXVMIMAGE",
|
469 |
+
"MACVMIMAGE"
|
470 |
+
],
|
471 |
+
"overrides": [
|
472 |
+
{
|
473 |
+
"filename": "sdk/ai/**",
|
474 |
+
"words": [
|
475 |
+
"azureml",
|
476 |
+
"mlflow",
|
477 |
+
"tika",
|
478 |
+
"pypdf",
|
479 |
+
"fsspec",
|
480 |
+
"openai",
|
481 |
+
"tiktoken",
|
482 |
+
"vectordb",
|
483 |
+
"pybase",
|
484 |
+
"mlindex",
|
485 |
+
"mlindexes",
|
486 |
+
"aoai",
|
487 |
+
"faiss",
|
488 |
+
"mlmodel",
|
489 |
+
"openmpi",
|
490 |
+
"vcpu",
|
491 |
+
"vcpus",
|
492 |
+
"levelno",
|
493 |
+
"miniconda",
|
494 |
+
"runsvdir",
|
495 |
+
"Fsubscriptions",
|
496 |
+
"Fresource",
|
497 |
+
"Fproviders",
|
498 |
+
"Fdeployments",
|
499 |
+
"roups",
|
500 |
+
"mltable",
|
501 |
+
"wsid",
|
502 |
+
"runid"
|
503 |
+
]
|
504 |
+
},
|
505 |
+
{
|
506 |
+
"filename": "doc/sphinx/generate_doc.py",
|
507 |
+
"words": [
|
508 |
+
"undoc"
|
509 |
+
]
|
510 |
+
},
|
511 |
+
{
|
512 |
+
"filename": "doc/dev/test_proxy_migration_guide.md",
|
513 |
+
"words": [
|
514 |
+
"pytestmarkparametrize"
|
515 |
+
]
|
516 |
+
},
|
517 |
+
{
|
518 |
+
"filename": "doc/dev/pylint_checking.md",
|
519 |
+
"words": [
|
520 |
+
"pylintrc"
|
521 |
+
]
|
522 |
+
},
|
523 |
+
{
|
524 |
+
"filename": "tools/azure-sdk-tools/devtools_testutils/proxy_startup.py",
|
525 |
+
"words": [
|
526 |
+
"certifi",
|
527 |
+
"passenv"
|
528 |
+
]
|
529 |
+
},
|
530 |
+
{
|
531 |
+
"filename": "tools/azure-sdk-tools/tests/integration/test_proxy_startup.py",
|
532 |
+
"words": [
|
533 |
+
"spinup"
|
534 |
+
]
|
535 |
+
},
|
536 |
+
{
|
537 |
+
"filename": "sdk/remoterendering/**",
|
538 |
+
"words": [
|
539 |
+
"Phong"
|
540 |
+
]
|
541 |
+
},
|
542 |
+
{
|
543 |
+
"filename": "tools/azure-sdk-tools/ci_tools/deps.html.j2",
|
544 |
+
"words": [
|
545 |
+
"isfork",
|
546 |
+
"ISFORK",
|
547 |
+
"thead"
|
548 |
+
]
|
549 |
+
},
|
550 |
+
{
|
551 |
+
"filename": "tools/azure-sdk-tools/gh_tools/**",
|
552 |
+
"words": [
|
553 |
+
"JOBID",
|
554 |
+
"vnext"
|
555 |
+
]
|
556 |
+
},
|
557 |
+
{
|
558 |
+
"filename": "doc/esrp_release.md",
|
559 |
+
"words": [
|
560 |
+
"ESRP"
|
561 |
+
]
|
562 |
+
},
|
563 |
+
{
|
564 |
+
"filename": "sdk/core/azure-core/tests/test_serialization.py",
|
565 |
+
"words": [
|
566 |
+
"Rlcw",
|
567 |
+
"Jwcmlud"
|
568 |
+
]
|
569 |
+
},
|
570 |
+
{
|
571 |
+
"filename": "sdk/identity/azure-identity/tests/*.py",
|
572 |
+
"words": [
|
573 |
+
"infile"
|
574 |
+
]
|
575 |
+
},
|
576 |
+
{
|
577 |
+
"filename": "sdk/identity/test-resources*",
|
578 |
+
"words": [
|
579 |
+
"kubelet",
|
580 |
+
"otsv"
|
581 |
+
]
|
582 |
+
},
|
583 |
+
{
|
584 |
+
"filename": "sdk/identity/azure-identity/TROUBLESHOOTING.md",
|
585 |
+
"words": [
|
586 |
+
"wammsa"
|
587 |
+
]
|
588 |
+
},
|
589 |
+
{
|
590 |
+
"filename": "sdk/identity/azure-identity-broker/tests/*.py",
|
591 |
+
"words": [
|
592 |
+
"signin"
|
593 |
+
]
|
594 |
+
},
|
595 |
+
{
|
596 |
+
"filename": "sdk/tables/azure-data-tables/tests/**/*.py",
|
597 |
+
"words": [
|
598 |
+
"tzutc",
|
599 |
+
"tzoffset",
|
600 |
+
"BRST",
|
601 |
+
"uttable",
|
602 |
+
"pytablesync",
|
603 |
+
"pytableasync",
|
604 |
+
"mydomain",
|
605 |
+
"myaccount",
|
606 |
+
"testid",
|
607 |
+
"clsid",
|
608 |
+
"doesnt",
|
609 |
+
"doesntexist"
|
610 |
+
]
|
611 |
+
},
|
612 |
+
{
|
613 |
+
"filename": "sdk/tables/azure-data-tables/**/*.py",
|
614 |
+
"words": [
|
615 |
+
"astimezone",
|
616 |
+
"myasynctable",
|
617 |
+
"mytableasync",
|
618 |
+
"mytable",
|
619 |
+
"edmtypes",
|
620 |
+
"specifed"
|
621 |
+
]
|
622 |
+
},
|
623 |
+
{
|
624 |
+
"filename": "sdk/tables/azure-data-tables/CHANGELOG.md",
|
625 |
+
"words": [
|
626 |
+
"kldtz"
|
627 |
+
]
|
628 |
+
},
|
629 |
+
{
|
630 |
+
"filename": "sdk/tables/test-resources.json",
|
631 |
+
"words": [
|
632 |
+
"mmspecial"
|
633 |
+
]
|
634 |
+
},
|
635 |
+
{
|
636 |
+
"filename": "sdk/translation/azure-ai-translation-document/**",
|
637 |
+
"words": [
|
638 |
+
"essai",
|
639 |
+
"myfoldername"
|
640 |
+
]
|
641 |
+
},
|
642 |
+
{
|
643 |
+
"filename": "sdk/translation/azure-ai-translation-text/**",
|
644 |
+
"words": [
|
645 |
+
"akhtabar",
|
646 |
+
"deserializers",
|
647 |
+
"Esto",
|
648 |
+
"hudha",
|
649 |
+
"mosca",
|
650 |
+
"mros",
|
651 |
+
"NOACTION",
|
652 |
+
"prueba",
|
653 |
+
"wordomatic"
|
654 |
+
]
|
655 |
+
},
|
656 |
+
{
|
657 |
+
"filename": "sdk/textanalytics/azure-ai-textanalytics/**",
|
658 |
+
"words": [
|
659 |
+
"Forndexter",
|
660 |
+
"ESDNI",
|
661 |
+
"dinero",
|
662 |
+
"Zocor",
|
663 |
+
"dann",
|
664 |
+
"UMLS",
|
665 |
+
"nach",
|
666 |
+
"año",
|
667 |
+
"BRCPF",
|
668 |
+
"abril",
|
669 |
+
"zalgo",
|
670 |
+
"n'était",
|
671 |
+
"tengo",
|
672 |
+
"IDRG",
|
673 |
+
"était",
|
674 |
+
"gegründet",
|
675 |
+
"L'hôtel",
|
676 |
+
"Hola",
|
677 |
+
"hola",
|
678 |
+
"escrito",
|
679 |
+
"Coumadin",
|
680 |
+
"EUGPS",
|
681 |
+
"dokument",
|
682 |
+
"wurde",
|
683 |
+
"Detta",
|
684 |
+
"IFIC",
|
685 |
+
"Fahrt",
|
686 |
+
"documento",
|
687 |
+
"scritto",
|
688 |
+
"USUK",
|
689 |
+
"Sprache",
|
690 |
+
"PLREGON",
|
691 |
+
"Fusce",
|
692 |
+
"Inigo",
|
693 |
+
"italiano",
|
694 |
+
"skrivet",
|
695 |
+
"verfasst",
|
696 |
+
"engelska",
|
697 |
+
"fhir",
|
698 |
+
"FHIR",
|
699 |
+
"naam"
|
700 |
+
]
|
701 |
+
},
|
702 |
+
{
|
703 |
+
"filename": "sdk/core/azure-core-tracing-opentelemetry/**",
|
704 |
+
"words": [ "ctxt", "somethingstuid" ]
|
705 |
+
},
|
706 |
+
{
|
707 |
+
"filename": "sdk/cognitivelanguage/azure-ai-language-conversations/**",
|
708 |
+
"words": [ "conv", "summ" ],
|
709 |
+
"caseSensitive": false
|
710 |
+
},
|
711 |
+
{
|
712 |
+
"filename": "sdk/cognitivelanguage/azure-ai-language-conversations/doc/*.rst",
|
713 |
+
"words": [ "undoc" ]
|
714 |
+
},
|
715 |
+
{
|
716 |
+
"filename": "sdk/cognitivelanguage/azure-ai-language-conversations/azure/ai/language/conversations/**/_serialization.py",
|
717 |
+
"words": [ "ctxt", "wday", "mday", "astimezone", "unflattened", "JSONify", "deseralize" ]
|
718 |
+
},
|
719 |
+
{
|
720 |
+
"filename": "sdk/cognitivelanguage/azure-ai-language-questionanswering/**",
|
721 |
+
"words": [ "qnas", "qnamaker", "ADTO" ],
|
722 |
+
"caseSensitive": false
|
723 |
+
},
|
724 |
+
{
|
725 |
+
"filename": "sdk/cognitivelanguage/azure-ai-language-questionanswering/tests/test_query_text*.py",
|
726 |
+
"words": [ "groovin", "Olufsen" ]
|
727 |
+
},
|
728 |
+
{
|
729 |
+
"filename": "sdk/cognitivelanguage/azure-ai-language-questionanswering/azure/ai/language/questionanswering/**/_serialization.py",
|
730 |
+
"words": [ "ctxt", "wday", "mday", "astimezone", "unflattened", "JSONify", "deseralize" ]
|
731 |
+
},
|
732 |
+
{
|
733 |
+
"filename": "sdk/cognitiveservices/azure-cognitiveservices-language-spellcheck/tests/*.py",
|
734 |
+
"words": [ "Apim", "cognituve" ]
|
735 |
+
},
|
736 |
+
{
|
737 |
+
"filename": "sdk/communication/**",
|
738 |
+
"words": [
|
739 |
+
"XVCJ",
|
740 |
+
"PBOF"
|
741 |
+
]
|
742 |
+
},
|
743 |
+
{
|
744 |
+
"filename": "sdk/communication/azure-communication-identity/tests/**",
|
745 |
+
"words": [
|
746 |
+
"Njgw",
|
747 |
+
"FNNHHJT",
|
748 |
+
"Zwiz",
|
749 |
+
"nypg",
|
750 |
+
"tzutc",
|
751 |
+
"gettz"
|
752 |
+
]
|
753 |
+
},
|
754 |
+
{
|
755 |
+
"filename": "sdk/containerregistry/azure-containerregistry/**",
|
756 |
+
"words": [
|
757 |
+
"udpated",
|
758 |
+
"cncf",
|
759 |
+
"oras",
|
760 |
+
"rootfs"
|
761 |
+
]
|
762 |
+
},
|
763 |
+
{
|
764 |
+
"filename": "sdk/eventgrid/**/*",
|
765 |
+
"words": [
|
766 |
+
"cncf",
|
767 |
+
"CNCF",
|
768 |
+
"Cncf",
|
769 |
+
"MQTT",
|
770 |
+
"Dicom",
|
771 |
+
"Errored",
|
772 |
+
"Fhir"
|
773 |
+
]
|
774 |
+
},
|
775 |
+
{
|
776 |
+
"filename": "sdk/eventhub/test-resources.json",
|
777 |
+
"words": [
|
778 |
+
"mmspecial"
|
779 |
+
]
|
780 |
+
},
|
781 |
+
{
|
782 |
+
"filename": "sdk/eventhub/azure-eventhub-checkpointstoreblob/**",
|
783 |
+
"words": [
|
784 |
+
"blobstoragecs",
|
785 |
+
"blobstoragepm",
|
786 |
+
"rscc",
|
787 |
+
"rscd",
|
788 |
+
"rsce",
|
789 |
+
"rscl",
|
790 |
+
"rsct",
|
791 |
+
"saoid",
|
792 |
+
"scid",
|
793 |
+
"skoid",
|
794 |
+
"suoid"
|
795 |
+
]
|
796 |
+
},
|
797 |
+
{
|
798 |
+
"filename": "sdk/formrecognizer/azure-ai-formrecognizer/tests/*.py",
|
799 |
+
"words": [
|
800 |
+
"WDLABCD"
|
801 |
+
]
|
802 |
+
},
|
803 |
+
{
|
804 |
+
"filename": "sdk/formrecognizer/azure-ai-formrecognizer/**",
|
805 |
+
"words": [
|
806 |
+
"allinone",
|
807 |
+
"dmac",
|
808 |
+
"ierr",
|
809 |
+
"mymodel",
|
810 |
+
"heif",
|
811 |
+
"racwd",
|
812 |
+
"rrggbb",
|
813 |
+
"UPCA",
|
814 |
+
"UPCE"
|
815 |
+
]
|
816 |
+
},
|
817 |
+
{
|
818 |
+
"filename": "sdk/documentintelligence/azure-ai-documentintelligence/tests/*.py",
|
819 |
+
"words": [
|
820 |
+
"WDLABCD"
|
821 |
+
]
|
822 |
+
},
|
823 |
+
{
|
824 |
+
"filename": "sdk/documentintelligence/azure-ai-documentintelligence/**",
|
825 |
+
"words": [
|
826 |
+
"allinone",
|
827 |
+
"dmac",
|
828 |
+
"ierr",
|
829 |
+
"mymodel",
|
830 |
+
"heif",
|
831 |
+
"racwd",
|
832 |
+
"rrggbb",
|
833 |
+
"UPCA",
|
834 |
+
"UPCE",
|
835 |
+
"mros",
|
836 |
+
"Nify",
|
837 |
+
"deserializers",
|
838 |
+
"ctxt",
|
839 |
+
"wday"
|
840 |
+
]
|
841 |
+
},
|
842 |
+
{
|
843 |
+
"filename": "sdk/healthinsights/**",
|
844 |
+
"words": [
|
845 |
+
"ABDO",
|
846 |
+
"ACEI",
|
847 |
+
"acessory",
|
848 |
+
"Angioedema",
|
849 |
+
"ANGIOEDEMA",
|
850 |
+
"angioedema",
|
851 |
+
"Apyrexial",
|
852 |
+
"auscltation",
|
853 |
+
"bilat",
|
854 |
+
"BIPAP",
|
855 |
+
"Bisacodyl",
|
856 |
+
"brochial",
|
857 |
+
"Caphosol",
|
858 |
+
"CARDIOVASC",
|
859 |
+
"chole",
|
860 |
+
"Cytoxan",
|
861 |
+
"DCIS",
|
862 |
+
"DEBAB",
|
863 |
+
"DEBAC",
|
864 |
+
"DEBAE",
|
865 |
+
"DEFIC",
|
866 |
+
"Dilt",
|
867 |
+
"diurese",
|
868 |
+
"dyslipidemia",
|
869 |
+
"ecchymoses",
|
870 |
+
"ENDO",
|
871 |
+
"Farenheit",
|
872 |
+
"fhir",
|
873 |
+
"fludarabine",
|
874 |
+
"Gastro",
|
875 |
+
"Gastroesophageal",
|
876 |
+
"GENEORPROTEIN",
|
877 |
+
"GENEORPROTEIN",
|
878 |
+
"Hematocrit",
|
879 |
+
"hemodynamic",
|
880 |
+
"hemodynamics",
|
881 |
+
"hemolytic",
|
882 |
+
"hemoptysis",
|
883 |
+
"hemoptysis",
|
884 |
+
"Hydrox",
|
885 |
+
"hypercholesterolemia",
|
886 |
+
"HYPERLIPEM",
|
887 |
+
"hypernatremia",
|
888 |
+
"Hypogammaglobumenia",
|
889 |
+
"hystarectomy",
|
890 |
+
"IADLs",
|
891 |
+
"inferolateral",
|
892 |
+
"IVIG",
|
893 |
+
"KIDN",
|
894 |
+
"lasix",
|
895 |
+
"LBTEST",
|
896 |
+
"LBTEST",
|
897 |
+
"LBTEST",
|
898 |
+
"LBTEST",
|
899 |
+
"LBTEST",
|
900 |
+
"LBTESTCD",
|
901 |
+
"LMCA",
|
902 |
+
"lopressor",
|
903 |
+
"LVEDP",
|
904 |
+
"LVEF",
|
905 |
+
"LYMPHADENO",
|
906 |
+
"MALIG",
|
907 |
+
"Medrol",
|
908 |
+
"meds",
|
909 |
+
"MIBI",
|
910 |
+
"Mirena",
|
911 |
+
"MTHU",
|
912 |
+
"Musculo",
|
913 |
+
"MYCNF",
|
914 |
+
"MYOCARD",
|
915 |
+
"nbrochial",
|
916 |
+
"NEURO",
|
917 |
+
"nhemodynamics",
|
918 |
+
"NKDA",
|
919 |
+
"nsclc",
|
920 |
+
"nxoperex",
|
921 |
+
"Omecprazole",
|
922 |
+
"onco",
|
923 |
+
"PERRLA",
|
924 |
+
"Phos",
|
925 |
+
"PRBCs",
|
926 |
+
"Prilosec",
|
927 |
+
"retrorubral",
|
928 |
+
"RPDA",
|
929 |
+
"sats",
|
930 |
+
"scopy",
|
931 |
+
"SDTM",
|
932 |
+
"Soln",
|
933 |
+
"Solu",
|
934 |
+
"solumedrol",
|
935 |
+
"Succ",
|
936 |
+
"sulfonylurea",
|
937 |
+
"tachycardic",
|
938 |
+
"tachypnic",
|
939 |
+
"Tazobactam",
|
940 |
+
"Theophyline",
|
941 |
+
"thyromegaly",
|
942 |
+
"tounge",
|
943 |
+
"tounge",
|
944 |
+
"Uniphyl",
|
945 |
+
"VASODILAT",
|
946 |
+
"VSTESTCD",
|
947 |
+
"xoperex",
|
948 |
+
"Zocor"
|
949 |
+
]
|
950 |
+
},
|
951 |
+
{
|
952 |
+
"filename": "sdk/keyvault/**",
|
953 |
+
"words": [
|
954 |
+
"eddsa",
|
955 |
+
"Thawte",
|
956 |
+
"myalias",
|
957 |
+
"mydomain"
|
958 |
+
]
|
959 |
+
},
|
960 |
+
{
|
961 |
+
"filename": "sdk/monitor/test-resources.json",
|
962 |
+
"words": [
|
963 |
+
"azconfig",
|
964 |
+
"azmonitordce",
|
965 |
+
"euap",
|
966 |
+
"azmonitordcr",
|
967 |
+
"azmonitorlogsws",
|
968 |
+
"authr",
|
969 |
+
"dcrrole",
|
970 |
+
"pergb"
|
971 |
+
]
|
972 |
+
},
|
973 |
+
{
|
974 |
+
"filename": "sdk/monitor/azure-monitor-*/**/*",
|
975 |
+
"words": [
|
976 |
+
"ctxt",
|
977 |
+
"wday",
|
978 |
+
"percentilesw",
|
979 |
+
"plotly",
|
980 |
+
"nbformat",
|
981 |
+
"nbconvert"
|
982 |
+
]
|
983 |
+
},
|
984 |
+
{
|
985 |
+
"filename": "sdk/monitor/azure-monitor-opentelemetry*/**/*",
|
986 |
+
"words": [
|
987 |
+
"blrp",
|
988 |
+
"configurators",
|
989 |
+
"dbapi",
|
990 |
+
"grpc",
|
991 |
+
"opentelemetry",
|
992 |
+
"otel",
|
993 |
+
"OTELRESOURCE",
|
994 |
+
"OTLP",
|
995 |
+
"otlp",
|
996 |
+
"speced",
|
997 |
+
"pkgutils",
|
998 |
+
"psycopg",
|
999 |
+
"uninstrument",
|
1000 |
+
"uninstrumented"
|
1001 |
+
]
|
1002 |
+
},
|
1003 |
+
{
|
1004 |
+
"filename": "sdk/monitor/azure-monitor-opentelemetry*/**/*.py",
|
1005 |
+
"words": [
|
1006 |
+
"asgi",
|
1007 |
+
"ikey",
|
1008 |
+
"msecs",
|
1009 |
+
"mycontainer",
|
1010 |
+
"semconv",
|
1011 |
+
"updown",
|
1012 |
+
"uvicorn"
|
1013 |
+
]
|
1014 |
+
},
|
1015 |
+
{
|
1016 |
+
"filename": "sdk/schemaregistry/**/*.py",
|
1017 |
+
"words": [
|
1018 |
+
"mros",
|
1019 |
+
"deserializers",
|
1020 |
+
"ctxt",
|
1021 |
+
"wday",
|
1022 |
+
"Nify"
|
1023 |
+
]
|
1024 |
+
},
|
1025 |
+
{
|
1026 |
+
"filename": "sdk/schemaregistry/**/tests/**/*.py",
|
1027 |
+
"words": [
|
1028 |
+
"favo",
|
1029 |
+
"randb"
|
1030 |
+
]
|
1031 |
+
},
|
1032 |
+
{
|
1033 |
+
"filename": "sdk/schemaregistry/azure-schemaregistry-avroencoder/**/*.py",
|
1034 |
+
"words": [
|
1035 |
+
"currsize"
|
1036 |
+
]
|
1037 |
+
},
|
1038 |
+
{
|
1039 |
+
"filename": "sdk/schemaregistry/azure-schemaregistry-avroencoder/doc/*.rst",
|
1040 |
+
"words": [
|
1041 |
+
"undoc"
|
1042 |
+
]
|
1043 |
+
},
|
1044 |
+
{
|
1045 |
+
"filename": "sdk/synapse/azure-synapse-spark/azure/synapse/spark/models/*.py",
|
1046 |
+
"words": [
|
1047 |
+
"pyspark",
|
1048 |
+
"ename",
|
1049 |
+
"evalue"
|
1050 |
+
]
|
1051 |
+
},
|
1052 |
+
{
|
1053 |
+
"filename": "sdk/synapse/azure-synapse-artifacts/azure/synapse/artifacts/aio/operations/*.py",
|
1054 |
+
"words": [
|
1055 |
+
"Syms",
|
1056 |
+
"MetastoreUpdation"
|
1057 |
+
]
|
1058 |
+
},
|
1059 |
+
{
|
1060 |
+
"filename": "sdk/synapse/azure-synapse-artifacts/azure/synapse/artifacts/models/*.py",
|
1061 |
+
"words": [
|
1062 |
+
"USQL",
|
1063 |
+
"Eloqua",
|
1064 |
+
"Hdfs",
|
1065 |
+
"Informix",
|
1066 |
+
"Magento",
|
1067 |
+
"MetastoreUpdation",
|
1068 |
+
"Netezza",
|
1069 |
+
"Odbc",
|
1070 |
+
"Responsys",
|
1071 |
+
"Sybase",
|
1072 |
+
"Twilio",
|
1073 |
+
"Vertica",
|
1074 |
+
"Xero",
|
1075 |
+
"SASL",
|
1076 |
+
"SSISDB",
|
1077 |
+
"WTGCTBG",
|
1078 |
+
"ilearner",
|
1079 |
+
"DBFS",
|
1080 |
+
"eloqua",
|
1081 |
+
"byoa",
|
1082 |
+
"cacerts",
|
1083 |
+
"HDFS",
|
1084 |
+
"hcatalog",
|
1085 |
+
"ondemand",
|
1086 |
+
"oozie",
|
1087 |
+
"magento",
|
1088 |
+
"mktorest",
|
1089 |
+
"nbformat",
|
1090 |
+
"paramref",
|
1091 |
+
"myshopify",
|
1092 |
+
"mysquare",
|
1093 |
+
"xero"
|
1094 |
+
]
|
1095 |
+
},
|
1096 |
+
{
|
1097 |
+
"filename": "sdk/synapse/azure-synapse-artifacts/azure/synapse/artifacts/operations/*.py",
|
1098 |
+
"words": [
|
1099 |
+
"Syms",
|
1100 |
+
"Updation"
|
1101 |
+
]
|
1102 |
+
},
|
1103 |
+
{
|
1104 |
+
"filename": "sdk/storage/azure-storage-file-datalake/**",
|
1105 |
+
"words": [
|
1106 |
+
"dlake",
|
1107 |
+
"rwxrwxrwx",
|
1108 |
+
"rwxrw",
|
1109 |
+
"rwxr",
|
1110 |
+
"ABFS",
|
1111 |
+
"mynewfile",
|
1112 |
+
"mynewdirectory",
|
1113 |
+
"mynewfilesystem",
|
1114 |
+
"mynewfilesystems",
|
1115 |
+
"myfilesystem",
|
1116 |
+
"myfilesystemforlistpaths",
|
1117 |
+
"myfilesystemforgetclient",
|
1118 |
+
"myclientfilesystem",
|
1119 |
+
"mydirectoryfilesystem",
|
1120 |
+
"myleasefilesystem",
|
1121 |
+
"mypathfilesystem",
|
1122 |
+
"mymetadatafilesystemsync",
|
1123 |
+
"fpath",
|
1124 |
+
"fsname",
|
1125 |
+
"dname",
|
1126 |
+
"filesys",
|
1127 |
+
"testfs",
|
1128 |
+
"nonexistentfs",
|
1129 |
+
"saoid",
|
1130 |
+
"testid",
|
1131 |
+
"deletionid",
|
1132 |
+
"cpkfile",
|
1133 |
+
"cpkdirectory",
|
1134 |
+
"cpksubdirectory",
|
1135 |
+
"thead",
|
1136 |
+
"tbody",
|
1137 |
+
"racwdlmeop",
|
1138 |
+
"newfs",
|
1139 |
+
"adlsstorage",
|
1140 |
+
"adlskey"
|
1141 |
+
]
|
1142 |
+
},
|
1143 |
+
{
|
1144 |
+
"filename": "sdk/loadtestservice/azure-developer-loadtesting/azure/developer/loadtesting/**",
|
1145 |
+
"words": [
|
1146 |
+
"vusers"
|
1147 |
+
]
|
1148 |
+
},
|
1149 |
+
{
|
1150 |
+
"filename": "sdk/ml/test-resources.json",
|
1151 |
+
"words": [
|
1152 |
+
"vnext",
|
1153 |
+
"sdkvnextcli",
|
1154 |
+
"GZRS",
|
1155 |
+
"RAGZRS",
|
1156 |
+
"kvtest",
|
1157 |
+
"amlworkspace",
|
1158 |
+
"euap",
|
1159 |
+
"automl",
|
1160 |
+
"azureml"
|
1161 |
+
]
|
1162 |
+
},
|
1163 |
+
{
|
1164 |
+
"filename": "sdk/ml/*tests.yml",
|
1165 |
+
"words": [
|
1166 |
+
"euap"
|
1167 |
+
]
|
1168 |
+
},
|
1169 |
+
{
|
1170 |
+
"filename": "sdk/ml/azure-ai-ml/**",
|
1171 |
+
"words": [
|
1172 |
+
"azureml",
|
1173 |
+
"mldesigner",
|
1174 |
+
"restclient",
|
1175 |
+
"tqdm",
|
1176 |
+
"mlflow",
|
1177 |
+
"automl",
|
1178 |
+
"featurization",
|
1179 |
+
"mltable",
|
1180 |
+
"flds",
|
1181 |
+
"resourceid",
|
1182 |
+
"hdfs",
|
1183 |
+
"qnormal",
|
1184 |
+
"qlognormal",
|
1185 |
+
"quniform",
|
1186 |
+
"qloguniform",
|
1187 |
+
"odict",
|
1188 |
+
"sdkv",
|
1189 |
+
"jioindiawest",
|
1190 |
+
"levelno",
|
1191 |
+
"amlignore",
|
1192 |
+
"envvar",
|
1193 |
+
"miniconda",
|
1194 |
+
"amlcompute",
|
1195 |
+
"onnx",
|
1196 |
+
"nesterov",
|
1197 |
+
"debugpy",
|
1198 |
+
"byoc",
|
1199 |
+
"klass",
|
1200 |
+
"vits",
|
1201 |
+
"vitb",
|
1202 |
+
"pbar",
|
1203 |
+
"cntx",
|
1204 |
+
"pydash",
|
1205 |
+
"sklearn",
|
1206 |
+
"openmpi",
|
1207 |
+
"myworkspace",
|
1208 |
+
"mydatastore",
|
1209 |
+
"mlnlp",
|
1210 |
+
"prec",
|
1211 |
+
"pacf",
|
1212 |
+
"armid",
|
1213 |
+
"dsvm",
|
1214 |
+
"aisupercomputer",
|
1215 |
+
"mferp",
|
1216 |
+
"nopycln",
|
1217 |
+
"smod",
|
1218 |
+
"etype",
|
1219 |
+
"stype",
|
1220 |
+
"roups",
|
1221 |
+
"txts",
|
1222 |
+
"sobol",
|
1223 |
+
"revo",
|
1224 |
+
"modelsrc",
|
1225 |
+
"amlworkspace",
|
1226 |
+
"plrmodel",
|
1227 |
+
"noopener",
|
1228 |
+
"runsvdir",
|
1229 |
+
"toolsai",
|
1230 |
+
"azuremlext",
|
1231 |
+
"euap",
|
1232 |
+
"centraluseuap",
|
1233 |
+
"consts",
|
1234 |
+
"lnotab",
|
1235 |
+
"nlocals",
|
1236 |
+
"kwonlyargcount",
|
1237 |
+
"dcid",
|
1238 |
+
"startf",
|
1239 |
+
"dpkg",
|
1240 |
+
"isreused",
|
1241 |
+
"reusedrunid",
|
1242 |
+
"strictyaml",
|
1243 |
+
"funcs",
|
1244 |
+
"Fsubscriptions",
|
1245 |
+
"Fresource",
|
1246 |
+
"Fproviders",
|
1247 |
+
"Fdeployments",
|
1248 |
+
"isfolder",
|
1249 |
+
"mylist",
|
1250 |
+
"unioned",
|
1251 |
+
"adamw",
|
1252 |
+
"yolov",
|
1253 |
+
"xdist",
|
1254 |
+
"adla",
|
1255 |
+
"listxattr",
|
1256 |
+
"copyxattr",
|
1257 |
+
"curatedenv",
|
1258 |
+
"cuda",
|
1259 |
+
"mkdtemp",
|
1260 |
+
"runit",
|
1261 |
+
"delim",
|
1262 |
+
"vendored",
|
1263 |
+
"wasb",
|
1264 |
+
"cgitb",
|
1265 |
+
"isclass",
|
1266 |
+
"isfunction",
|
1267 |
+
"errno",
|
1268 |
+
"firstlineno",
|
1269 |
+
"chdir",
|
1270 |
+
"fset",
|
1271 |
+
"azuresqldb",
|
1272 |
+
"unflat",
|
1273 |
+
"unflatten",
|
1274 |
+
"unflattened",
|
1275 |
+
"unflattens",
|
1276 |
+
"subel",
|
1277 |
+
"azuresynapseanalytics",
|
1278 |
+
"deque",
|
1279 |
+
"fstring",
|
1280 |
+
"vals",
|
1281 |
+
"reprlib",
|
1282 |
+
"gzrs",
|
1283 |
+
"ragzrs",
|
1284 |
+
"wsid",
|
1285 |
+
"azml",
|
1286 |
+
"uncompiled",
|
1287 |
+
"segs",
|
1288 |
+
"fnmatch",
|
1289 |
+
"posixpath",
|
1290 |
+
"SEPS",
|
1291 |
+
"wargs",
|
1292 |
+
"pycache",
|
1293 |
+
"ruamel",
|
1294 |
+
"reprcrash",
|
1295 |
+
"etests",
|
1296 |
+
"RMSE",
|
1297 |
+
"azmonitoring",
|
1298 |
+
"smirnov"
|
1299 |
+
]
|
1300 |
+
},
|
1301 |
+
{
|
1302 |
+
"filename": "sdk/ai/azure-ai-inference/**",
|
1303 |
+
"words": [
|
1304 |
+
"ubinary",
|
1305 |
+
"mros",
|
1306 |
+
"Nify",
|
1307 |
+
"ctxt",
|
1308 |
+
"wday"
|
1309 |
+
]
|
1310 |
+
},
|
1311 |
+
{
|
1312 |
+
"filename": "sdk/ai/azure-ai-generative/**",
|
1313 |
+
"words": [
|
1314 |
+
"tqdm",
|
1315 |
+
"genai"
|
1316 |
+
]
|
1317 |
+
},
|
1318 |
+
{
|
1319 |
+
"filename": "sdk/openai/azure-openai/**",
|
1320 |
+
"words": [
|
1321 |
+
"azuread",
|
1322 |
+
"AZUREAD",
|
1323 |
+
"dall",
|
1324 |
+
"Lepardus",
|
1325 |
+
"WEBVTT",
|
1326 |
+
"logit",
|
1327 |
+
"byod",
|
1328 |
+
"logprobs"
|
1329 |
+
]
|
1330 |
+
},
|
1331 |
+
{
|
1332 |
+
"filename": "sdk/attestation/azure-security-attestation/tests/conftest.py",
|
1333 |
+
"words": [
|
1334 |
+
"sharedwus"
|
1335 |
+
]
|
1336 |
+
},
|
1337 |
+
{
|
1338 |
+
"filename": "sdk/confidentialledger/test-resources.bicep",
|
1339 |
+
"words": [
|
1340 |
+
"pysdkci"
|
1341 |
+
]
|
1342 |
+
},
|
1343 |
+
{
|
1344 |
+
"filename": "sdk/agrifood/azure-agrifood-farming/**",
|
1345 |
+
"words": [
|
1346 |
+
"NDVI",
|
1347 |
+
"Unhandleable",
|
1348 |
+
"Nify",
|
1349 |
+
"ctxt",
|
1350 |
+
"unflattened",
|
1351 |
+
"wday",
|
1352 |
+
"deseralize",
|
1353 |
+
"stac",
|
1354 |
+
"nnumeral",
|
1355 |
+
"nonly",
|
1356 |
+
"STAC",
|
1357 |
+
"Placeid",
|
1358 |
+
"resouce",
|
1359 |
+
"nnumeral"
|
1360 |
+
]
|
1361 |
+
},
|
1362 |
+
{
|
1363 |
+
"filename": "sdk/storage/azure-storage-file-share/**",
|
1364 |
+
"words": [
|
1365 |
+
"XSMB",
|
1366 |
+
"rcwd",
|
1367 |
+
"rcwdl",
|
1368 |
+
"prevsharesnapshot",
|
1369 |
+
"mydir",
|
1370 |
+
"amet",
|
1371 |
+
"consectetur",
|
1372 |
+
"elit",
|
1373 |
+
"adipiscing",
|
1374 |
+
"pyacrstoragestorname",
|
1375 |
+
"pyrmtstoragestorname",
|
1376 |
+
"vhds",
|
1377 |
+
"abcdefghijklmnop",
|
1378 |
+
"filetoupdate",
|
1379 |
+
"mydomain",
|
1380 |
+
"vhds",
|
1381 |
+
"utdir",
|
1382 |
+
"myaccount",
|
1383 |
+
"testid",
|
1384 |
+
"filea",
|
1385 |
+
"fileb",
|
1386 |
+
"FFFE",
|
1387 |
+
"Fdirectory",
|
1388 |
+
"Ffile",
|
1389 |
+
"Fsubdir",
|
1390 |
+
"Fdir",
|
1391 |
+
"adal",
|
1392 |
+
"mytestshare"
|
1393 |
+
]
|
1394 |
+
},
|
1395 |
+
{
|
1396 |
+
"filename": "sdk/storage/**/_shared/**",
|
1397 |
+
"words": [
|
1398 |
+
"mday",
|
1399 |
+
"ISREG",
|
1400 |
+
"ISLNK",
|
1401 |
+
"struct",
|
1402 |
+
"ints",
|
1403 |
+
"nbytes"
|
1404 |
+
]
|
1405 |
+
},
|
1406 |
+
{
|
1407 |
+
"filename": "sdk/mixedreality/azure-mixedreality-authentication/**",
|
1408 |
+
"words": [
|
1409 |
+
"Ijoi",
|
1410 |
+
"Iiwid"
|
1411 |
+
]
|
1412 |
+
},
|
1413 |
+
{
|
1414 |
+
"filename": "sdk/attestation/azure-security-attestation/**",
|
1415 |
+
"words": [
|
1416 |
+
"MRENCLAVE",
|
1417 |
+
"ECDS",
|
1418 |
+
"kwtype",
|
1419 |
+
"clist",
|
1420 |
+
"mrsigner",
|
1421 |
+
"ECDH",
|
1422 |
+
"TPMs",
|
1423 |
+
"getopenidmetadata",
|
1424 |
+
"getopenidmetadataasync",
|
1425 |
+
"aikcert",
|
1426 |
+
"shareduks"
|
1427 |
+
]
|
1428 |
+
},
|
1429 |
+
{
|
1430 |
+
"filename": "sdk/deviceupdate/azure-iot-deviceupdate/**",
|
1431 |
+
"words": [
|
1432 |
+
"wday",
|
1433 |
+
"mday",
|
1434 |
+
"unflattened",
|
1435 |
+
"deseralize",
|
1436 |
+
"astimezone",
|
1437 |
+
"ctxt",
|
1438 |
+
"Nify"
|
1439 |
+
]
|
1440 |
+
},
|
1441 |
+
{
|
1442 |
+
"filename": "sdk/cosmos/azure-cosmos/**",
|
1443 |
+
"words": [
|
1444 |
+
"colls",
|
1445 |
+
"pkranges",
|
1446 |
+
"Upserts",
|
1447 |
+
"sprocs",
|
1448 |
+
"sproc",
|
1449 |
+
"Tohost",
|
1450 |
+
"appidacr",
|
1451 |
+
"myid",
|
1452 |
+
"mydb",
|
1453 |
+
"mycoll",
|
1454 |
+
"vals",
|
1455 |
+
"testdb",
|
1456 |
+
"globaldb",
|
1457 |
+
"ABCT",
|
1458 |
+
"AAAAABA",
|
1459 |
+
"AACAAAAAAAAAA",
|
1460 |
+
"aad",
|
1461 |
+
"mypk",
|
1462 |
+
"Strin'g",
|
1463 |
+
"Strin",
|
1464 |
+
"qlist",
|
1465 |
+
"DBA's",
|
1466 |
+
"myval",
|
1467 |
+
"mytext",
|
1468 |
+
"cdfg",
|
1469 |
+
"opqrs",
|
1470 |
+
"xjwm",
|
1471 |
+
"paas",
|
1472 |
+
"AQAAAA",
|
1473 |
+
"AQAAAJ",
|
1474 |
+
"unreachability",
|
1475 |
+
"formattableorderbyquery",
|
1476 |
+
"prange",
|
1477 |
+
"sessionlsn",
|
1478 |
+
"referer",
|
1479 |
+
"isquery",
|
1480 |
+
"iscanary",
|
1481 |
+
"RDFE",
|
1482 |
+
"Docoptype",
|
1483 |
+
"mycontainer",
|
1484 |
+
"iscontinuationexpected",
|
1485 |
+
"aalapatirvbd",
|
1486 |
+
"unconfigure",
|
1487 |
+
"undoc"
|
1488 |
+
]
|
1489 |
+
},
|
1490 |
+
{
|
1491 |
+
"filename": "sdk/metricsadvisor/azure-ai-metricsadvisor/**",
|
1492 |
+
"words": [
|
1493 |
+
"POSTGRE",
|
1494 |
+
"tolist",
|
1495 |
+
"cond",
|
1496 |
+
"conds",
|
1497 |
+
"sumrollup",
|
1498 |
+
"adreadonly",
|
1499 |
+
"Shenzen",
|
1500 |
+
"myusername"
|
1501 |
+
]
|
1502 |
+
},
|
1503 |
+
{
|
1504 |
+
"filename": "sdk/ai/azure-ai-resources/**",
|
1505 |
+
"words": [
|
1506 |
+
"azuread",
|
1507 |
+
"all-mpnet-base-v2",
|
1508 |
+
"dtype",
|
1509 |
+
"LLMRAG",
|
1510 |
+
"pipelinerunid",
|
1511 |
+
"pydantic",
|
1512 |
+
"swigfaiss",
|
1513 |
+
"tiktokens",
|
1514 |
+
"tqdm",
|
1515 |
+
"wasb"
|
1516 |
+
]
|
1517 |
+
},
|
1518 |
+
{
|
1519 |
+
"filename": "sdk/core/azure-core/**",
|
1520 |
+
"words": [
|
1521 |
+
"odatav",
|
1522 |
+
"unpicklable",
|
1523 |
+
"reinvesitgate",
|
1524 |
+
"sansio",
|
1525 |
+
"ctxt",
|
1526 |
+
"azcore",
|
1527 |
+
"cafile",
|
1528 |
+
"wbits",
|
1529 |
+
"ctype",
|
1530 |
+
"hdrs",
|
1531 |
+
"rdap",
|
1532 |
+
"chardet",
|
1533 |
+
"redef",
|
1534 |
+
"cvar",
|
1535 |
+
"ryohji",
|
1536 |
+
"jiasli",
|
1537 |
+
"vbarbaresi",
|
1538 |
+
"undoc",
|
1539 |
+
"myuseragent",
|
1540 |
+
"azconfig",
|
1541 |
+
"killpg",
|
1542 |
+
"getpgid",
|
1543 |
+
"Chocolat",
|
1544 |
+
"myusergant",
|
1545 |
+
"nocover",
|
1546 |
+
"Patiño",
|
1547 |
+
"oooooold",
|
1548 |
+
"mytools",
|
1549 |
+
"myattr",
|
1550 |
+
"myvalue",
|
1551 |
+
"Oopsy",
|
1552 |
+
"datav",
|
1553 |
+
"mybytes",
|
1554 |
+
"myid",
|
1555 |
+
"jsonify",
|
1556 |
+
"ints",
|
1557 |
+
"inirudebwoy",
|
1558 |
+
"mghextreme"
|
1559 |
+
]
|
1560 |
+
},
|
1561 |
+
{
|
1562 |
+
"filename": "sdk/cognitiveservices/azure-cognitiveservices-vision-face/azure/cognitiveservices/vision/face/models/*.py",
|
1563 |
+
"words": [
|
1564 |
+
"responsed"
|
1565 |
+
]
|
1566 |
+
},
|
1567 |
+
{
|
1568 |
+
"filename": "sdk/cognitiveservices/azure-cognitiveservices-vision-contentmoderator/azure/cognitiveservices/vision/contentmoderator/operations/*.py",
|
1569 |
+
"words": [
|
1570 |
+
"tfile"
|
1571 |
+
]
|
1572 |
+
},
|
1573 |
+
{
|
1574 |
+
"filename": "sdk/purview/azure-purview-catalog/azure/purview/catalog/aio/operations/*.py",
|
1575 |
+
"words": [
|
1576 |
+
"struct",
|
1577 |
+
"STRUCT",
|
1578 |
+
"nonly",
|
1579 |
+
"nthe",
|
1580 |
+
"reques"
|
1581 |
+
]
|
1582 |
+
},
|
1583 |
+
{
|
1584 |
+
"filename": "sdk/purview/azure-purview-workflow/azure/purview/workflow/_serialization.py",
|
1585 |
+
"words": [
|
1586 |
+
"ctxt",
|
1587 |
+
"wday"
|
1588 |
+
]
|
1589 |
+
},
|
1590 |
+
{
|
1591 |
+
"filename": "sdk/purview/azure-purview-sharing/azure/purview/sharing/_serialization.py",
|
1592 |
+
"words": [
|
1593 |
+
"ctxt",
|
1594 |
+
"wday"
|
1595 |
+
]
|
1596 |
+
},
|
1597 |
+
{
|
1598 |
+
"filename": "sdk/purview/azure-purview-catalog/azure/purview/catalog/operations/*.py",
|
1599 |
+
"words": [
|
1600 |
+
"struct",
|
1601 |
+
"structdef",
|
1602 |
+
"STRUCT",
|
1603 |
+
"nonly",
|
1604 |
+
"nthe",
|
1605 |
+
"reques"
|
1606 |
+
]
|
1607 |
+
},
|
1608 |
+
{
|
1609 |
+
"filename": "sdk/videoanalyzer/azure-media-videoanalyzer-edge/CHANGELOG.md",
|
1610 |
+
"words": [
|
1611 |
+
"ONVIF"
|
1612 |
+
]
|
1613 |
+
},
|
1614 |
+
{
|
1615 |
+
"filename": "sdk/videoanalyzer/azure-media-videoanalyzer-edge/samples/sample_lva.py",
|
1616 |
+
"words": [
|
1617 |
+
"deviceid",
|
1618 |
+
"moduleid",
|
1619 |
+
"onvif",
|
1620 |
+
"Onvif"
|
1621 |
+
]
|
1622 |
+
},
|
1623 |
+
{
|
1624 |
+
"filename": "sdk/confidentialledger/azure-confidentialledger/azure/confidentialledger/_operations/*.py",
|
1625 |
+
"words": [
|
1626 |
+
"mrenclave",
|
1627 |
+
"MRENCLAVE",
|
1628 |
+
"oeverify"
|
1629 |
+
]
|
1630 |
+
},
|
1631 |
+
{
|
1632 |
+
"filename": "sdk/confidentialledger/azure-confidentialledger/azure/confidentialledger/*.py",
|
1633 |
+
"words": [
|
1634 |
+
"Nify",
|
1635 |
+
"ctxt",
|
1636 |
+
"unflattened",
|
1637 |
+
"ctxt",
|
1638 |
+
"wday",
|
1639 |
+
"mday",
|
1640 |
+
"deseralize",
|
1641 |
+
"astimezone"
|
1642 |
+
]
|
1643 |
+
},
|
1644 |
+
{
|
1645 |
+
"filename": "sdk/confidentialledger/azure-confidentialledger/azure/confidentialledger/aio/_operations/*.py",
|
1646 |
+
"words": [
|
1647 |
+
"mrenclave",
|
1648 |
+
"MRENCLAVE",
|
1649 |
+
"oeverify",
|
1650 |
+
"Nify",
|
1651 |
+
"ctxt",
|
1652 |
+
"unflattened",
|
1653 |
+
"wday",
|
1654 |
+
"mday",
|
1655 |
+
"deseralize",
|
1656 |
+
"astimezone"
|
1657 |
+
]
|
1658 |
+
},
|
1659 |
+
{
|
1660 |
+
"filename": "sdk/confidentialledger/azure-confidentialledger/azure/confidentialledger/certificate/*.py",
|
1661 |
+
"words": [
|
1662 |
+
"Nify",
|
1663 |
+
"ctxt",
|
1664 |
+
"unflattened",
|
1665 |
+
"wday",
|
1666 |
+
"mday",
|
1667 |
+
"deseralize",
|
1668 |
+
"wday",
|
1669 |
+
"mday",
|
1670 |
+
"deseralize",
|
1671 |
+
"astimezone"
|
1672 |
+
]
|
1673 |
+
},
|
1674 |
+
{
|
1675 |
+
"filename": "sdk/confidentialledger/azure-confidentialledger/azure/confidentialledger/receipt/*.py",
|
1676 |
+
"words": [
|
1677 |
+
"Nify",
|
1678 |
+
"ctxt",
|
1679 |
+
"unflattened",
|
1680 |
+
"wday",
|
1681 |
+
"mday",
|
1682 |
+
"deseralize",
|
1683 |
+
"astimezone"
|
1684 |
+
]
|
1685 |
+
},
|
1686 |
+
{
|
1687 |
+
"filename": "sdk/confidentialledger/azure-confidentialledger/samples/*.py",
|
1688 |
+
"words": [
|
1689 |
+
"tids",
|
1690 |
+
"MRENCLAVE",
|
1691 |
+
"mrenclave",
|
1692 |
+
"seqno"
|
1693 |
+
]
|
1694 |
+
},
|
1695 |
+
{
|
1696 |
+
"filename": "sdk/confidentialledger/azure-confidentialledger/tests/*.py",
|
1697 |
+
"words": [
|
1698 |
+
"seqno",
|
1699 |
+
"mrenclave",
|
1700 |
+
"infile"
|
1701 |
+
]
|
1702 |
+
},
|
1703 |
+
{
|
1704 |
+
"filename": "sdk/devcenter/azure-developer-devcenter/azure/developer/devcenter/*.py",
|
1705 |
+
"words": [
|
1706 |
+
"Nify",
|
1707 |
+
"ctxt",
|
1708 |
+
"unflattened",
|
1709 |
+
"deseralize",
|
1710 |
+
"wday",
|
1711 |
+
"mros"
|
1712 |
+
]
|
1713 |
+
},
|
1714 |
+
{
|
1715 |
+
"filename": "sdk/devcenter/azure-developer-devcenter/azure/developer/devcenter/models/*.py",
|
1716 |
+
"words": [
|
1717 |
+
"vcpus"
|
1718 |
+
]
|
1719 |
+
},
|
1720 |
+
{
|
1721 |
+
"filename": "sdk/appconfiguration/test-resources.json",
|
1722 |
+
"words": [
|
1723 |
+
"azconfig"
|
1724 |
+
]
|
1725 |
+
},
|
1726 |
+
{
|
1727 |
+
"filename": "sdk/appconfiguration/azure-appconfiguration/**",
|
1728 |
+
"words": [
|
1729 |
+
"kvset"
|
1730 |
+
]
|
1731 |
+
},
|
1732 |
+
{
|
1733 |
+
"filename": "sdk/appconfiguration/azure-appconfiguration/tests/**",
|
1734 |
+
"words": [
|
1735 |
+
"adfsasdfzsd"
|
1736 |
+
]
|
1737 |
+
},
|
1738 |
+
{
|
1739 |
+
"filename": "sdk/personalizer/test-resources.json",
|
1740 |
+
"words": [
|
1741 |
+
"euap"
|
1742 |
+
]
|
1743 |
+
},
|
1744 |
+
{
|
1745 |
+
"filename": "sdk/webpubsub/azure-messaging-webpubsubservice/azure/messaging/webpubsubservice/_serialization.py",
|
1746 |
+
"words": [
|
1747 |
+
"Nify",
|
1748 |
+
"ctxt",
|
1749 |
+
"unflattened",
|
1750 |
+
"wday",
|
1751 |
+
"deseralize"
|
1752 |
+
]
|
1753 |
+
},
|
1754 |
+
{
|
1755 |
+
"filename": "sdk/webpubsub/azure-messaging-webpubsubclient/azure/messaging/webpubsubclient/**/_client.py",
|
1756 |
+
"words": [
|
1757 |
+
"awps"
|
1758 |
+
]
|
1759 |
+
},
|
1760 |
+
{
|
1761 |
+
"filename": "sdk/webpubsub/azure-messaging-webpubsubclient/stress/*.py",
|
1762 |
+
"words": [
|
1763 |
+
"psutil"
|
1764 |
+
]
|
1765 |
+
},
|
1766 |
+
{
|
1767 |
+
"filename": "sdk/contentsafety/azure-ai-contentsafety/azure/ai/contentsafety/*.py",
|
1768 |
+
"words": [
|
1769 |
+
"mros",
|
1770 |
+
"deserializers",
|
1771 |
+
"ctxt",
|
1772 |
+
"wday",
|
1773 |
+
"JSONify",
|
1774 |
+
"Nify"
|
1775 |
+
]
|
1776 |
+
},
|
1777 |
+
{
|
1778 |
+
"filename": "sdk/vision/azure-ai-vision-imageanalysis/azure/ai/vision/imageanalysis/**/*.py",
|
1779 |
+
"words": [
|
1780 |
+
"mros",
|
1781 |
+
"Nify",
|
1782 |
+
"deserializers",
|
1783 |
+
"ctxt",
|
1784 |
+
"wday"
|
1785 |
+
]
|
1786 |
+
},
|
1787 |
+
{
|
1788 |
+
"filename": "sdk/iothub/azure-iot-deviceprovisioning/azure/iot/deviceprovisioning/_serialization.py",
|
1789 |
+
"words": [
|
1790 |
+
"ctxt",
|
1791 |
+
"wday"
|
1792 |
+
]
|
1793 |
+
},
|
1794 |
+
{
|
1795 |
+
"filename": "sdk/purview/azure-purview-datamap/azure/purview/datamap/*.py",
|
1796 |
+
"words": [
|
1797 |
+
"mros",
|
1798 |
+
"Nify",
|
1799 |
+
"deserializers",
|
1800 |
+
"ctxt",
|
1801 |
+
"wday"
|
1802 |
+
]
|
1803 |
+
},
|
1804 |
+
{
|
1805 |
+
"filename": "sdk/translation/azure-ai-translation-document/azure/ai/translation/document/*.py",
|
1806 |
+
"words": [
|
1807 |
+
"mros",
|
1808 |
+
"Nify",
|
1809 |
+
"ctxt",
|
1810 |
+
"wday"
|
1811 |
+
]
|
1812 |
+
},
|
1813 |
+
{
|
1814 |
+
"filename": "sdk/healthinsights/azure-healthinsights-radiologyinsights/**",
|
1815 |
+
"words": [
|
1816 |
+
"ctxt",
|
1817 |
+
"mros",
|
1818 |
+
"Nify",
|
1819 |
+
"loinc",
|
1820 |
+
"wday",
|
1821 |
+
"SNOMED",
|
1822 |
+
"lobulated",
|
1823 |
+
"pericholecystic",
|
1824 |
+
"craniocaudally",
|
1825 |
+
"angiomyolipomas",
|
1826 |
+
"Omnipaque"
|
1827 |
+
]
|
1828 |
+
},
|
1829 |
+
{
|
1830 |
+
"filename": "sdk/face/azure-ai-vision-face/**",
|
1831 |
+
"words": [
|
1832 |
+
"mros",
|
1833 |
+
"Nify",
|
1834 |
+
"ctxt",
|
1835 |
+
"wday",
|
1836 |
+
"faceid",
|
1837 |
+
"facelistid",
|
1838 |
+
"largefacelistid",
|
1839 |
+
"persongroupid",
|
1840 |
+
"largepersongroupid",
|
1841 |
+
"dynamicpersongroupid",
|
1842 |
+
"personid",
|
1843 |
+
"maxnumofcandidatesreturned"
|
1844 |
+
]
|
1845 |
+
},
|
1846 |
+
{
|
1847 |
+
"filename": "sdk/face/azure-ai-vision-face/tests/**",
|
1848 |
+
"words": [
|
1849 |
+
"dcid"
|
1850 |
+
]
|
1851 |
+
},
|
1852 |
+
{
|
1853 |
+
"filename": "sdk/healthdataaiservices/azure-health-deidentification/**",
|
1854 |
+
"words": [
|
1855 |
+
"deid",
|
1856 |
+
"deidservices",
|
1857 |
+
"deidentification",
|
1858 |
+
"healthdataaiservices",
|
1859 |
+
"deidentify",
|
1860 |
+
"deidentified"
|
1861 |
+
]
|
1862 |
+
}
|
1863 |
+
],
|
1864 |
+
"allowCompoundWords": true
|
1865 |
+
}
|
repos/Azure-azure-sdk-for-python-c89899b/CODE_OF_CONDUCT.md
ADDED
@@ -0,0 +1,74 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
# Contributor Covenant Code of Conduct
|
2 |
+
|
3 |
+
## Our Pledge
|
4 |
+
|
5 |
+
In the interest of fostering an open and welcoming environment, we as
|
6 |
+
contributors and maintainers pledge to making participation in our project and
|
7 |
+
our community a harassment-free experience for everyone, regardless of age, body
|
8 |
+
size, disability, ethnicity, gender identity and expression, level of experience,
|
9 |
+
nationality, personal appearance, race, religion, or sexual identity and
|
10 |
+
orientation.
|
11 |
+
|
12 |
+
## Our Standards
|
13 |
+
|
14 |
+
Examples of behavior that contributes to creating a positive environment
|
15 |
+
include:
|
16 |
+
|
17 |
+
* Using welcoming and inclusive language
|
18 |
+
* Being respectful of differing viewpoints and experiences
|
19 |
+
* Gracefully accepting constructive criticism
|
20 |
+
* Focusing on what is best for the community
|
21 |
+
* Showing empathy towards other community members
|
22 |
+
|
23 |
+
Examples of unacceptable behavior by participants include:
|
24 |
+
|
25 |
+
* The use of sexualized language or imagery and unwelcome sexual attention or
|
26 |
+
advances
|
27 |
+
* Trolling, insulting/derogatory comments, and personal or political attacks
|
28 |
+
* Public or private harassment
|
29 |
+
* Publishing others' private information, such as a physical or electronic
|
30 |
+
address, without explicit permission
|
31 |
+
* Other conduct which could reasonably be considered inappropriate in a
|
32 |
+
professional setting
|
33 |
+
|
34 |
+
## Our Responsibilities
|
35 |
+
|
36 |
+
Project maintainers are responsible for clarifying the standards of acceptable
|
37 |
+
behavior and are expected to take appropriate and fair corrective action in
|
38 |
+
response to any instances of unacceptable behavior.
|
39 |
+
|
40 |
+
Project maintainers have the right and responsibility to remove, edit, or
|
41 |
+
reject comments, commits, code, wiki edits, issues, and other contributions
|
42 |
+
that are not aligned to this Code of Conduct, or to ban temporarily or
|
43 |
+
permanently any contributor for other behaviors that they deem inappropriate,
|
44 |
+
threatening, offensive, or harmful.
|
45 |
+
|
46 |
+
## Scope
|
47 |
+
|
48 |
+
This Code of Conduct applies both within project spaces and in public spaces
|
49 |
+
when an individual is representing the project or its community. Examples of
|
50 |
+
representing a project or community include using an official project e-mail
|
51 |
+
address, posting via an official social media account, or acting as an appointed
|
52 |
+
representative at an online or offline event. Representation of a project may be
|
53 |
+
further defined and clarified by project maintainers.
|
54 |
+
|
55 |
+
## Enforcement
|
56 |
+
|
57 |
+
Instances of abusive, harassing, or otherwise unacceptable behavior may be
|
58 |
+
reported by contacting the project team at python@microsoft.com. All
|
59 |
+
complaints will be reviewed and investigated and will result in a response that
|
60 |
+
is deemed necessary and appropriate to the circumstances. The project team is
|
61 |
+
obligated to maintain confidentiality with regard to the reporter of an incident.
|
62 |
+
Further details of specific enforcement policies may be posted separately.
|
63 |
+
|
64 |
+
Project maintainers who do not follow or enforce the Code of Conduct in good
|
65 |
+
faith may face temporary or permanent repercussions as determined by other
|
66 |
+
members of the project's leadership.
|
67 |
+
|
68 |
+
## Attribution
|
69 |
+
|
70 |
+
This Code of Conduct is adapted from the [Contributor Covenant][homepage], version 1.4,
|
71 |
+
available at [https://contributor-covenant.org/version/1/4][version]
|
72 |
+
|
73 |
+
[homepage]: https://contributor-covenant.org
|
74 |
+
[version]: https://contributor-covenant.org/version/1/4/
|
repos/Azure-azure-sdk-for-python-c89899b/CONTRIBUTING.md
ADDED
@@ -0,0 +1,203 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
# Contributing to Azure Python SDK
|
2 |
+
|
3 |
+
If you would like to become an active contributor to this project please
|
4 |
+
follow the instructions provided in [Microsoft Azure Projects Contribution Guidelines](https://opensource.microsoft.com/collaborate/).
|
5 |
+
|
6 |
+
## Generated code
|
7 |
+
|
8 |
+
If you want to contribute to a file that is generated (header contains `Code generated by Microsoft (R) AutoRest Code Generator.`), the best approach to open a PR on the initial Swagger specification, as we can NOT merge a PR on generated code (it would be replaced by next generation). See https://github.com/Azure/azure-rest-api-specs/ for details.
|
9 |
+
|
10 |
+
## Building and Testing
|
11 |
+
|
12 |
+
The Azure SDK team's Python CI leverages the tool `tox` to distribute tests to virtual environments, handle test dependency installation, and coordinate tooling reporting during PR/CI builds. This means that a dev working locally can reproduce _exactly_ what the build machine is doing.
|
13 |
+
|
14 |
+
[A Brief Overview of Tox](https://tox.wiki/en/latest/)
|
15 |
+
|
16 |
+
#### A Monorepo and Tox in Harmony
|
17 |
+
|
18 |
+
Traditionally, the `tox.ini` file for a package sits _alongside the setup.py_ in source code. The `azure-sdk-for-python` necessarily does not adhere to this policy. There are over one-hundred packages contained here-in. That's a lot of `tox.ini` files to maintain!
|
19 |
+
|
20 |
+
Instead, the CI system leverages the `--root` argument which is new to `tox4`. The `--root` argument allows `tox` to act as if the `tox.ini` is located in whatever directory you specify!
|
21 |
+
|
22 |
+
#### Tox Environments
|
23 |
+
|
24 |
+
A given `tox.ini` works on the concept of `test environments`. A given test environment is a combination of:
|
25 |
+
|
26 |
+
1. An identifier (or identifiers)
|
27 |
+
2. A targeted Python version
|
28 |
+
1. `tox` will default to base python executing the `tox` command if no Python environment is specified
|
29 |
+
3. (optionally) an OS platform
|
30 |
+
|
31 |
+
Internally `tox` leverages `virtualenv` to create each test environment's virtual environment.
|
32 |
+
|
33 |
+
This means that once the `tox` workflow is in place, all tests will be executed _within a virtual environment._
|
34 |
+
|
35 |
+
You can use the command `tox list` to list all the environments provided by a `tox.ini` file. You can either use that command in the
|
36 |
+
same directory as the file itself, or use the `--conf` argument to specify the path to it directly.
|
37 |
+
|
38 |
+
|
39 |
+
Sample output of `tox list`:
|
40 |
+
|
41 |
+
```
|
42 |
+
sdk-for-python/eng/tox> tox list
|
43 |
+
default environments:
|
44 |
+
whl -> Builds a wheel and runs tests
|
45 |
+
sdist -> Builds a source distribution and runs tests
|
46 |
+
|
47 |
+
additional environments:
|
48 |
+
pylint -> Lints a package with a pinned version of pylint
|
49 |
+
next-pylint -> Lints a package with pylint (version 2.15.8)
|
50 |
+
mypy -> Typechecks a package with mypy (version 1.9.0)
|
51 |
+
next-mypy -> Typechecks a package with the latest version of mypy
|
52 |
+
pyright -> Typechecks a package with pyright (version 1.1.287)
|
53 |
+
next-pyright -> Typechecks a package with the latest version of static type-checker pyright
|
54 |
+
verifytypes -> Verifies the "type completeness" of a package with pyright
|
55 |
+
whl_no_aio -> Builds a wheel without aio and runs tests
|
56 |
+
develop -> Tests a package
|
57 |
+
sphinx -> Builds a package's documentation with sphinx
|
58 |
+
depends -> Ensures all modules in a target package can be successfully imported
|
59 |
+
verifywhl -> Verify directories included in whl and contents in manifest file
|
60 |
+
verifysdist -> Verify directories included in sdist and contents in manifest file. Also ensures that py.typed configuration is correct within the setup.py
|
61 |
+
devtest -> Tests a package against dependencies installed from a dev index
|
62 |
+
latestdependency -> Tests a package against the released, upper-bound versions of its azure dependencies
|
63 |
+
mindependency -> Tests a package against the released, lower-bound versions of its azure dependencies
|
64 |
+
apistub -> Generate an api stub of a package ( for https://apiview.dev )
|
65 |
+
bandit -> Runs bandit, a tool to find common security issues, against a package
|
66 |
+
samples -> Runs a package's samples
|
67 |
+
breaking -> Runs the breaking changes checker against a package
|
68 |
+
```
|
69 |
+
|
70 |
+
### Example Usage of the common Azure SDK For Python `tox.ini`
|
71 |
+
|
72 |
+
Basic usage of `tox` within this monorepo is:
|
73 |
+
|
74 |
+
1. `pip install "tox<5"`
|
75 |
+
2. Run `tox run -e ENV_NAME -c path/to/tox.ini --root path/to/python_package`
|
76 |
+
* **Note**: You can use environment variables to provide defaults for tox config values
|
77 |
+
* With `TOX_CONFIG_FILE` set to the absolute path of `tox.ini`, you can avoid needing `-c path/to/tox.ini` in your tox invocations
|
78 |
+
* With `TOX_ROOT_DIR` set to the absolute path to your python package, you can avoid needing `--root path/to/python_package`
|
79 |
+
|
80 |
+
The common `tox.ini` location is `eng/tox/tox.ini` within the repository.
|
81 |
+
|
82 |
+
If at any time you want to blow away the tox created virtual environments and start over, simply append `-r` to any tox invocation!
|
83 |
+
|
84 |
+
#### Example `azure-core` mypy
|
85 |
+
|
86 |
+
1. Run `tox run -e mypy -c ./eng/tox/tox.ini --root sdk/core/azure-core`
|
87 |
+
|
88 |
+
#### Example `azure-storage-blob` tests
|
89 |
+
|
90 |
+
2. Execute `tox run -c ./eng/tox/tox.ini --root sdk/storage/azure-storage-blob`
|
91 |
+
|
92 |
+
Note that we didn't provide an `environment` argument for this example. Reason here is that the _default_ environment selected by our common `tox.ini` file is one that runs `pytest`.
|
93 |
+
|
94 |
+
#### `whl` environment
|
95 |
+
Used for test execution across the spectrum of all the platforms we want to support. Maintained at a `platform specific` level just in case we run into platform-specific bugs.
|
96 |
+
|
97 |
+
* Installs the wheel, runs tests using the wheel
|
98 |
+
|
99 |
+
```
|
100 |
+
\> tox run -e whl -c <path to tox.ini> --root <path to python package>
|
101 |
+
|
102 |
+
```
|
103 |
+
|
104 |
+
#### `sdist` environment
|
105 |
+
Used for the local dev loop.
|
106 |
+
|
107 |
+
* Installs package in editable mode
|
108 |
+
* Runs tests using the editable mode installation, not the wheel
|
109 |
+
|
110 |
+
```
|
111 |
+
|
112 |
+
\> tox run -e sdist -c <path to tox.ini> --root <path to python package>
|
113 |
+
|
114 |
+
```
|
115 |
+
|
116 |
+
#### `pylint` environment
|
117 |
+
Pylint install and run.
|
118 |
+
|
119 |
+
```
|
120 |
+
\> tox run -e pylint -c <path to tox.ini> --root <path to python package>
|
121 |
+
```
|
122 |
+
|
123 |
+
|
124 |
+
#### `mypy` environment
|
125 |
+
Mypy install and run.
|
126 |
+
|
127 |
+
```
|
128 |
+
\> tox run -e mypy -c <path to tox.ini> --root <path to python package>
|
129 |
+
```
|
130 |
+
|
131 |
+
#### `sphinx` environment
|
132 |
+
Generate sphinx doc for this package.
|
133 |
+
|
134 |
+
```
|
135 |
+
\> tox run -e sphinx -c <path to tox.ini> --root <path to python package>
|
136 |
+
```
|
137 |
+
|
138 |
+
### Custom Pytest Arguments
|
139 |
+
|
140 |
+
`tox` supports custom arguments, and the defined pytest environments within the common `tox.ini` also allow these. Essentially, separate the arguments you want passed to `pytest` by a `--` in your tox invocation.
|
141 |
+
|
142 |
+
[Tox Documentation on Positional Arguments](https://tox.wiki/en/latest/config.html#substitutions-for-positional-arguments-in-commands)
|
143 |
+
|
144 |
+
**Example: Invoke tox, breaking into the debugger on failure**
|
145 |
+
`tox run -e whl -c <path to tox.ini> --root <path to python package> -- --pdb`
|
146 |
+
|
147 |
+
### Performance Testing
|
148 |
+
|
149 |
+
SDK performance testing is supported via the custom `perfstress` framework. For full details on this framework, and how to write and run tests for an SDK - see the [perfstress tests documentation](https://github.com/Azure/azure-sdk-for-python/blob/main/doc/dev/perfstress_tests.md).
|
150 |
+
|
151 |
+
### More Reading
|
152 |
+
|
153 |
+
We maintain an [additional document](https://github.com/Azure/azure-sdk-for-python/blob/main/doc/eng_sys_checks.md) that has a ton of detail as to what is actually _happening_ in these executions.
|
154 |
+
|
155 |
+
### Dev Feed
|
156 |
+
Daily dev build version of Azure sdk packages for python are available and are uploaded to Azure devops feed daily. We have also created a tox environment to test a package against dev built version of dependent packages. Below is the link to Azure devops feed.
|
157 |
+
[`https://dev.azure.com/azure-sdk/public/_packaging?_a=feed&feed=azure-sdk-for-python`](https://dev.azure.com/azure-sdk/public/_packaging?_a=feed&feed=azure-sdk-for-python)
|
158 |
+
|
159 |
+
##### To install latest dev build version of a package
|
160 |
+
```
|
161 |
+
pip install <package-name> --extra-index-url https://pkgs.dev.azure.com/azure-sdk/public/_packaging/azure-sdk-for-python/pypi/simple --pre
|
162 |
+
```
|
163 |
+
|
164 |
+
#### To Install a specific dev build version of a package
|
165 |
+
For e.g.
|
166 |
+
```
|
167 |
+
pip install azure-appconfiguration==1.0.0b6.dev20191205001 --extra-index-url https://pkgs.dev.azure.com/azure-sdk/public/_packaging/azure-sdk-for-python/pypi/simple
|
168 |
+
```
|
169 |
+
|
170 |
+
To test a package being developed against latest dev build version of dependent packages:
|
171 |
+
a. cd to package root folder
|
172 |
+
b. run tox environment devtest
|
173 |
+
|
174 |
+
```
|
175 |
+
\> tox run -e devtest -c <path to tox.ini> --root <path to python package>
|
176 |
+
```
|
177 |
+
|
178 |
+
This tox test( devtest) will fail if installed dependent packages are not dev build version.
|
179 |
+
|
180 |
+
## Samples
|
181 |
+
|
182 |
+
### Third-party dependencies
|
183 |
+
|
184 |
+
Third party libraries should only be included in samples when necessary to demonstrate usage of an Azure SDK package; they should not be suggested or endorsed as alternatives to the Azure SDK.
|
185 |
+
|
186 |
+
When code samples take dependencies, readers should be able to use the material without significant license burden or research on terms. This goal requires restricting dependencies to certain types of open source or commercial licenses.
|
187 |
+
|
188 |
+
Samples may take the following categories of dependencies:
|
189 |
+
|
190 |
+
- **Open-source** : Open source offerings that use an [Open Source Initiative (OSI) approved license](https://opensource.org/licenses). Any component whose license isn't OSI-approved is considered a commercial offering. Prefer OSS projects that are members of any of the [OSS foundations that Microsoft is part of](https://opensource.microsoft.com/ecosystem/). Prefer permissive licenses for libraries, like [MIT](https://opensource.org/license/MIT) and [Apache 2](https://opensource.org/license/apache-2-0). Copy-left licenses like [GPLv3](https://opensource.org/license/gpl-3-0) are acceptable for tools, and OSs. [Kubernetes](https://github.com/kubernetes/kubernetes), [Linux](https://github.com/torvalds/linux), and [Newtonsoft.Json](https://github.com/JamesNK/Newtonsoft.Json) are examples of this license type. Links to open source components should be to where the source is hosted, including any applicable license, such as a GitHub repository (or similar).
|
191 |
+
|
192 |
+
- **Commercial**: Commercial offerings that enable readers to learn from our content without unnecessary extra costs. Typically, the offering has some form of a community edition, or a free trial sufficient for its use in content. A commercial license may be a form of dual-license, or tiered license. Links to commercial components should be to the commercial site for the software, even if the source software is hosted publicly on GitHub (or similar).
|
193 |
+
|
194 |
+
- **Dual licensed**: Commercial offerings that enable readers to choose either license based on their needs. For example, if the offering has an OSS and commercial license, readers can choose between them. [MySql](https://github.com/mysql/mysql-server) is an example of this license type.
|
195 |
+
|
196 |
+
- **Tiered licensed**: Offerings that enable readers to use the license tier that corresponds to their characteristics. For example, tiers may be available for students, hobbyists, or companies with defined revenue thresholds. For offerings with tiered licenses, strive to limit our use in tutorials to the features available in the lowest tier. This policy enables the widest audience for the article. [Docker](https://www.docker.com/), [IdentityServer](https://duendesoftware.com/products/identityserver), [ImageSharp](https://sixlabors.com/products/imagesharp/), and [Visual Studio](https://visualstudio.com) are examples of this license type.
|
197 |
+
|
198 |
+
In general, we prefer taking dependencies on licensed components in the order of the listed categories. In cases where the category may not be well known, we'll document the category so that readers understand the choice that they're making by using that dependency.
|
199 |
+
|
200 |
+
## Code of Conduct
|
201 |
+
This project's code of conduct can be found in the
|
202 |
+
[CODE_OF_CONDUCT.md file](https://github.com/Azure/azure-sdk-for-python/blob/main/CODE_OF_CONDUCT.md)
|
203 |
+
(v1.4.0 of the https://contributor-covenant.org/ CoC).
|
repos/Azure-azure-sdk-for-python-c89899b/LICENSE
ADDED
@@ -0,0 +1,21 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
Copyright (c) Microsoft Corporation.
|
2 |
+
|
3 |
+
MIT License
|
4 |
+
|
5 |
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
6 |
+
of this software and associated documentation files (the "Software"), to deal
|
7 |
+
in the Software without restriction, including without limitation the rights
|
8 |
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
9 |
+
copies of the Software, and to permit persons to whom the Software is
|
10 |
+
furnished to do so, subject to the following conditions:
|
11 |
+
|
12 |
+
The above copyright notice and this permission notice shall be included in all
|
13 |
+
copies or substantial portions of the Software.
|
14 |
+
|
15 |
+
THE SOFTWARE IS PROVIDED *AS IS*, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
16 |
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
17 |
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
18 |
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
19 |
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
20 |
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
21 |
+
SOFTWARE.
|
repos/Azure-azure-sdk-for-python-c89899b/NOTICE.txt
ADDED
@@ -0,0 +1,17 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
NOTICES AND INFORMATION
|
2 |
+
Do Not Translate or Localize
|
3 |
+
|
4 |
+
This software incorporates material from third parties. Microsoft makes certain
|
5 |
+
open source code available at https://3rdpartysource.microsoft.com, or you may
|
6 |
+
send a check or money order for US $5.00, including the product name, the open
|
7 |
+
source component name, and version number, to:
|
8 |
+
|
9 |
+
Source Code Compliance Team
|
10 |
+
Microsoft Corporation
|
11 |
+
One Microsoft Way
|
12 |
+
Redmond, WA 98052
|
13 |
+
USA
|
14 |
+
|
15 |
+
Notwithstanding any other terms, you may reverse engineer this software to the
|
16 |
+
extent required to debug changes to any libraries licensed under the GNU Lesser
|
17 |
+
General Public License.
|
repos/Azure-azure-sdk-for-python-c89899b/README.md
ADDED
@@ -0,0 +1,77 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
# Azure SDK for Python
|
2 |
+
|
3 |
+
[![Packages](https://img.shields.io/badge/packages-latest-blue.svg)](https://azure.github.io/azure-sdk/releases/latest/python.html) [![Dependencies](https://img.shields.io/badge/dependency-report-blue.svg)](https://azuresdkartifacts.blob.core.windows.net/azure-sdk-for-python/dependencies/dependencies.html) [![DepGraph](https://img.shields.io/badge/dependency-graph-blue.svg)](https://azuresdkartifacts.blob.core.windows.net/azure-sdk-for-python/dependencies/dependencyGraph/index.html) [![Python](https://img.shields.io/pypi/pyversions/azure-core.svg?maxAge=2592000)](https://pypi.python.org/pypi/azure/) [![Build Status](https://dev.azure.com/azure-sdk/public/_apis/build/status/python/python%20-%20core%20-%20ci?branchName=main)](https://dev.azure.com/azure-sdk/public/_build/latest?definitionId=458&branchName=main)
|
4 |
+
|
5 |
+
This repository is for the active development of the Azure SDK for Python. For consumers of the SDK we recommend visiting our [public developer docs](https://docs.microsoft.com/python/azure/) or our versioned [developer docs](https://azure.github.io/azure-sdk-for-python).
|
6 |
+
|
7 |
+
## _Disclaimer_
|
8 |
+
|
9 |
+
_Azure SDK Python packages support for Python 2.7 has ended 01 January 2022. For more information and questions, please refer to https://github.com/Azure/azure-sdk-for-python/issues/20691_
|
10 |
+
|
11 |
+
## Getting started
|
12 |
+
|
13 |
+
For your convenience, each service has a separate set of libraries that you can choose to use instead of one, large Azure package. To get started with a specific library, see the `README.md` (or `README.rst`) file located in the library's project folder.
|
14 |
+
|
15 |
+
You can find service libraries in the `/sdk` directory.
|
16 |
+
|
17 |
+
### Prerequisites
|
18 |
+
|
19 |
+
The client libraries are supported on Python 3.8 or later. For more details, please read our page on [Azure SDK for Python version support policy](https://github.com/Azure/azure-sdk-for-python/wiki/Azure-SDKs-Python-version-support-policy).
|
20 |
+
|
21 |
+
## Packages available
|
22 |
+
|
23 |
+
Each service might have a number of libraries available from each of the following categories:
|
24 |
+
* [Client - New Releases](#client-new-releases)
|
25 |
+
* [Client - Previous Versions](#client-previous-versions)
|
26 |
+
* [Management - New Releases](#management-new-releases)
|
27 |
+
* [Management - Previous Versions](#management-previous-versions)
|
28 |
+
|
29 |
+
### Client: New Releases
|
30 |
+
|
31 |
+
New wave of packages that we are announcing as **GA** and several that are currently releasing in **preview**. These libraries allow you to use and consume existing resources and interact with them, for example: upload a blob. These libraries share several core functionalities such as: retries, logging, transport protocols, authentication protocols, etc. that can be found in the [azure-core](https://github.com/Azure/azure-sdk-for-python/blob/main/sdk/core/azure-core) library. You can learn more about these libraries by reading guidelines that they follow [here](https://azure.github.io/azure-sdk/python/guidelines/index.html).
|
32 |
+
|
33 |
+
You can find the [most up to date list of all of the new packages on our page](https://azure.github.io/azure-sdk/releases/latest/index.html#python)
|
34 |
+
|
35 |
+
> NOTE: If you need to ensure your code is ready for production use one of the stable, non-preview libraries.
|
36 |
+
|
37 |
+
### Client: Previous Versions
|
38 |
+
|
39 |
+
Last stable versions of packages that have been provided for usage with Azure and are production-ready. These libraries provide you with similar functionalities to the Preview ones as they allow you to use and consume existing resources and interact with them, for example: upload a blob. They might not implement the [guidelines](https://azure.github.io/azure-sdk/python/guidelines/index.html) or have the same feature set as the November releases. They do however offer wider coverage of services.
|
40 |
+
|
41 |
+
### Management: New Releases
|
42 |
+
A new set of management libraries that follow the [Azure SDK Design Guidelines for Python](https://azure.github.io/azure-sdk/python/guidelines/) are now available. These new libraries provide a number of core capabilities that are shared amongst all Azure SDKs, including the intuitive Azure Identity library, an HTTP Pipeline with custom policies, error-handling, distributed tracing, and much more.
|
43 |
+
Documentation and code samples for these new libraries can be found [here](https://aka.ms/azsdk/python/mgmt). In addition, a migration guide that shows how to transition from older versions of libraries is located [here](https://github.com/Azure/azure-sdk-for-python/blob/main/doc/sphinx/mgmt_quickstart.rst#migration-guide).
|
44 |
+
|
45 |
+
You can find the [most up to date list of all of the new packages on our page](https://azure.github.io/azure-sdk/releases/latest/mgmt/python.html)
|
46 |
+
|
47 |
+
> NOTE: If you need to ensure your code is ready for production use one of the stable, non-preview libraries. Also, if you are experiencing authentication issues with the management libraries after upgrading certain packages, it's possible that you upgraded to the new versions of SDK without changing the authentication code, please refer to the migration guide mentioned above for proper instructions.
|
48 |
+
|
49 |
+
### Management: Previous Versions
|
50 |
+
For a complete list of management libraries that enable you to provision and manage Azure resources, please [check here](https://azure.github.io/azure-sdk/releases/latest/all/python.html). They might not have the same feature set as the new releases but they do offer wider coverage of services.
|
51 |
+
Management libraries can be identified by namespaces that start with `azure-mgmt-`, e.g. `azure-mgmt-compute`
|
52 |
+
|
53 |
+
## Need help?
|
54 |
+
|
55 |
+
* For detailed documentation visit our [Azure SDK for Python documentation](https://aka.ms/python-docs)
|
56 |
+
* File an issue via [GitHub Issues](https://github.com/Azure/azure-sdk-for-python/issues)
|
57 |
+
* Check [previous questions](https://stackoverflow.com/questions/tagged/azure+python) or ask new ones on StackOverflow using `azure` and `python` tags.
|
58 |
+
|
59 |
+
### Reporting security issues and security bugs
|
60 |
+
|
61 |
+
Security issues and bugs should be reported privately, via email, to the Microsoft Security Response Center (MSRC) <secure@microsoft.com>. You should receive a response within 24 hours. If for some reason you do not, please follow up via email to ensure we received your original message. Further information, including the MSRC PGP key, can be found in the [Security TechCenter](https://www.microsoft.com/msrc/faqs-report-an-issue).
|
62 |
+
|
63 |
+
## Contributing
|
64 |
+
|
65 |
+
For details on contributing to this repository, see the [contributing guide](https://github.com/Azure/azure-sdk-for-python/blob/main/CONTRIBUTING.md).
|
66 |
+
|
67 |
+
This project welcomes contributions and suggestions. Most contributions require you to agree to a Contributor License Agreement (CLA) declaring that you have the right to, and actually do, grant us the rights to use your contribution. For details, visit
|
68 |
+
https://cla.microsoft.com.
|
69 |
+
|
70 |
+
When you submit a pull request, a CLA-bot will automatically determine whether you need to provide a CLA and decorate the PR appropriately (e.g., label, comment). Simply follow the instructions provided by the bot. You will only need to do this once across all repositories using our CLA.
|
71 |
+
|
72 |
+
This project has adopted the [Microsoft Open Source Code of Conduct](https://opensource.microsoft.com/codeofconduct/).
|
73 |
+
For more information see the [Code of Conduct FAQ](https://opensource.microsoft.com/codeofconduct/faq/)
|
74 |
+
or contact [opencode@microsoft.com](mailto:opencode@microsoft.com) with any additional questions or comments.
|
75 |
+
|
76 |
+
![Impressions](https://azure-sdk-impressions.azurewebsites.net/api/impressions/azure-sdk-for-python%2FREADME.png)
|
77 |
+
|
repos/Azure-azure-sdk-for-python-c89899b/README.rst
ADDED
@@ -0,0 +1,93 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
Microsoft Azure SDK for Python
|
2 |
+
==============================
|
3 |
+
|
4 |
+
.. image:: https://img.shields.io/pypi/v/azure.svg?maxAge=2592000
|
5 |
+
:target: https://pypi.python.org/pypi/azure/
|
6 |
+
|
7 |
+
.. image:: https://img.shields.io/pypi/pyversions/azure.svg?maxAge=2592000
|
8 |
+
:target: https://pypi.python.org/pypi/azure/
|
9 |
+
|
10 |
+
.. image:: https://dev.azure.com/azure-sdk/public/_apis/build/status/46?branchName=main
|
11 |
+
:target: https://dev.azure.com/azure-sdk/public/_build/latest?definitionId=46&branchName=main
|
12 |
+
|
13 |
+
.. image:: https://img.shields.io/badge/dependencies-analyzed-blue.svg
|
14 |
+
:target: https://azuresdkartifacts.blob.core.windows.net/azure-sdk-for-python/dependencies/dependencies.html
|
15 |
+
|
16 |
+
This project provides a set of Python packages that make it easy to
|
17 |
+
access Management (Virtual Machines, ...) or Runtime (ServiceBus using HTTP, Batch, Monitor) components of
|
18 |
+
`Microsoft Azure <https://azure.microsoft.com/>`_
|
19 |
+
Complete feature list of this repo and where to find Python packages not in this repo can be found on our
|
20 |
+
`Azure SDK for Python documentation <https://docs.microsoft.com/python/api/overview/azure/?view=azure-python>`__.
|
21 |
+
|
22 |
+
The SDK supports Python 3.7 or later. For more details, please read our page on `Azure SDK for Python version support policy <https://github.com/Azure/azure-sdk-for-python/wiki/Azure-SDKs-Python-version-support-policy>`__.
|
23 |
+
|
24 |
+
If you're currently using the ``azure`` package < 1.0 then please read important information in `this issue <https://github.com/Azure/azure-sdk-for-python/issues/440>`__.
|
25 |
+
|
26 |
+
|
27 |
+
INSTALLATION
|
28 |
+
============
|
29 |
+
|
30 |
+
You can install each Azure service's library individually:
|
31 |
+
|
32 |
+
.. code-block:: console
|
33 |
+
|
34 |
+
$ pip install azure-batch # Install the latest Batch runtime library
|
35 |
+
$ pip install azure-mgmt-storage # Install the latest Storage management library
|
36 |
+
|
37 |
+
Preview packages can be installed using the ``--pre`` flag:
|
38 |
+
|
39 |
+
.. code-block:: console
|
40 |
+
|
41 |
+
$ pip install --pre azure-mgmt-compute # will install only the latest Compute Management library
|
42 |
+
|
43 |
+
|
44 |
+
The full list of available packages and their latest version can be found on our
|
45 |
+
`documentation on docs.microsoft.com <https://docs.microsoft.com/python/azure/>`__
|
46 |
+
|
47 |
+
If you want to install all packages of the repo from source::
|
48 |
+
|
49 |
+
git clone git://github.com/Azure/azure-sdk-for-python.git
|
50 |
+
cd azure-sdk-for-python
|
51 |
+
python setup.py install
|
52 |
+
|
53 |
+
Usage
|
54 |
+
=====
|
55 |
+
|
56 |
+
For detailed documentation, please view our `documentation on docs.microsoft.com <https://docs.microsoft.com/python/azure/>`__.
|
57 |
+
|
58 |
+
For further samples please visit the `Azure Samples website <https://azure.microsoft.com/resources/samples/?platform=python>`__.
|
59 |
+
|
60 |
+
Tests
|
61 |
+
=====
|
62 |
+
|
63 |
+
For detailed documentation about our test framework, please visit this `Azure SDK test tutorial <https://github.com/Azure/azure-sdk-for-python/wiki/Contributing-to-the-tests>`__.
|
64 |
+
|
65 |
+
Need Help?
|
66 |
+
==========
|
67 |
+
|
68 |
+
Be sure to check out the Microsoft Azure `Developer Forums on Stack Overflow <http://go.microsoft.com/fwlink/?LinkId=234489>`__
|
69 |
+
if you have trouble with the provided code. Most questions are tagged `azure and python <https://stackoverflow.com/questions/tagged/azure+python>`__.
|
70 |
+
|
71 |
+
|
72 |
+
Contribute Code or Provide Feedback
|
73 |
+
===================================
|
74 |
+
|
75 |
+
If you would like to become an active contributor to this project please
|
76 |
+
follow the instructions provided in `Microsoft Azure Projects Contribution Guidelines <http://azure.github.io/guidelines/>`__.
|
77 |
+
|
78 |
+
If you encounter any bugs with the library please file an issue in the
|
79 |
+
`Issues <https://github.com/Azure/azure-sdk-for-python/issues>`__
|
80 |
+
section of the project.
|
81 |
+
|
82 |
+
Code of Conduct
|
83 |
+
===============
|
84 |
+
|
85 |
+
This project has adopted the `Microsoft Open Source Code of Conduct <https://opensource.microsoft.com/codeofconduct/>`__. For more information see the `Code of Conduct FAQ <https://opensource.microsoft.com/codeofconduct/faq/>`__ or contact `opencode@microsoft.com <mailto:opencode@microsoft.com>`__ with any additional questions or comments.
|
86 |
+
|
87 |
+
Learn More
|
88 |
+
==========
|
89 |
+
|
90 |
+
`Microsoft Azure Python Developer Center <http://azure.microsoft.com/en-us/develop/python/>`__
|
91 |
+
|
92 |
+
|
93 |
+
.. image:: https://azure-sdk-impressions.azurewebsites.net/api/impressions/azure-sdk-for-python%2FREADME.png
|
repos/Azure-azure-sdk-for-python-c89899b/SECURITY.md
ADDED
@@ -0,0 +1,41 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<!-- BEGIN MICROSOFT SECURITY.MD V0.0.5 BLOCK -->
|
2 |
+
|
3 |
+
## Security
|
4 |
+
|
5 |
+
Microsoft takes the security of our software products and services seriously, which includes all source code repositories managed through our GitHub organizations, which include [Microsoft](https://github.com/Microsoft), [Azure](https://github.com/Azure), [DotNet](https://github.com/dotnet), [AspNet](https://github.com/aspnet), [Xamarin](https://github.com/xamarin), and [our GitHub organizations](https://opensource.microsoft.com/).
|
6 |
+
|
7 |
+
If you believe you have found a security vulnerability in any Microsoft-owned repository that meets [Microsoft's definition of a security vulnerability](https://docs.microsoft.com/previous-versions/tn-archive/cc751383(v=technet.10)), please report it to us as described below.
|
8 |
+
|
9 |
+
## Reporting Security Issues
|
10 |
+
|
11 |
+
**Please do not report security vulnerabilities through public GitHub issues.**
|
12 |
+
|
13 |
+
Instead, please report them to the Microsoft Security Response Center (MSRC) at [https://msrc.microsoft.com/create-report](https://msrc.microsoft.com/create-report).
|
14 |
+
|
15 |
+
If you prefer to submit without logging in, send email to [secure@microsoft.com](mailto:secure@microsoft.com). If possible, encrypt your message with our PGP key; please download it from the [Microsoft Security Response Center PGP Key page](https://www.microsoft.com/msrc/pgp-key-msrc).
|
16 |
+
|
17 |
+
You should receive a response within 24 hours. If for some reason you do not, please follow up via email to ensure we received your original message. Additional information can be found at [microsoft.com/msrc](https://www.microsoft.com/msrc).
|
18 |
+
|
19 |
+
Please include the requested information listed below (as much as you can provide) to help us better understand the nature and scope of the possible issue:
|
20 |
+
|
21 |
+
* Type of issue (e.g. buffer overflow, SQL injection, cross-site scripting, etc.)
|
22 |
+
* Full paths of source file(s) related to the manifestation of the issue
|
23 |
+
* The location of the affected source code (tag/branch/commit or direct URL)
|
24 |
+
* Any special configuration required to reproduce the issue
|
25 |
+
* Step-by-step instructions to reproduce the issue
|
26 |
+
* Proof-of-concept or exploit code (if possible)
|
27 |
+
* Impact of the issue, including how an attacker might exploit the issue
|
28 |
+
|
29 |
+
This information will help us triage your report more quickly.
|
30 |
+
|
31 |
+
If you are reporting for a bug bounty, more complete reports can contribute to a higher bounty award. Please visit our [Microsoft Bug Bounty Program](https://microsoft.com/msrc/bounty) page for more details about our active programs.
|
32 |
+
|
33 |
+
## Preferred Languages
|
34 |
+
|
35 |
+
We prefer all communications to be in English.
|
36 |
+
|
37 |
+
## Policy
|
38 |
+
|
39 |
+
Microsoft follows the principle of [Coordinated Vulnerability Disclosure](https://www.microsoft.com/msrc/cvd).
|
40 |
+
|
41 |
+
<!-- END MICROSOFT SECURITY.MD BLOCK -->
|
repos/Azure-azure-sdk-for-python-c89899b/SUPPORT.md
ADDED
@@ -0,0 +1,31 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
# Support
|
2 |
+
|
3 |
+
## How to file issues and get help
|
4 |
+
|
5 |
+
Customers with an [Azure support plan](https://azure.microsoft.com/support/options/) can open an [Azure support ticket](https://azure.microsoft.com/support/create-ticket/).
|
6 |
+
**We recommend this option if your problem requires immediate attention.**
|
7 |
+
|
8 |
+
### Github issues
|
9 |
+
We use [GitHub Issues](https://github.com/Azure/azure-sdk-for-python/issues/new/choose) to track bugs, questions, and feature requests.
|
10 |
+
GitHub issues are free, but **response time is not guaranteed.** See [GitHub issues support process](https://devblogs.microsoft.com/azure-sdk/github-issue-support-process/) for more details.
|
11 |
+
|
12 |
+
To ensure the relevance and manageability of our issue queue, we have an automated process that will close issues that are over two years old and have not been updated in the last 30 days. This measure is designed to help us respond to and resolve current issues more efficiently. We appreciate your understanding and cooperation in maintaining a focused and up-to-date issue tracking system.
|
13 |
+
|
14 |
+
### Community resources
|
15 |
+
- Search for similar issues in [our GitHub repository](https://github.com/Azure/azure-sdk-for-python/issues)
|
16 |
+
- Ask a question on [StackOverflow](https://stackoverflow.com/questions/tagged/azure-sdk-python) and tag it with azure-sdk-python
|
17 |
+
- Share or upvote feature requests on [Feedback Page](https://feedback.azure.com/forums/34192--general-feedback).
|
18 |
+
- Take a look at the [Azure SDK blog](https://devblogs.microsoft.com/azure-sdk/).
|
19 |
+
- Chat with other community members on [gitter](https://gitter.im/Azure/azure-sdk-for-python?source=orgpage)
|
20 |
+
- Ask a question on [Twitter](https://twitter.com/AzureSDK)
|
21 |
+
- Ask a question at [Microsoft Q&A](https://docs.microsoft.com/answers/products/azure?WT.mc_id=Portal-Microsoft_Azure_Support&product=all)
|
22 |
+
- Ask a question at [Microsoft Tech Community](https://techcommunity.microsoft.com/t5/azure/ct-p/Azure)
|
23 |
+
|
24 |
+
### Security bugs
|
25 |
+
Security issues and bugs should be reported privately, via email, to the Microsoft Security Response Center(secure@microsoft.com).
|
26 |
+
You should receive a response within 24 hours.
|
27 |
+
Further information, including the MSRC PGP key, can be found in the [Security TechCenter](https://www.microsoft.com/msrc/faqs-report-an-issue?rtc=1)
|
28 |
+
|
29 |
+
## Microsoft Support Policy
|
30 |
+
|
31 |
+
Please refer to [Azure SDK Support and Lifecycle information](https://azure.github.io/azure-sdk/policies_support.html)
|
repos/Azure-azure-sdk-for-python-c89899b/ci_template.yml
ADDED
@@ -0,0 +1,33 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
# DO NOT EDIT THIS FILE
|
2 |
+
# This file is generated automatically and any changes will be lost.
|
3 |
+
|
4 |
+
trigger:
|
5 |
+
branches:
|
6 |
+
include:
|
7 |
+
- main
|
8 |
+
- hotfix/*
|
9 |
+
- release/*
|
10 |
+
- restapi*
|
11 |
+
paths:
|
12 |
+
include:
|
13 |
+
- sdk/MyService/
|
14 |
+
|
15 |
+
pr:
|
16 |
+
branches:
|
17 |
+
include:
|
18 |
+
- main
|
19 |
+
- feature/*
|
20 |
+
- hotfix/*
|
21 |
+
- release/*
|
22 |
+
- restapi*
|
23 |
+
paths:
|
24 |
+
include:
|
25 |
+
- sdk/MyService/
|
26 |
+
|
27 |
+
extends:
|
28 |
+
template: ../../eng/pipelines/templates/stages/archetype-sdk-client.yml
|
29 |
+
parameters:
|
30 |
+
ServiceDirectory: MyService
|
31 |
+
Artifacts:
|
32 |
+
- name: azure-mgmt-MyService
|
33 |
+
safeName: azuremgmtMyService
|
repos/Azure-azure-sdk-for-python-c89899b/common/smoketest/README.md
ADDED
@@ -0,0 +1,136 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
# Azure Smoke Test for Python
|
2 |
+
This sample code is a smoke test to ensure that Azure Preview for Python work while loaded into the same process by performing 2 or more actions with them.
|
3 |
+
|
4 |
+
Libraries tested:
|
5 |
+
* keyvault-secrets
|
6 |
+
* identity
|
7 |
+
* storage-blob
|
8 |
+
* event-hubs
|
9 |
+
* cosmos
|
10 |
+
|
11 |
+
## Getting started
|
12 |
+
### Setup Azure resources
|
13 |
+
For this sample, it is necessary to create/have the following resources in the [Azure Portal](https://portal.azure.com/):
|
14 |
+
* **App registration**: Register a new app or use an existing one.
|
15 |
+
* Under _Certificates & secrets_ create a new **client secret** and store the value in a safe place.
|
16 |
+
* **Key Vaults**: Create a new Key Vault resource or use an existing one.
|
17 |
+
* Under _Access policies_, add the app registrated in the previous step.
|
18 |
+
* **Storage acounts**: Create a container in a new or existing storage account. The container in this sample is named "mycontainer", if you want to use other name you can change the value in `BlobStorage.ts` file:
|
19 |
+
`const containerName = "mycontainer";`
|
20 |
+
* **Event Hubs**: Create an event hub inside a new or existing Event Hubs Namespace. The container in this sample is named "myeventhub", if you want to use other name you can change the value in `EventHubsTest.ts` file: `let eventHubName = "myeventhub";`
|
21 |
+
* **Azure Cosmos DB**: Create a new account or use an existing one.
|
22 |
+
|
23 |
+
### Azure credentials
|
24 |
+
The following environment variables are needed:
|
25 |
+
* From **App Registration**, in the _Overview_ section:
|
26 |
+
* AZURE_TENANT_ID: The directory tentant ID.
|
27 |
+
* AZURE_CLIENT_ID: The application ID.
|
28 |
+
* AZURE_CLIENT_SECRET: The client secret stored previusly when creating the _client secret_.
|
29 |
+
|
30 |
+
* From **Key Vault**, in the _Overview_ section:
|
31 |
+
* AZURE_PROJECT_URL: The DNS Name
|
32 |
+
|
33 |
+
* From **Event Hubs**, in _Shared access policies_ section:
|
34 |
+
* EVENT_HUBS_CONNECTION_STRING: Connection string from a policy
|
35 |
+
|
36 |
+
* From **Storage Account**, in the _Access Keys_ section:
|
37 |
+
* STORAGE_CONNECTION_STRING : A connection strings.
|
38 |
+
|
39 |
+
* From **Azure Cosmos DB**, in the _Keys_ section, select the _Read-Write Keys_ tab:
|
40 |
+
* COSMOS_ENDPOINT: URI.
|
41 |
+
* COSMOS_KEY: Primary or secondary key.
|
42 |
+
|
43 |
+
```
|
44 |
+
# Bash code to create the environment variables
|
45 |
+
export AZURE_CLIENT_ID=""
|
46 |
+
export AZURE_CLIENT_SECRET=""
|
47 |
+
export AZURE_TENANT_ID=""
|
48 |
+
export EVENT_HUBS_CONNECTION_STRING=""
|
49 |
+
export AZURE_PROJECT_URL=""
|
50 |
+
export STORAGE_CONNECTION_STRING=""
|
51 |
+
export COSMOS_ENDPOINT=""
|
52 |
+
export COSMOS_KEY=""
|
53 |
+
```
|
54 |
+
|
55 |
+
### Running the console app
|
56 |
+
[Python](https://www.python.org/downloads/) version 2.7.16 and 3.7.4 were used to run this sample.
|
57 |
+
|
58 |
+
Install the libraries required using pip:
|
59 |
+
```
|
60 |
+
pip install -r requiriments.txt
|
61 |
+
```
|
62 |
+
|
63 |
+
In the \SmokeTest\ directory, run Program.py
|
64 |
+
```
|
65 |
+
python .\Program.py
|
66 |
+
```
|
67 |
+
|
68 |
+
#### Important: To run the async tests
|
69 |
+
In order to run the samples with the asynchronous clients, **python 3.5 or greater** is needed.
|
70 |
+
|
71 |
+
Install both requirements.txt and requirements_async.txt:
|
72 |
+
```
|
73 |
+
pip install -r requiriments.txt
|
74 |
+
pip install -r requiriments_async.txt
|
75 |
+
```
|
76 |
+
|
77 |
+
If a python version below 3.5 is being used, it is still possible to run the samples. When it gets to the async tests a message `'Async not supported'` will be displayed.
|
78 |
+
|
79 |
+
## Key concepts
|
80 |
+
|
81 |
+
## Examples
|
82 |
+
All the classes in this sample has a `Run()` method as entry point, and do not depend on each other.
|
83 |
+
|
84 |
+
It is possible to run them individually:
|
85 |
+
```python
|
86 |
+
from KeyVaultSecrets import KeyVault
|
87 |
+
|
88 |
+
KeyVault().Run()
|
89 |
+
```
|
90 |
+
|
91 |
+
They can be included in other projects by moving the class in it:
|
92 |
+
```python
|
93 |
+
from KeyVaultSecrets import KeyVault
|
94 |
+
|
95 |
+
...
|
96 |
+
|
97 |
+
def myTests():
|
98 |
+
console.log("Smoke Test imported from other project")
|
99 |
+
KeyVault().Run()
|
100 |
+
|
101 |
+
myTests()
|
102 |
+
otherFunction()
|
103 |
+
...
|
104 |
+
```
|
105 |
+
|
106 |
+
The classes can be used as base code and be changed to satisfied specific needs. For example, the method `EventHub().SendAndReceiveEvents()` can be change to only send events from an array given from a parameter:
|
107 |
+
```python
|
108 |
+
def SendAndReceiveEvents(self, partitionID, events):
|
109 |
+
producer = self.client.create_producer(partition_id=partitionID)
|
110 |
+
producer.send(events)
|
111 |
+
producer.close()
|
112 |
+
```
|
113 |
+
|
114 |
+
**Note:** The methods in the classes are not necessary independent on each other, and the order matters. For example, in order to run `BlobStorage().DeleteBlob();`, the method `BlobStorage().UploadBLob();` must be run before, since in the other way it will fail because there is not going to be a blob to delete.
|
115 |
+
|
116 |
+
## Troubleshooting
|
117 |
+
|
118 |
+
### Authentication
|
119 |
+
Be sure to set the environment variables and credentials required before running the sample.
|
120 |
+
|
121 |
+
### ImportError
|
122 |
+
`ImportError: cannot import name 'AsyncPipelineClient' from 'azure.core'`
|
123 |
+
|
124 |
+
The libraries in the `requiriments_async.txt` are not installed and the python version used has async capabilities. Install the libraries using pip.
|
125 |
+
|
126 |
+
## Next steps
|
127 |
+
Check the [Azure SDK for Python Repository](https://github.com/Azure/azure-sdk-for-python/tree/main/sdk) for more samples inside the sdk folder.
|
128 |
+
|
129 |
+
## Contributing
|
130 |
+
This project welcomes contributions and suggestions. Most contributions require you to agree to a Contributor License Agreement (CLA) declaring that you have the right to, and actually do, grant us the rights to use your contribution. For details, visit https://cla.microsoft.com.
|
131 |
+
|
132 |
+
When you submit a pull request, a CLA-bot will automatically determine whether you need to provide a CLA and decorate the PR appropriately (e.g., label, comment). Simply follow the instructions provided by the bot. You will only need to do this once across all repos using our CLA.
|
133 |
+
|
134 |
+
If you'd like to contribute to this library, please read the contributing guide to learn more about how to build and test the code.
|
135 |
+
|
136 |
+
This project has adopted the Microsoft Open Source Code of Conduct. For more information see the Code of Conduct FAQ or contact opencode@microsoft.com with any additional questions or comments.
|
repos/Azure-azure-sdk-for-python-c89899b/common/smoketest/cosmos_db.py
ADDED
@@ -0,0 +1,89 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
# ------------------------------------
|
2 |
+
# Copyright (c) Microsoft Corporation.
|
3 |
+
# Licensed under the MIT License.
|
4 |
+
# ------------------------------------
|
5 |
+
import os
|
6 |
+
import uuid
|
7 |
+
from azure.cosmos import CosmosClient
|
8 |
+
from azure.cosmos.partition_key import PartitionKey
|
9 |
+
|
10 |
+
|
11 |
+
class CosmosDB:
|
12 |
+
def __init__(self):
|
13 |
+
URL = os.environ["COSMOS_ENDPOINT"]
|
14 |
+
KEY = os.environ["COSMOS_KEY"]
|
15 |
+
self.client = CosmosClient(URL, {"masterKey": KEY})
|
16 |
+
self.dbName = "pySolarSystem-" + uuid.uuid1().hex
|
17 |
+
|
18 |
+
def create_database(self):
|
19 |
+
print("Creating '{0}' database...".format(self.dbName))
|
20 |
+
return self.client.create_database(self.dbName)
|
21 |
+
|
22 |
+
def create_container(self, db):
|
23 |
+
collectionName = "Planets"
|
24 |
+
print("Creating '{0}' collection...".format(collectionName))
|
25 |
+
partition_key = PartitionKey(path="/id", kind="Hash")
|
26 |
+
return db.create_container(id="Planets", partition_key=partition_key)
|
27 |
+
|
28 |
+
def create_documents(self, container):
|
29 |
+
# Cosmos will look for an 'id' field in the items, if the 'id' is not specified, Cosmos is going to assign a random key.
|
30 |
+
planets = [
|
31 |
+
{
|
32 |
+
"id": "Earth",
|
33 |
+
"HasRings": False,
|
34 |
+
"Radius": 3959,
|
35 |
+
"Moons": [{"Name": "Moon"}],
|
36 |
+
},
|
37 |
+
{
|
38 |
+
"id": "Mars",
|
39 |
+
"HasRings": False,
|
40 |
+
"Radius": 2106,
|
41 |
+
"Moons": [{"Name": "Phobos"}, {"Name": "Deimos"}],
|
42 |
+
},
|
43 |
+
]
|
44 |
+
|
45 |
+
print("Inserting items in the collection...")
|
46 |
+
for planet in planets:
|
47 |
+
container.create_item(planet)
|
48 |
+
print("\t'{0}' created".format(planet["id"]))
|
49 |
+
print("\tdone")
|
50 |
+
|
51 |
+
def simple_query(self, container):
|
52 |
+
print("Quering the container...")
|
53 |
+
items = list(
|
54 |
+
container.query_items(
|
55 |
+
query="SELECT c.id FROM c", enable_cross_partition_query=True
|
56 |
+
)
|
57 |
+
)
|
58 |
+
print("\tdone: {0}".format(items))
|
59 |
+
|
60 |
+
def delete_database(self):
|
61 |
+
print("Cleaning up the resource...")
|
62 |
+
self.client.delete_database(self.dbName)
|
63 |
+
print("\tdone")
|
64 |
+
|
65 |
+
def run(self):
|
66 |
+
print("")
|
67 |
+
print("------------------------")
|
68 |
+
print("Cosmos DB")
|
69 |
+
print("------------------------")
|
70 |
+
print("1) Create a Database")
|
71 |
+
print("2) Create a Container in the database")
|
72 |
+
print("3) Insert Documents (items) into the Container")
|
73 |
+
print("4) Delete Database (Clean up the resource)")
|
74 |
+
print("")
|
75 |
+
|
76 |
+
# Ensure that the database does not exist
|
77 |
+
try:
|
78 |
+
self.delete_database()
|
79 |
+
except:
|
80 |
+
pass
|
81 |
+
|
82 |
+
try:
|
83 |
+
db = self.create_database()
|
84 |
+
container = self.create_container(db=db)
|
85 |
+
self.create_documents(container=container)
|
86 |
+
self.simple_query(container=container)
|
87 |
+
finally:
|
88 |
+
# if something goes wrong, the resource should be cleaned anyway
|
89 |
+
self.delete_database()
|
repos/Azure-azure-sdk-for-python-c89899b/common/smoketest/dependencies.py
ADDED
@@ -0,0 +1,71 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
import argparse
|
2 |
+
import pkg_resources
|
3 |
+
|
4 |
+
try:
|
5 |
+
# pip < 20
|
6 |
+
from pip._internal.req import parse_requirements
|
7 |
+
from pip._internal.download import PipSession
|
8 |
+
except:
|
9 |
+
# pip >= 20
|
10 |
+
from pip._internal.req import parse_requirements
|
11 |
+
from pip._internal.network.session import PipSession
|
12 |
+
|
13 |
+
def combine_requirements(requirements):
|
14 |
+
name = requirements[0].project_name
|
15 |
+
specs = []
|
16 |
+
for req in requirements:
|
17 |
+
if len(req.specs) == 0:
|
18 |
+
continue
|
19 |
+
|
20 |
+
specs.extend([s[0] + s[1] for s in req.specs])
|
21 |
+
|
22 |
+
return name + ",".join(specs)
|
23 |
+
|
24 |
+
def get_dependencies(packages):
|
25 |
+
requirements = []
|
26 |
+
for package in packages:
|
27 |
+
package_info = pkg_resources.working_set.by_key[package]
|
28 |
+
|
29 |
+
applicable_requirements = [r for r in package_info.requires() if r.marker is None or r.marker.evaluate()]
|
30 |
+
requirements.extend(applicable_requirements)
|
31 |
+
|
32 |
+
return requirements
|
33 |
+
|
34 |
+
if __name__ == "__main__":
|
35 |
+
parser = argparse.ArgumentParser(
|
36 |
+
description="List dependencies for a given requirements.txt file"
|
37 |
+
)
|
38 |
+
|
39 |
+
parser.add_argument(
|
40 |
+
"-r",
|
41 |
+
"--requirements",
|
42 |
+
dest="requirements_file",
|
43 |
+
help="File containing list of packages for which to find dependencies",
|
44 |
+
required=True
|
45 |
+
)
|
46 |
+
|
47 |
+
args = parser.parse_args()
|
48 |
+
# Get package names from requirements.txt
|
49 |
+
requirements = parse_requirements(args.requirements_file, session=PipSession())
|
50 |
+
package_names = [item.req.name for item in requirements]
|
51 |
+
|
52 |
+
dependencies = get_dependencies(package_names)
|
53 |
+
|
54 |
+
# It may be the case that packages have multiple sets of dependency
|
55 |
+
# requirements, for example:
|
56 |
+
# Package A requires Foo>=1.0.0,<2.0.0
|
57 |
+
# Package B requires Foo>=1.0.0,<1.2.3
|
58 |
+
# This combines all required versions into one string for pip to resolve
|
59 |
+
# Output: Foo>=1.0.0,<2.0.0,>=1.0.0,<1.2.3
|
60 |
+
# Pip parses this value using the Requirement object (https://setuptools.readthedocs.io/en/latest/pkg_resources.html#requirement-objects)
|
61 |
+
# According to https://packaging.python.org/glossary/#term-requirement-specifier
|
62 |
+
grouped_dependencies = {}
|
63 |
+
for dep in dependencies:
|
64 |
+
if dep.key in grouped_dependencies:
|
65 |
+
grouped_dependencies[dep.key].append(dep)
|
66 |
+
else:
|
67 |
+
grouped_dependencies[dep.key] = [dep]
|
68 |
+
|
69 |
+
final_dependencies = [combine_requirements(r) for r in grouped_dependencies.values()]
|
70 |
+
|
71 |
+
print("\n".join(final_dependencies))
|
repos/Azure-azure-sdk-for-python-c89899b/common/smoketest/event_hubs.py
ADDED
@@ -0,0 +1,98 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
# ------------------------------------
|
2 |
+
# Copyright (c) Microsoft Corporation.
|
3 |
+
# Licensed under the MIT License.
|
4 |
+
# ------------------------------------
|
5 |
+
import os
|
6 |
+
from datetime import datetime
|
7 |
+
from azure.eventhub import EventHubConsumerClient, EventHubProducerClient, EventData
|
8 |
+
|
9 |
+
RECEIVE_TIMEOUT = 30
|
10 |
+
CONSUMER_GROUP = "$Default"
|
11 |
+
STARTING_POSITION = "-1"
|
12 |
+
TEST_EVENTS = [
|
13 |
+
EventData(b"Test Event 1 in Python"),
|
14 |
+
EventData(b"Test Event 2 in Python"),
|
15 |
+
EventData(b"Test Event 3 in Python"),
|
16 |
+
]
|
17 |
+
|
18 |
+
class EventHub:
|
19 |
+
def __init__(self):
|
20 |
+
# This test requires a previusly created Event Hub.
|
21 |
+
# In this example the name is "myeventhub", but it could be change below
|
22 |
+
connection_string = os.environ["EVENT_HUBS_CONNECTION_STRING"]
|
23 |
+
event_hub_name = "myeventhub"
|
24 |
+
self.consumer_client = EventHubConsumerClient.from_connection_string(
|
25 |
+
connection_string, CONSUMER_GROUP, idle_timeout=RECEIVE_TIMEOUT
|
26 |
+
)
|
27 |
+
self.producer_client = EventHubProducerClient.from_connection_string(
|
28 |
+
connection_string
|
29 |
+
)
|
30 |
+
|
31 |
+
self.received_event_count = 0
|
32 |
+
|
33 |
+
def get_partition_ids(self):
|
34 |
+
print("Getting partitions id...")
|
35 |
+
partition_ids = self.consumer_client.get_partition_ids()
|
36 |
+
print("\tdone")
|
37 |
+
return partition_ids
|
38 |
+
|
39 |
+
def send_and_receive_events(self, partition_id):
|
40 |
+
print("Sending events...")
|
41 |
+
|
42 |
+
batch = self.producer_client.create_batch(partition_id=partition_id)
|
43 |
+
for event in TEST_EVENTS:
|
44 |
+
batch.add(event)
|
45 |
+
|
46 |
+
self.producer_client.send_batch(batch)
|
47 |
+
self.producer_client.close()
|
48 |
+
print("\tdone")
|
49 |
+
|
50 |
+
print("Receiving events...")
|
51 |
+
self.consumer_client.receive(
|
52 |
+
# self.on_event will dispose of the client and allow execution to
|
53 |
+
# continue
|
54 |
+
partition_id=partition_id,
|
55 |
+
on_event=self.on_event,
|
56 |
+
on_error=self.on_error,
|
57 |
+
starting_position=STARTING_POSITION,
|
58 |
+
starting_position_inclusive=True
|
59 |
+
)
|
60 |
+
|
61 |
+
# on_event closes the consumer_client which resumes execution
|
62 |
+
print("\tdone")
|
63 |
+
|
64 |
+
if self.received_event_count < len(TEST_EVENTS):
|
65 |
+
raise Exception(
|
66 |
+
"Error, expecting {0} events, but {1} were received.".format(
|
67 |
+
str(len(TEST_EVENTS)), str(self.received_event_count)
|
68 |
+
)
|
69 |
+
)
|
70 |
+
|
71 |
+
def on_event(self, context, event):
|
72 |
+
self.received_event_count += 1
|
73 |
+
print(event.body_as_str())
|
74 |
+
if self.received_event_count >= len(TEST_EVENTS):
|
75 |
+
# Close the client which allows execution to continue
|
76 |
+
self.close_client()
|
77 |
+
|
78 |
+
def on_error(self, context, error):
|
79 |
+
self.consumer_client.close()
|
80 |
+
raise Exception("Received Error: {0}".format(error))
|
81 |
+
|
82 |
+
def close_client(self):
|
83 |
+
self.consumer_client.close()
|
84 |
+
|
85 |
+
def run(self):
|
86 |
+
print("")
|
87 |
+
print("------------------------")
|
88 |
+
print("Event Hubs")
|
89 |
+
print("------------------------")
|
90 |
+
print("1) Get partition ID")
|
91 |
+
print("2) Send Events")
|
92 |
+
print("3) Consume Events")
|
93 |
+
print("")
|
94 |
+
|
95 |
+
partition_ids = self.get_partition_ids()
|
96 |
+
# In this sample the same partition id is going to be used for the producer and consumer,
|
97 |
+
# It is the first one, but it could be any (is not relevant as long as it is the same in both producer and consumer)
|
98 |
+
self.send_and_receive_events(partition_ids[0])
|
repos/Azure-azure-sdk-for-python-c89899b/common/smoketest/event_hubs_async.py
ADDED
@@ -0,0 +1,96 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
# ------------------------------------
|
2 |
+
# Copyright (c) Microsoft Corporation.
|
3 |
+
# Licensed under the MIT License.
|
4 |
+
# ------------------------------------
|
5 |
+
import os
|
6 |
+
from datetime import datetime
|
7 |
+
from azure.eventhub.aio import EventHubConsumerClient, EventHubProducerClient
|
8 |
+
from azure.eventhub import EventData
|
9 |
+
|
10 |
+
RECEIVE_TIMEOUT = 30
|
11 |
+
CONSUMER_GROUP = "$Default"
|
12 |
+
STARTING_POSITION = "-1"
|
13 |
+
TEST_EVENTS = [
|
14 |
+
EventData(b"Test Event 1 in Python"),
|
15 |
+
EventData(b"Test Event 2 in Python"),
|
16 |
+
EventData(b"Test Event 3 in Python"),
|
17 |
+
]
|
18 |
+
|
19 |
+
class EventHubAsync:
|
20 |
+
def __init__(self):
|
21 |
+
# This test requires a previusly created Event Hub.
|
22 |
+
# In this example the name is "myeventhub", but it could be change below
|
23 |
+
connection_string = os.environ["EVENT_HUBS_CONNECTION_STRING"]
|
24 |
+
event_hub_name = "myeventhub"
|
25 |
+
self.consumer_client = EventHubConsumerClient.from_connection_string(
|
26 |
+
connection_string, CONSUMER_GROUP, idle_timeout=RECEIVE_TIMEOUT
|
27 |
+
)
|
28 |
+
self.producer_client = EventHubProducerClient.from_connection_string(
|
29 |
+
connection_string
|
30 |
+
)
|
31 |
+
|
32 |
+
self.received_event_count = 0
|
33 |
+
|
34 |
+
async def get_partition_ids(self):
|
35 |
+
print("Getting partitions id...")
|
36 |
+
partition_ids = await self.consumer_client.get_partition_ids()
|
37 |
+
print("\tdone")
|
38 |
+
return partition_ids
|
39 |
+
|
40 |
+
async def send_and_receive_events(self, partition_id):
|
41 |
+
print("Sending events...")
|
42 |
+
|
43 |
+
batch = await self.producer_client.create_batch(partition_id=partition_id)
|
44 |
+
|
45 |
+
for event in TEST_EVENTS:
|
46 |
+
batch.add(event)
|
47 |
+
|
48 |
+
await self.producer_client.send_batch(batch)
|
49 |
+
await self.producer_client.close()
|
50 |
+
print("\tdone")
|
51 |
+
|
52 |
+
print("Receiving events...")
|
53 |
+
await self.consumer_client.receive(
|
54 |
+
# on_event will close the consumer_client which resumes execution
|
55 |
+
on_event=self.on_event,
|
56 |
+
on_error=self.on_error,
|
57 |
+
starting_position=STARTING_POSITION
|
58 |
+
)
|
59 |
+
|
60 |
+
print("\tdone")
|
61 |
+
|
62 |
+
if self.received_event_count < len(TEST_EVENTS):
|
63 |
+
raise Exception(
|
64 |
+
"Error, expecting {0} events, but {1} were received.".format(
|
65 |
+
str(len(TEST_EVENTS)), str(self.received_event_count)
|
66 |
+
)
|
67 |
+
)
|
68 |
+
|
69 |
+
async def on_event(self, context, event):
|
70 |
+
self.received_event_count += 1
|
71 |
+
print(event.body_as_str())
|
72 |
+
if self.received_event_count >= len(TEST_EVENTS):
|
73 |
+
# Close the client which allows execution to continue
|
74 |
+
await self.close_client()
|
75 |
+
|
76 |
+
async def on_error(self, context, error):
|
77 |
+
await self.close_client()
|
78 |
+
raise Exception("Received Error: {0}".format(error))
|
79 |
+
|
80 |
+
async def close_client(self):
|
81 |
+
await self.consumer_client.close()
|
82 |
+
|
83 |
+
async def run(self):
|
84 |
+
print("")
|
85 |
+
print("------------------------")
|
86 |
+
print("Event Hubs")
|
87 |
+
print("------------------------")
|
88 |
+
print("1) Get partition ID")
|
89 |
+
print("2) Send Events")
|
90 |
+
print("3) Consume Events")
|
91 |
+
print("")
|
92 |
+
|
93 |
+
partitionIDs = await self.get_partition_ids()
|
94 |
+
# In this sample the same partition id is going to be used for the producer and consumer,
|
95 |
+
# It is the first one, but it could be any (is not relevant as long as it is the same in both producer and consumer)
|
96 |
+
await self.send_and_receive_events(partitionIDs[0])
|
repos/Azure-azure-sdk-for-python-c89899b/common/smoketest/key_vault_base.py
ADDED
@@ -0,0 +1,22 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
# ------------------------------------
|
2 |
+
# Copyright (c) Microsoft Corporation.
|
3 |
+
# Licensed under the MIT License.
|
4 |
+
# ------------------------------------
|
5 |
+
import os
|
6 |
+
from azure.identity import AzureAuthorityHosts, DefaultAzureCredential
|
7 |
+
|
8 |
+
|
9 |
+
class KeyVaultBase:
|
10 |
+
credential_type = DefaultAzureCredential
|
11 |
+
host_alias_map = {
|
12 |
+
"AzureChinaCloud": (AzureAuthorityHosts.AZURE_CHINA, "2016-10-01"),
|
13 |
+
"AzureGermanCloud": (AzureAuthorityHosts.AZURE_GERMANY, "2016-10-01"),
|
14 |
+
"AzureUSGovernment": (AzureAuthorityHosts.AZURE_GOVERNMENT, "2016-10-01"),
|
15 |
+
"AzureCloud": (AzureAuthorityHosts.AZURE_PUBLIC_CLOUD, "7.1"),
|
16 |
+
}
|
17 |
+
|
18 |
+
def get_client_args(self, authority_host_alias=None):
|
19 |
+
alias = authority_host_alias or os.environ.get("AZURE_CLOUD", "AzureCloud")
|
20 |
+
authority_host, api_version = self.host_alias_map[alias]
|
21 |
+
credential = self.credential_type(authority=authority_host)
|
22 |
+
return {"api_version": api_version, "credential": credential, "vault_url": os.environ["AZURE_PROJECT_URL"]}
|
repos/Azure-azure-sdk-for-python-c89899b/common/smoketest/key_vault_base_async.py
ADDED
@@ -0,0 +1,10 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
# ------------------------------------
|
2 |
+
# Copyright (c) Microsoft Corporation.
|
3 |
+
# Licensed under the MIT License.
|
4 |
+
# ------------------------------------
|
5 |
+
from key_vault_base import KeyVaultBase
|
6 |
+
from azure.identity.aio import DefaultAzureCredential
|
7 |
+
|
8 |
+
|
9 |
+
class KeyVaultBaseAsync(KeyVaultBase):
|
10 |
+
credential_type = DefaultAzureCredential
|
repos/Azure-azure-sdk-for-python-c89899b/common/smoketest/key_vault_certificates.py
ADDED
@@ -0,0 +1,50 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
# ------------------------------------
|
2 |
+
# Copyright (c) Microsoft Corporation.
|
3 |
+
# Licensed under the MIT License.
|
4 |
+
# ------------------------------------
|
5 |
+
import uuid
|
6 |
+
from azure.keyvault.certificates import CertificateClient, CertificatePolicy
|
7 |
+
from key_vault_base import KeyVaultBase
|
8 |
+
|
9 |
+
|
10 |
+
class KeyVaultCertificates(KeyVaultBase):
|
11 |
+
def __init__(self):
|
12 |
+
args = self.get_client_args()
|
13 |
+
self.certificate_client = CertificateClient(**args)
|
14 |
+
self.certificate_name = "cert-name-" + uuid.uuid1().hex
|
15 |
+
|
16 |
+
def create_certificate(self):
|
17 |
+
print("Creating certificate (name: {})".format(self.certificate_name))
|
18 |
+
create_poller = self.certificate_client.begin_create_certificate(
|
19 |
+
certificate_name=self.certificate_name,
|
20 |
+
policy=CertificatePolicy.get_default())
|
21 |
+
print("\twaiting...")
|
22 |
+
create_poller.result()
|
23 |
+
print("\tdone")
|
24 |
+
|
25 |
+
def get_certificate(self):
|
26 |
+
print("Getting a certificate...")
|
27 |
+
certificate = self.certificate_client.get_certificate(certificate_name=self.certificate_name)
|
28 |
+
print("\tdone, certificate: {}.".format(certificate.name))
|
29 |
+
|
30 |
+
def delete_certificate(self):
|
31 |
+
print("Deleting a certificate...")
|
32 |
+
poller = self.certificate_client.begin_delete_certificate(certificate_name=self.certificate_name)
|
33 |
+
deleted_certificate = poller.result()
|
34 |
+
print("\tdone: " + deleted_certificate.name)
|
35 |
+
|
36 |
+
def run(self):
|
37 |
+
print("")
|
38 |
+
print("------------------------")
|
39 |
+
print("Key Vault - Certificates\nIdentity - Credential")
|
40 |
+
print("------------------------")
|
41 |
+
print("1) Create a certificate")
|
42 |
+
print("2) Get that certificate")
|
43 |
+
print("3) Delete that certificate (Clean up the resource)")
|
44 |
+
print("")
|
45 |
+
|
46 |
+
try:
|
47 |
+
self.create_certificate()
|
48 |
+
self.get_certificate()
|
49 |
+
finally:
|
50 |
+
self.delete_certificate()
|
repos/Azure-azure-sdk-for-python-c89899b/common/smoketest/key_vault_certificates_async.py
ADDED
@@ -0,0 +1,47 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
# ------------------------------------
|
2 |
+
# Copyright (c) Microsoft Corporation.
|
3 |
+
# Licensed under the MIT License.
|
4 |
+
# ------------------------------------
|
5 |
+
import uuid
|
6 |
+
from azure.keyvault.certificates import CertificatePolicy
|
7 |
+
from azure.keyvault.certificates.aio import CertificateClient
|
8 |
+
from key_vault_base_async import KeyVaultBaseAsync
|
9 |
+
|
10 |
+
|
11 |
+
class KeyVaultCertificates(KeyVaultBaseAsync):
|
12 |
+
def __init__(self):
|
13 |
+
args = self.get_client_args()
|
14 |
+
self.certificate_client = CertificateClient(**args)
|
15 |
+
self.certificate_name = "cert-name-" + uuid.uuid1().hex
|
16 |
+
|
17 |
+
async def create_certificate(self):
|
18 |
+
print("Creating a certificate...")
|
19 |
+
await self.certificate_client.create_certificate(
|
20 |
+
certificate_name=self.certificate_name, policy=CertificatePolicy.get_default())
|
21 |
+
print("\tdone")
|
22 |
+
|
23 |
+
async def get_certificate(self):
|
24 |
+
print("Getting a certificate...")
|
25 |
+
certificate = await self.certificate_client.get_certificate(certificate_name=self.certificate_name)
|
26 |
+
print("\tdone, certificate: {}.".format(certificate.name))
|
27 |
+
|
28 |
+
async def delete_certificate(self):
|
29 |
+
print("Deleting a certificate...")
|
30 |
+
deleted_certificate = await self.certificate_client.delete_certificate(certificate_name=self.certificate_name)
|
31 |
+
print("\tdone: " + deleted_certificate.name)
|
32 |
+
|
33 |
+
async def run(self):
|
34 |
+
print("")
|
35 |
+
print("------------------------")
|
36 |
+
print("Key Vault - Certificates\nIdentity - Credential")
|
37 |
+
print("------------------------")
|
38 |
+
print("1) Create a certificate")
|
39 |
+
print("2) Get that certificate")
|
40 |
+
print("3) Delete that certificate (Clean up the resource)")
|
41 |
+
print("")
|
42 |
+
|
43 |
+
try:
|
44 |
+
await self.create_certificate()
|
45 |
+
await self.get_certificate()
|
46 |
+
finally:
|
47 |
+
await self.delete_certificate()
|
repos/Azure-azure-sdk-for-python-c89899b/common/smoketest/key_vault_keys.py
ADDED
@@ -0,0 +1,45 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
# ------------------------------------
|
2 |
+
# Copyright (c) Microsoft Corporation.
|
3 |
+
# Licensed under the MIT License.
|
4 |
+
# ------------------------------------
|
5 |
+
import uuid
|
6 |
+
from azure.keyvault.keys import KeyClient
|
7 |
+
from key_vault_base import KeyVaultBase
|
8 |
+
|
9 |
+
|
10 |
+
class KeyVaultKeys(KeyVaultBase):
|
11 |
+
def __init__(self):
|
12 |
+
args = self.get_client_args()
|
13 |
+
self.key_client = KeyClient(**args)
|
14 |
+
self.key_name = "key-name-" + uuid.uuid1().hex
|
15 |
+
|
16 |
+
def create_rsa_key(self):
|
17 |
+
print("Creating an RSA key...")
|
18 |
+
self.key_client.create_rsa_key(name=self.key_name, size=2048)
|
19 |
+
print("\tdone")
|
20 |
+
|
21 |
+
def get_key(self):
|
22 |
+
print("Getting a key...")
|
23 |
+
key = self.key_client.get_key(name=self.key_name)
|
24 |
+
print("\tdone, key: {}.".format(key.name))
|
25 |
+
|
26 |
+
def delete_key(self):
|
27 |
+
print("Deleting a key...")
|
28 |
+
deleted_key = self.key_client.begin_delete_key(name=self.key_name).result()
|
29 |
+
print("\tdone: " + deleted_key.name)
|
30 |
+
|
31 |
+
def run(self):
|
32 |
+
print("")
|
33 |
+
print("------------------------")
|
34 |
+
print("Key Vault - Keys\nIdentity - Credential")
|
35 |
+
print("------------------------")
|
36 |
+
print("1) Create a key")
|
37 |
+
print("2) Get that key")
|
38 |
+
print("3) Delete that key (Clean up the resource)")
|
39 |
+
print("")
|
40 |
+
|
41 |
+
try:
|
42 |
+
self.create_rsa_key()
|
43 |
+
self.get_key()
|
44 |
+
finally:
|
45 |
+
self.delete_key()
|
repos/Azure-azure-sdk-for-python-c89899b/common/smoketest/key_vault_keys_async.py
ADDED
@@ -0,0 +1,46 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
# ------------------------------------
|
2 |
+
# Copyright (c) Microsoft Corporation.
|
3 |
+
# Licensed under the MIT License.
|
4 |
+
# ------------------------------------
|
5 |
+
import uuid
|
6 |
+
from azure.keyvault.keys.aio import KeyClient
|
7 |
+
from key_vault_base_async import KeyVaultBaseAsync
|
8 |
+
|
9 |
+
|
10 |
+
class KeyVaultKeys(KeyVaultBaseAsync):
|
11 |
+
def __init__(self):
|
12 |
+
args = self.get_client_args()
|
13 |
+
self.key_client = KeyClient(**args)
|
14 |
+
self.key_name = "key-name-" + uuid.uuid1().hex
|
15 |
+
|
16 |
+
async def create_rsa_key(self):
|
17 |
+
print("Creating an RSA key...")
|
18 |
+
await self.key_client.create_rsa_key(name=self.key_name, size=2048)
|
19 |
+
print("\tdone")
|
20 |
+
|
21 |
+
async def get_key(self):
|
22 |
+
print("Getting a key...")
|
23 |
+
key = await self.key_client.get_key(name=self.key_name)
|
24 |
+
print("\tdone, key: {}.".format(key.name))
|
25 |
+
|
26 |
+
async def delete_key(self):
|
27 |
+
print("Deleting a key...")
|
28 |
+
deleted_key = await self.key_client.delete_key(name=self.key_name)
|
29 |
+
print("\tdone: " + deleted_key.name)
|
30 |
+
|
31 |
+
async def run(self):
|
32 |
+
|
33 |
+
print("")
|
34 |
+
print("------------------------")
|
35 |
+
print("Key Vault - Keys\nIdentity - Credential")
|
36 |
+
print("------------------------")
|
37 |
+
print("1) Create a key")
|
38 |
+
print("2) Get that key")
|
39 |
+
print("3) Delete that key (Clean up the resource)")
|
40 |
+
print("")
|
41 |
+
|
42 |
+
try:
|
43 |
+
await self.create_rsa_key()
|
44 |
+
await self.get_key()
|
45 |
+
finally:
|
46 |
+
await self.delete_key()
|
repos/Azure-azure-sdk-for-python-c89899b/common/smoketest/key_vault_secrets.py
ADDED
@@ -0,0 +1,46 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
# ------------------------------------
|
2 |
+
# Copyright (c) Microsoft Corporation.
|
3 |
+
# Licensed under the MIT License.
|
4 |
+
# ------------------------------------
|
5 |
+
import uuid
|
6 |
+
from azure.keyvault.secrets import SecretClient
|
7 |
+
from key_vault_base import KeyVaultBase
|
8 |
+
|
9 |
+
|
10 |
+
class KeyVaultSecrets(KeyVaultBase):
|
11 |
+
def __init__(self):
|
12 |
+
args = self.get_client_args()
|
13 |
+
self.secret_client = SecretClient(**args)
|
14 |
+
self.secret_name = "secret-name-" + uuid.uuid1().hex
|
15 |
+
self.secret_Value = "secret-value"
|
16 |
+
|
17 |
+
def set_secret(self):
|
18 |
+
print("Setting a secret...")
|
19 |
+
self.secret_client.set_secret(self.secret_name, self.secret_Value)
|
20 |
+
print("\tdone")
|
21 |
+
|
22 |
+
def get_secret(self):
|
23 |
+
print("Getting a secret...")
|
24 |
+
secret = self.secret_client.get_secret(self.secret_name)
|
25 |
+
print("\tdone, secret: (" + secret.name + "," + secret.value + ").")
|
26 |
+
|
27 |
+
def delete_secret(self):
|
28 |
+
print("Deleting a secret...")
|
29 |
+
deleted_secret = self.secret_client.begin_delete_secret(self.secret_name).result()
|
30 |
+
print("\tdone: " + deleted_secret.name)
|
31 |
+
|
32 |
+
def run(self):
|
33 |
+
print("")
|
34 |
+
print("------------------------")
|
35 |
+
print("Key Vault - Secrets\nIdentity - Credential")
|
36 |
+
print("------------------------")
|
37 |
+
print("1) Set a secret")
|
38 |
+
print("2) Get that secret")
|
39 |
+
print("3) Delete that secret (Clean up the resource)")
|
40 |
+
print("")
|
41 |
+
|
42 |
+
try:
|
43 |
+
self.set_secret()
|
44 |
+
self.get_secret()
|
45 |
+
finally:
|
46 |
+
self.delete_secret()
|
repos/Azure-azure-sdk-for-python-c89899b/common/smoketest/key_vault_secrets_async.py
ADDED
@@ -0,0 +1,49 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
# ------------------------------------
|
2 |
+
# Copyright (c) Microsoft Corporation.
|
3 |
+
# Licensed under the MIT License.
|
4 |
+
# ------------------------------------
|
5 |
+
import uuid
|
6 |
+
from azure.keyvault.secrets.aio import SecretClient
|
7 |
+
from key_vault_base_async import KeyVaultBaseAsync
|
8 |
+
|
9 |
+
|
10 |
+
class KeyVaultSecrets(KeyVaultBaseAsync):
|
11 |
+
def __init__(self):
|
12 |
+
args = self.get_client_args()
|
13 |
+
self.secret_client = SecretClient(**args)
|
14 |
+
self.secret_name = "secret-name-" + uuid.uuid1().hex
|
15 |
+
self.secret_value = "secret-value"
|
16 |
+
|
17 |
+
async def set_secret(self):
|
18 |
+
print("Setting a secret...")
|
19 |
+
secret = await self.secret_client.set_secret(
|
20 |
+
self.secret_name, self.secret_value
|
21 |
+
)
|
22 |
+
print("\tdone, secret: (" + secret.name + "," + secret.value + ").")
|
23 |
+
|
24 |
+
async def get_secret(self):
|
25 |
+
print("Getting a secret...")
|
26 |
+
secret = await self.secret_client.get_secret(self.secret_name)
|
27 |
+
print("\tdone, secret: (" + secret.name + "," + secret.value + ").")
|
28 |
+
|
29 |
+
async def delete_secret(self):
|
30 |
+
print("Deleting a secret...")
|
31 |
+
await self.secret_client.delete_secret(self.secret_name)
|
32 |
+
print("\tdone")
|
33 |
+
|
34 |
+
async def run(self):
|
35 |
+
|
36 |
+
print("")
|
37 |
+
print("------------------------")
|
38 |
+
print("Key Vault - Secrets\nIdentity - Credential")
|
39 |
+
print("------------------------")
|
40 |
+
print("1) Set a secret")
|
41 |
+
print("2) Get that secret")
|
42 |
+
print("3) Delete that secret (Clean up the resource)")
|
43 |
+
print("")
|
44 |
+
|
45 |
+
try:
|
46 |
+
await self.set_secret()
|
47 |
+
await self.get_secret()
|
48 |
+
finally:
|
49 |
+
await self.delete_secret()
|
repos/Azure-azure-sdk-for-python-c89899b/common/smoketest/program.py
ADDED
@@ -0,0 +1,18 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
# ------------------------------------
|
2 |
+
# Copyright (c) Microsoft Corporation.
|
3 |
+
# Licensed under the MIT License.
|
4 |
+
# ------------------------------------
|
5 |
+
import logging
|
6 |
+
logging.basicConfig()
|
7 |
+
|
8 |
+
from smoke_test import execute_smoke_tests
|
9 |
+
execute_smoke_tests()
|
10 |
+
|
11 |
+
|
12 |
+
try:
|
13 |
+
from smoke_test_async import execute_async_smoke_tests
|
14 |
+
execute_async_smoke_tests()
|
15 |
+
except SyntaxError:
|
16 |
+
print("\n===================")
|
17 |
+
print(" Async not suported")
|
18 |
+
print("====================\n")
|
repos/Azure-azure-sdk-for-python-c89899b/common/smoketest/requirements-release.txt
ADDED
@@ -0,0 +1,10 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
azure-core>=0.0.0b1
|
2 |
+
azure-identity>=0.0.0b1
|
3 |
+
azure-cosmos>=4.0.0b5
|
4 |
+
azure-eventhub>=0.0.0b1,!=5.8.0a1
|
5 |
+
azure-keyvault-certificates>=0.0.0b1
|
6 |
+
azure-keyvault-keys>=0.0.0b1
|
7 |
+
azure-keyvault-secrets>=0.0.0b1
|
8 |
+
azure-storage-blob>=0.0.0b1
|
9 |
+
# Required for template release to trigger smoke tests
|
10 |
+
azure-template>=0.0.0b1
|
repos/Azure-azure-sdk-for-python-c89899b/common/smoketest/requirements.txt
ADDED
@@ -0,0 +1,8 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
azure-core
|
2 |
+
azure-identity
|
3 |
+
azure-cosmos>=4.0.0b5
|
4 |
+
azure-eventhub
|
5 |
+
azure-keyvault-certificates
|
6 |
+
azure-keyvault-keys
|
7 |
+
azure-keyvault-secrets
|
8 |
+
azure-storage-blob
|
repos/Azure-azure-sdk-for-python-c89899b/common/smoketest/requirements_async.txt
ADDED
@@ -0,0 +1 @@
|
|
|
|
|
1 |
+
aiohttp==3.8.1
|
repos/Azure-azure-sdk-for-python-c89899b/common/smoketest/smoke-test.yml
ADDED
@@ -0,0 +1,4 @@
|
|
|
|
|
|
|
|
|
|
|
1 |
+
jobs:
|
2 |
+
- template: /eng/pipelines/templates/jobs/smoke.tests.yml
|
3 |
+
parameters:
|
4 |
+
Daily: true
|
repos/Azure-azure-sdk-for-python-c89899b/common/smoketest/smoke_test.py
ADDED
@@ -0,0 +1,27 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
# ------------------------------------
|
2 |
+
# Copyright (c) Microsoft Corporation.
|
3 |
+
# Licensed under the MIT License.
|
4 |
+
# ------------------------------------
|
5 |
+
from key_vault_certificates import KeyVaultCertificates
|
6 |
+
from key_vault_keys import KeyVaultKeys
|
7 |
+
from key_vault_secrets import KeyVaultSecrets
|
8 |
+
from storage_blob import StorageBlob
|
9 |
+
from event_hubs import EventHub
|
10 |
+
|
11 |
+
# Temporarily disable cosmos smoke tests
|
12 |
+
# from cosmos_db import CosmosDB
|
13 |
+
|
14 |
+
def execute_smoke_tests():
|
15 |
+
print("")
|
16 |
+
print("==========================================")
|
17 |
+
print(" AZURE TRACK 2 SDKs SMOKE TEST")
|
18 |
+
print("==========================================")
|
19 |
+
|
20 |
+
KeyVaultCertificates().run()
|
21 |
+
KeyVaultKeys().run()
|
22 |
+
KeyVaultSecrets().run()
|
23 |
+
StorageBlob().run()
|
24 |
+
EventHub().run()
|
25 |
+
|
26 |
+
# Temporarily disable cosmos smoke tests
|
27 |
+
# CosmosDB().run()
|
repos/Azure-azure-sdk-for-python-c89899b/common/smoketest/smoke_test_async.py
ADDED
@@ -0,0 +1,27 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
# ------------------------------------
|
2 |
+
# Copyright (c) Microsoft Corporation.
|
3 |
+
# Licensed under the MIT License.
|
4 |
+
# ------------------------------------
|
5 |
+
import asyncio
|
6 |
+
from key_vault_certificates_async import KeyVaultCertificates
|
7 |
+
from key_vault_keys_async import KeyVaultKeys
|
8 |
+
from key_vault_secrets_async import KeyVaultSecrets
|
9 |
+
from event_hubs_async import EventHubAsync
|
10 |
+
from storage_blob_async import StorageBlobAsync
|
11 |
+
|
12 |
+
|
13 |
+
def execute_async_smoke_tests():
|
14 |
+
print("")
|
15 |
+
print("==========================================")
|
16 |
+
print(" AZURE TRACK 2 SDKs SMOKE TEST ASYNC")
|
17 |
+
print("==========================================")
|
18 |
+
|
19 |
+
async def main():
|
20 |
+
await KeyVaultCertificates().run()
|
21 |
+
await KeyVaultKeys().run()
|
22 |
+
await KeyVaultSecrets().run()
|
23 |
+
await EventHubAsync().run()
|
24 |
+
await StorageBlobAsync().run()
|
25 |
+
|
26 |
+
loop = asyncio.get_event_loop()
|
27 |
+
loop.run_until_complete(main())
|
repos/Azure-azure-sdk-for-python-c89899b/common/smoketest/storage_blob.py
ADDED
@@ -0,0 +1,61 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
# ------------------------------------
|
2 |
+
# Copyright (c) Microsoft Corporation.
|
3 |
+
# Licensed under the MIT License.
|
4 |
+
# ------------------------------------
|
5 |
+
import os
|
6 |
+
import uuid
|
7 |
+
from azure.storage.blob import BlobClient
|
8 |
+
from azure.core import exceptions
|
9 |
+
|
10 |
+
|
11 |
+
class StorageBlob:
|
12 |
+
def __init__(self):
|
13 |
+
id = uuid.uuid1()
|
14 |
+
|
15 |
+
connectionString = os.environ["STORAGE_CONNECTION_STRING"]
|
16 |
+
self.blob = BlobClient.from_connection_string(
|
17 |
+
conn_str=connectionString,
|
18 |
+
container_name="mycontainer",
|
19 |
+
blob_name="pyTestBlob-" + id.hex + ".txt",
|
20 |
+
)
|
21 |
+
|
22 |
+
def upload_blob(self):
|
23 |
+
print("uploading blob...")
|
24 |
+
self.data = "This is a sample data for Python Test"
|
25 |
+
self.blob.upload_blob(self.data)
|
26 |
+
print("\tdone")
|
27 |
+
|
28 |
+
def download_blob(self):
|
29 |
+
print("downloading blob...")
|
30 |
+
with open("./downloadedBlob.txt", "wb") as my_blob:
|
31 |
+
blob_data = self.blob.download_blob()
|
32 |
+
blob_data.readinto(my_blob)
|
33 |
+
|
34 |
+
print("\tdone")
|
35 |
+
|
36 |
+
def delete_blob(self):
|
37 |
+
print("Cleaning up the resource...")
|
38 |
+
self.blob.delete_blob()
|
39 |
+
print("\tdone")
|
40 |
+
|
41 |
+
def run(self):
|
42 |
+
print("")
|
43 |
+
print("------------------------")
|
44 |
+
print("Storage - Blob")
|
45 |
+
print("------------------------")
|
46 |
+
print("1) Upload a Blob")
|
47 |
+
print("2) Download a Blob")
|
48 |
+
print("3) Delete that Blob (Clean up the resource)")
|
49 |
+
print("")
|
50 |
+
|
51 |
+
# Ensure that the blob does not exists before the tests
|
52 |
+
try:
|
53 |
+
self.delete_blob()
|
54 |
+
except exceptions.AzureError:
|
55 |
+
pass
|
56 |
+
|
57 |
+
try:
|
58 |
+
self.upload_blob()
|
59 |
+
self.download_blob()
|
60 |
+
finally:
|
61 |
+
self.delete_blob()
|
repos/Azure-azure-sdk-for-python-c89899b/common/smoketest/storage_blob_async.py
ADDED
@@ -0,0 +1,61 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
# ------------------------------------
|
2 |
+
# Copyright (c) Microsoft Corporation.
|
3 |
+
# Licensed under the MIT License.
|
4 |
+
# ------------------------------------
|
5 |
+
import os
|
6 |
+
import uuid
|
7 |
+
from azure.storage.blob.aio import BlobClient
|
8 |
+
from azure.core import exceptions
|
9 |
+
|
10 |
+
|
11 |
+
class StorageBlobAsync:
|
12 |
+
def __init__(self):
|
13 |
+
id = uuid.uuid1()
|
14 |
+
|
15 |
+
connectionString = os.environ["STORAGE_CONNECTION_STRING"]
|
16 |
+
self.blob = BlobClient.from_connection_string(
|
17 |
+
conn_str=connectionString,
|
18 |
+
container_name="mycontainer",
|
19 |
+
blob_name="pyTestBlob-" + id.hex + ".txt",
|
20 |
+
)
|
21 |
+
|
22 |
+
async def upload_blob(self):
|
23 |
+
print("uploading blob...")
|
24 |
+
self.data = "This is a sample data for Python Test"
|
25 |
+
await self.blob.upload_blob(self.data)
|
26 |
+
print("\tdone")
|
27 |
+
|
28 |
+
async def download_blob(self):
|
29 |
+
print("downloading blob...")
|
30 |
+
with open("./downloadedBlob.txt", "wb") as my_blob:
|
31 |
+
blob_data = await self.blob.download_blob()
|
32 |
+
await blob_data.readinto(my_blob)
|
33 |
+
|
34 |
+
print("\tdone")
|
35 |
+
|
36 |
+
async def delete_blob(self):
|
37 |
+
print("Cleaning up the resource...")
|
38 |
+
await self.blob.delete_blob()
|
39 |
+
print("\tdone")
|
40 |
+
|
41 |
+
async def run(self):
|
42 |
+
print("")
|
43 |
+
print("------------------------")
|
44 |
+
print("Storage - Blob")
|
45 |
+
print("------------------------")
|
46 |
+
print("1) Upload a Blob")
|
47 |
+
print("2) Download a Blob")
|
48 |
+
print("3) Delete that Blob (Clean up the resource)")
|
49 |
+
print("")
|
50 |
+
|
51 |
+
# Ensure that the blob does not exists before the tests
|
52 |
+
try:
|
53 |
+
await self.delete_blob()
|
54 |
+
except exceptions.AzureError:
|
55 |
+
pass
|
56 |
+
|
57 |
+
try:
|
58 |
+
await self.upload_blob()
|
59 |
+
await self.download_blob()
|
60 |
+
finally:
|
61 |
+
await self.delete_blob()
|
repos/Azure-azure-sdk-for-python-c89899b/common/smoketest/test-resources.json
ADDED
@@ -0,0 +1,269 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"$schema": "https://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#",
|
3 |
+
"contentVersion": "1.0.0.0",
|
4 |
+
"parameters": {
|
5 |
+
"location": {
|
6 |
+
"type": "string",
|
7 |
+
"defaultValue": "[resourceGroup().location]"
|
8 |
+
},
|
9 |
+
"baseName": {
|
10 |
+
"type": "string"
|
11 |
+
},
|
12 |
+
"testApplicationId": {
|
13 |
+
"type": "string"
|
14 |
+
},
|
15 |
+
"testApplicationSecret": {
|
16 |
+
"type": "string"
|
17 |
+
},
|
18 |
+
"testApplicationOid": {
|
19 |
+
"type": "string"
|
20 |
+
},
|
21 |
+
"tenantId": {
|
22 |
+
"type": "string"
|
23 |
+
},
|
24 |
+
"storageEndpointSuffix": {
|
25 |
+
"type": "string"
|
26 |
+
},
|
27 |
+
"azureCloud": {
|
28 |
+
"type": "string"
|
29 |
+
}
|
30 |
+
},
|
31 |
+
"variables": {
|
32 |
+
"keyVaultName": "[format('kv-smk-{0}', parameters('baseName'))]",
|
33 |
+
"eventHubNamespaceName": "[format('eh-smoke-{0}', parameters('baseName'))]",
|
34 |
+
"eventHubName": "myeventhub",
|
35 |
+
"eventHubAuthorizationRuleName": "RootManageSharedAccessKey",
|
36 |
+
"storageAccountName": "[format('stsmoke{0}', parameters('baseName'))]"
|
37 |
+
},
|
38 |
+
"resources": [
|
39 |
+
{
|
40 |
+
"type": "Microsoft.EventHub/namespaces",
|
41 |
+
"apiVersion": "2018-01-01-preview",
|
42 |
+
"name": "[variables('eventHubNamespaceName')]",
|
43 |
+
"location": "[parameters('location')]",
|
44 |
+
"sku": {
|
45 |
+
"name": "Basic",
|
46 |
+
"tier": "Basic",
|
47 |
+
"capacity": 1
|
48 |
+
},
|
49 |
+
"properties": {
|
50 |
+
"zoneRedundant": false,
|
51 |
+
"isAutoInflateEnabled": false,
|
52 |
+
"maximumThroughputUnits": 0,
|
53 |
+
"kafkaEnabled": false
|
54 |
+
}
|
55 |
+
},
|
56 |
+
{
|
57 |
+
"type": "Microsoft.KeyVault/vaults",
|
58 |
+
"apiVersion": "2016-10-01",
|
59 |
+
"name": "[variables('keyVaultName')]",
|
60 |
+
"location": "[parameters('location')]",
|
61 |
+
"properties": {
|
62 |
+
"sku": {
|
63 |
+
"family": "A",
|
64 |
+
"name": "standard"
|
65 |
+
},
|
66 |
+
"tenantId": "[parameters('tenantId')]",
|
67 |
+
"accessPolicies": [
|
68 |
+
{
|
69 |
+
"tenantId": "[parameters('tenantId')]",
|
70 |
+
"objectId": "[parameters('testApplicationOid')]",
|
71 |
+
"permissions": {
|
72 |
+
"keys": [
|
73 |
+
"backup",
|
74 |
+
"create",
|
75 |
+
"decrypt",
|
76 |
+
"delete",
|
77 |
+
"encrypt",
|
78 |
+
"get",
|
79 |
+
"import",
|
80 |
+
"list",
|
81 |
+
"purge",
|
82 |
+
"recover",
|
83 |
+
"restore",
|
84 |
+
"sign",
|
85 |
+
"unwrapKey",
|
86 |
+
"update",
|
87 |
+
"verify",
|
88 |
+
"wrapKey"
|
89 |
+
],
|
90 |
+
"secrets": [
|
91 |
+
"backup",
|
92 |
+
"delete",
|
93 |
+
"get",
|
94 |
+
"list",
|
95 |
+
"purge",
|
96 |
+
"recover",
|
97 |
+
"restore",
|
98 |
+
"set"
|
99 |
+
],
|
100 |
+
"certificates": [
|
101 |
+
"backup",
|
102 |
+
"create",
|
103 |
+
"delete",
|
104 |
+
"deleteissuers",
|
105 |
+
"get",
|
106 |
+
"getissuers",
|
107 |
+
"import",
|
108 |
+
"list",
|
109 |
+
"listissuers",
|
110 |
+
"managecontacts",
|
111 |
+
"manageissuers",
|
112 |
+
"purge",
|
113 |
+
"recover",
|
114 |
+
"restore",
|
115 |
+
"setissuers",
|
116 |
+
"update"
|
117 |
+
]
|
118 |
+
}
|
119 |
+
}
|
120 |
+
],
|
121 |
+
"enabledForDeployment": false,
|
122 |
+
"enabledForDiskEncryption": false,
|
123 |
+
"enabledForTemplateDeployment": false
|
124 |
+
}
|
125 |
+
},
|
126 |
+
{
|
127 |
+
"type": "Microsoft.Storage/storageAccounts",
|
128 |
+
"apiVersion": "2019-06-01",
|
129 |
+
"name": "[variables('storageAccountName')]",
|
130 |
+
"location": "[parameters('location')]",
|
131 |
+
"sku": {
|
132 |
+
"name": "Standard_RAGRS",
|
133 |
+
"tier": "Standard"
|
134 |
+
},
|
135 |
+
"kind": "StorageV2",
|
136 |
+
"properties": {
|
137 |
+
"networkAcls": {
|
138 |
+
"bypass": "AzureServices",
|
139 |
+
"virtualNetworkRules": [],
|
140 |
+
"ipRules": [],
|
141 |
+
"defaultAction": "Allow"
|
142 |
+
},
|
143 |
+
"supportsHttpsTrafficOnly": true,
|
144 |
+
"encryption": {
|
145 |
+
"services": {
|
146 |
+
"file": {
|
147 |
+
"keyType": "Account",
|
148 |
+
"enabled": true
|
149 |
+
},
|
150 |
+
"blob": {
|
151 |
+
"keyType": "Account",
|
152 |
+
"enabled": true
|
153 |
+
}
|
154 |
+
},
|
155 |
+
"keySource": "Microsoft.Storage"
|
156 |
+
},
|
157 |
+
"accessTier": "Hot"
|
158 |
+
}
|
159 |
+
},
|
160 |
+
{
|
161 |
+
"type": "Microsoft.EventHub/namespaces/AuthorizationRules",
|
162 |
+
"apiVersion": "2017-04-01",
|
163 |
+
"name": "[format('{0}/{1}', variables('eventHubNamespaceName'), variables('eventHubAuthorizationRuleName'))]",
|
164 |
+
"location": "[parameters('location')]",
|
165 |
+
"dependsOn": [
|
166 |
+
"[resourceId('Microsoft.EventHub/namespaces', variables('eventHubNamespaceName'))]"
|
167 |
+
],
|
168 |
+
"properties": {
|
169 |
+
"rights": [
|
170 |
+
"Listen",
|
171 |
+
"Manage",
|
172 |
+
"Send"
|
173 |
+
]
|
174 |
+
}
|
175 |
+
},
|
176 |
+
{
|
177 |
+
"type": "Microsoft.EventHub/namespaces/eventhubs",
|
178 |
+
"apiVersion": "2017-04-01",
|
179 |
+
"name": "[format('{0}/{1}', variables('eventHubNamespaceName'), variables('eventHubName'))]",
|
180 |
+
"location": "[parameters('location')]",
|
181 |
+
"dependsOn": [
|
182 |
+
"[resourceId('Microsoft.EventHub/namespaces', variables('eventHubNamespaceName'))]"
|
183 |
+
],
|
184 |
+
"properties": {
|
185 |
+
"messageRetentionInDays": 1,
|
186 |
+
"partitionCount": 2,
|
187 |
+
"status": "Active"
|
188 |
+
}
|
189 |
+
},
|
190 |
+
{
|
191 |
+
"type": "Microsoft.Storage/storageAccounts/blobServices",
|
192 |
+
"apiVersion": "2019-06-01",
|
193 |
+
"name": "[concat(variables('storageAccountName'), '/default')]",
|
194 |
+
"dependsOn": [
|
195 |
+
"[resourceId('Microsoft.Storage/storageAccounts', variables('storageAccountName'))]"
|
196 |
+
],
|
197 |
+
"sku": {
|
198 |
+
"name": "Standard_RAGRS"
|
199 |
+
},
|
200 |
+
"properties": {
|
201 |
+
"cors": {
|
202 |
+
"corsRules": []
|
203 |
+
},
|
204 |
+
"deleteRetentionPolicy": {
|
205 |
+
"enabled": false
|
206 |
+
}
|
207 |
+
}
|
208 |
+
},
|
209 |
+
{
|
210 |
+
"type": "Microsoft.EventHub/namespaces/eventhubs/authorizationRules",
|
211 |
+
"apiVersion": "2017-04-01",
|
212 |
+
"name": "[concat(variables('eventHubNamespaceName'), '/myeventhub/Test')]",
|
213 |
+
"location": "[parameters('location')]",
|
214 |
+
"dependsOn": [
|
215 |
+
"[resourceId('Microsoft.EventHub/namespaces/eventhubs', variables('eventHubNamespaceName'), 'myeventhub')]",
|
216 |
+
"[resourceId('Microsoft.EventHub/namespaces', variables('eventHubNamespaceName'))]"
|
217 |
+
],
|
218 |
+
"properties": {
|
219 |
+
"rights": [
|
220 |
+
"Manage",
|
221 |
+
"Listen",
|
222 |
+
"Send"
|
223 |
+
]
|
224 |
+
}
|
225 |
+
},
|
226 |
+
{
|
227 |
+
"type": "Microsoft.Storage/storageAccounts/blobServices/containers",
|
228 |
+
"apiVersion": "2019-06-01",
|
229 |
+
"name": "[concat(variables('storageAccountName'), '/default/mycontainer')]",
|
230 |
+
"dependsOn": [
|
231 |
+
"[resourceId('Microsoft.Storage/storageAccounts/blobServices', variables('storageAccountName'), 'default')]",
|
232 |
+
"[resourceId('Microsoft.Storage/storageAccounts', variables('storageAccountName'))]"
|
233 |
+
],
|
234 |
+
"properties": {
|
235 |
+
"publicAccess": "None"
|
236 |
+
}
|
237 |
+
}
|
238 |
+
],
|
239 |
+
"outputs": {
|
240 |
+
"AZURE_TENANT_ID": {
|
241 |
+
"type": "string",
|
242 |
+
"value": "[parameters('tenantId')]"
|
243 |
+
},
|
244 |
+
"AZURE_CLIENT_ID": {
|
245 |
+
"type": "string",
|
246 |
+
"value": "[parameters('testApplicationId')]"
|
247 |
+
},
|
248 |
+
"AZURE_CLIENT_SECRET": {
|
249 |
+
"type": "string",
|
250 |
+
"value": "[parameters('testApplicationSecret')]"
|
251 |
+
},
|
252 |
+
"AZURE_CLOUD": {
|
253 |
+
"type": "string",
|
254 |
+
"value": "[parameters('azureCloud')]"
|
255 |
+
},
|
256 |
+
"AZURE_PROJECT_URL": {
|
257 |
+
"type": "string",
|
258 |
+
"value": "[reference(variables('keyVaultName')).vaultUri]"
|
259 |
+
},
|
260 |
+
"EVENT_HUBS_CONNECTION_STRING": {
|
261 |
+
"type": "string",
|
262 |
+
"value": "[listKeys(resourceId('Microsoft.EventHub/namespaces/eventhubs/authorizationRules', variables('eventHubNamespaceName'), variables('eventHubName'), 'Test'), '2017-04-01').primaryConnectionString]"
|
263 |
+
},
|
264 |
+
"STORAGE_CONNECTION_STRING": {
|
265 |
+
"type": "string",
|
266 |
+
"value": "[concat('DefaultEndpointsProtocol=https;AccountName=', variables('storageAccountName'), ';AccountKey=', listKeys(resourceId('Microsoft.Storage/storageAccounts', variables('storageAccountName')), '2019-06-01').keys[0].value, ';EndpointSuffix=', parameters('storageEndpointSuffix'))]"
|
267 |
+
}
|
268 |
+
}
|
269 |
+
}
|
repos/Azure-azure-sdk-for-python-c89899b/conda/conda-recipes/README.md
ADDED
@@ -0,0 +1,14 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
# Azure SDK Conda Recipes
|
2 |
+
|
3 |
+
The conda recipes contained within this folder are used in conjunction with the azure-sdk-tools command `sdk_build_conda`.
|
4 |
+
|
5 |
+
This script accepts a json blob which defines a set of workloads (defined in `eng/pipelines/templates/stages/conda-sdk-client.yml`), then for each one:
|
6 |
+
|
7 |
+
- Download the necessary source distribution code
|
8 |
+
- Assemble a combined source distribution (in `azure-storage` case combining `queue`, `blob`, `file`, and `datalake`)
|
9 |
+
- Generate a `meta.yml` that references the newly created source distribution
|
10 |
+
- Assemble the final conda package using the `meta.yml`
|
11 |
+
|
12 |
+
If a json blob workload is not provided, a default one is generated from a `yml` configuration. Again, this file is located at `eng/pipelines/templates/stages/conda-sdk-client.yml`.
|
13 |
+
|
14 |
+
Within, there is a parameter defined called `CondaArtifacts` being passed to template `build-conda-artifacts`. That is the value that is parsed out, defaulting the `in_batch` variables to `True`. If you don't specify, you get everything!
|
repos/Azure-azure-sdk-for-python-c89899b/conda/conda-recipes/azure-ai-contentsafety/meta.yaml
ADDED
@@ -0,0 +1,59 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{% set name = "azure-ai-contentsafety" %}
|
2 |
+
|
3 |
+
package:
|
4 |
+
name: "{{ name|lower }}"
|
5 |
+
version: {{ environ.get('AZURESDK_CONDA_VERSION', '0.0.0') }}
|
6 |
+
|
7 |
+
source:
|
8 |
+
url: {{ environ.get('CONTENTSAFETY_SOURCE_DISTRIBUTION', '') }}
|
9 |
+
|
10 |
+
build:
|
11 |
+
noarch: python
|
12 |
+
number: 0
|
13 |
+
script: "{{ PYTHON }} -m pip install . -vv"
|
14 |
+
|
15 |
+
requirements:
|
16 |
+
host:
|
17 |
+
- azure-core >={{ environ.get('AZURESDK_CONDA_VERSION', '0.0.0') }}
|
18 |
+
- azure-identity >={{ environ.get('AZURESDK_CONDA_VERSION', '0.0.0') }}
|
19 |
+
- msrest >={{ environ.get('AZURESDK_CONDA_VERSION', '0.0.0') }}
|
20 |
+
- pip
|
21 |
+
- python
|
22 |
+
- six
|
23 |
+
- requests-oauthlib >=0.5.0
|
24 |
+
- aiohttp
|
25 |
+
- isodate
|
26 |
+
run:
|
27 |
+
- azure-core >={{ environ.get('AZURESDK_CONDA_VERSION', '0.0.0') }}
|
28 |
+
- azure-identity >={{ environ.get('AZURESDK_CONDA_VERSION', '0.0.0') }}
|
29 |
+
- msrest >={{ environ.get('AZURESDK_CONDA_VERSION', '0.0.0') }}
|
30 |
+
- python
|
31 |
+
- six
|
32 |
+
- requests-oauthlib >=0.5.0
|
33 |
+
- aiohttp
|
34 |
+
- isodate
|
35 |
+
|
36 |
+
test:
|
37 |
+
imports:
|
38 |
+
- azure.ai.contentsafety
|
39 |
+
- azure.ai.contentsafety.aio
|
40 |
+
|
41 |
+
about:
|
42 |
+
home: "https://github.com/Azure/azure-sdk-for-python/tree/main/sdk/contentsafety/azure-ai-contentsafety"
|
43 |
+
license: MIT
|
44 |
+
license_family: MIT
|
45 |
+
license_file:
|
46 |
+
summary: "Microsoft Azure AI Content Safety client library for Python"
|
47 |
+
description: |
|
48 |
+
Azure AI Content Safety detects harmful user-generated and AI-generated content in applications and services. Content Safety includes text and image APIs that allow you to detect material that is harmful:
|
49 |
+
|
50 |
+
Text Analysis API: Scans text for sexual content, violence, hate, and self-harm with multi-severity levels.
|
51 |
+
Image Analysis API: Scans images for sexual content, violence, hate, and self-harm with multi-severity levels.
|
52 |
+
Text Blocklist Management APIs: The default AI classifiers are sufficient for most content safety needs; however, you might need to screen for terms that are specific to your use case. You can create blocklists of terms to use with the Text API.
|
53 |
+
Please see https://aka.ms/azsdk/conda/releases/contentsafety for version details.
|
54 |
+
doc_url:
|
55 |
+
dev_url:
|
56 |
+
|
57 |
+
extra:
|
58 |
+
recipe-maintainers:
|
59 |
+
- xiangyan99
|
repos/Azure-azure-sdk-for-python-c89899b/conda/conda-recipes/azure-ai-formrecognizer/meta.yaml
ADDED
@@ -0,0 +1,56 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{% set name = "azure-ai-formrecognizer" %}
|
2 |
+
|
3 |
+
package:
|
4 |
+
name: "{{ name|lower }}"
|
5 |
+
version: {{ environ.get('AZURESDK_CONDA_VERSION', '0.0.0') }}
|
6 |
+
|
7 |
+
source:
|
8 |
+
url: {{ environ.get('FORMRECOGNIZER_SOURCE_DISTRIBUTION', '') }}
|
9 |
+
|
10 |
+
build:
|
11 |
+
noarch: python
|
12 |
+
number: 0
|
13 |
+
script: "{{ PYTHON }} -m pip install . -vv"
|
14 |
+
|
15 |
+
requirements:
|
16 |
+
host:
|
17 |
+
- azure-core >={{ environ.get('AZURESDK_CONDA_VERSION', '0.0.0') }}
|
18 |
+
- azure-identity >={{ environ.get('AZURESDK_CONDA_VERSION', '0.0.0') }}
|
19 |
+
- msrest >={{ environ.get('AZURESDK_CONDA_VERSION', '0.0.0') }}
|
20 |
+
- pip
|
21 |
+
- python
|
22 |
+
- six
|
23 |
+
- requests-oauthlib >=0.5.0
|
24 |
+
- aiohttp
|
25 |
+
- isodate
|
26 |
+
run:
|
27 |
+
- azure-core >={{ environ.get('AZURESDK_CONDA_VERSION', '0.0.0') }}
|
28 |
+
- azure-identity >={{ environ.get('AZURESDK_CONDA_VERSION', '0.0.0') }}
|
29 |
+
- msrest >={{ environ.get('AZURESDK_CONDA_VERSION', '0.0.0') }}
|
30 |
+
- python
|
31 |
+
- six
|
32 |
+
- requests-oauthlib >=0.5.0
|
33 |
+
- aiohttp
|
34 |
+
- isodate
|
35 |
+
|
36 |
+
test:
|
37 |
+
imports:
|
38 |
+
- azure.ai.formrecognizer
|
39 |
+
- azure.ai.formrecognizer.aio
|
40 |
+
|
41 |
+
about:
|
42 |
+
home: "https://github.com/Azure/azure-sdk-for-python/tree/main/sdk/formrecognizer/azure-ai-formrecognizer"
|
43 |
+
license: MIT
|
44 |
+
license_family: MIT
|
45 |
+
license_file:
|
46 |
+
summary: "Microsoft Azure Form Recognizer Client Library for Python"
|
47 |
+
description: |
|
48 |
+
Azure Cognitive Services Form Recognizer is a cloud service that uses machine learning
|
49 |
+
to recognize text and table data from form documents.
|
50 |
+
Please see https://aka.ms/azsdk/conda/releases/formrecognizer for version details.
|
51 |
+
doc_url:
|
52 |
+
dev_url:
|
53 |
+
|
54 |
+
extra:
|
55 |
+
recipe-maintainers:
|
56 |
+
- xiangyan99
|
repos/Azure-azure-sdk-for-python-c89899b/conda/conda-recipes/azure-ai-language-conversations/meta.yaml
ADDED
@@ -0,0 +1,59 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{% set name = "azure-ai-language-conversations" %}
|
2 |
+
|
3 |
+
package:
|
4 |
+
name: "{{ name|lower }}"
|
5 |
+
version: {{ environ.get('AZURESDK_CONDA_VERSION', '0.0.0') }}
|
6 |
+
|
7 |
+
source:
|
8 |
+
url: {{ environ.get('COGNITIVELANGUAGE_SOURCE_DISTRIBUTION', '') }}
|
9 |
+
|
10 |
+
build:
|
11 |
+
noarch: python
|
12 |
+
number: 0
|
13 |
+
script: "{{ PYTHON }} -m pip install . -vv"
|
14 |
+
|
15 |
+
requirements:
|
16 |
+
host:
|
17 |
+
- azure-core >={{ environ.get('AZURESDK_CONDA_VERSION', '0.0.0') }}
|
18 |
+
- azure-identity >={{ environ.get('AZURESDK_CONDA_VERSION', '0.0.0') }}
|
19 |
+
- msrest >={{ environ.get('AZURESDK_CONDA_VERSION', '0.0.0') }}
|
20 |
+
- pip
|
21 |
+
- python
|
22 |
+
- six
|
23 |
+
- requests-oauthlib >=0.5.0
|
24 |
+
- aiohttp
|
25 |
+
- isodate
|
26 |
+
run:
|
27 |
+
- azure-core >={{ environ.get('AZURESDK_CONDA_VERSION', '0.0.0') }}
|
28 |
+
- azure-identity >={{ environ.get('AZURESDK_CONDA_VERSION', '0.0.0') }}
|
29 |
+
- msrest >={{ environ.get('AZURESDK_CONDA_VERSION', '0.0.0') }}
|
30 |
+
- python
|
31 |
+
- six
|
32 |
+
- requests-oauthlib >=0.5.0
|
33 |
+
- aiohttp
|
34 |
+
- isodate
|
35 |
+
|
36 |
+
test:
|
37 |
+
imports:
|
38 |
+
- azure.ai.language.conversations
|
39 |
+
- azure.ai.language.conversations.aio
|
40 |
+
|
41 |
+
about:
|
42 |
+
home: "https://github.com/Azure/azure-sdk-for-python/tree/main/sdk/cognitivelanguage/azure-ai-language-conversations"
|
43 |
+
license: MIT
|
44 |
+
license_family: MIT
|
45 |
+
license_file:
|
46 |
+
summary: "Azure Conversational Language Understanding client library for Python"
|
47 |
+
description: |
|
48 |
+
Conversational Language Understanding - aka CLU for short - is a cloud-based conversational AI service which provides many language understanding capabilities like:
|
49 |
+
Conversation App: It's used in extracting intents and entities in conversations
|
50 |
+
Workflow app: Acts like an orchestrator to select the best candidate to analyze conversations to get best response from apps like Qna, Luis, and Conversation App
|
51 |
+
Conversational Summarization: Used to summarize conversations in the form of issues, and final resolutions
|
52 |
+
Conversational PII: Used to extract and redact personally-identifiable info (PII)
|
53 |
+
Please see https://aka.ms/azsdk/conda/releases/conversations for version details.
|
54 |
+
doc_url:
|
55 |
+
dev_url:
|
56 |
+
|
57 |
+
extra:
|
58 |
+
recipe-maintainers:
|
59 |
+
- xiangyan99
|
repos/Azure-azure-sdk-for-python-c89899b/conda/conda-recipes/azure-ai-language-questionanswering/meta.yaml
ADDED
@@ -0,0 +1,61 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{% set name = "azure-ai-language-questionanswering" %}
|
2 |
+
|
3 |
+
package:
|
4 |
+
name: "{{ name|lower }}"
|
5 |
+
version: {{ environ.get('AZURESDK_CONDA_VERSION', '0.0.0') }}
|
6 |
+
|
7 |
+
source:
|
8 |
+
url: {{ environ.get('COGNITIVELANGUAGE_SOURCE_DISTRIBUTION', '') }}
|
9 |
+
|
10 |
+
build:
|
11 |
+
noarch: python
|
12 |
+
number: 0
|
13 |
+
script: "{{ PYTHON }} -m pip install . -vv"
|
14 |
+
|
15 |
+
requirements:
|
16 |
+
host:
|
17 |
+
- azure-core >={{ environ.get('AZURESDK_CONDA_VERSION', '0.0.0') }}
|
18 |
+
- azure-identity >={{ environ.get('AZURESDK_CONDA_VERSION', '0.0.0') }}
|
19 |
+
- msrest >={{ environ.get('AZURESDK_CONDA_VERSION', '0.0.0') }}
|
20 |
+
- pip
|
21 |
+
- python
|
22 |
+
- six
|
23 |
+
- requests-oauthlib >=0.5.0
|
24 |
+
- aiohttp
|
25 |
+
- isodate
|
26 |
+
run:
|
27 |
+
- azure-core >={{ environ.get('AZURESDK_CONDA_VERSION', '0.0.0') }}
|
28 |
+
- azure-identity >={{ environ.get('AZURESDK_CONDA_VERSION', '0.0.0') }}
|
29 |
+
- msrest >={{ environ.get('AZURESDK_CONDA_VERSION', '0.0.0') }}
|
30 |
+
- python
|
31 |
+
- six
|
32 |
+
- requests-oauthlib >=0.5.0
|
33 |
+
- aiohttp
|
34 |
+
- isodate
|
35 |
+
|
36 |
+
test:
|
37 |
+
imports:
|
38 |
+
- azure.ai.language.questionanswering
|
39 |
+
- azure.ai.language.questionanswering.aio
|
40 |
+
- azure.ai.language.questionanswering.models
|
41 |
+
|
42 |
+
about:
|
43 |
+
home: "https://github.com/Azure/azure-sdk-for-python/tree/main/sdk/cognitivelanguage/azure-ai-language-questionanswering"
|
44 |
+
license: MIT
|
45 |
+
license_family: MIT
|
46 |
+
license_file:
|
47 |
+
summary: "Microsoft Azure Question Answering Client Library for Python"
|
48 |
+
description: |
|
49 |
+
Question Answering is a cloud-based API service that lets you create a conversational
|
50 |
+
question-and-answer layer over your existing data. Use it to build a knowledge base
|
51 |
+
by extracting questions and answers from your semi-structured content, including FAQ,
|
52 |
+
manuals, and documents. Answer users’ questions with the best answers from the QnAs
|
53 |
+
in your knowledge base automatically. Your knowledge base gets smarter, too, as it
|
54 |
+
continually learns from users' behavior.
|
55 |
+
Please see https://aka.ms/azsdk/conda/releases/questionanswering for version details.
|
56 |
+
doc_url:
|
57 |
+
dev_url:
|
58 |
+
|
59 |
+
extra:
|
60 |
+
recipe-maintainers:
|
61 |
+
- xiangyan99
|
repos/Azure-azure-sdk-for-python-c89899b/conda/conda-recipes/azure-ai-metricsadvisor/meta.yaml
ADDED
@@ -0,0 +1,56 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{% set name = "azure-ai-metricsadvisor" %}
|
2 |
+
|
3 |
+
package:
|
4 |
+
name: "{{ name|lower }}"
|
5 |
+
version: {{ environ.get('AZURESDK_CONDA_VERSION', '0.0.0') }}
|
6 |
+
|
7 |
+
source:
|
8 |
+
url: {{ environ.get('COGNITIVELANGUAGE_SOURCE_DISTRIBUTION', '') }}
|
9 |
+
|
10 |
+
build:
|
11 |
+
noarch: python
|
12 |
+
number: 0
|
13 |
+
script: "{{ PYTHON }} -m pip install . -vv"
|
14 |
+
|
15 |
+
requirements:
|
16 |
+
host:
|
17 |
+
- azure-core >={{ environ.get('AZURESDK_CONDA_VERSION', '0.0.0') }}
|
18 |
+
- azure-identity >={{ environ.get('AZURESDK_CONDA_VERSION', '0.0.0') }}
|
19 |
+
- msrest >={{ environ.get('AZURESDK_CONDA_VERSION', '0.0.0') }}
|
20 |
+
- pip
|
21 |
+
- python
|
22 |
+
- six
|
23 |
+
- requests-oauthlib >=0.5.0
|
24 |
+
- aiohttp
|
25 |
+
- isodate
|
26 |
+
run:
|
27 |
+
- azure-core >={{ environ.get('AZURESDK_CONDA_VERSION', '0.0.0') }}
|
28 |
+
- azure-identity >={{ environ.get('AZURESDK_CONDA_VERSION', '0.0.0') }}
|
29 |
+
- msrest >={{ environ.get('AZURESDK_CONDA_VERSION', '0.0.0') }}
|
30 |
+
- python
|
31 |
+
- six
|
32 |
+
- requests-oauthlib >=0.5.0
|
33 |
+
- aiohttp
|
34 |
+
- isodate
|
35 |
+
|
36 |
+
test:
|
37 |
+
imports:
|
38 |
+
- azure.ai.metricsadvisor
|
39 |
+
- azure.ai.metricsadvisor.aio
|
40 |
+
- azure.ai.metricsadvisor.models
|
41 |
+
|
42 |
+
about:
|
43 |
+
home: "https://github.com/Azure/azure-sdk-for-python/tree/main/sdk/metricsadvisor/azure-ai-metricsadvisor"
|
44 |
+
license: MIT
|
45 |
+
license_family: MIT
|
46 |
+
license_file:
|
47 |
+
summary: "Microsoft Azure Metrics Advisor Client Library for Python"
|
48 |
+
description: |
|
49 |
+
Metrics Advisor is a scalable real-time time series monitoring, alerting, and root cause analysis platform.
|
50 |
+
Please see https://aka.ms/azsdk/conda/releases/metricsadvisor for version details.
|
51 |
+
doc_url:
|
52 |
+
dev_url:
|
53 |
+
|
54 |
+
extra:
|
55 |
+
recipe-maintainers:
|
56 |
+
- xiangyan99
|
repos/Azure-azure-sdk-for-python-c89899b/conda/conda-recipes/azure-ai-ml/meta.yaml
ADDED
@@ -0,0 +1,88 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{% set name = "azure-ai-ml" %}
|
2 |
+
|
3 |
+
package:
|
4 |
+
name: "{{ name|lower }}"
|
5 |
+
version: {{ environ.get('AZURESDK_CONDA_VERSION', '0.0.0') }}
|
6 |
+
|
7 |
+
source:
|
8 |
+
url: {{ environ.get('ML_SOURCE_DISTRIBUTION', '') }}
|
9 |
+
|
10 |
+
build:
|
11 |
+
noarch: python
|
12 |
+
number: 0
|
13 |
+
script: "{{ PYTHON }} -m pip install . -vv"
|
14 |
+
|
15 |
+
requirements:
|
16 |
+
host:
|
17 |
+
- azure-core >={{ environ.get('AZURESDK_CONDA_VERSION', '0.0.0') }}
|
18 |
+
- azure-identity >={{ environ.get('AZURESDK_CONDA_VERSION', '0.0.0') }}
|
19 |
+
- msrest >={{ environ.get('AZURESDK_CONDA_VERSION', '0.0.0') }}
|
20 |
+
- aiohttp
|
21 |
+
- azure-storage >={{ environ.get('AZURESDK_CONDA_VERSION', '0.0.0') }}
|
22 |
+
- colorama <=0.4.4
|
23 |
+
- isodate
|
24 |
+
- jsonschema <5.0.0,>=4.0.0
|
25 |
+
- marshmallow <4.0.0,>=3.5
|
26 |
+
- pip
|
27 |
+
- pydash <6.0.0
|
28 |
+
- pyjwt <3.0.0
|
29 |
+
- python
|
30 |
+
- pyyaml <7.0.0,>=5.1.0
|
31 |
+
- strictyaml <=1.6.1
|
32 |
+
- tqdm <=4.63.0
|
33 |
+
- typing-extensions <5.0.0
|
34 |
+
- opencensus >=0.11.0
|
35 |
+
- opencensus-context
|
36 |
+
- opencensus-ext-azure
|
37 |
+
run:
|
38 |
+
- azure-core >={{ environ.get('AZURESDK_CONDA_VERSION', '0.0.0') }}
|
39 |
+
- azure-identity >={{ environ.get('AZURESDK_CONDA_VERSION', '0.0.0') }}
|
40 |
+
- msrest >={{ environ.get('AZURESDK_CONDA_VERSION', '0.0.0') }}
|
41 |
+
- aiohttp
|
42 |
+
- azure-storage >={{ environ.get('AZURESDK_CONDA_VERSION', '0.0.0') }}
|
43 |
+
- colorama <=0.4.4
|
44 |
+
- isodate
|
45 |
+
- jsonschema <5.0.0,>=4.0.0
|
46 |
+
- marshmallow <4.0.0,>=3.5
|
47 |
+
- pydash <6.0.0
|
48 |
+
- pyjwt <3.0.0
|
49 |
+
- python
|
50 |
+
- pyyaml <7.0.0,>=5.1.0
|
51 |
+
- strictyaml <=1.6.1
|
52 |
+
- tqdm <=4.63.0
|
53 |
+
- typing-extensions <5.0.0
|
54 |
+
- opencensus >=0.11.0
|
55 |
+
- opencensus-context
|
56 |
+
- opencensus-ext-azure
|
57 |
+
|
58 |
+
test:
|
59 |
+
imports:
|
60 |
+
- azure.ai.ml
|
61 |
+
- azure.ai.ml.automl
|
62 |
+
- azure.ai.ml.constants
|
63 |
+
- azure.ai.ml.dsl
|
64 |
+
- azure.ai.ml.entities
|
65 |
+
- azure.ai.ml.identity
|
66 |
+
- azure.ai.ml.operations
|
67 |
+
- azure.ai.ml.parallel
|
68 |
+
- azure.ai.ml.sweep
|
69 |
+
|
70 |
+
about:
|
71 |
+
home: "https://github.com/Azure/azure-sdk-for-python/tree/main/sdk/ml/azure-ai-ml"
|
72 |
+
license: MIT
|
73 |
+
license_family: MIT
|
74 |
+
license_file:
|
75 |
+
summary: "Microsoft Azure Machine Learning Client Library for Python"
|
76 |
+
description: |
|
77 |
+
We are excited to introduce the public preview of Azure Machine Learning Python SDK v2. The Python SDK v2 introduces new SDK
|
78 |
+
capabilities like standalone local jobs, reusable components for pipelines and managed online/batch inferencing. Python SDK v2
|
79 |
+
allows you to move from simple to complex tasks easily and incrementally. This is enabled by using a common object model which
|
80 |
+
brings concept reuse and consistency of actions across various tasks. The SDK v2 shares its foundation with the CLI v2 which is
|
81 |
+
currently in also in public preview.
|
82 |
+
Please see https://aka.ms/azsdk/conda/releases/ml for version details.
|
83 |
+
doc_url:
|
84 |
+
dev_url:
|
85 |
+
|
86 |
+
extra:
|
87 |
+
recipe-maintainers:
|
88 |
+
- xiangyan99
|
repos/Azure-azure-sdk-for-python-c89899b/conda/conda-recipes/azure-ai-textanalytics/meta.yaml
ADDED
@@ -0,0 +1,55 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{% set name = "azure-ai-textanalytics" %}
|
2 |
+
|
3 |
+
package:
|
4 |
+
name: "{{ name|lower }}"
|
5 |
+
version: {{ environ.get('AZURESDK_CONDA_VERSION', '0.0.0') }}
|
6 |
+
|
7 |
+
source:
|
8 |
+
url: {{ environ.get('TEXTANALYTICS_SOURCE_DISTRIBUTION', '') }}
|
9 |
+
|
10 |
+
build:
|
11 |
+
noarch: python
|
12 |
+
number: 0
|
13 |
+
script: "{{ PYTHON }} -m pip install . -vv"
|
14 |
+
|
15 |
+
requirements:
|
16 |
+
host:
|
17 |
+
- azure-core >={{ environ.get('AZURESDK_CONDA_VERSION', '0.0.0') }}
|
18 |
+
- azure-identity >={{ environ.get('AZURESDK_CONDA_VERSION', '0.0.0') }}
|
19 |
+
- msrest >={{ environ.get('AZURESDK_CONDA_VERSION', '0.0.0') }}
|
20 |
+
- pip
|
21 |
+
- python
|
22 |
+
- six
|
23 |
+
- requests-oauthlib >=0.5.0
|
24 |
+
- aiohttp
|
25 |
+
- isodate
|
26 |
+
run:
|
27 |
+
- azure-core >={{ environ.get('AZURESDK_CONDA_VERSION', '0.0.0') }}
|
28 |
+
- azure-identity >={{ environ.get('AZURESDK_CONDA_VERSION', '0.0.0') }}
|
29 |
+
- msrest >={{ environ.get('AZURESDK_CONDA_VERSION', '0.0.0') }}
|
30 |
+
- python
|
31 |
+
- six
|
32 |
+
- requests-oauthlib >=0.5.0
|
33 |
+
- aiohttp
|
34 |
+
- isodate
|
35 |
+
|
36 |
+
test:
|
37 |
+
imports:
|
38 |
+
- azure.ai.textanalytics
|
39 |
+
- azure.ai.textanalytics.aio
|
40 |
+
|
41 |
+
about:
|
42 |
+
home: "https://github.com/Azure/azure-sdk-for-python/tree/main/sdk/textanalytics/azure-ai-textanalytics"
|
43 |
+
license: MIT
|
44 |
+
license_family: MIT
|
45 |
+
license_file:
|
46 |
+
summary: "Microsoft Azure Text Analytics Client Library for Python"
|
47 |
+
description: |
|
48 |
+
Text Analytics is a cloud-based service that provides advanced natural language processing over raw text.
|
49 |
+
Please see https://aka.ms/azsdk/conda/releases/textanalytics for version details.
|
50 |
+
doc_url:
|
51 |
+
dev_url:
|
52 |
+
|
53 |
+
extra:
|
54 |
+
recipe-maintainers:
|
55 |
+
- xiangyan99
|
repos/Azure-azure-sdk-for-python-c89899b/conda/conda-recipes/azure-ai-translation-document/meta.yaml
ADDED
@@ -0,0 +1,60 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{% set name = "azure-ai-translation-document" %}
|
2 |
+
|
3 |
+
package:
|
4 |
+
name: "{{ name|lower }}"
|
5 |
+
version: {{ environ.get('AZURESDK_CONDA_VERSION', '0.0.0') }}
|
6 |
+
|
7 |
+
source:
|
8 |
+
url: {{ environ.get('TRANSLATION_SOURCE_DISTRIBUTION', '') }}
|
9 |
+
|
10 |
+
build:
|
11 |
+
noarch: python
|
12 |
+
number: 0
|
13 |
+
script: "{{ PYTHON }} -m pip install . -vv"
|
14 |
+
|
15 |
+
requirements:
|
16 |
+
host:
|
17 |
+
- azure-core >={{ environ.get('AZURESDK_CONDA_VERSION', '0.0.0') }}
|
18 |
+
- azure-identity >={{ environ.get('AZURESDK_CONDA_VERSION', '0.0.0') }}
|
19 |
+
- msrest >={{ environ.get('AZURESDK_CONDA_VERSION', '0.0.0') }}
|
20 |
+
- pip
|
21 |
+
- python
|
22 |
+
- six
|
23 |
+
- requests-oauthlib >=0.5.0
|
24 |
+
- aiohttp
|
25 |
+
- isodate
|
26 |
+
run:
|
27 |
+
- azure-core >={{ environ.get('AZURESDK_CONDA_VERSION', '0.0.0') }}
|
28 |
+
- azure-identity >={{ environ.get('AZURESDK_CONDA_VERSION', '0.0.0') }}
|
29 |
+
- msrest >={{ environ.get('AZURESDK_CONDA_VERSION', '0.0.0') }}
|
30 |
+
- python
|
31 |
+
- six
|
32 |
+
- requests-oauthlib >=0.5.0
|
33 |
+
- aiohttp
|
34 |
+
- isodate
|
35 |
+
|
36 |
+
test:
|
37 |
+
imports:
|
38 |
+
- azure.ai.translation.document
|
39 |
+
- azure.ai.translation.document.aio
|
40 |
+
|
41 |
+
about:
|
42 |
+
home: "https://github.com/Azure/azure-sdk-for-python/tree/main/sdk/translation/azure-ai-translation-document"
|
43 |
+
license: MIT
|
44 |
+
license_family: MIT
|
45 |
+
license_file:
|
46 |
+
summary: "Azure Document Translation client library for Python"
|
47 |
+
description: |
|
48 |
+
Azure Cognitive Services Document Translation is a cloud service that can be used to translate multiple and
|
49 |
+
complex documents across languages and dialects while preserving original document structure and data format.
|
50 |
+
Use the client library for Document Translation to:
|
51 |
+
Translate numerous, large files from an Azure Blob Storage container to a target container in your language of choice.
|
52 |
+
Check the translation status and progress of each document in the translation operation.
|
53 |
+
Apply a custom translation model or glossaries to tailor translation to your specific case.
|
54 |
+
Please see https://aka.ms/azsdk/conda/releases/document-translation for version details.
|
55 |
+
doc_url:
|
56 |
+
dev_url:
|
57 |
+
|
58 |
+
extra:
|
59 |
+
recipe-maintainers:
|
60 |
+
- xiangyan99
|
repos/Azure-azure-sdk-for-python-c89899b/conda/conda-recipes/azure-ai-translation-text/meta.yaml
ADDED
@@ -0,0 +1,61 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{% set name = "azure-ai-translation-text" %}
|
2 |
+
|
3 |
+
package:
|
4 |
+
name: "{{ name|lower }}"
|
5 |
+
version: {{ environ.get('AZURESDK_CONDA_VERSION', '0.0.0') }}
|
6 |
+
|
7 |
+
source:
|
8 |
+
url: {{ environ.get('TRANSLATION_SOURCE_DISTRIBUTION', '') }}
|
9 |
+
|
10 |
+
build:
|
11 |
+
noarch: python
|
12 |
+
number: 0
|
13 |
+
script: "{{ PYTHON }} -m pip install . -vv"
|
14 |
+
|
15 |
+
requirements:
|
16 |
+
host:
|
17 |
+
- azure-core >={{ environ.get('AZURESDK_CONDA_VERSION', '0.0.0') }}
|
18 |
+
- azure-identity >={{ environ.get('AZURESDK_CONDA_VERSION', '0.0.0') }}
|
19 |
+
- msrest >={{ environ.get('AZURESDK_CONDA_VERSION', '0.0.0') }}
|
20 |
+
- pip
|
21 |
+
- python
|
22 |
+
- six
|
23 |
+
- requests-oauthlib >=0.5.0
|
24 |
+
- aiohttp
|
25 |
+
- isodate
|
26 |
+
run:
|
27 |
+
- azure-core >={{ environ.get('AZURESDK_CONDA_VERSION', '0.0.0') }}
|
28 |
+
- azure-identity >={{ environ.get('AZURESDK_CONDA_VERSION', '0.0.0') }}
|
29 |
+
- msrest >={{ environ.get('AZURESDK_CONDA_VERSION', '0.0.0') }}
|
30 |
+
- python
|
31 |
+
- six
|
32 |
+
- requests-oauthlib >=0.5.0
|
33 |
+
- aiohttp
|
34 |
+
- isodate
|
35 |
+
|
36 |
+
test:
|
37 |
+
imports:
|
38 |
+
- azure.ai.translation.text
|
39 |
+
- azure.ai.translation.text.aio
|
40 |
+
|
41 |
+
about:
|
42 |
+
home: "https://github.com/Azure/azure-sdk-for-python/tree/main/sdk/translation/azure-ai-translation-text"
|
43 |
+
license: MIT
|
44 |
+
license_family: MIT
|
45 |
+
license_file:
|
46 |
+
summary: "Azure Text Translation client library for Python"
|
47 |
+
description: |
|
48 |
+
Text Translation is a cloud-based REST API feature of the Translator service that uses neural machine translation technology to enable quick and accurate source-to-target text translation in real time across all supported languages.
|
49 |
+
Use the Text Translation client library for Python to:
|
50 |
+
* Return a list of languages supported by Translate, Transliterate, and Dictionary operations.
|
51 |
+
* Render single source-language text to multiple target-language texts with a single request.
|
52 |
+
* Convert text of a source language in letters of a different script.
|
53 |
+
*Return equivalent words for the source term in the target language.
|
54 |
+
*Return grammatical structure and context examples for the source term and target term pair.
|
55 |
+
Please see https://aka.ms/azsdk/conda/releases/text-translation for version details.
|
56 |
+
doc_url:
|
57 |
+
dev_url:
|
58 |
+
|
59 |
+
extra:
|
60 |
+
recipe-maintainers:
|
61 |
+
- xiangyan99
|
repos/Azure-azure-sdk-for-python-c89899b/conda/conda-recipes/azure-appconfiguration/meta.yaml
ADDED
@@ -0,0 +1,54 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{% set name = "azure-appconfiguration" %}
|
2 |
+
|
3 |
+
package:
|
4 |
+
name: "{{ name|lower }}"
|
5 |
+
version: {{ environ.get('AZURESDK_CONDA_VERSION', '0.0.0') }}
|
6 |
+
|
7 |
+
source:
|
8 |
+
url: {{ environ.get('APPCONFIGURATION_SOURCE_DISTRIBUTION', '') }}
|
9 |
+
|
10 |
+
build:
|
11 |
+
noarch: python
|
12 |
+
number: 0
|
13 |
+
script: "{{ PYTHON }} -m pip install . -vv"
|
14 |
+
|
15 |
+
requirements:
|
16 |
+
host:
|
17 |
+
- azure-core >={{ environ.get('AZURESDK_CONDA_VERSION', '0.0.0') }}
|
18 |
+
- azure-identity >={{ environ.get('AZURESDK_CONDA_VERSION', '0.0.0') }}
|
19 |
+
- msrest >={{ environ.get('AZURESDK_CONDA_VERSION', '0.0.0') }}
|
20 |
+
- pip
|
21 |
+
- python
|
22 |
+
- requests-oauthlib >=0.5.0
|
23 |
+
- aiohttp
|
24 |
+
- isodate
|
25 |
+
run:
|
26 |
+
- azure-core >={{ environ.get('AZURESDK_CONDA_VERSION', '0.0.0') }}
|
27 |
+
- azure-identity >={{ environ.get('AZURESDK_CONDA_VERSION', '0.0.0') }}
|
28 |
+
- msrest >={{ environ.get('AZURESDK_CONDA_VERSION', '0.0.0') }}
|
29 |
+
- python
|
30 |
+
- requests-oauthlib >=0.5.0
|
31 |
+
- aiohttp
|
32 |
+
- isodate
|
33 |
+
|
34 |
+
test:
|
35 |
+
imports:
|
36 |
+
- azure.appconfiguration
|
37 |
+
- azure.appconfiguration.aio
|
38 |
+
|
39 |
+
about:
|
40 |
+
home: "https://github.com/Azure/azure-sdk-for-python/tree/main/sdk/appconfiguration/azure-appconfiguration"
|
41 |
+
license: MIT
|
42 |
+
license_family: MIT
|
43 |
+
license_file:
|
44 |
+
summary: "Microsoft App Configuration Data Library for Python"
|
45 |
+
description: |
|
46 |
+
Azure App Configuration is a managed service that helps developers centralize their application
|
47 |
+
configurations simply and securely.
|
48 |
+
Please see https://aka.ms/azsdk/conda/releases/appconfiguration for version details.
|
49 |
+
doc_url:
|
50 |
+
dev_url:
|
51 |
+
|
52 |
+
extra:
|
53 |
+
recipe-maintainers:
|
54 |
+
- xiangyan99
|