Spaces:
Paused
Paused
Upload folder using huggingface_hub
Browse filesThis view is limited to 50 files because it contains too many changes. See raw diff
- .DS_Store +0 -0
- .gitattributes +20 -0
- .venv/.gitignore +1 -0
- .venv/bin/Activate.ps1 +247 -0
- .venv/bin/activate +69 -0
- .venv/bin/activate.csh +26 -0
- .venv/bin/activate.fish +69 -0
- .venv/bin/distro +8 -0
- .venv/bin/dotenv +8 -0
- .venv/bin/email_validator +8 -0
- .venv/bin/f2py +8 -0
- .venv/bin/fastapi +8 -0
- .venv/bin/fonttools +8 -0
- .venv/bin/gradio +8 -0
- .venv/bin/httpx +8 -0
- .venv/bin/huggingface-cli +8 -0
- .venv/bin/jsonschema +8 -0
- .venv/bin/markdown-it +8 -0
- .venv/bin/normalizer +8 -0
- .venv/bin/openai +8 -0
- .venv/bin/pip +8 -0
- .venv/bin/pip3 +8 -0
- .venv/bin/pip3.11 +8 -0
- .venv/bin/pyftmerge +8 -0
- .venv/bin/pyftsubset +8 -0
- .venv/bin/pygmentize +8 -0
- .venv/bin/python +0 -0
- .venv/bin/python3 +0 -0
- .venv/bin/python3.11 +0 -0
- .venv/bin/ruff +3 -0
- .venv/bin/tqdm +8 -0
- .venv/bin/ttx +8 -0
- .venv/bin/typer +8 -0
- .venv/bin/upload_theme +8 -0
- .venv/bin/uvicorn +8 -0
- .venv/bin/watchfiles +8 -0
- .venv/lib/python3.11/site-packages/FLAML-2.1.2.dist-info/INSTALLER +1 -0
- .venv/lib/python3.11/site-packages/FLAML-2.1.2.dist-info/LICENSE +21 -0
- .venv/lib/python3.11/site-packages/FLAML-2.1.2.dist-info/METADATA +286 -0
- .venv/lib/python3.11/site-packages/FLAML-2.1.2.dist-info/NOTICE.md +290 -0
- .venv/lib/python3.11/site-packages/FLAML-2.1.2.dist-info/RECORD +189 -0
- .venv/lib/python3.11/site-packages/FLAML-2.1.2.dist-info/WHEEL +5 -0
- .venv/lib/python3.11/site-packages/FLAML-2.1.2.dist-info/top_level.txt +1 -0
- .venv/lib/python3.11/site-packages/MarkupSafe-2.1.5.dist-info/INSTALLER +1 -0
- .venv/lib/python3.11/site-packages/MarkupSafe-2.1.5.dist-info/LICENSE.rst +28 -0
- .venv/lib/python3.11/site-packages/MarkupSafe-2.1.5.dist-info/METADATA +93 -0
- .venv/lib/python3.11/site-packages/MarkupSafe-2.1.5.dist-info/RECORD +14 -0
- .venv/lib/python3.11/site-packages/MarkupSafe-2.1.5.dist-info/WHEEL +5 -0
- .venv/lib/python3.11/site-packages/MarkupSafe-2.1.5.dist-info/top_level.txt +1 -0
- .venv/lib/python3.11/site-packages/PIL/.dylibs/libXau.6.0.0.dylib +0 -0
.DS_Store
ADDED
|
Binary file (6.15 kB). View file
|
|
|
.gitattributes
CHANGED
|
@@ -33,3 +33,23 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
|
|
| 33 |
*.zip filter=lfs diff=lfs merge=lfs -text
|
| 34 |
*.zst filter=lfs diff=lfs merge=lfs -text
|
| 35 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 33 |
*.zip filter=lfs diff=lfs merge=lfs -text
|
| 34 |
*.zst filter=lfs diff=lfs merge=lfs -text
|
| 35 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
| 36 |
+
.venv/bin/ruff filter=lfs diff=lfs merge=lfs -text
|
| 37 |
+
.venv/lib/python3.11/site-packages/PIL/.dylibs/libfreetype.6.dylib filter=lfs diff=lfs merge=lfs -text
|
| 38 |
+
.venv/lib/python3.11/site-packages/PIL/.dylibs/libharfbuzz.0.dylib filter=lfs diff=lfs merge=lfs -text
|
| 39 |
+
.venv/lib/python3.11/site-packages/altair/vegalite/v5/schema/__pycache__/channels.cpython-311.pyc filter=lfs diff=lfs merge=lfs -text
|
| 40 |
+
.venv/lib/python3.11/site-packages/altair/vegalite/v5/schema/__pycache__/core.cpython-311.pyc filter=lfs diff=lfs merge=lfs -text
|
| 41 |
+
.venv/lib/python3.11/site-packages/fontTools/misc/bezierTools.cpython-311-darwin.so filter=lfs diff=lfs merge=lfs -text
|
| 42 |
+
.venv/lib/python3.11/site-packages/gradio/frpc_darwin_arm64_v0.2 filter=lfs diff=lfs merge=lfs -text
|
| 43 |
+
.venv/lib/python3.11/site-packages/gradio/templates/frontend/assets/Index-Bk2HDCfO.js.map filter=lfs diff=lfs merge=lfs -text
|
| 44 |
+
.venv/lib/python3.11/site-packages/numpy/.dylibs/libgfortran.5.dylib filter=lfs diff=lfs merge=lfs -text
|
| 45 |
+
.venv/lib/python3.11/site-packages/numpy/.dylibs/libopenblas64_.0.dylib filter=lfs diff=lfs merge=lfs -text
|
| 46 |
+
.venv/lib/python3.11/site-packages/numpy/core/_multiarray_umath.cpython-311-darwin.so filter=lfs diff=lfs merge=lfs -text
|
| 47 |
+
.venv/lib/python3.11/site-packages/pandas/_libs/algos.cpython-311-darwin.so filter=lfs diff=lfs merge=lfs -text
|
| 48 |
+
.venv/lib/python3.11/site-packages/pandas/_libs/groupby.cpython-311-darwin.so filter=lfs diff=lfs merge=lfs -text
|
| 49 |
+
.venv/lib/python3.11/site-packages/pandas/_libs/hashtable.cpython-311-darwin.so filter=lfs diff=lfs merge=lfs -text
|
| 50 |
+
.venv/lib/python3.11/site-packages/pandas/_libs/interval.cpython-311-darwin.so filter=lfs diff=lfs merge=lfs -text
|
| 51 |
+
.venv/lib/python3.11/site-packages/pandas/_libs/join.cpython-311-darwin.so filter=lfs diff=lfs merge=lfs -text
|
| 52 |
+
.venv/lib/python3.11/site-packages/pydantic_core/_pydantic_core.cpython-311-darwin.so filter=lfs diff=lfs merge=lfs -text
|
| 53 |
+
.venv/lib/python3.11/site-packages/tiktoken/_tiktoken.cpython-311-darwin.so filter=lfs diff=lfs merge=lfs -text
|
| 54 |
+
.venv/lib/python3.11/site-packages/uvloop/loop.cpython-311-darwin.so filter=lfs diff=lfs merge=lfs -text
|
| 55 |
+
.venv/lib/python3.11/site-packages/watchfiles/_rust_notify.cpython-311-darwin.so filter=lfs diff=lfs merge=lfs -text
|
.venv/.gitignore
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
*
|
.venv/bin/Activate.ps1
ADDED
|
@@ -0,0 +1,247 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
<#
|
| 2 |
+
.Synopsis
|
| 3 |
+
Activate a Python virtual environment for the current PowerShell session.
|
| 4 |
+
|
| 5 |
+
.Description
|
| 6 |
+
Pushes the python executable for a virtual environment to the front of the
|
| 7 |
+
$Env:PATH environment variable and sets the prompt to signify that you are
|
| 8 |
+
in a Python virtual environment. Makes use of the command line switches as
|
| 9 |
+
well as the `pyvenv.cfg` file values present in the virtual environment.
|
| 10 |
+
|
| 11 |
+
.Parameter VenvDir
|
| 12 |
+
Path to the directory that contains the virtual environment to activate. The
|
| 13 |
+
default value for this is the parent of the directory that the Activate.ps1
|
| 14 |
+
script is located within.
|
| 15 |
+
|
| 16 |
+
.Parameter Prompt
|
| 17 |
+
The prompt prefix to display when this virtual environment is activated. By
|
| 18 |
+
default, this prompt is the name of the virtual environment folder (VenvDir)
|
| 19 |
+
surrounded by parentheses and followed by a single space (ie. '(.venv) ').
|
| 20 |
+
|
| 21 |
+
.Example
|
| 22 |
+
Activate.ps1
|
| 23 |
+
Activates the Python virtual environment that contains the Activate.ps1 script.
|
| 24 |
+
|
| 25 |
+
.Example
|
| 26 |
+
Activate.ps1 -Verbose
|
| 27 |
+
Activates the Python virtual environment that contains the Activate.ps1 script,
|
| 28 |
+
and shows extra information about the activation as it executes.
|
| 29 |
+
|
| 30 |
+
.Example
|
| 31 |
+
Activate.ps1 -VenvDir C:\Users\MyUser\Common\.venv
|
| 32 |
+
Activates the Python virtual environment located in the specified location.
|
| 33 |
+
|
| 34 |
+
.Example
|
| 35 |
+
Activate.ps1 -Prompt "MyPython"
|
| 36 |
+
Activates the Python virtual environment that contains the Activate.ps1 script,
|
| 37 |
+
and prefixes the current prompt with the specified string (surrounded in
|
| 38 |
+
parentheses) while the virtual environment is active.
|
| 39 |
+
|
| 40 |
+
.Notes
|
| 41 |
+
On Windows, it may be required to enable this Activate.ps1 script by setting the
|
| 42 |
+
execution policy for the user. You can do this by issuing the following PowerShell
|
| 43 |
+
command:
|
| 44 |
+
|
| 45 |
+
PS C:\> Set-ExecutionPolicy -ExecutionPolicy RemoteSigned -Scope CurrentUser
|
| 46 |
+
|
| 47 |
+
For more information on Execution Policies:
|
| 48 |
+
https://go.microsoft.com/fwlink/?LinkID=135170
|
| 49 |
+
|
| 50 |
+
#>
|
| 51 |
+
Param(
|
| 52 |
+
[Parameter(Mandatory = $false)]
|
| 53 |
+
[String]
|
| 54 |
+
$VenvDir,
|
| 55 |
+
[Parameter(Mandatory = $false)]
|
| 56 |
+
[String]
|
| 57 |
+
$Prompt
|
| 58 |
+
)
|
| 59 |
+
|
| 60 |
+
<# Function declarations --------------------------------------------------- #>
|
| 61 |
+
|
| 62 |
+
<#
|
| 63 |
+
.Synopsis
|
| 64 |
+
Remove all shell session elements added by the Activate script, including the
|
| 65 |
+
addition of the virtual environment's Python executable from the beginning of
|
| 66 |
+
the PATH variable.
|
| 67 |
+
|
| 68 |
+
.Parameter NonDestructive
|
| 69 |
+
If present, do not remove this function from the global namespace for the
|
| 70 |
+
session.
|
| 71 |
+
|
| 72 |
+
#>
|
| 73 |
+
function global:deactivate ([switch]$NonDestructive) {
|
| 74 |
+
# Revert to original values
|
| 75 |
+
|
| 76 |
+
# The prior prompt:
|
| 77 |
+
if (Test-Path -Path Function:_OLD_VIRTUAL_PROMPT) {
|
| 78 |
+
Copy-Item -Path Function:_OLD_VIRTUAL_PROMPT -Destination Function:prompt
|
| 79 |
+
Remove-Item -Path Function:_OLD_VIRTUAL_PROMPT
|
| 80 |
+
}
|
| 81 |
+
|
| 82 |
+
# The prior PYTHONHOME:
|
| 83 |
+
if (Test-Path -Path Env:_OLD_VIRTUAL_PYTHONHOME) {
|
| 84 |
+
Copy-Item -Path Env:_OLD_VIRTUAL_PYTHONHOME -Destination Env:PYTHONHOME
|
| 85 |
+
Remove-Item -Path Env:_OLD_VIRTUAL_PYTHONHOME
|
| 86 |
+
}
|
| 87 |
+
|
| 88 |
+
# The prior PATH:
|
| 89 |
+
if (Test-Path -Path Env:_OLD_VIRTUAL_PATH) {
|
| 90 |
+
Copy-Item -Path Env:_OLD_VIRTUAL_PATH -Destination Env:PATH
|
| 91 |
+
Remove-Item -Path Env:_OLD_VIRTUAL_PATH
|
| 92 |
+
}
|
| 93 |
+
|
| 94 |
+
# Just remove the VIRTUAL_ENV altogether:
|
| 95 |
+
if (Test-Path -Path Env:VIRTUAL_ENV) {
|
| 96 |
+
Remove-Item -Path env:VIRTUAL_ENV
|
| 97 |
+
}
|
| 98 |
+
|
| 99 |
+
# Just remove VIRTUAL_ENV_PROMPT altogether.
|
| 100 |
+
if (Test-Path -Path Env:VIRTUAL_ENV_PROMPT) {
|
| 101 |
+
Remove-Item -Path env:VIRTUAL_ENV_PROMPT
|
| 102 |
+
}
|
| 103 |
+
|
| 104 |
+
# Just remove the _PYTHON_VENV_PROMPT_PREFIX altogether:
|
| 105 |
+
if (Get-Variable -Name "_PYTHON_VENV_PROMPT_PREFIX" -ErrorAction SilentlyContinue) {
|
| 106 |
+
Remove-Variable -Name _PYTHON_VENV_PROMPT_PREFIX -Scope Global -Force
|
| 107 |
+
}
|
| 108 |
+
|
| 109 |
+
# Leave deactivate function in the global namespace if requested:
|
| 110 |
+
if (-not $NonDestructive) {
|
| 111 |
+
Remove-Item -Path function:deactivate
|
| 112 |
+
}
|
| 113 |
+
}
|
| 114 |
+
|
| 115 |
+
<#
|
| 116 |
+
.Description
|
| 117 |
+
Get-PyVenvConfig parses the values from the pyvenv.cfg file located in the
|
| 118 |
+
given folder, and returns them in a map.
|
| 119 |
+
|
| 120 |
+
For each line in the pyvenv.cfg file, if that line can be parsed into exactly
|
| 121 |
+
two strings separated by `=` (with any amount of whitespace surrounding the =)
|
| 122 |
+
then it is considered a `key = value` line. The left hand string is the key,
|
| 123 |
+
the right hand is the value.
|
| 124 |
+
|
| 125 |
+
If the value starts with a `'` or a `"` then the first and last character is
|
| 126 |
+
stripped from the value before being captured.
|
| 127 |
+
|
| 128 |
+
.Parameter ConfigDir
|
| 129 |
+
Path to the directory that contains the `pyvenv.cfg` file.
|
| 130 |
+
#>
|
| 131 |
+
function Get-PyVenvConfig(
|
| 132 |
+
[String]
|
| 133 |
+
$ConfigDir
|
| 134 |
+
) {
|
| 135 |
+
Write-Verbose "Given ConfigDir=$ConfigDir, obtain values in pyvenv.cfg"
|
| 136 |
+
|
| 137 |
+
# Ensure the file exists, and issue a warning if it doesn't (but still allow the function to continue).
|
| 138 |
+
$pyvenvConfigPath = Join-Path -Resolve -Path $ConfigDir -ChildPath 'pyvenv.cfg' -ErrorAction Continue
|
| 139 |
+
|
| 140 |
+
# An empty map will be returned if no config file is found.
|
| 141 |
+
$pyvenvConfig = @{ }
|
| 142 |
+
|
| 143 |
+
if ($pyvenvConfigPath) {
|
| 144 |
+
|
| 145 |
+
Write-Verbose "File exists, parse `key = value` lines"
|
| 146 |
+
$pyvenvConfigContent = Get-Content -Path $pyvenvConfigPath
|
| 147 |
+
|
| 148 |
+
$pyvenvConfigContent | ForEach-Object {
|
| 149 |
+
$keyval = $PSItem -split "\s*=\s*", 2
|
| 150 |
+
if ($keyval[0] -and $keyval[1]) {
|
| 151 |
+
$val = $keyval[1]
|
| 152 |
+
|
| 153 |
+
# Remove extraneous quotations around a string value.
|
| 154 |
+
if ("'""".Contains($val.Substring(0, 1))) {
|
| 155 |
+
$val = $val.Substring(1, $val.Length - 2)
|
| 156 |
+
}
|
| 157 |
+
|
| 158 |
+
$pyvenvConfig[$keyval[0]] = $val
|
| 159 |
+
Write-Verbose "Adding Key: '$($keyval[0])'='$val'"
|
| 160 |
+
}
|
| 161 |
+
}
|
| 162 |
+
}
|
| 163 |
+
return $pyvenvConfig
|
| 164 |
+
}
|
| 165 |
+
|
| 166 |
+
|
| 167 |
+
<# Begin Activate script --------------------------------------------------- #>
|
| 168 |
+
|
| 169 |
+
# Determine the containing directory of this script
|
| 170 |
+
$VenvExecPath = Split-Path -Parent $MyInvocation.MyCommand.Definition
|
| 171 |
+
$VenvExecDir = Get-Item -Path $VenvExecPath
|
| 172 |
+
|
| 173 |
+
Write-Verbose "Activation script is located in path: '$VenvExecPath'"
|
| 174 |
+
Write-Verbose "VenvExecDir Fullname: '$($VenvExecDir.FullName)"
|
| 175 |
+
Write-Verbose "VenvExecDir Name: '$($VenvExecDir.Name)"
|
| 176 |
+
|
| 177 |
+
# Set values required in priority: CmdLine, ConfigFile, Default
|
| 178 |
+
# First, get the location of the virtual environment, it might not be
|
| 179 |
+
# VenvExecDir if specified on the command line.
|
| 180 |
+
if ($VenvDir) {
|
| 181 |
+
Write-Verbose "VenvDir given as parameter, using '$VenvDir' to determine values"
|
| 182 |
+
}
|
| 183 |
+
else {
|
| 184 |
+
Write-Verbose "VenvDir not given as a parameter, using parent directory name as VenvDir."
|
| 185 |
+
$VenvDir = $VenvExecDir.Parent.FullName.TrimEnd("\\/")
|
| 186 |
+
Write-Verbose "VenvDir=$VenvDir"
|
| 187 |
+
}
|
| 188 |
+
|
| 189 |
+
# Next, read the `pyvenv.cfg` file to determine any required value such
|
| 190 |
+
# as `prompt`.
|
| 191 |
+
$pyvenvCfg = Get-PyVenvConfig -ConfigDir $VenvDir
|
| 192 |
+
|
| 193 |
+
# Next, set the prompt from the command line, or the config file, or
|
| 194 |
+
# just use the name of the virtual environment folder.
|
| 195 |
+
if ($Prompt) {
|
| 196 |
+
Write-Verbose "Prompt specified as argument, using '$Prompt'"
|
| 197 |
+
}
|
| 198 |
+
else {
|
| 199 |
+
Write-Verbose "Prompt not specified as argument to script, checking pyvenv.cfg value"
|
| 200 |
+
if ($pyvenvCfg -and $pyvenvCfg['prompt']) {
|
| 201 |
+
Write-Verbose " Setting based on value in pyvenv.cfg='$($pyvenvCfg['prompt'])'"
|
| 202 |
+
$Prompt = $pyvenvCfg['prompt'];
|
| 203 |
+
}
|
| 204 |
+
else {
|
| 205 |
+
Write-Verbose " Setting prompt based on parent's directory's name. (Is the directory name passed to venv module when creating the virtual environment)"
|
| 206 |
+
Write-Verbose " Got leaf-name of $VenvDir='$(Split-Path -Path $venvDir -Leaf)'"
|
| 207 |
+
$Prompt = Split-Path -Path $venvDir -Leaf
|
| 208 |
+
}
|
| 209 |
+
}
|
| 210 |
+
|
| 211 |
+
Write-Verbose "Prompt = '$Prompt'"
|
| 212 |
+
Write-Verbose "VenvDir='$VenvDir'"
|
| 213 |
+
|
| 214 |
+
# Deactivate any currently active virtual environment, but leave the
|
| 215 |
+
# deactivate function in place.
|
| 216 |
+
deactivate -nondestructive
|
| 217 |
+
|
| 218 |
+
# Now set the environment variable VIRTUAL_ENV, used by many tools to determine
|
| 219 |
+
# that there is an activated venv.
|
| 220 |
+
$env:VIRTUAL_ENV = $VenvDir
|
| 221 |
+
|
| 222 |
+
if (-not $Env:VIRTUAL_ENV_DISABLE_PROMPT) {
|
| 223 |
+
|
| 224 |
+
Write-Verbose "Setting prompt to '$Prompt'"
|
| 225 |
+
|
| 226 |
+
# Set the prompt to include the env name
|
| 227 |
+
# Make sure _OLD_VIRTUAL_PROMPT is global
|
| 228 |
+
function global:_OLD_VIRTUAL_PROMPT { "" }
|
| 229 |
+
Copy-Item -Path function:prompt -Destination function:_OLD_VIRTUAL_PROMPT
|
| 230 |
+
New-Variable -Name _PYTHON_VENV_PROMPT_PREFIX -Description "Python virtual environment prompt prefix" -Scope Global -Option ReadOnly -Visibility Public -Value $Prompt
|
| 231 |
+
|
| 232 |
+
function global:prompt {
|
| 233 |
+
Write-Host -NoNewline -ForegroundColor Green "($_PYTHON_VENV_PROMPT_PREFIX) "
|
| 234 |
+
_OLD_VIRTUAL_PROMPT
|
| 235 |
+
}
|
| 236 |
+
$env:VIRTUAL_ENV_PROMPT = $Prompt
|
| 237 |
+
}
|
| 238 |
+
|
| 239 |
+
# Clear PYTHONHOME
|
| 240 |
+
if (Test-Path -Path Env:PYTHONHOME) {
|
| 241 |
+
Copy-Item -Path Env:PYTHONHOME -Destination Env:_OLD_VIRTUAL_PYTHONHOME
|
| 242 |
+
Remove-Item -Path Env:PYTHONHOME
|
| 243 |
+
}
|
| 244 |
+
|
| 245 |
+
# Add the venv to the PATH
|
| 246 |
+
Copy-Item -Path Env:PATH -Destination Env:_OLD_VIRTUAL_PATH
|
| 247 |
+
$Env:PATH = "$VenvExecDir$([System.IO.Path]::PathSeparator)$Env:PATH"
|
.venv/bin/activate
ADDED
|
@@ -0,0 +1,69 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# This file must be used with "source bin/activate" *from bash*
|
| 2 |
+
# you cannot run it directly
|
| 3 |
+
|
| 4 |
+
deactivate () {
|
| 5 |
+
# reset old environment variables
|
| 6 |
+
if [ -n "${_OLD_VIRTUAL_PATH:-}" ] ; then
|
| 7 |
+
PATH="${_OLD_VIRTUAL_PATH:-}"
|
| 8 |
+
export PATH
|
| 9 |
+
unset _OLD_VIRTUAL_PATH
|
| 10 |
+
fi
|
| 11 |
+
if [ -n "${_OLD_VIRTUAL_PYTHONHOME:-}" ] ; then
|
| 12 |
+
PYTHONHOME="${_OLD_VIRTUAL_PYTHONHOME:-}"
|
| 13 |
+
export PYTHONHOME
|
| 14 |
+
unset _OLD_VIRTUAL_PYTHONHOME
|
| 15 |
+
fi
|
| 16 |
+
|
| 17 |
+
# This should detect bash and zsh, which have a hash command that must
|
| 18 |
+
# be called to get it to forget past commands. Without forgetting
|
| 19 |
+
# past commands the $PATH changes we made may not be respected
|
| 20 |
+
if [ -n "${BASH:-}" -o -n "${ZSH_VERSION:-}" ] ; then
|
| 21 |
+
hash -r 2> /dev/null
|
| 22 |
+
fi
|
| 23 |
+
|
| 24 |
+
if [ -n "${_OLD_VIRTUAL_PS1:-}" ] ; then
|
| 25 |
+
PS1="${_OLD_VIRTUAL_PS1:-}"
|
| 26 |
+
export PS1
|
| 27 |
+
unset _OLD_VIRTUAL_PS1
|
| 28 |
+
fi
|
| 29 |
+
|
| 30 |
+
unset VIRTUAL_ENV
|
| 31 |
+
unset VIRTUAL_ENV_PROMPT
|
| 32 |
+
if [ ! "${1:-}" = "nondestructive" ] ; then
|
| 33 |
+
# Self destruct!
|
| 34 |
+
unset -f deactivate
|
| 35 |
+
fi
|
| 36 |
+
}
|
| 37 |
+
|
| 38 |
+
# unset irrelevant variables
|
| 39 |
+
deactivate nondestructive
|
| 40 |
+
|
| 41 |
+
VIRTUAL_ENV="/Users/xukaiyan/Desktop/HUMAN/path_advisor/.venv"
|
| 42 |
+
export VIRTUAL_ENV
|
| 43 |
+
|
| 44 |
+
_OLD_VIRTUAL_PATH="$PATH"
|
| 45 |
+
PATH="$VIRTUAL_ENV/bin:$PATH"
|
| 46 |
+
export PATH
|
| 47 |
+
|
| 48 |
+
# unset PYTHONHOME if set
|
| 49 |
+
# this will fail if PYTHONHOME is set to the empty string (which is bad anyway)
|
| 50 |
+
# could use `if (set -u; : $PYTHONHOME) ;` in bash
|
| 51 |
+
if [ -n "${PYTHONHOME:-}" ] ; then
|
| 52 |
+
_OLD_VIRTUAL_PYTHONHOME="${PYTHONHOME:-}"
|
| 53 |
+
unset PYTHONHOME
|
| 54 |
+
fi
|
| 55 |
+
|
| 56 |
+
if [ -z "${VIRTUAL_ENV_DISABLE_PROMPT:-}" ] ; then
|
| 57 |
+
_OLD_VIRTUAL_PS1="${PS1:-}"
|
| 58 |
+
PS1="(.venv) ${PS1:-}"
|
| 59 |
+
export PS1
|
| 60 |
+
VIRTUAL_ENV_PROMPT="(.venv) "
|
| 61 |
+
export VIRTUAL_ENV_PROMPT
|
| 62 |
+
fi
|
| 63 |
+
|
| 64 |
+
# This should detect bash and zsh, which have a hash command that must
|
| 65 |
+
# be called to get it to forget past commands. Without forgetting
|
| 66 |
+
# past commands the $PATH changes we made may not be respected
|
| 67 |
+
if [ -n "${BASH:-}" -o -n "${ZSH_VERSION:-}" ] ; then
|
| 68 |
+
hash -r 2> /dev/null
|
| 69 |
+
fi
|
.venv/bin/activate.csh
ADDED
|
@@ -0,0 +1,26 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# This file must be used with "source bin/activate.csh" *from csh*.
|
| 2 |
+
# You cannot run it directly.
|
| 3 |
+
# Created by Davide Di Blasi <davidedb@gmail.com>.
|
| 4 |
+
# Ported to Python 3.3 venv by Andrew Svetlov <andrew.svetlov@gmail.com>
|
| 5 |
+
|
| 6 |
+
alias deactivate 'test $?_OLD_VIRTUAL_PATH != 0 && setenv PATH "$_OLD_VIRTUAL_PATH" && unset _OLD_VIRTUAL_PATH; rehash; test $?_OLD_VIRTUAL_PROMPT != 0 && set prompt="$_OLD_VIRTUAL_PROMPT" && unset _OLD_VIRTUAL_PROMPT; unsetenv VIRTUAL_ENV; unsetenv VIRTUAL_ENV_PROMPT; test "\!:*" != "nondestructive" && unalias deactivate'
|
| 7 |
+
|
| 8 |
+
# Unset irrelevant variables.
|
| 9 |
+
deactivate nondestructive
|
| 10 |
+
|
| 11 |
+
setenv VIRTUAL_ENV "/Users/xukaiyan/Desktop/HUMAN/path_advisor/.venv"
|
| 12 |
+
|
| 13 |
+
set _OLD_VIRTUAL_PATH="$PATH"
|
| 14 |
+
setenv PATH "$VIRTUAL_ENV/bin:$PATH"
|
| 15 |
+
|
| 16 |
+
|
| 17 |
+
set _OLD_VIRTUAL_PROMPT="$prompt"
|
| 18 |
+
|
| 19 |
+
if (! "$?VIRTUAL_ENV_DISABLE_PROMPT") then
|
| 20 |
+
set prompt = "(.venv) $prompt"
|
| 21 |
+
setenv VIRTUAL_ENV_PROMPT "(.venv) "
|
| 22 |
+
endif
|
| 23 |
+
|
| 24 |
+
alias pydoc python -m pydoc
|
| 25 |
+
|
| 26 |
+
rehash
|
.venv/bin/activate.fish
ADDED
|
@@ -0,0 +1,69 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# This file must be used with "source <venv>/bin/activate.fish" *from fish*
|
| 2 |
+
# (https://fishshell.com/); you cannot run it directly.
|
| 3 |
+
|
| 4 |
+
function deactivate -d "Exit virtual environment and return to normal shell environment"
|
| 5 |
+
# reset old environment variables
|
| 6 |
+
if test -n "$_OLD_VIRTUAL_PATH"
|
| 7 |
+
set -gx PATH $_OLD_VIRTUAL_PATH
|
| 8 |
+
set -e _OLD_VIRTUAL_PATH
|
| 9 |
+
end
|
| 10 |
+
if test -n "$_OLD_VIRTUAL_PYTHONHOME"
|
| 11 |
+
set -gx PYTHONHOME $_OLD_VIRTUAL_PYTHONHOME
|
| 12 |
+
set -e _OLD_VIRTUAL_PYTHONHOME
|
| 13 |
+
end
|
| 14 |
+
|
| 15 |
+
if test -n "$_OLD_FISH_PROMPT_OVERRIDE"
|
| 16 |
+
set -e _OLD_FISH_PROMPT_OVERRIDE
|
| 17 |
+
# prevents error when using nested fish instances (Issue #93858)
|
| 18 |
+
if functions -q _old_fish_prompt
|
| 19 |
+
functions -e fish_prompt
|
| 20 |
+
functions -c _old_fish_prompt fish_prompt
|
| 21 |
+
functions -e _old_fish_prompt
|
| 22 |
+
end
|
| 23 |
+
end
|
| 24 |
+
|
| 25 |
+
set -e VIRTUAL_ENV
|
| 26 |
+
set -e VIRTUAL_ENV_PROMPT
|
| 27 |
+
if test "$argv[1]" != "nondestructive"
|
| 28 |
+
# Self-destruct!
|
| 29 |
+
functions -e deactivate
|
| 30 |
+
end
|
| 31 |
+
end
|
| 32 |
+
|
| 33 |
+
# Unset irrelevant variables.
|
| 34 |
+
deactivate nondestructive
|
| 35 |
+
|
| 36 |
+
set -gx VIRTUAL_ENV "/Users/xukaiyan/Desktop/HUMAN/path_advisor/.venv"
|
| 37 |
+
|
| 38 |
+
set -gx _OLD_VIRTUAL_PATH $PATH
|
| 39 |
+
set -gx PATH "$VIRTUAL_ENV/bin" $PATH
|
| 40 |
+
|
| 41 |
+
# Unset PYTHONHOME if set.
|
| 42 |
+
if set -q PYTHONHOME
|
| 43 |
+
set -gx _OLD_VIRTUAL_PYTHONHOME $PYTHONHOME
|
| 44 |
+
set -e PYTHONHOME
|
| 45 |
+
end
|
| 46 |
+
|
| 47 |
+
if test -z "$VIRTUAL_ENV_DISABLE_PROMPT"
|
| 48 |
+
# fish uses a function instead of an env var to generate the prompt.
|
| 49 |
+
|
| 50 |
+
# Save the current fish_prompt function as the function _old_fish_prompt.
|
| 51 |
+
functions -c fish_prompt _old_fish_prompt
|
| 52 |
+
|
| 53 |
+
# With the original prompt function renamed, we can override with our own.
|
| 54 |
+
function fish_prompt
|
| 55 |
+
# Save the return status of the last command.
|
| 56 |
+
set -l old_status $status
|
| 57 |
+
|
| 58 |
+
# Output the venv prompt; color taken from the blue of the Python logo.
|
| 59 |
+
printf "%s%s%s" (set_color 4B8BBE) "(.venv) " (set_color normal)
|
| 60 |
+
|
| 61 |
+
# Restore the return status of the previous command.
|
| 62 |
+
echo "exit $old_status" | .
|
| 63 |
+
# Output the original/"old" prompt.
|
| 64 |
+
_old_fish_prompt
|
| 65 |
+
end
|
| 66 |
+
|
| 67 |
+
set -gx _OLD_FISH_PROMPT_OVERRIDE "$VIRTUAL_ENV"
|
| 68 |
+
set -gx VIRTUAL_ENV_PROMPT "(.venv) "
|
| 69 |
+
end
|
.venv/bin/distro
ADDED
|
@@ -0,0 +1,8 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
#!/Users/xukaiyan/Desktop/HUMAN/path_advisor/.venv/bin/python
|
| 2 |
+
# -*- coding: utf-8 -*-
|
| 3 |
+
import re
|
| 4 |
+
import sys
|
| 5 |
+
from distro.distro import main
|
| 6 |
+
if __name__ == '__main__':
|
| 7 |
+
sys.argv[0] = re.sub(r'(-script\.pyw|\.exe)?$', '', sys.argv[0])
|
| 8 |
+
sys.exit(main())
|
.venv/bin/dotenv
ADDED
|
@@ -0,0 +1,8 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
#!/Users/xukaiyan/Desktop/HUMAN/path_advisor/.venv/bin/python
|
| 2 |
+
# -*- coding: utf-8 -*-
|
| 3 |
+
import re
|
| 4 |
+
import sys
|
| 5 |
+
from dotenv.__main__ import cli
|
| 6 |
+
if __name__ == '__main__':
|
| 7 |
+
sys.argv[0] = re.sub(r'(-script\.pyw|\.exe)?$', '', sys.argv[0])
|
| 8 |
+
sys.exit(cli())
|
.venv/bin/email_validator
ADDED
|
@@ -0,0 +1,8 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
#!/Users/xukaiyan/Desktop/HUMAN/path_advisor/.venv/bin/python
|
| 2 |
+
# -*- coding: utf-8 -*-
|
| 3 |
+
import re
|
| 4 |
+
import sys
|
| 5 |
+
from email_validator.__main__ import main
|
| 6 |
+
if __name__ == '__main__':
|
| 7 |
+
sys.argv[0] = re.sub(r'(-script\.pyw|\.exe)?$', '', sys.argv[0])
|
| 8 |
+
sys.exit(main())
|
.venv/bin/f2py
ADDED
|
@@ -0,0 +1,8 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
#!/Users/xukaiyan/Desktop/HUMAN/path_advisor/.venv/bin/python
|
| 2 |
+
# -*- coding: utf-8 -*-
|
| 3 |
+
import re
|
| 4 |
+
import sys
|
| 5 |
+
from numpy.f2py.f2py2e import main
|
| 6 |
+
if __name__ == '__main__':
|
| 7 |
+
sys.argv[0] = re.sub(r'(-script\.pyw|\.exe)?$', '', sys.argv[0])
|
| 8 |
+
sys.exit(main())
|
.venv/bin/fastapi
ADDED
|
@@ -0,0 +1,8 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
#!/Users/xukaiyan/Desktop/HUMAN/path_advisor/.venv/bin/python
|
| 2 |
+
# -*- coding: utf-8 -*-
|
| 3 |
+
import re
|
| 4 |
+
import sys
|
| 5 |
+
from fastapi_cli.cli import main
|
| 6 |
+
if __name__ == '__main__':
|
| 7 |
+
sys.argv[0] = re.sub(r'(-script\.pyw|\.exe)?$', '', sys.argv[0])
|
| 8 |
+
sys.exit(main())
|
.venv/bin/fonttools
ADDED
|
@@ -0,0 +1,8 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
#!/Users/xukaiyan/Desktop/HUMAN/path_advisor/.venv/bin/python
|
| 2 |
+
# -*- coding: utf-8 -*-
|
| 3 |
+
import re
|
| 4 |
+
import sys
|
| 5 |
+
from fontTools.__main__ import main
|
| 6 |
+
if __name__ == '__main__':
|
| 7 |
+
sys.argv[0] = re.sub(r'(-script\.pyw|\.exe)?$', '', sys.argv[0])
|
| 8 |
+
sys.exit(main())
|
.venv/bin/gradio
ADDED
|
@@ -0,0 +1,8 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
#!/Users/xukaiyan/Desktop/HUMAN/path_advisor/.venv/bin/python
|
| 2 |
+
# -*- coding: utf-8 -*-
|
| 3 |
+
import re
|
| 4 |
+
import sys
|
| 5 |
+
from gradio.cli import cli
|
| 6 |
+
if __name__ == '__main__':
|
| 7 |
+
sys.argv[0] = re.sub(r'(-script\.pyw|\.exe)?$', '', sys.argv[0])
|
| 8 |
+
sys.exit(cli())
|
.venv/bin/httpx
ADDED
|
@@ -0,0 +1,8 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
#!/Users/xukaiyan/Desktop/HUMAN/path_advisor/.venv/bin/python
|
| 2 |
+
# -*- coding: utf-8 -*-
|
| 3 |
+
import re
|
| 4 |
+
import sys
|
| 5 |
+
from httpx import main
|
| 6 |
+
if __name__ == '__main__':
|
| 7 |
+
sys.argv[0] = re.sub(r'(-script\.pyw|\.exe)?$', '', sys.argv[0])
|
| 8 |
+
sys.exit(main())
|
.venv/bin/huggingface-cli
ADDED
|
@@ -0,0 +1,8 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
#!/Users/xukaiyan/Desktop/HUMAN/path_advisor/.venv/bin/python
|
| 2 |
+
# -*- coding: utf-8 -*-
|
| 3 |
+
import re
|
| 4 |
+
import sys
|
| 5 |
+
from huggingface_hub.commands.huggingface_cli import main
|
| 6 |
+
if __name__ == '__main__':
|
| 7 |
+
sys.argv[0] = re.sub(r'(-script\.pyw|\.exe)?$', '', sys.argv[0])
|
| 8 |
+
sys.exit(main())
|
.venv/bin/jsonschema
ADDED
|
@@ -0,0 +1,8 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
#!/Users/xukaiyan/Desktop/HUMAN/path_advisor/.venv/bin/python
|
| 2 |
+
# -*- coding: utf-8 -*-
|
| 3 |
+
import re
|
| 4 |
+
import sys
|
| 5 |
+
from jsonschema.cli import main
|
| 6 |
+
if __name__ == '__main__':
|
| 7 |
+
sys.argv[0] = re.sub(r'(-script\.pyw|\.exe)?$', '', sys.argv[0])
|
| 8 |
+
sys.exit(main())
|
.venv/bin/markdown-it
ADDED
|
@@ -0,0 +1,8 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
#!/Users/xukaiyan/Desktop/HUMAN/path_advisor/.venv/bin/python
|
| 2 |
+
# -*- coding: utf-8 -*-
|
| 3 |
+
import re
|
| 4 |
+
import sys
|
| 5 |
+
from markdown_it.cli.parse import main
|
| 6 |
+
if __name__ == '__main__':
|
| 7 |
+
sys.argv[0] = re.sub(r'(-script\.pyw|\.exe)?$', '', sys.argv[0])
|
| 8 |
+
sys.exit(main())
|
.venv/bin/normalizer
ADDED
|
@@ -0,0 +1,8 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
#!/Users/xukaiyan/Desktop/HUMAN/path_advisor/.venv/bin/python
|
| 2 |
+
# -*- coding: utf-8 -*-
|
| 3 |
+
import re
|
| 4 |
+
import sys
|
| 5 |
+
from charset_normalizer.cli import cli_detect
|
| 6 |
+
if __name__ == '__main__':
|
| 7 |
+
sys.argv[0] = re.sub(r'(-script\.pyw|\.exe)?$', '', sys.argv[0])
|
| 8 |
+
sys.exit(cli_detect())
|
.venv/bin/openai
ADDED
|
@@ -0,0 +1,8 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
#!/Users/xukaiyan/Desktop/HUMAN/path_advisor/.venv/bin/python
|
| 2 |
+
# -*- coding: utf-8 -*-
|
| 3 |
+
import re
|
| 4 |
+
import sys
|
| 5 |
+
from openai.cli import main
|
| 6 |
+
if __name__ == '__main__':
|
| 7 |
+
sys.argv[0] = re.sub(r'(-script\.pyw|\.exe)?$', '', sys.argv[0])
|
| 8 |
+
sys.exit(main())
|
.venv/bin/pip
ADDED
|
@@ -0,0 +1,8 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
#!/Users/xukaiyan/Desktop/HUMAN/path_advisor/.venv/bin/python
|
| 2 |
+
# -*- coding: utf-8 -*-
|
| 3 |
+
import re
|
| 4 |
+
import sys
|
| 5 |
+
from pip._internal.cli.main import main
|
| 6 |
+
if __name__ == '__main__':
|
| 7 |
+
sys.argv[0] = re.sub(r'(-script\.pyw|\.exe)?$', '', sys.argv[0])
|
| 8 |
+
sys.exit(main())
|
.venv/bin/pip3
ADDED
|
@@ -0,0 +1,8 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
#!/Users/xukaiyan/Desktop/HUMAN/path_advisor/.venv/bin/python
|
| 2 |
+
# -*- coding: utf-8 -*-
|
| 3 |
+
import re
|
| 4 |
+
import sys
|
| 5 |
+
from pip._internal.cli.main import main
|
| 6 |
+
if __name__ == '__main__':
|
| 7 |
+
sys.argv[0] = re.sub(r'(-script\.pyw|\.exe)?$', '', sys.argv[0])
|
| 8 |
+
sys.exit(main())
|
.venv/bin/pip3.11
ADDED
|
@@ -0,0 +1,8 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
#!/Users/xukaiyan/Desktop/HUMAN/path_advisor/.venv/bin/python
|
| 2 |
+
# -*- coding: utf-8 -*-
|
| 3 |
+
import re
|
| 4 |
+
import sys
|
| 5 |
+
from pip._internal.cli.main import main
|
| 6 |
+
if __name__ == '__main__':
|
| 7 |
+
sys.argv[0] = re.sub(r'(-script\.pyw|\.exe)?$', '', sys.argv[0])
|
| 8 |
+
sys.exit(main())
|
.venv/bin/pyftmerge
ADDED
|
@@ -0,0 +1,8 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
#!/Users/xukaiyan/Desktop/HUMAN/path_advisor/.venv/bin/python
|
| 2 |
+
# -*- coding: utf-8 -*-
|
| 3 |
+
import re
|
| 4 |
+
import sys
|
| 5 |
+
from fontTools.merge import main
|
| 6 |
+
if __name__ == '__main__':
|
| 7 |
+
sys.argv[0] = re.sub(r'(-script\.pyw|\.exe)?$', '', sys.argv[0])
|
| 8 |
+
sys.exit(main())
|
.venv/bin/pyftsubset
ADDED
|
@@ -0,0 +1,8 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
#!/Users/xukaiyan/Desktop/HUMAN/path_advisor/.venv/bin/python
|
| 2 |
+
# -*- coding: utf-8 -*-
|
| 3 |
+
import re
|
| 4 |
+
import sys
|
| 5 |
+
from fontTools.subset import main
|
| 6 |
+
if __name__ == '__main__':
|
| 7 |
+
sys.argv[0] = re.sub(r'(-script\.pyw|\.exe)?$', '', sys.argv[0])
|
| 8 |
+
sys.exit(main())
|
.venv/bin/pygmentize
ADDED
|
@@ -0,0 +1,8 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
#!/Users/xukaiyan/Desktop/HUMAN/path_advisor/.venv/bin/python
|
| 2 |
+
# -*- coding: utf-8 -*-
|
| 3 |
+
import re
|
| 4 |
+
import sys
|
| 5 |
+
from pygments.cmdline import main
|
| 6 |
+
if __name__ == '__main__':
|
| 7 |
+
sys.argv[0] = re.sub(r'(-script\.pyw|\.exe)?$', '', sys.argv[0])
|
| 8 |
+
sys.exit(main())
|
.venv/bin/python
ADDED
|
Binary file (153 kB). View file
|
|
|
.venv/bin/python3
ADDED
|
Binary file (153 kB). View file
|
|
|
.venv/bin/python3.11
ADDED
|
Binary file (153 kB). View file
|
|
|
.venv/bin/ruff
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:0418410f0c2c9314889ad14a316767c79400faffeddcff17522d094503d06c76
|
| 3 |
+
size 20584232
|
.venv/bin/tqdm
ADDED
|
@@ -0,0 +1,8 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
#!/Users/xukaiyan/Desktop/HUMAN/path_advisor/.venv/bin/python
|
| 2 |
+
# -*- coding: utf-8 -*-
|
| 3 |
+
import re
|
| 4 |
+
import sys
|
| 5 |
+
from tqdm.cli import main
|
| 6 |
+
if __name__ == '__main__':
|
| 7 |
+
sys.argv[0] = re.sub(r'(-script\.pyw|\.exe)?$', '', sys.argv[0])
|
| 8 |
+
sys.exit(main())
|
.venv/bin/ttx
ADDED
|
@@ -0,0 +1,8 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
#!/Users/xukaiyan/Desktop/HUMAN/path_advisor/.venv/bin/python
|
| 2 |
+
# -*- coding: utf-8 -*-
|
| 3 |
+
import re
|
| 4 |
+
import sys
|
| 5 |
+
from fontTools.ttx import main
|
| 6 |
+
if __name__ == '__main__':
|
| 7 |
+
sys.argv[0] = re.sub(r'(-script\.pyw|\.exe)?$', '', sys.argv[0])
|
| 8 |
+
sys.exit(main())
|
.venv/bin/typer
ADDED
|
@@ -0,0 +1,8 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
#!/Users/xukaiyan/Desktop/HUMAN/path_advisor/.venv/bin/python
|
| 2 |
+
# -*- coding: utf-8 -*-
|
| 3 |
+
import re
|
| 4 |
+
import sys
|
| 5 |
+
from typer.cli import main
|
| 6 |
+
if __name__ == '__main__':
|
| 7 |
+
sys.argv[0] = re.sub(r'(-script\.pyw|\.exe)?$', '', sys.argv[0])
|
| 8 |
+
sys.exit(main())
|
.venv/bin/upload_theme
ADDED
|
@@ -0,0 +1,8 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
#!/Users/xukaiyan/Desktop/HUMAN/path_advisor/.venv/bin/python
|
| 2 |
+
# -*- coding: utf-8 -*-
|
| 3 |
+
import re
|
| 4 |
+
import sys
|
| 5 |
+
from gradio.themes.upload_theme import main
|
| 6 |
+
if __name__ == '__main__':
|
| 7 |
+
sys.argv[0] = re.sub(r'(-script\.pyw|\.exe)?$', '', sys.argv[0])
|
| 8 |
+
sys.exit(main())
|
.venv/bin/uvicorn
ADDED
|
@@ -0,0 +1,8 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
#!/Users/xukaiyan/Desktop/HUMAN/path_advisor/.venv/bin/python
|
| 2 |
+
# -*- coding: utf-8 -*-
|
| 3 |
+
import re
|
| 4 |
+
import sys
|
| 5 |
+
from uvicorn.main import main
|
| 6 |
+
if __name__ == '__main__':
|
| 7 |
+
sys.argv[0] = re.sub(r'(-script\.pyw|\.exe)?$', '', sys.argv[0])
|
| 8 |
+
sys.exit(main())
|
.venv/bin/watchfiles
ADDED
|
@@ -0,0 +1,8 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
#!/Users/xukaiyan/Desktop/HUMAN/path_advisor/.venv/bin/python
|
| 2 |
+
# -*- coding: utf-8 -*-
|
| 3 |
+
import re
|
| 4 |
+
import sys
|
| 5 |
+
from watchfiles.cli import cli
|
| 6 |
+
if __name__ == '__main__':
|
| 7 |
+
sys.argv[0] = re.sub(r'(-script\.pyw|\.exe)?$', '', sys.argv[0])
|
| 8 |
+
sys.exit(cli())
|
.venv/lib/python3.11/site-packages/FLAML-2.1.2.dist-info/INSTALLER
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
pip
|
.venv/lib/python3.11/site-packages/FLAML-2.1.2.dist-info/LICENSE
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
MIT License
|
| 2 |
+
|
| 3 |
+
Copyright (c) Microsoft Corporation.
|
| 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
|
.venv/lib/python3.11/site-packages/FLAML-2.1.2.dist-info/METADATA
ADDED
|
@@ -0,0 +1,286 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
Metadata-Version: 2.1
|
| 2 |
+
Name: FLAML
|
| 3 |
+
Version: 2.1.2
|
| 4 |
+
Summary: A fast library for automated machine learning and tuning
|
| 5 |
+
Home-page: https://github.com/microsoft/FLAML
|
| 6 |
+
Author: Microsoft Corporation
|
| 7 |
+
Author-email: hpo@microsoft.com
|
| 8 |
+
Classifier: Programming Language :: Python :: 3
|
| 9 |
+
Classifier: License :: OSI Approved :: MIT License
|
| 10 |
+
Classifier: Operating System :: OS Independent
|
| 11 |
+
Requires-Python: >=3.6
|
| 12 |
+
Description-Content-Type: text/markdown
|
| 13 |
+
License-File: LICENSE
|
| 14 |
+
License-File: NOTICE.md
|
| 15 |
+
Requires-Dist: NumPy >=1.17
|
| 16 |
+
Provides-Extra: autogen
|
| 17 |
+
Requires-Dist: openai ==0.27.8 ; extra == 'autogen'
|
| 18 |
+
Requires-Dist: diskcache ; extra == 'autogen'
|
| 19 |
+
Requires-Dist: termcolor ; extra == 'autogen'
|
| 20 |
+
Provides-Extra: automl
|
| 21 |
+
Requires-Dist: lightgbm >=2.3.1 ; extra == 'automl'
|
| 22 |
+
Requires-Dist: xgboost >=0.90 ; extra == 'automl'
|
| 23 |
+
Requires-Dist: scipy >=1.4.1 ; extra == 'automl'
|
| 24 |
+
Requires-Dist: pandas >=1.1.4 ; extra == 'automl'
|
| 25 |
+
Requires-Dist: scikit-learn >=0.24 ; extra == 'automl'
|
| 26 |
+
Provides-Extra: autozero
|
| 27 |
+
Requires-Dist: scikit-learn ; extra == 'autozero'
|
| 28 |
+
Requires-Dist: pandas ; extra == 'autozero'
|
| 29 |
+
Requires-Dist: packaging ; extra == 'autozero'
|
| 30 |
+
Provides-Extra: azureml
|
| 31 |
+
Requires-Dist: azureml-mlflow ; extra == 'azureml'
|
| 32 |
+
Provides-Extra: benchmark
|
| 33 |
+
Requires-Dist: catboost >=0.26 ; extra == 'benchmark'
|
| 34 |
+
Requires-Dist: psutil ==5.8.0 ; extra == 'benchmark'
|
| 35 |
+
Requires-Dist: xgboost ==1.3.3 ; extra == 'benchmark'
|
| 36 |
+
Requires-Dist: pandas ==1.1.4 ; extra == 'benchmark'
|
| 37 |
+
Provides-Extra: blendsearch
|
| 38 |
+
Requires-Dist: optuna ==2.8.0 ; extra == 'blendsearch'
|
| 39 |
+
Requires-Dist: packaging ; extra == 'blendsearch'
|
| 40 |
+
Provides-Extra: catboost
|
| 41 |
+
Requires-Dist: catboost >=0.26 ; extra == 'catboost'
|
| 42 |
+
Provides-Extra: forecast
|
| 43 |
+
Requires-Dist: holidays <0.14 ; extra == 'forecast'
|
| 44 |
+
Requires-Dist: prophet >=1.0.1 ; extra == 'forecast'
|
| 45 |
+
Requires-Dist: statsmodels >=0.12.2 ; extra == 'forecast'
|
| 46 |
+
Requires-Dist: hcrystalball ==0.1.10 ; extra == 'forecast'
|
| 47 |
+
Requires-Dist: pytorch-forecasting >=0.9.0 ; extra == 'forecast'
|
| 48 |
+
Requires-Dist: pytorch-lightning ==1.9.0 ; extra == 'forecast'
|
| 49 |
+
Requires-Dist: tensorboardX ==2.6 ; extra == 'forecast'
|
| 50 |
+
Provides-Extra: hf
|
| 51 |
+
Requires-Dist: transformers[torch] ==4.26 ; extra == 'hf'
|
| 52 |
+
Requires-Dist: datasets ; extra == 'hf'
|
| 53 |
+
Requires-Dist: nltk ; extra == 'hf'
|
| 54 |
+
Requires-Dist: rouge-score ; extra == 'hf'
|
| 55 |
+
Requires-Dist: seqeval ; extra == 'hf'
|
| 56 |
+
Provides-Extra: mathchat
|
| 57 |
+
Requires-Dist: openai ==0.27.8 ; extra == 'mathchat'
|
| 58 |
+
Requires-Dist: diskcache ; extra == 'mathchat'
|
| 59 |
+
Requires-Dist: termcolor ; extra == 'mathchat'
|
| 60 |
+
Requires-Dist: sympy ; extra == 'mathchat'
|
| 61 |
+
Requires-Dist: pydantic ==1.10.9 ; extra == 'mathchat'
|
| 62 |
+
Requires-Dist: wolframalpha ; extra == 'mathchat'
|
| 63 |
+
Provides-Extra: nlp
|
| 64 |
+
Requires-Dist: transformers[torch] ==4.26 ; extra == 'nlp'
|
| 65 |
+
Requires-Dist: datasets ; extra == 'nlp'
|
| 66 |
+
Requires-Dist: nltk ; extra == 'nlp'
|
| 67 |
+
Requires-Dist: rouge-score ; extra == 'nlp'
|
| 68 |
+
Requires-Dist: seqeval ; extra == 'nlp'
|
| 69 |
+
Provides-Extra: nni
|
| 70 |
+
Requires-Dist: nni ; extra == 'nni'
|
| 71 |
+
Provides-Extra: notebook
|
| 72 |
+
Requires-Dist: jupyter ; extra == 'notebook'
|
| 73 |
+
Provides-Extra: openai
|
| 74 |
+
Requires-Dist: openai ==0.27.8 ; extra == 'openai'
|
| 75 |
+
Requires-Dist: diskcache ; extra == 'openai'
|
| 76 |
+
Provides-Extra: ray
|
| 77 |
+
Requires-Dist: ray[tune] ~=1.13 ; extra == 'ray'
|
| 78 |
+
Provides-Extra: retrievechat
|
| 79 |
+
Requires-Dist: openai ==0.27.8 ; extra == 'retrievechat'
|
| 80 |
+
Requires-Dist: diskcache ; extra == 'retrievechat'
|
| 81 |
+
Requires-Dist: termcolor ; extra == 'retrievechat'
|
| 82 |
+
Requires-Dist: chromadb ; extra == 'retrievechat'
|
| 83 |
+
Requires-Dist: tiktoken ; extra == 'retrievechat'
|
| 84 |
+
Requires-Dist: sentence-transformers ; extra == 'retrievechat'
|
| 85 |
+
Provides-Extra: spark
|
| 86 |
+
Requires-Dist: pyspark >=3.2.0 ; extra == 'spark'
|
| 87 |
+
Requires-Dist: joblibspark >=0.5.0 ; extra == 'spark'
|
| 88 |
+
Provides-Extra: synapse
|
| 89 |
+
Requires-Dist: joblibspark >=0.5.0 ; extra == 'synapse'
|
| 90 |
+
Requires-Dist: optuna ==2.8.0 ; extra == 'synapse'
|
| 91 |
+
Requires-Dist: pyspark >=3.2.0 ; extra == 'synapse'
|
| 92 |
+
Provides-Extra: test
|
| 93 |
+
Requires-Dist: lightgbm >=2.3.1 ; extra == 'test'
|
| 94 |
+
Requires-Dist: xgboost >=0.90 ; extra == 'test'
|
| 95 |
+
Requires-Dist: scipy >=1.4.1 ; extra == 'test'
|
| 96 |
+
Requires-Dist: pandas >=1.1.4 ; extra == 'test'
|
| 97 |
+
Requires-Dist: scikit-learn >=0.24 ; extra == 'test'
|
| 98 |
+
Requires-Dist: thop ; extra == 'test'
|
| 99 |
+
Requires-Dist: pytest >=6.1.1 ; extra == 'test'
|
| 100 |
+
Requires-Dist: coverage >=5.3 ; extra == 'test'
|
| 101 |
+
Requires-Dist: pre-commit ; extra == 'test'
|
| 102 |
+
Requires-Dist: torch ; extra == 'test'
|
| 103 |
+
Requires-Dist: torchvision ; extra == 'test'
|
| 104 |
+
Requires-Dist: catboost <1.2,>=0.26 ; extra == 'test'
|
| 105 |
+
Requires-Dist: rgf-python ; extra == 'test'
|
| 106 |
+
Requires-Dist: optuna ==2.8.0 ; extra == 'test'
|
| 107 |
+
Requires-Dist: openml ; extra == 'test'
|
| 108 |
+
Requires-Dist: statsmodels >=0.12.2 ; extra == 'test'
|
| 109 |
+
Requires-Dist: psutil ==5.8.0 ; extra == 'test'
|
| 110 |
+
Requires-Dist: dataclasses ; extra == 'test'
|
| 111 |
+
Requires-Dist: transformers[torch] ==4.26 ; extra == 'test'
|
| 112 |
+
Requires-Dist: datasets ; extra == 'test'
|
| 113 |
+
Requires-Dist: nltk ; extra == 'test'
|
| 114 |
+
Requires-Dist: rouge-score ; extra == 'test'
|
| 115 |
+
Requires-Dist: hcrystalball ==0.1.10 ; extra == 'test'
|
| 116 |
+
Requires-Dist: seqeval ; extra == 'test'
|
| 117 |
+
Requires-Dist: pytorch-forecasting <=0.10.1,>=0.9.0 ; extra == 'test'
|
| 118 |
+
Requires-Dist: mlflow ; extra == 'test'
|
| 119 |
+
Requires-Dist: pyspark >=3.2.0 ; extra == 'test'
|
| 120 |
+
Requires-Dist: joblibspark >=0.5.0 ; extra == 'test'
|
| 121 |
+
Requires-Dist: nbconvert ; extra == 'test'
|
| 122 |
+
Requires-Dist: nbformat ; extra == 'test'
|
| 123 |
+
Requires-Dist: ipykernel ; extra == 'test'
|
| 124 |
+
Requires-Dist: pytorch-lightning <1.9.1 ; extra == 'test'
|
| 125 |
+
Requires-Dist: tensorboardX ==2.6 ; extra == 'test'
|
| 126 |
+
Requires-Dist: requests <2.29.0 ; extra == 'test'
|
| 127 |
+
Requires-Dist: packaging ; extra == 'test'
|
| 128 |
+
Requires-Dist: pydantic ==1.10.9 ; extra == 'test'
|
| 129 |
+
Requires-Dist: sympy ; extra == 'test'
|
| 130 |
+
Requires-Dist: wolframalpha ; extra == 'test'
|
| 131 |
+
Provides-Extra: ts_forecast
|
| 132 |
+
Requires-Dist: holidays <0.14 ; extra == 'ts_forecast'
|
| 133 |
+
Requires-Dist: prophet >=1.0.1 ; extra == 'ts_forecast'
|
| 134 |
+
Requires-Dist: statsmodels >=0.12.2 ; extra == 'ts_forecast'
|
| 135 |
+
Requires-Dist: hcrystalball ==0.1.10 ; extra == 'ts_forecast'
|
| 136 |
+
Provides-Extra: vw
|
| 137 |
+
Requires-Dist: vowpalwabbit <9.0.0,>=8.10.0 ; extra == 'vw'
|
| 138 |
+
Requires-Dist: scikit-learn ; extra == 'vw'
|
| 139 |
+
|
| 140 |
+
[](https://badge.fury.io/py/FLAML)
|
| 141 |
+

|
| 142 |
+
[](https://github.com/microsoft/FLAML/actions/workflows/python-package.yml)
|
| 143 |
+

|
| 144 |
+
[](https://pepy.tech/project/flaml)
|
| 145 |
+
[](https://discord.gg/Cppx2vSPVP)
|
| 146 |
+
<!-- [](https://gitter.im/FLAMLer/community?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge) -->
|
| 147 |
+
|
| 148 |
+
|
| 149 |
+
# A Fast Library for Automated Machine Learning & Tuning
|
| 150 |
+
|
| 151 |
+
<p align="center">
|
| 152 |
+
<img src="https://github.com/microsoft/FLAML/blob/main/website/static/img/flaml.svg" width=200>
|
| 153 |
+
<br>
|
| 154 |
+
</p>
|
| 155 |
+
|
| 156 |
+
:fire: Heads-up: We have migrated [AutoGen](https://microsoft.github.io/autogen/) into a dedicated [github repository](https://github.com/microsoft/autogen). Alongside this move, we have also launched a dedicated [Discord](https://discord.gg/pAbnFJrkgZ) server and a [website](https://microsoft.github.io/autogen/) for comprehensive documentation.
|
| 157 |
+
|
| 158 |
+
:fire: The automated multi-agent chat framework in [AutoGen](https://microsoft.github.io/autogen/) is in preview from v2.0.0.
|
| 159 |
+
|
| 160 |
+
:fire: FLAML is highlighted in OpenAI's [cookbook](https://github.com/openai/openai-cookbook#related-resources-from-around-the-web).
|
| 161 |
+
|
| 162 |
+
:fire: [autogen](https://microsoft.github.io/autogen/) is released with support for ChatGPT and GPT-4, based on [Cost-Effective Hyperparameter Optimization for Large Language Model Generation Inference](https://arxiv.org/abs/2303.04673).
|
| 163 |
+
|
| 164 |
+
:fire: FLAML supports Code-First AutoML & Tuning – Private Preview in [Microsoft Fabric Data Science](https://learn.microsoft.com/en-us/fabric/data-science/).
|
| 165 |
+
|
| 166 |
+
|
| 167 |
+
## What is FLAML
|
| 168 |
+
FLAML is a lightweight Python library for efficient automation of machine
|
| 169 |
+
learning and AI operations. It automates workflow based on large language models, machine learning models, etc.
|
| 170 |
+
and optimizes their performance.
|
| 171 |
+
|
| 172 |
+
* FLAML enables building next-gen GPT-X applications based on multi-agent conversations with minimal effort. It simplifies the orchestration, automation and optimization of a complex GPT-X workflow. It maximizes the performance of GPT-X models and augments their weakness.
|
| 173 |
+
* For common machine learning tasks like classification and regression, it quickly finds quality models for user-provided data with low computational resources. It is easy to customize or extend. Users can find their desired customizability from a smooth range.
|
| 174 |
+
* It supports fast and economical automatic tuning (e.g., inference hyperparameters for foundation models, configurations in MLOps/LMOps workflows, pipelines, mathematical/statistical models, algorithms, computing experiments, software configurations), capable of handling large search space with heterogeneous evaluation cost and complex constraints/guidance/early stopping.
|
| 175 |
+
|
| 176 |
+
FLAML is powered by a series of [research studies](https://microsoft.github.io/FLAML/docs/Research/) from Microsoft Research and collaborators such as Penn State University, Stevens Institute of Technology, University of Washington, and University of Waterloo.
|
| 177 |
+
|
| 178 |
+
FLAML has a .NET implementation in [ML.NET](http://dot.net/ml), an open-source, cross-platform machine learning framework for .NET.
|
| 179 |
+
|
| 180 |
+
## Installation
|
| 181 |
+
|
| 182 |
+
FLAML requires **Python version >= 3.8**. It can be installed from pip:
|
| 183 |
+
|
| 184 |
+
```bash
|
| 185 |
+
pip install flaml
|
| 186 |
+
```
|
| 187 |
+
|
| 188 |
+
Minimal dependencies are installed without extra options. You can install extra options based on the feature you need. For example, use the following to install the dependencies needed by the [`autogen`](https://microsoft.github.io/autogen/) package.
|
| 189 |
+
```bash
|
| 190 |
+
pip install "flaml[autogen]"
|
| 191 |
+
```
|
| 192 |
+
|
| 193 |
+
Find more options in [Installation](https://microsoft.github.io/FLAML/docs/Installation).
|
| 194 |
+
Each of the [`notebook examples`](https://github.com/microsoft/FLAML/tree/main/notebook) may require a specific option to be installed.
|
| 195 |
+
|
| 196 |
+
## Quickstart
|
| 197 |
+
|
| 198 |
+
* (New) The [autogen](https://microsoft.github.io/autogen/) package enables the next-gen GPT-X applications with a generic multi-agent conversation framework.
|
| 199 |
+
It offers customizable and conversable agents which integrate LLMs, tools and human.
|
| 200 |
+
By automating chat among multiple capable agents, one can easily make them collectively perform tasks autonomously or with human feedback, including tasks that require using tools via code. For example,
|
| 201 |
+
```python
|
| 202 |
+
from flaml import autogen
|
| 203 |
+
assistant = autogen.AssistantAgent("assistant")
|
| 204 |
+
user_proxy = autogen.UserProxyAgent("user_proxy")
|
| 205 |
+
user_proxy.initiate_chat(assistant, message="Show me the YTD gain of 10 largest technology companies as of today.")
|
| 206 |
+
# This initiates an automated chat between the two agents to solve the task
|
| 207 |
+
```
|
| 208 |
+
|
| 209 |
+
Autogen also helps maximize the utility out of the expensive LLMs such as ChatGPT and GPT-4. It offers a drop-in replacement of `openai.Completion` or `openai.ChatCompletion` with powerful functionalites like tuning, caching, templating, filtering. For example, you can optimize generations by LLM with your own tuning data, success metrics and budgets.
|
| 210 |
+
```python
|
| 211 |
+
# perform tuning
|
| 212 |
+
config, analysis = autogen.Completion.tune(
|
| 213 |
+
data=tune_data,
|
| 214 |
+
metric="success",
|
| 215 |
+
mode="max",
|
| 216 |
+
eval_func=eval_func,
|
| 217 |
+
inference_budget=0.05,
|
| 218 |
+
optimization_budget=3,
|
| 219 |
+
num_samples=-1,
|
| 220 |
+
)
|
| 221 |
+
# perform inference for a test instance
|
| 222 |
+
response = autogen.Completion.create(context=test_instance, **config)
|
| 223 |
+
```
|
| 224 |
+
* With three lines of code, you can start using this economical and fast
|
| 225 |
+
AutoML engine as a [scikit-learn style estimator](https://microsoft.github.io/FLAML/docs/Use-Cases/Task-Oriented-AutoML).
|
| 226 |
+
|
| 227 |
+
```python
|
| 228 |
+
from flaml import AutoML
|
| 229 |
+
automl = AutoML()
|
| 230 |
+
automl.fit(X_train, y_train, task="classification")
|
| 231 |
+
```
|
| 232 |
+
|
| 233 |
+
* You can restrict the learners and use FLAML as a fast hyperparameter tuning
|
| 234 |
+
tool for XGBoost, LightGBM, Random Forest etc. or a [customized learner](https://microsoft.github.io/FLAML/docs/Use-Cases/Task-Oriented-AutoML#estimator-and-search-space).
|
| 235 |
+
|
| 236 |
+
```python
|
| 237 |
+
automl.fit(X_train, y_train, task="classification", estimator_list=["lgbm"])
|
| 238 |
+
```
|
| 239 |
+
|
| 240 |
+
* You can also run generic hyperparameter tuning for a [custom function](https://microsoft.github.io/FLAML/docs/Use-Cases/Tune-User-Defined-Function).
|
| 241 |
+
|
| 242 |
+
```python
|
| 243 |
+
from flaml import tune
|
| 244 |
+
tune.run(evaluation_function, config={…}, low_cost_partial_config={…}, time_budget_s=3600)
|
| 245 |
+
```
|
| 246 |
+
|
| 247 |
+
* [Zero-shot AutoML](https://microsoft.github.io/FLAML/docs/Use-Cases/Zero-Shot-AutoML) allows using the existing training API from lightgbm, xgboost etc. while getting the benefit of AutoML in choosing high-performance hyperparameter configurations per task.
|
| 248 |
+
|
| 249 |
+
```python
|
| 250 |
+
from flaml.default import LGBMRegressor
|
| 251 |
+
|
| 252 |
+
# Use LGBMRegressor in the same way as you use lightgbm.LGBMRegressor.
|
| 253 |
+
estimator = LGBMRegressor()
|
| 254 |
+
# The hyperparameters are automatically set according to the training data.
|
| 255 |
+
estimator.fit(X_train, y_train)
|
| 256 |
+
```
|
| 257 |
+
|
| 258 |
+
## Documentation
|
| 259 |
+
|
| 260 |
+
You can find a detailed documentation about FLAML [here](https://microsoft.github.io/FLAML/).
|
| 261 |
+
|
| 262 |
+
In addition, you can find:
|
| 263 |
+
|
| 264 |
+
- [Research](https://microsoft.github.io/FLAML/docs/Research) and [blogposts](https://microsoft.github.io/FLAML/blog) around FLAML.
|
| 265 |
+
|
| 266 |
+
- [Discord](https://discord.gg/Cppx2vSPVP).
|
| 267 |
+
|
| 268 |
+
- [Contributing guide](https://microsoft.github.io/FLAML/docs/Contribute).
|
| 269 |
+
|
| 270 |
+
- ML.NET documentation and tutorials for [Model Builder](https://learn.microsoft.com/dotnet/machine-learning/tutorials/predict-prices-with-model-builder), [ML.NET CLI](https://learn.microsoft.com/dotnet/machine-learning/tutorials/sentiment-analysis-cli), and [AutoML API](https://learn.microsoft.com/dotnet/machine-learning/how-to-guides/how-to-use-the-automl-api).
|
| 271 |
+
|
| 272 |
+
## Contributing
|
| 273 |
+
|
| 274 |
+
This project welcomes contributions and suggestions. Most contributions require you to agree to a
|
| 275 |
+
Contributor License Agreement (CLA) declaring that you have the right to, and actually do, grant us
|
| 276 |
+
the rights to use your contribution. For details, visit <https://cla.opensource.microsoft.com>.
|
| 277 |
+
|
| 278 |
+
If you are new to GitHub [here](https://help.github.com/categories/collaborating-with-issues-and-pull-requests/) is a detailed help source on getting involved with development on GitHub.
|
| 279 |
+
|
| 280 |
+
When you submit a pull request, a CLA bot will automatically determine whether you need to provide
|
| 281 |
+
a CLA and decorate the PR appropriately (e.g., status check, comment). Simply follow the instructions
|
| 282 |
+
provided by the bot. You will only need to do this once across all repos using our CLA.
|
| 283 |
+
|
| 284 |
+
This project has adopted the [Microsoft Open Source Code of Conduct](https://opensource.microsoft.com/codeofconduct/).
|
| 285 |
+
For more information see the [Code of Conduct FAQ](https://opensource.microsoft.com/codeofconduct/faq/) or
|
| 286 |
+
contact [opencode@microsoft.com](mailto:opencode@microsoft.com) with any additional questions or comments.
|
.venv/lib/python3.11/site-packages/FLAML-2.1.2.dist-info/NOTICE.md
ADDED
|
@@ -0,0 +1,290 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
NOTICES
|
| 2 |
+
|
| 3 |
+
This repository incorporates material as listed below or described in the code.
|
| 4 |
+
|
| 5 |
+
#
|
| 6 |
+
## Component. Ray.
|
| 7 |
+
|
| 8 |
+
Code in tune/[analysis.py, sample.py, trial.py, result.py],
|
| 9 |
+
searcher/[suggestion.py, variant_generator.py], and scheduler/trial_scheduler.py is adapted from
|
| 10 |
+
https://github.com/ray-project/ray/blob/master/python/ray/tune/
|
| 11 |
+
|
| 12 |
+
|
| 13 |
+
|
| 14 |
+
## Open Source License/Copyright Notice.
|
| 15 |
+
|
| 16 |
+
Apache License
|
| 17 |
+
Version 2.0, January 2004
|
| 18 |
+
http://www.apache.org/licenses/
|
| 19 |
+
|
| 20 |
+
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
|
| 21 |
+
|
| 22 |
+
1. Definitions.
|
| 23 |
+
|
| 24 |
+
"License" shall mean the terms and conditions for use, reproduction,
|
| 25 |
+
and distribution as defined by Sections 1 through 9 of this document.
|
| 26 |
+
|
| 27 |
+
"Licensor" shall mean the copyright owner or entity authorized by
|
| 28 |
+
the copyright owner that is granting the License.
|
| 29 |
+
|
| 30 |
+
"Legal Entity" shall mean the union of the acting entity and all
|
| 31 |
+
other entities that control, are controlled by, or are under common
|
| 32 |
+
control with that entity. For the purposes of this definition,
|
| 33 |
+
"control" means (i) the power, direct or indirect, to cause the
|
| 34 |
+
direction or management of such entity, whether by contract or
|
| 35 |
+
otherwise, or (ii) ownership of fifty percent (50%) or more of the
|
| 36 |
+
outstanding shares, or (iii) beneficial ownership of such entity.
|
| 37 |
+
|
| 38 |
+
"You" (or "Your") shall mean an individual or Legal Entity
|
| 39 |
+
exercising permissions granted by this License.
|
| 40 |
+
|
| 41 |
+
"Source" form shall mean the preferred form for making modifications,
|
| 42 |
+
including but not limited to software source code, documentation
|
| 43 |
+
source, and configuration files.
|
| 44 |
+
|
| 45 |
+
"Object" form shall mean any form resulting from mechanical
|
| 46 |
+
transformation or translation of a Source form, including but
|
| 47 |
+
not limited to compiled object code, generated documentation,
|
| 48 |
+
and conversions to other media types.
|
| 49 |
+
|
| 50 |
+
"Work" shall mean the work of authorship, whether in Source or
|
| 51 |
+
Object form, made available under the License, as indicated by a
|
| 52 |
+
copyright notice that is included in or attached to the work
|
| 53 |
+
(an example is provided in the Appendix below).
|
| 54 |
+
|
| 55 |
+
"Derivative Works" shall mean any work, whether in Source or Object
|
| 56 |
+
form, that is based on (or derived from) the Work and for which the
|
| 57 |
+
editorial revisions, annotations, elaborations, or other modifications
|
| 58 |
+
represent, as a whole, an original work of authorship. For the purposes
|
| 59 |
+
of this License, Derivative Works shall not include works that remain
|
| 60 |
+
separable from, or merely link (or bind by name) to the interfaces of,
|
| 61 |
+
the Work and Derivative Works thereof.
|
| 62 |
+
|
| 63 |
+
"Contribution" shall mean any work of authorship, including
|
| 64 |
+
the original version of the Work and any modifications or additions
|
| 65 |
+
to that Work or Derivative Works thereof, that is intentionally
|
| 66 |
+
submitted to Licensor for inclusion in the Work by the copyright owner
|
| 67 |
+
or by an individual or Legal Entity authorized to submit on behalf of
|
| 68 |
+
the copyright owner. For the purposes of this definition, "submitted"
|
| 69 |
+
means any form of electronic, verbal, or written communication sent
|
| 70 |
+
to the Licensor or its representatives, including but not limited to
|
| 71 |
+
communication on electronic mailing lists, source code control systems,
|
| 72 |
+
and issue tracking systems that are managed by, or on behalf of, the
|
| 73 |
+
Licensor for the purpose of discussing and improving the Work, but
|
| 74 |
+
excluding communication that is conspicuously marked or otherwise
|
| 75 |
+
designated in writing by the copyright owner as "Not a Contribution."
|
| 76 |
+
|
| 77 |
+
"Contributor" shall mean Licensor and any individual or Legal Entity
|
| 78 |
+
on behalf of whom a Contribution has been received by Licensor and
|
| 79 |
+
subsequently incorporated within the Work.
|
| 80 |
+
|
| 81 |
+
2. Grant of Copyright License. Subject to the terms and conditions of
|
| 82 |
+
this License, each Contributor hereby grants to You a perpetual,
|
| 83 |
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
| 84 |
+
copyright license to reproduce, prepare Derivative Works of,
|
| 85 |
+
publicly display, publicly perform, sublicense, and distribute the
|
| 86 |
+
Work and such Derivative Works in Source or Object form.
|
| 87 |
+
|
| 88 |
+
3. Grant of Patent License. Subject to the terms and conditions of
|
| 89 |
+
this License, each Contributor hereby grants to You a perpetual,
|
| 90 |
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
| 91 |
+
(except as stated in this section) patent license to make, have made,
|
| 92 |
+
use, offer to sell, sell, import, and otherwise transfer the Work,
|
| 93 |
+
where such license applies only to those patent claims licensable
|
| 94 |
+
by such Contributor that are necessarily infringed by their
|
| 95 |
+
Contribution(s) alone or by combination of their Contribution(s)
|
| 96 |
+
with the Work to which such Contribution(s) was submitted. If You
|
| 97 |
+
institute patent litigation against any entity (including a
|
| 98 |
+
cross-claim or counterclaim in a lawsuit) alleging that the Work
|
| 99 |
+
or a Contribution incorporated within the Work constitutes direct
|
| 100 |
+
or contributory patent infringement, then any patent licenses
|
| 101 |
+
granted to You under this License for that Work shall terminate
|
| 102 |
+
as of the date such litigation is filed.
|
| 103 |
+
|
| 104 |
+
4. Redistribution. You may reproduce and distribute copies of the
|
| 105 |
+
Work or Derivative Works thereof in any medium, with or without
|
| 106 |
+
modifications, and in Source or Object form, provided that You
|
| 107 |
+
meet the following conditions:
|
| 108 |
+
|
| 109 |
+
(a) You must give any other recipients of the Work or
|
| 110 |
+
Derivative Works a copy of this License; and
|
| 111 |
+
|
| 112 |
+
(b) You must cause any modified files to carry prominent notices
|
| 113 |
+
stating that You changed the files; and
|
| 114 |
+
|
| 115 |
+
(c) You must retain, in the Source form of any Derivative Works
|
| 116 |
+
that You distribute, all copyright, patent, trademark, and
|
| 117 |
+
attribution notices from the Source form of the Work,
|
| 118 |
+
excluding those notices that do not pertain to any part of
|
| 119 |
+
the Derivative Works; and
|
| 120 |
+
|
| 121 |
+
(d) If the Work includes a "NOTICE" text file as part of its
|
| 122 |
+
distribution, then any Derivative Works that You distribute must
|
| 123 |
+
include a readable copy of the attribution notices contained
|
| 124 |
+
within such NOTICE file, excluding those notices that do not
|
| 125 |
+
pertain to any part of the Derivative Works, in at least one
|
| 126 |
+
of the following places: within a NOTICE text file distributed
|
| 127 |
+
as part of the Derivative Works; within the Source form or
|
| 128 |
+
documentation, if provided along with the Derivative Works; or,
|
| 129 |
+
within a display generated by the Derivative Works, if and
|
| 130 |
+
wherever such third-party notices normally appear. The contents
|
| 131 |
+
of the NOTICE file are for informational purposes only and
|
| 132 |
+
do not modify the License. You may add Your own attribution
|
| 133 |
+
notices within Derivative Works that You distribute, alongside
|
| 134 |
+
or as an addendum to the NOTICE text from the Work, provided
|
| 135 |
+
that such additional attribution notices cannot be construed
|
| 136 |
+
as modifying the License.
|
| 137 |
+
|
| 138 |
+
You may add Your own copyright statement to Your modifications and
|
| 139 |
+
may provide additional or different license terms and conditions
|
| 140 |
+
for use, reproduction, or distribution of Your modifications, or
|
| 141 |
+
for any such Derivative Works as a whole, provided Your use,
|
| 142 |
+
reproduction, and distribution of the Work otherwise complies with
|
| 143 |
+
the conditions stated in this License.
|
| 144 |
+
|
| 145 |
+
5. Submission of Contributions. Unless You explicitly state otherwise,
|
| 146 |
+
any Contribution intentionally submitted for inclusion in the Work
|
| 147 |
+
by You to the Licensor shall be under the terms and conditions of
|
| 148 |
+
this License, without any additional terms or conditions.
|
| 149 |
+
Notwithstanding the above, nothing herein shall supersede or modify
|
| 150 |
+
the terms of any separate license agreement you may have executed
|
| 151 |
+
with Licensor regarding such Contributions.
|
| 152 |
+
|
| 153 |
+
6. Trademarks. This License does not grant permission to use the trade
|
| 154 |
+
names, trademarks, service marks, or product names of the Licensor,
|
| 155 |
+
except as required for reasonable and customary use in describing the
|
| 156 |
+
origin of the Work and reproducing the content of the NOTICE file.
|
| 157 |
+
|
| 158 |
+
7. Disclaimer of Warranty. Unless required by applicable law or
|
| 159 |
+
agreed to in writing, Licensor provides the Work (and each
|
| 160 |
+
Contributor provides its Contributions) on an "AS IS" BASIS,
|
| 161 |
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
|
| 162 |
+
implied, including, without limitation, any warranties or conditions
|
| 163 |
+
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
|
| 164 |
+
PARTICULAR PURPOSE. You are solely responsible for determining the
|
| 165 |
+
appropriateness of using or redistributing the Work and assume any
|
| 166 |
+
risks associated with Your exercise of permissions under this License.
|
| 167 |
+
|
| 168 |
+
8. Limitation of Liability. In no event and under no legal theory,
|
| 169 |
+
whether in tort (including negligence), contract, or otherwise,
|
| 170 |
+
unless required by applicable law (such as deliberate and grossly
|
| 171 |
+
negligent acts) or agreed to in writing, shall any Contributor be
|
| 172 |
+
liable to You for damages, including any direct, indirect, special,
|
| 173 |
+
incidental, or consequential damages of any character arising as a
|
| 174 |
+
result of this License or out of the use or inability to use the
|
| 175 |
+
Work (including but not limited to damages for loss of goodwill,
|
| 176 |
+
work stoppage, computer failure or malfunction, or any and all
|
| 177 |
+
other commercial damages or losses), even if such Contributor
|
| 178 |
+
has been advised of the possibility of such damages.
|
| 179 |
+
|
| 180 |
+
9. Accepting Warranty or Additional Liability. While redistributing
|
| 181 |
+
the Work or Derivative Works thereof, You may choose to offer,
|
| 182 |
+
and charge a fee for, acceptance of support, warranty, indemnity,
|
| 183 |
+
or other liability obligations and/or rights consistent with this
|
| 184 |
+
License. However, in accepting such obligations, You may act only
|
| 185 |
+
on Your own behalf and on Your sole responsibility, not on behalf
|
| 186 |
+
of any other Contributor, and only if You agree to indemnify,
|
| 187 |
+
defend, and hold each Contributor harmless for any liability
|
| 188 |
+
incurred by, or claims asserted against, such Contributor by reason
|
| 189 |
+
of your accepting any such warranty or additional liability.
|
| 190 |
+
|
| 191 |
+
END OF TERMS AND CONDITIONS
|
| 192 |
+
|
| 193 |
+
APPENDIX: How to apply the Apache License to your work.
|
| 194 |
+
|
| 195 |
+
To apply the Apache License to your work, attach the following
|
| 196 |
+
boilerplate notice, with the fields enclosed by brackets "{}"
|
| 197 |
+
replaced with your own identifying information. (Don't include
|
| 198 |
+
the brackets!) The text should be enclosed in the appropriate
|
| 199 |
+
comment syntax for the file format. We also recommend that a
|
| 200 |
+
file or class name and description of purpose be included on the
|
| 201 |
+
same "printed page" as the copyright notice for easier
|
| 202 |
+
identification within third-party archives.
|
| 203 |
+
|
| 204 |
+
Copyright {yyyy} {name of copyright owner}
|
| 205 |
+
|
| 206 |
+
Licensed under the Apache License, Version 2.0 (the "License");
|
| 207 |
+
you may not use this file except in compliance with the License.
|
| 208 |
+
You may obtain a copy of the License at
|
| 209 |
+
|
| 210 |
+
http://www.apache.org/licenses/LICENSE-2.0
|
| 211 |
+
|
| 212 |
+
Unless required by applicable law or agreed to in writing, software
|
| 213 |
+
distributed under the License is distributed on an "AS IS" BASIS,
|
| 214 |
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
| 215 |
+
See the License for the specific language governing permissions and
|
| 216 |
+
limitations under the License.
|
| 217 |
+
|
| 218 |
+
--------------------------------------------------------------------------------
|
| 219 |
+
|
| 220 |
+
Code in python/ray/rllib/{evolution_strategies, dqn} adapted from
|
| 221 |
+
https://github.com/openai (MIT License)
|
| 222 |
+
|
| 223 |
+
Copyright (c) 2016 OpenAI (http://openai.com)
|
| 224 |
+
|
| 225 |
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
| 226 |
+
of this software and associated documentation files (the "Software"), to deal
|
| 227 |
+
in the Software without restriction, including without limitation the rights
|
| 228 |
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
| 229 |
+
copies of the Software, and to permit persons to whom the Software is
|
| 230 |
+
furnished to do so, subject to the following conditions:
|
| 231 |
+
|
| 232 |
+
The above copyright notice and this permission notice shall be included in
|
| 233 |
+
all copies or substantial portions of the Software.
|
| 234 |
+
|
| 235 |
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
| 236 |
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
| 237 |
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
| 238 |
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
| 239 |
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
| 240 |
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
| 241 |
+
THE SOFTWARE.
|
| 242 |
+
|
| 243 |
+
--------------------------------------------------------------------------------
|
| 244 |
+
|
| 245 |
+
Code in python/ray/rllib/impala/vtrace.py from
|
| 246 |
+
https://github.com/deepmind/scalable_agent
|
| 247 |
+
|
| 248 |
+
Copyright 2018 Google LLC
|
| 249 |
+
|
| 250 |
+
Licensed under the Apache License, Version 2.0 (the "License");
|
| 251 |
+
you may not use this file except in compliance with the License.
|
| 252 |
+
You may obtain a copy of the License at
|
| 253 |
+
|
| 254 |
+
https://www.apache.org/licenses/LICENSE-2.0
|
| 255 |
+
|
| 256 |
+
Unless required by applicable law or agreed to in writing, software
|
| 257 |
+
distributed under the License is distributed on an "AS IS" BASIS,
|
| 258 |
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
| 259 |
+
See the License for the specific language governing permissions and
|
| 260 |
+
limitations under the License.
|
| 261 |
+
|
| 262 |
+
--------------------------------------------------------------------------------
|
| 263 |
+
Code in python/ray/rllib/ars is adapted from https://github.com/modestyachts/ARS
|
| 264 |
+
|
| 265 |
+
Copyright (c) 2018, ARS contributors (Horia Mania, Aurelia Guy, Benjamin Recht)
|
| 266 |
+
All rights reserved.
|
| 267 |
+
|
| 268 |
+
Redistribution and use of ARS in source and binary forms, with or without
|
| 269 |
+
modification, are permitted provided that the following conditions are met:
|
| 270 |
+
|
| 271 |
+
1. Redistributions of source code must retain the above copyright notice, this
|
| 272 |
+
list of conditions and the following disclaimer.
|
| 273 |
+
|
| 274 |
+
2. Redistributions in binary form must reproduce the above copyright notice,
|
| 275 |
+
this list of conditions and the following disclaimer in the documentation and/or
|
| 276 |
+
other materials provided with the distribution.
|
| 277 |
+
|
| 278 |
+
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
|
| 279 |
+
ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
|
| 280 |
+
WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
|
| 281 |
+
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR
|
| 282 |
+
ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
|
| 283 |
+
(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
|
| 284 |
+
LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON
|
| 285 |
+
ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
| 286 |
+
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
|
| 287 |
+
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
| 288 |
+
|
| 289 |
+
------------------
|
| 290 |
+
Code in python/ray/_private/prometheus_exporter.py is adapted from https://github.com/census-instrumentation/opencensus-python/blob/master/contrib/opencensus-ext-prometheus/opencensus/ext/prometheus/stats_exporter/__init__.py
|
.venv/lib/python3.11/site-packages/FLAML-2.1.2.dist-info/RECORD
ADDED
|
@@ -0,0 +1,189 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
FLAML-2.1.2.dist-info/INSTALLER,sha256=zuuue4knoyJ-UwPPXg8fezS7VCrXJQrAP7zeNuwvFQg,4
|
| 2 |
+
FLAML-2.1.2.dist-info/LICENSE,sha256=ws_MuBL-SCEBqPBFl9_FqZkaaydIJmxHrJG2parhU4M,1141
|
| 3 |
+
FLAML-2.1.2.dist-info/METADATA,sha256=0S52acRGGDxkmhhaOHYZKC8phKPSHpR3WX6sXccuO0o,15101
|
| 4 |
+
FLAML-2.1.2.dist-info/NOTICE.md,sha256=3zkeB_VFP1C_UAeganBu1sk0MW9ksJkooZ6YRVvLthI,15444
|
| 5 |
+
FLAML-2.1.2.dist-info/RECORD,,
|
| 6 |
+
FLAML-2.1.2.dist-info/WHEEL,sha256=yQN5g4mg4AybRjkgi-9yy4iQEFibGQmlz78Pik5Or-A,92
|
| 7 |
+
FLAML-2.1.2.dist-info/top_level.txt,sha256=wcatTSPY9_6CbT69zXgxnLMaXcMQHTkuy_G3n9HNtjc,6
|
| 8 |
+
flaml/__init__.py,sha256=a_-QRmda0pH_GmuzNNmaCG5cx6tRUPSmNcWYUZFwtOg,324
|
| 9 |
+
flaml/__pycache__/__init__.cpython-311.pyc,,
|
| 10 |
+
flaml/__pycache__/config.cpython-311.pyc,,
|
| 11 |
+
flaml/__pycache__/ml.cpython-311.pyc,,
|
| 12 |
+
flaml/__pycache__/version.cpython-311.pyc,,
|
| 13 |
+
flaml/autogen/__init__.py,sha256=SwB53TvenTQYsiUkliURmP96u_8D4S2jX0VqHQlqjPQ,94
|
| 14 |
+
flaml/autogen/__pycache__/__init__.cpython-311.pyc,,
|
| 15 |
+
flaml/autogen/__pycache__/code_utils.cpython-311.pyc,,
|
| 16 |
+
flaml/autogen/__pycache__/math_utils.cpython-311.pyc,,
|
| 17 |
+
flaml/autogen/__pycache__/retrieve_utils.cpython-311.pyc,,
|
| 18 |
+
flaml/autogen/agentchat/__init__.py,sha256=oZwB4HGqQDR9qZO8OvF5daq6L2IdLKVm4ghALv22HH0,350
|
| 19 |
+
flaml/autogen/agentchat/__pycache__/__init__.cpython-311.pyc,,
|
| 20 |
+
flaml/autogen/agentchat/__pycache__/agent.cpython-311.pyc,,
|
| 21 |
+
flaml/autogen/agentchat/__pycache__/assistant_agent.cpython-311.pyc,,
|
| 22 |
+
flaml/autogen/agentchat/__pycache__/conversable_agent.cpython-311.pyc,,
|
| 23 |
+
flaml/autogen/agentchat/__pycache__/groupchat.cpython-311.pyc,,
|
| 24 |
+
flaml/autogen/agentchat/__pycache__/user_proxy_agent.cpython-311.pyc,,
|
| 25 |
+
flaml/autogen/agentchat/agent.py,sha256=1HgHYKvaSLN1C6s_c_Se2CsBlSyWF6jb8AoL2ZiSBng,2417
|
| 26 |
+
flaml/autogen/agentchat/assistant_agent.py,sha256=6UI8NkswdtoxBeraqW1yAESWiRi0suLt_AtrpiTje5M,4708
|
| 27 |
+
flaml/autogen/agentchat/conversable_agent.py,sha256=NTbiydEj9YXDKsuXbWALxMfxVAm_yvsw43roaJnKdOs,48016
|
| 28 |
+
flaml/autogen/agentchat/groupchat.py,sha256=FWqEei-rEKzHnw4nCWPT0ZchKTK_UFaYL-qU_fUBxIg,5184
|
| 29 |
+
flaml/autogen/agentchat/user_proxy_agent.py,sha256=E0z5MIo0Taff3KC006lhIu4XNCqjA4-H0FFgLoEutl8,5449
|
| 30 |
+
flaml/autogen/code_utils.py,sha256=8kuVkGlUn-vI3KOhzYkq6KwjbOWEu82DqTDKJLlXWDY,21694
|
| 31 |
+
flaml/autogen/extensions/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
| 32 |
+
flaml/autogen/extensions/__pycache__/__init__.cpython-311.pyc,,
|
| 33 |
+
flaml/autogen/math_utils.py,sha256=fGvvvFXcJNptMJ18pnh6b7C3Z0aPF3X0syHwzz4x3TM,9917
|
| 34 |
+
flaml/autogen/oai/__init__.py,sha256=ez4UsclKihEnq59oiIaqMb7oY658xwIT_MzhhtmkwNI,448
|
| 35 |
+
flaml/autogen/oai/__pycache__/__init__.cpython-311.pyc,,
|
| 36 |
+
flaml/autogen/oai/__pycache__/completion.cpython-311.pyc,,
|
| 37 |
+
flaml/autogen/oai/__pycache__/openai_utils.cpython-311.pyc,,
|
| 38 |
+
flaml/autogen/oai/completion.py,sha256=Jp9Y-XOWr5x61HfCPulXAi3bQxYuvYVWTaemr0R0Qqc,48710
|
| 39 |
+
flaml/autogen/oai/openai_utils.py,sha256=pdS-74HouM20VRuUNVgsFmL885nX60i78r8i1P6yW_4,9222
|
| 40 |
+
flaml/autogen/retrieve_utils.py,sha256=WCmta2rTSQ4zwAeusZjJ241Wd-btbrWm165Ex330DcY,9889
|
| 41 |
+
flaml/automl/__init__.py,sha256=6JsqiCL_AaLP4qki1dyThWnex54wRY0_gNJcSbZG7zc,230
|
| 42 |
+
flaml/automl/__pycache__/__init__.cpython-311.pyc,,
|
| 43 |
+
flaml/automl/__pycache__/automl.cpython-311.pyc,,
|
| 44 |
+
flaml/automl/__pycache__/data.cpython-311.pyc,,
|
| 45 |
+
flaml/automl/__pycache__/logger.cpython-311.pyc,,
|
| 46 |
+
flaml/automl/__pycache__/ml.cpython-311.pyc,,
|
| 47 |
+
flaml/automl/__pycache__/model.cpython-311.pyc,,
|
| 48 |
+
flaml/automl/__pycache__/state.cpython-311.pyc,,
|
| 49 |
+
flaml/automl/__pycache__/training_log.cpython-311.pyc,,
|
| 50 |
+
flaml/automl/automl.py,sha256=OHJROGCxfcOEDIbNyQ_Jz80hP7AKdVzTfLmE9QdXNAQ,131087
|
| 51 |
+
flaml/automl/contrib/__init__.py,sha256=k3N4IuowtwZlQ_WSxE66nWMENmHxd7ewjQrSuNfszT8,50
|
| 52 |
+
flaml/automl/contrib/__pycache__/__init__.cpython-311.pyc,,
|
| 53 |
+
flaml/automl/contrib/__pycache__/histgb.cpython-311.pyc,,
|
| 54 |
+
flaml/automl/contrib/histgb.py,sha256=1M9iXuinQVB3KQFlC5uBbPROQs0LiDo70MRRZwKD4Uk,2602
|
| 55 |
+
flaml/automl/data.py,sha256=7BKzXN4rGApF__Tw7SdOK--pm0je35bYZ1fg6owud4w,18029
|
| 56 |
+
flaml/automl/logger.py,sha256=3uGQCZD01dexzX8HrJvnTDUpyE8aohwU1cYw-LC-bLQ,207
|
| 57 |
+
flaml/automl/ml.py,sha256=FQ8JCdvfnxZkDVA2Un6ymD6aqnWXY1aAaF2DbNq70_I,20920
|
| 58 |
+
flaml/automl/model.py,sha256=eS-PBCIEOVURsLq1V2yjjXAWCUAGo1LWR7P87D2giQc,79177
|
| 59 |
+
flaml/automl/nlp/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
| 60 |
+
flaml/automl/nlp/__pycache__/__init__.cpython-311.pyc,,
|
| 61 |
+
flaml/automl/nlp/__pycache__/utils.cpython-311.pyc,,
|
| 62 |
+
flaml/automl/nlp/huggingface/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
| 63 |
+
flaml/automl/nlp/huggingface/__pycache__/__init__.cpython-311.pyc,,
|
| 64 |
+
flaml/automl/nlp/huggingface/__pycache__/data_collator.cpython-311.pyc,,
|
| 65 |
+
flaml/automl/nlp/huggingface/__pycache__/trainer.cpython-311.pyc,,
|
| 66 |
+
flaml/automl/nlp/huggingface/__pycache__/training_args.cpython-311.pyc,,
|
| 67 |
+
flaml/automl/nlp/huggingface/__pycache__/utils.cpython-311.pyc,,
|
| 68 |
+
flaml/automl/nlp/huggingface/data_collator.py,sha256=1XUnbYld-vWCUtMYue4q2DTCuXQbi1oasfH56YOEohY,1734
|
| 69 |
+
flaml/automl/nlp/huggingface/trainer.py,sha256=BsSwImE6HBpwGt4U0b40eR2ZsJmXEZuZFcl92wsAJ6Y,3116
|
| 70 |
+
flaml/automl/nlp/huggingface/training_args.py,sha256=B3zxhbemfaEItFkWTHxEWDKwBN3Kd4md4zWMz6pByeI,5594
|
| 71 |
+
flaml/automl/nlp/huggingface/utils.py,sha256=xnv_p4TGydxeMfLuKjNqLMoSx3SWzctFhw7U5za1ktE,16508
|
| 72 |
+
flaml/automl/nlp/utils.py,sha256=u5jWv3FFa1i9O22FTwLakw8t1G8zCHY7yullxOONTMw,3310
|
| 73 |
+
flaml/automl/spark/__init__.py,sha256=l6tq1WbCEWsUxl8u69tSXyRaZ-gf4CDVGmSiP35aVsw,1054
|
| 74 |
+
flaml/automl/spark/__pycache__/__init__.cpython-311.pyc,,
|
| 75 |
+
flaml/automl/spark/__pycache__/configs.cpython-311.pyc,,
|
| 76 |
+
flaml/automl/spark/__pycache__/metrics.cpython-311.pyc,,
|
| 77 |
+
flaml/automl/spark/__pycache__/utils.cpython-311.pyc,,
|
| 78 |
+
flaml/automl/spark/configs.py,sha256=UJktYFUrZVQirQn8oF5gRVNvuvDJSrw5FZzQ23WYzlg,2139
|
| 79 |
+
flaml/automl/spark/metrics.py,sha256=9E8sTbz5O3X6ImjsN4aHdzjFeFUV9KQXqSM3YZExyww,7416
|
| 80 |
+
flaml/automl/spark/utils.py,sha256=bx5E7tcqcyjbu4xTWVTyWt5ZPcw2AY6Hzn7pfPsXloc,9831
|
| 81 |
+
flaml/automl/state.py,sha256=JlZPu0Y7b8_uJr9uda58fwJIEMhnUKLg77-f2dLAcL0,16670
|
| 82 |
+
flaml/automl/task/__init__.py,sha256=YFH9EfNF1tsui74ke2vUCirQYf-c5SleJt2AvdCOUCU,23
|
| 83 |
+
flaml/automl/task/__pycache__/__init__.cpython-311.pyc,,
|
| 84 |
+
flaml/automl/task/__pycache__/factory.cpython-311.pyc,,
|
| 85 |
+
flaml/automl/task/__pycache__/generic_task.cpython-311.pyc,,
|
| 86 |
+
flaml/automl/task/__pycache__/task.cpython-311.pyc,,
|
| 87 |
+
flaml/automl/task/__pycache__/time_series_task.cpython-311.pyc,,
|
| 88 |
+
flaml/automl/task/factory.py,sha256=eyMkhdpqL0HoWRuf8onmV49bEh2uOHNwccARzeVYUwk,620
|
| 89 |
+
flaml/automl/task/generic_task.py,sha256=_meH3czYwhM6WaL8Kz5bdQb1cLP2kvN10ATLNqjotRo,39765
|
| 90 |
+
flaml/automl/task/task.py,sha256=wL0-lXWamBJ6vasR4KPNvRfIDkAAI1BOLlkGfC4CAug,13704
|
| 91 |
+
flaml/automl/task/time_series_task.py,sha256=x82XhbwgZ5W5Kp2H71CduS3K35Po_WcNClkapC9pl4s,19018
|
| 92 |
+
flaml/automl/time_series/__init__.py,sha256=UYziapNZX2qni5zjjtLoavAEnVSKoEs1XHsX7omBBEs,309
|
| 93 |
+
flaml/automl/time_series/__pycache__/__init__.cpython-311.pyc,,
|
| 94 |
+
flaml/automl/time_series/__pycache__/feature.cpython-311.pyc,,
|
| 95 |
+
flaml/automl/time_series/__pycache__/sklearn.cpython-311.pyc,,
|
| 96 |
+
flaml/automl/time_series/__pycache__/tft.cpython-311.pyc,,
|
| 97 |
+
flaml/automl/time_series/__pycache__/ts_data.cpython-311.pyc,,
|
| 98 |
+
flaml/automl/time_series/__pycache__/ts_model.cpython-311.pyc,,
|
| 99 |
+
flaml/automl/time_series/feature.py,sha256=uvstY7MuDUmxLW7AfUhHqelSTaIYk5Z-HSaLst3ngjQ,1186
|
| 100 |
+
flaml/automl/time_series/sklearn.py,sha256=G_DyEhkUl3L6U6V95V3jx6pXaJVczi_2_-f34vPJwSQ,4752
|
| 101 |
+
flaml/automl/time_series/tft.py,sha256=gS0JmTTdKHtkm_Byv7knBrLUKy6WE69ek4MR4Wj6irk,8149
|
| 102 |
+
flaml/automl/time_series/ts_data.py,sha256=nE9eVVG9lPwNqwR8TgrQOPEQqYCPBFQY8baYPtiE0NU,19580
|
| 103 |
+
flaml/automl/time_series/ts_model.py,sha256=9xl6oh5OzwVV-uaezGc-OEkzGoCHJ8RZUN3gXMEVIBs,26523
|
| 104 |
+
flaml/automl/training_log.py,sha256=d704G-QFZ7IuzzSsZsj5caq9QtDE8fka0wHNo3V_9OE,5049
|
| 105 |
+
flaml/config.py,sha256=bL3JhW2yVPp9H6qSmtb0wPzJygDsScSbrvIQ3DEQIKg,376
|
| 106 |
+
flaml/default/__init__.py,sha256=kFUEkClwc1nb4VKlS7LkHRZ8HPTzrNfagTM0Bd_vZ1c,382
|
| 107 |
+
flaml/default/__pycache__/__init__.cpython-311.pyc,,
|
| 108 |
+
flaml/default/__pycache__/estimator.cpython-311.pyc,,
|
| 109 |
+
flaml/default/__pycache__/greedy.cpython-311.pyc,,
|
| 110 |
+
flaml/default/__pycache__/portfolio.cpython-311.pyc,,
|
| 111 |
+
flaml/default/__pycache__/regret.cpython-311.pyc,,
|
| 112 |
+
flaml/default/__pycache__/suggest.cpython-311.pyc,,
|
| 113 |
+
flaml/default/all/binary.json,sha256=ISKqiN0JT1ZJ7IZXZpbyr496L3IcoGx3f0P5u8zNdgc,22660
|
| 114 |
+
flaml/default/all/multiclass.json,sha256=Q8yYAOyBdm01YYpEBIjffdSyD7kZJt-7GiHpYhvrQR4,34092
|
| 115 |
+
flaml/default/all/regression.json,sha256=K30b-7f-SXVkPuxqcAsxaECAsyC00MQr366aJMrfMcE,21612
|
| 116 |
+
flaml/default/estimator.py,sha256=b-3iZG6ZqyaoMc_bNUTRSzEQdqjr7nbDDAkynD2Gm3Y,7700
|
| 117 |
+
flaml/default/extra_tree/binary.json,sha256=J8jn_6jO2KxhaHbRPvwGObVpdeB6nA9O2g3uJC8xQP8,8013
|
| 118 |
+
flaml/default/extra_tree/multiclass.json,sha256=5dil3fcRaOW-rbl84N5oWUAt__PRC3uAsya_yksP59M,6766
|
| 119 |
+
flaml/default/extra_tree/regression.json,sha256=kCMUkqaCEhyjfCYk8YCKEmwQmoKAMaAklDl2VgrLDM4,6596
|
| 120 |
+
flaml/default/greedy.py,sha256=ElrG6kfQ0otm6C4fAQ9eoeEI4ZwHOIVQ33-13q8UTHk,3494
|
| 121 |
+
flaml/default/lgbm/binary.json,sha256=6rhJxLYgC-jQrKU-HMd-cPK2wRLVAFJtWV5fYIMy_uU,8689
|
| 122 |
+
flaml/default/lgbm/multiclass.json,sha256=E4YT-j9_9Q5xfQEU7sk5dSWPREn1F3onmzKjNPFSIVI,10021
|
| 123 |
+
flaml/default/lgbm/regression.json,sha256=9rono8ss590ukaiijd6Gp9gkz2HTVYmZzGlY54GAdk4,6264
|
| 124 |
+
flaml/default/portfolio.py,sha256=t7zT7RM5uNx0ntmbXZiBPlCw_bSU9CiPJEqGeFYHGZQ,8290
|
| 125 |
+
flaml/default/regret.py,sha256=V0XFqJ1md1a-GhnXp5VUhPNm35902TD3J3vRr1rgF9g,1400
|
| 126 |
+
flaml/default/rf/binary.json,sha256=ZQiWk9bu1SKFGU95cdpqYUt7c59nBeyYoJtfbpSmGyM,7353
|
| 127 |
+
flaml/default/rf/multiclass.json,sha256=N0E1Eem8YkdREBLqsICYGH6ML38pNI7BqEulHNsuUR0,7172
|
| 128 |
+
flaml/default/rf/regression.json,sha256=5Rmea0JoJ570dd2yXjRkPwYwDfd_LYM54qBi390Ices,6357
|
| 129 |
+
flaml/default/suggest.py,sha256=TRQKIM7fDlOUEmB6jHC4BKFopShv_jeLEGo80weAZAs,11562
|
| 130 |
+
flaml/default/xgb_limitdepth/binary.json,sha256=6OKzmZQk2YInlRW8sjbIrBC25LrqKYY2OxyNgnLGIw8,7785
|
| 131 |
+
flaml/default/xgb_limitdepth/multiclass.json,sha256=Lqc82B1ydoEQYnLBRwO_jgqXWg7a_SuNTgK6-beqdmQ,9144
|
| 132 |
+
flaml/default/xgb_limitdepth/regression.json,sha256=OPf5JTjqAMQH6A3lO40_cJhSGuucyCkbeNdPSKuhq64,8254
|
| 133 |
+
flaml/default/xgboost/binary.json,sha256=j5juOiNHbH1adOr26wocGS1LgrZD-f6ErnSLoAytI0E,8986
|
| 134 |
+
flaml/default/xgboost/multiclass.json,sha256=JPAJyhv7lR5hMZC2jrjuYp-OD1H06obtCX5uNpD9Qgs,13159
|
| 135 |
+
flaml/default/xgboost/regression.json,sha256=2P02QVB3SZsZQV5iP3698U-R85ScikloNzXWjRu4aDI,7203
|
| 136 |
+
flaml/ml.py,sha256=mrGrojBG1DhKSnPb1WNshHM_TAYAGZ5-Ga5tHF7uf34,167
|
| 137 |
+
flaml/onlineml/__init__.py,sha256=1wvdYPS4f5pGKVDBw01s0cw92CDG3E62rwh8bjIMbwY,81
|
| 138 |
+
flaml/onlineml/__pycache__/__init__.cpython-311.pyc,,
|
| 139 |
+
flaml/onlineml/__pycache__/autovw.cpython-311.pyc,,
|
| 140 |
+
flaml/onlineml/__pycache__/trial.cpython-311.pyc,,
|
| 141 |
+
flaml/onlineml/__pycache__/trial_runner.cpython-311.pyc,,
|
| 142 |
+
flaml/onlineml/autovw.py,sha256=bbRcS4K_hPaCIHT_F5nSEfoimoh0HHagoO4kSTJ8q9I,10012
|
| 143 |
+
flaml/onlineml/trial.py,sha256=RipIyeZtgCsa6a9CEkWSqrkKkqESwHXX8s5ESFX8p-U,16707
|
| 144 |
+
flaml/onlineml/trial_runner.py,sha256=YPotTcseRsVGSQPT2BHCMzKhPcfjsLtMzMdnefWza3Q,24671
|
| 145 |
+
flaml/tune/__init__.py,sha256=QYM8N4zRn7Y_OBS8DFUcqD1M7a2dzN2yS7UNDSvHsRQ,936
|
| 146 |
+
flaml/tune/__pycache__/__init__.cpython-311.pyc,,
|
| 147 |
+
flaml/tune/__pycache__/analysis.cpython-311.pyc,,
|
| 148 |
+
flaml/tune/__pycache__/result.cpython-311.pyc,,
|
| 149 |
+
flaml/tune/__pycache__/sample.cpython-311.pyc,,
|
| 150 |
+
flaml/tune/__pycache__/space.cpython-311.pyc,,
|
| 151 |
+
flaml/tune/__pycache__/trial.cpython-311.pyc,,
|
| 152 |
+
flaml/tune/__pycache__/trial_runner.cpython-311.pyc,,
|
| 153 |
+
flaml/tune/__pycache__/tune.cpython-311.pyc,,
|
| 154 |
+
flaml/tune/__pycache__/utils.cpython-311.pyc,,
|
| 155 |
+
flaml/tune/analysis.py,sha256=95LzOo5a2yvcxuStyxmuyoKGHN5uK0X2vY6wdbzm2Ig,9652
|
| 156 |
+
flaml/tune/result.py,sha256=cMYHkZgh1gUWHcaQ8mmvtvmgVoXWQ3Baxtoalg8ck78,4455
|
| 157 |
+
flaml/tune/sample.py,sha256=asK3FhS0FGVV8DCqUndeTknyE2hJ0UiAjd1jope-owY,22062
|
| 158 |
+
flaml/tune/scheduler/__init__.py,sha256=GwVSUHp_CIOFf19ynN-T8m_U82bJZp69beMPSSz4pIg,159
|
| 159 |
+
flaml/tune/scheduler/__pycache__/__init__.cpython-311.pyc,,
|
| 160 |
+
flaml/tune/scheduler/__pycache__/online_scheduler.cpython-311.pyc,,
|
| 161 |
+
flaml/tune/scheduler/__pycache__/trial_scheduler.cpython-311.pyc,,
|
| 162 |
+
flaml/tune/scheduler/online_scheduler.py,sha256=nfCz1AlI6-m9RDWFi6eTfdkiraLR5l0wFMpJRyIZSjE,6087
|
| 163 |
+
flaml/tune/scheduler/trial_scheduler.py,sha256=-B6nufAbnzBAWspg-Os61wgPySkxcdkNVZg5w-GFoGE,1235
|
| 164 |
+
flaml/tune/searcher/__init__.py,sha256=EHfoJh5na7ENCnmTnLnSBuTWe4Poe4wYOY-LLghs93k,153
|
| 165 |
+
flaml/tune/searcher/__pycache__/__init__.cpython-311.pyc,,
|
| 166 |
+
flaml/tune/searcher/__pycache__/blendsearch.cpython-311.pyc,,
|
| 167 |
+
flaml/tune/searcher/__pycache__/cfo_cat.cpython-311.pyc,,
|
| 168 |
+
flaml/tune/searcher/__pycache__/flow2.cpython-311.pyc,,
|
| 169 |
+
flaml/tune/searcher/__pycache__/online_searcher.cpython-311.pyc,,
|
| 170 |
+
flaml/tune/searcher/__pycache__/search_thread.cpython-311.pyc,,
|
| 171 |
+
flaml/tune/searcher/__pycache__/suggestion.cpython-311.pyc,,
|
| 172 |
+
flaml/tune/searcher/__pycache__/variant_generator.cpython-311.pyc,,
|
| 173 |
+
flaml/tune/searcher/blendsearch.py,sha256=po4UnnrvHmf2xamJ_WSiJZ0QcYyRnyuvzp9D4LAkTcw,50291
|
| 174 |
+
flaml/tune/searcher/cfo_cat.py,sha256=byD_ude9Tghm1ttFNDCWnPlYeYwN-6gRt4QwKVyju9M,802
|
| 175 |
+
flaml/tune/searcher/flow2.py,sha256=ecJec3YbEYM0TivUZz4eXq0m8B_jVa_EBERfo-BUF_o,30651
|
| 176 |
+
flaml/tune/searcher/online_searcher.py,sha256=zAvbeVsBFmIRTNiYiNDJ7imSDt_hlhbwibxYJ_1fmTk,18067
|
| 177 |
+
flaml/tune/searcher/search_thread.py,sha256=HYHXA5ObkZ3ENe1GLlNiEEUEf3FFSqxEIbELcnVFDFw,7312
|
| 178 |
+
flaml/tune/searcher/suggestion.py,sha256=BGHaikFKgGxB7NtHKOIqCtp2sVOQlnrUcJ5o8P_u7Gg,35470
|
| 179 |
+
flaml/tune/searcher/variant_generator.py,sha256=S2mnaL4BrT3U0PRTJd8YhF9TCeRdiqKeSeR6CagruKA,11035
|
| 180 |
+
flaml/tune/space.py,sha256=bzg7foCl5swkVPGMy1FGM4pHY2KJoqJV2xsGM-tIz2Q,23102
|
| 181 |
+
flaml/tune/spark/__init__.py,sha256=vf1JrZZde0MyY-ql6Gij_WskL9p60HZ-NAQKR34luIs,191
|
| 182 |
+
flaml/tune/spark/__pycache__/__init__.cpython-311.pyc,,
|
| 183 |
+
flaml/tune/spark/__pycache__/utils.cpython-311.pyc,,
|
| 184 |
+
flaml/tune/spark/utils.py,sha256=LKdQFJ5KzWe1zWOLQTlsWhLefh85QirhlrE0ha0VdQ8,10647
|
| 185 |
+
flaml/tune/trial.py,sha256=JrJsuZbVvzh_SSziUkUgP4oB8-SOyHNNMPzrXNt9lxg,5975
|
| 186 |
+
flaml/tune/trial_runner.py,sha256=Ym8_BHuWwHZEQ8jaUl0sKJY6_PQVOyvhvq_RYMFe7NI,5353
|
| 187 |
+
flaml/tune/tune.py,sha256=aVZ5IX0nG-zCMxswZqfzhYKpoeUmAh2chlKIY1WhF0Q,42201
|
| 188 |
+
flaml/tune/utils.py,sha256=QGF50LulzM35mQLCcSt8-gbyrgHXAFRf5-G8CT7g5jQ,942
|
| 189 |
+
flaml/version.py,sha256=UiuBcRXPtXxPUBDdp0ZDvWl0U9Db1kMNfT3oAfhxqLg,22
|
.venv/lib/python3.11/site-packages/FLAML-2.1.2.dist-info/WHEEL
ADDED
|
@@ -0,0 +1,5 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
Wheel-Version: 1.0
|
| 2 |
+
Generator: bdist_wheel (0.41.2)
|
| 3 |
+
Root-Is-Purelib: true
|
| 4 |
+
Tag: py3-none-any
|
| 5 |
+
|
.venv/lib/python3.11/site-packages/FLAML-2.1.2.dist-info/top_level.txt
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
flaml
|
.venv/lib/python3.11/site-packages/MarkupSafe-2.1.5.dist-info/INSTALLER
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
pip
|
.venv/lib/python3.11/site-packages/MarkupSafe-2.1.5.dist-info/LICENSE.rst
ADDED
|
@@ -0,0 +1,28 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
Copyright 2010 Pallets
|
| 2 |
+
|
| 3 |
+
Redistribution and use in source and binary forms, with or without
|
| 4 |
+
modification, are permitted provided that the following conditions are
|
| 5 |
+
met:
|
| 6 |
+
|
| 7 |
+
1. Redistributions of source code must retain the above copyright
|
| 8 |
+
notice, this list of conditions and the following disclaimer.
|
| 9 |
+
|
| 10 |
+
2. Redistributions in binary form must reproduce the above copyright
|
| 11 |
+
notice, this list of conditions and the following disclaimer in the
|
| 12 |
+
documentation and/or other materials provided with the distribution.
|
| 13 |
+
|
| 14 |
+
3. Neither the name of the copyright holder nor the names of its
|
| 15 |
+
contributors may be used to endorse or promote products derived from
|
| 16 |
+
this software without specific prior written permission.
|
| 17 |
+
|
| 18 |
+
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
|
| 19 |
+
"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
|
| 20 |
+
LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A
|
| 21 |
+
PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
|
| 22 |
+
HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
|
| 23 |
+
SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED
|
| 24 |
+
TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
|
| 25 |
+
PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
|
| 26 |
+
LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
|
| 27 |
+
NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
|
| 28 |
+
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
.venv/lib/python3.11/site-packages/MarkupSafe-2.1.5.dist-info/METADATA
ADDED
|
@@ -0,0 +1,93 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
Metadata-Version: 2.1
|
| 2 |
+
Name: MarkupSafe
|
| 3 |
+
Version: 2.1.5
|
| 4 |
+
Summary: Safely add untrusted strings to HTML/XML markup.
|
| 5 |
+
Home-page: https://palletsprojects.com/p/markupsafe/
|
| 6 |
+
Maintainer: Pallets
|
| 7 |
+
Maintainer-email: contact@palletsprojects.com
|
| 8 |
+
License: BSD-3-Clause
|
| 9 |
+
Project-URL: Donate, https://palletsprojects.com/donate
|
| 10 |
+
Project-URL: Documentation, https://markupsafe.palletsprojects.com/
|
| 11 |
+
Project-URL: Changes, https://markupsafe.palletsprojects.com/changes/
|
| 12 |
+
Project-URL: Source Code, https://github.com/pallets/markupsafe/
|
| 13 |
+
Project-URL: Issue Tracker, https://github.com/pallets/markupsafe/issues/
|
| 14 |
+
Project-URL: Chat, https://discord.gg/pallets
|
| 15 |
+
Classifier: Development Status :: 5 - Production/Stable
|
| 16 |
+
Classifier: Environment :: Web Environment
|
| 17 |
+
Classifier: Intended Audience :: Developers
|
| 18 |
+
Classifier: License :: OSI Approved :: BSD License
|
| 19 |
+
Classifier: Operating System :: OS Independent
|
| 20 |
+
Classifier: Programming Language :: Python
|
| 21 |
+
Classifier: Topic :: Internet :: WWW/HTTP :: Dynamic Content
|
| 22 |
+
Classifier: Topic :: Text Processing :: Markup :: HTML
|
| 23 |
+
Requires-Python: >=3.7
|
| 24 |
+
Description-Content-Type: text/x-rst
|
| 25 |
+
License-File: LICENSE.rst
|
| 26 |
+
|
| 27 |
+
MarkupSafe
|
| 28 |
+
==========
|
| 29 |
+
|
| 30 |
+
MarkupSafe implements a text object that escapes characters so it is
|
| 31 |
+
safe to use in HTML and XML. Characters that have special meanings are
|
| 32 |
+
replaced so that they display as the actual characters. This mitigates
|
| 33 |
+
injection attacks, meaning untrusted user input can safely be displayed
|
| 34 |
+
on a page.
|
| 35 |
+
|
| 36 |
+
|
| 37 |
+
Installing
|
| 38 |
+
----------
|
| 39 |
+
|
| 40 |
+
Install and update using `pip`_:
|
| 41 |
+
|
| 42 |
+
.. code-block:: text
|
| 43 |
+
|
| 44 |
+
pip install -U MarkupSafe
|
| 45 |
+
|
| 46 |
+
.. _pip: https://pip.pypa.io/en/stable/getting-started/
|
| 47 |
+
|
| 48 |
+
|
| 49 |
+
Examples
|
| 50 |
+
--------
|
| 51 |
+
|
| 52 |
+
.. code-block:: pycon
|
| 53 |
+
|
| 54 |
+
>>> from markupsafe import Markup, escape
|
| 55 |
+
|
| 56 |
+
>>> # escape replaces special characters and wraps in Markup
|
| 57 |
+
>>> escape("<script>alert(document.cookie);</script>")
|
| 58 |
+
Markup('<script>alert(document.cookie);</script>')
|
| 59 |
+
|
| 60 |
+
>>> # wrap in Markup to mark text "safe" and prevent escaping
|
| 61 |
+
>>> Markup("<strong>Hello</strong>")
|
| 62 |
+
Markup('<strong>hello</strong>')
|
| 63 |
+
|
| 64 |
+
>>> escape(Markup("<strong>Hello</strong>"))
|
| 65 |
+
Markup('<strong>hello</strong>')
|
| 66 |
+
|
| 67 |
+
>>> # Markup is a str subclass
|
| 68 |
+
>>> # methods and operators escape their arguments
|
| 69 |
+
>>> template = Markup("Hello <em>{name}</em>")
|
| 70 |
+
>>> template.format(name='"World"')
|
| 71 |
+
Markup('Hello <em>"World"</em>')
|
| 72 |
+
|
| 73 |
+
|
| 74 |
+
Donate
|
| 75 |
+
------
|
| 76 |
+
|
| 77 |
+
The Pallets organization develops and supports MarkupSafe and other
|
| 78 |
+
popular packages. In order to grow the community of contributors and
|
| 79 |
+
users, and allow the maintainers to devote more time to the projects,
|
| 80 |
+
`please donate today`_.
|
| 81 |
+
|
| 82 |
+
.. _please donate today: https://palletsprojects.com/donate
|
| 83 |
+
|
| 84 |
+
|
| 85 |
+
Links
|
| 86 |
+
-----
|
| 87 |
+
|
| 88 |
+
- Documentation: https://markupsafe.palletsprojects.com/
|
| 89 |
+
- Changes: https://markupsafe.palletsprojects.com/changes/
|
| 90 |
+
- PyPI Releases: https://pypi.org/project/MarkupSafe/
|
| 91 |
+
- Source Code: https://github.com/pallets/markupsafe/
|
| 92 |
+
- Issue Tracker: https://github.com/pallets/markupsafe/issues/
|
| 93 |
+
- Chat: https://discord.gg/pallets
|
.venv/lib/python3.11/site-packages/MarkupSafe-2.1.5.dist-info/RECORD
ADDED
|
@@ -0,0 +1,14 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
MarkupSafe-2.1.5.dist-info/INSTALLER,sha256=zuuue4knoyJ-UwPPXg8fezS7VCrXJQrAP7zeNuwvFQg,4
|
| 2 |
+
MarkupSafe-2.1.5.dist-info/LICENSE.rst,sha256=SJqOEQhQntmKN7uYPhHg9-HTHwvY-Zp5yESOf_N9B-o,1475
|
| 3 |
+
MarkupSafe-2.1.5.dist-info/METADATA,sha256=2dRDPam6OZLfpX0wg1JN5P3u9arqACxVSfdGmsJU7o8,3003
|
| 4 |
+
MarkupSafe-2.1.5.dist-info/RECORD,,
|
| 5 |
+
MarkupSafe-2.1.5.dist-info/WHEEL,sha256=Jjzc6ISFgDOOsYxK3rGIIgg_gPHXRI2MDFtRxyygFgU,115
|
| 6 |
+
MarkupSafe-2.1.5.dist-info/top_level.txt,sha256=qy0Plje5IJuvsCBjejJyhDCjEAdcDLK_2agVcex8Z6U,11
|
| 7 |
+
markupsafe/__init__.py,sha256=r7VOTjUq7EMQ4v3p4R1LoVOGJg6ysfYRncLr34laRBs,10958
|
| 8 |
+
markupsafe/__pycache__/__init__.cpython-311.pyc,,
|
| 9 |
+
markupsafe/__pycache__/_native.cpython-311.pyc,,
|
| 10 |
+
markupsafe/_native.py,sha256=GR86Qvo_GcgKmKreA1WmYN9ud17OFwkww8E-fiW-57s,1713
|
| 11 |
+
markupsafe/_speedups.c,sha256=X2XvQVtIdcK4Usz70BvkzoOfjTCmQlDkkjYSn-swE0g,7083
|
| 12 |
+
markupsafe/_speedups.cpython-311-darwin.so,sha256=IDqfQnyjAd2Y15LBPbXpZPSBjstu6YWSjwT5dP2LeHk,117484
|
| 13 |
+
markupsafe/_speedups.pyi,sha256=vfMCsOgbAXRNLUXkyuyonG8uEWKYU4PDqNuMaDELAYw,229
|
| 14 |
+
markupsafe/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
.venv/lib/python3.11/site-packages/MarkupSafe-2.1.5.dist-info/WHEEL
ADDED
|
@@ -0,0 +1,5 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
Wheel-Version: 1.0
|
| 2 |
+
Generator: bdist_wheel (0.42.0)
|
| 3 |
+
Root-Is-Purelib: false
|
| 4 |
+
Tag: cp311-cp311-macosx_10_9_universal2
|
| 5 |
+
|
.venv/lib/python3.11/site-packages/MarkupSafe-2.1.5.dist-info/top_level.txt
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
markupsafe
|
.venv/lib/python3.11/site-packages/PIL/.dylibs/libXau.6.0.0.dylib
ADDED
|
Binary file (70 kB). View file
|
|
|